JPH10187413A - Device and method for control - Google Patents

Device and method for control

Info

Publication number
JPH10187413A
JPH10187413A JP8347092A JP34709296A JPH10187413A JP H10187413 A JPH10187413 A JP H10187413A JP 8347092 A JP8347092 A JP 8347092A JP 34709296 A JP34709296 A JP 34709296A JP H10187413 A JPH10187413 A JP H10187413A
Authority
JP
Japan
Prior art keywords
data
storage unit
predetermined
circuit
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP8347092A
Other languages
Japanese (ja)
Inventor
Mutsuhiro Omori
睦弘 大森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP8347092A priority Critical patent/JPH10187413A/en
Publication of JPH10187413A publication Critical patent/JPH10187413A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To smoothly transfer data to a processing circuit on the following stage. SOLUTION: For example, data from an input/output part 2 are supplied through a 1st-order FIFO memory 21 to a multiplexer 22 and a control circuit 23. When the amount of data stored in a 2nd-order FIFO memory 24 is more than a prescribed amount, the control circuit 23 prevents data from being outputted from the multiplexer 22 and stores them in a main memory 3. When the amount of data stored in the 2nd-order FIFO memory 24 is less than the prescribed amount and the data from the control circuit 23 are stored in the main memory 3, on the other hand, the control circuit 23 reads out these data and supplies them through the multiplexer 22 to the 2nd-order FIFO memory 24. Corresponding to a request from a plotting circuit 20, the 2nd-order FIFO memory 24 outputs these data to the plotting circuit 20 in the order of FIFO.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御装置および方
法に関し、特に、第1の回路から第2の回路へデータを
供給するときに、そのデータを一時的に記憶し、第2の
回路の処理速度に応じて、記憶しているデータを第2の
回路に出力する制御装置および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device and a control method, and more particularly, to a method of supplying data from a first circuit to a second circuit and temporarily storing the data. The present invention relates to a control device and a method for outputting stored data to a second circuit according to a processing speed.

【0002】[0002]

【従来の技術】半導体技術の進歩に伴い、所謂コンピュ
ータなどの演算装置が普及している。
2. Description of the Related Art With the advance of semiconductor technology, so-called computing devices such as computers have become widespread.

【0003】このような演算装置に他の回路(装置)を
接続し、その回路にデータを処理させる場合、演算装置
とその回路との処理速度や入出力処理の速度の差を吸収
するために、例えばFIFO(First-In First-Out)メ
モリが、演算装置とその回路の間に設けられることがあ
る。
When another circuit (device) is connected to such an arithmetic device and the circuit processes data, it is necessary to absorb the difference in the processing speed between the arithmetic device and the circuit and the speed of input / output processing. For example, a first-in first-out (FIFO) memory may be provided between the arithmetic unit and its circuit.

【0004】図5は、そのような演算装置と回路を有す
る描画装置の構成例を示している。
FIG. 5 shows a configuration example of a drawing apparatus having such an arithmetic unit and a circuit.

【0005】演算装置81のメインプロセッサ1は、メ
インメモリ3に記憶されているグラフィックスデータ
や、入出力部2に供給されたグラフィックスデータを、
入力FIFOメモリ41に出力するように、入出力部2
およびメインメモリ3を制御する。
The main processor 1 of the arithmetic unit 81 converts the graphics data stored in the main memory 3 and the graphics data supplied to the input / output unit 2 into
The input / output unit 2 outputs the data to the input FIFO memory 41.
And the main memory 3.

【0006】なお、このとき、データの転送にDMA
(Direct Memory Access)が利用されると、データは、
メインプロセッサ1を介さずに直接、入出力部2または
メインメモリ3から入力FIFOメモリ41に出力され
る。
At this time, DMA is used for data transfer.
(Direct Memory Access), the data is
The data is directly output from the input / output unit 2 or the main memory 3 to the input FIFO memory 41 without passing through the main processor 1.

【0007】入力FIFOメモリ41は、供給されたデ
ータを記憶し、描画回路20の要求に応じて、そのデー
タをFIFOの順番で描画回路20に順次出力する。
[0007] The input FIFO memory 41 stores the supplied data, and sequentially outputs the data to the drawing circuit 20 in the order of FIFO in response to a request from the drawing circuit 20.

【0008】描画回路20は、入力FIFOメモリ41
より供給されたグラフィクスデータに対応して描画処理
を行い、ビデオ信号を出力する。このとき、描画回路2
0は、処理の進行に応じて入力FIFOメモリ41から
グラフィクスデータを読み出し、データを順次処理して
いく。
The drawing circuit 20 includes an input FIFO memory 41
Rendering processing is performed in accordance with the supplied graphics data, and a video signal is output. At this time, the drawing circuit 2
0 reads graphics data from the input FIFO memory 41 in accordance with the progress of the processing, and sequentially processes the data.

【0009】このようにして、グラフィクスデータが、
入力FIFOメモリ41に一旦記憶された後、描画回路
20の処理状況に応じて、描画回路20に順次供給され
ていく。
In this manner, the graphics data is
After being temporarily stored in the input FIFO memory 41, the data is sequentially supplied to the drawing circuit 20 according to the processing state of the drawing circuit 20.

【0010】このような装置においては、描画回路20
の処理速度が一時的に遅くなって、入力FIFOメモリ
41に記憶されているグラフィックスデータが多くな
り、残りの(空の)記憶容量が少なくなった場合、デー
タを入力FIFOメモリ41から溢れさせないようにす
るために例えば割り込みを発生してDMA(即ち、入力
FIFOメモリ41へのデータの供給)を中断させるこ
とが多い。
In such an apparatus, the drawing circuit 20
Is temporarily slowed down, the amount of graphics data stored in the input FIFO memory 41 increases, and the remaining (empty) storage capacity decreases, the data does not overflow from the input FIFO memory 41. To do so, for example, an interrupt is often generated to interrupt the DMA (that is, supply of data to the input FIFO memory 41).

【0011】[0011]

【発明が解決しようとする課題】しかしながら、転送す
るデータ量が多くなると、入力FIFOメモリ41への
データの供給が中断される頻度が多くなり、演算装置8
1における応用プログラムの処理が中断され、装置全体
の処理速度が低下するという問題を有している。
However, as the amount of data to be transferred increases, the frequency of interruption of data supply to the input FIFO memory 41 increases, and the arithmetic unit 8
1 has a problem that the processing of the application program is interrupted and the processing speed of the entire apparatus is reduced.

【0012】さらに、このような描画回路20において
は、予め作成されているテクスチャを描画することがあ
る。このような場合、描画回路20は、テクスチャの種
類の数に応じたデータ量のテクスチャデータを記憶して
いる。
Further, in such a drawing circuit 20, a texture created in advance may be drawn. In such a case, the drawing circuit 20 stores texture data of a data amount corresponding to the number of texture types.

【0013】しかしながら、このようなテクスチャデー
タは、描画速度を高速にするために、バンド幅の大きい
メモリに記憶される必要があるので、記憶しておくテク
スチャの種類を多くすると、バンド幅が大きく、かつ、
大容量のメモリが必要となり、コストを低減することが
困難であるという問題を有している。
However, such texture data needs to be stored in a memory having a large bandwidth in order to increase the drawing speed. Therefore, if the number of types of textures to be stored is increased, the bandwidth becomes large. ,And,
There is a problem that a large capacity memory is required and it is difficult to reduce the cost.

【0014】本発明は、そのような状況に鑑みてなされ
たもので、例えばFIFOメモリに所定の量のデータが
保持されると、供給されてきたデータを所定の記憶部
(例えば、メインメモリ3)に書き込み、その後、FI
FOメモリに保持されているデータが所定の量より少な
い量になると、所定の記憶部よりデータを読み出し、後
段の処理回路に出力するようにして、後段の処理回路へ
のデータの転送を潤滑に行うようにするとともに、後段
の処理回路において記憶されているデータの一部を一時
的に所定の記憶部に記憶させることにより、例えば、多
くの種類のテクスチャを利用することができるようにす
るものである。
The present invention has been made in view of such a situation. For example, when a predetermined amount of data is held in a FIFO memory, the supplied data is stored in a predetermined storage unit (for example, the main memory 3). ) And then FI
When the amount of data held in the FO memory becomes smaller than the predetermined amount, the data is read from the predetermined storage unit and output to the subsequent processing circuit, so that the data transfer to the subsequent processing circuit can be smoothly performed. In addition to the above, a part of data stored in a subsequent processing circuit is temporarily stored in a predetermined storage unit, so that, for example, many types of textures can be used. It is.

【0015】[0015]

【課題を解決するための手段】請求項1に記載の制御装
置は、所定の回路より供給されたデータを所定の記憶部
に書き込むとともに、所定の記憶部からデータを読み出
すメモリ制御手段と、所定の回路より供給されたデータ
およびメモリ制御手段により所定の記憶部から読み出さ
れたデータのいずれかを選択する選択手段と、選択手段
により選択されたデータを保持し、FIFOの順序で出
力する記憶手段とを備え、メモリ制御手段は、記憶手段
に所定の量のデータが保持されているか、または、所定
の記憶部にデータが保持されている場合、所定の回路よ
り供給されたデータを所定の記憶部に書き込み、所定の
記憶部にデータが保持されている場合、記憶手段に保持
されているデータが所定の量より少ない量であると、所
定の記憶部よりデータを読み出し、選択手段は、所定の
記憶部にデータが保持されている場合、メモリ制御手段
により読み出されたデータを選択することを特徴とす
る。
According to a first aspect of the present invention, there is provided a control device for writing data supplied from a predetermined circuit into a predetermined storage unit and reading data from the predetermined storage unit. Selecting means for selecting one of the data supplied from the circuit and the data read from a predetermined storage unit by the memory control means, and a storage for holding the data selected by the selecting means and outputting the data in FIFO order Means for storing a predetermined amount of data in the storage means, or when the data is stored in the predetermined storage unit, the data supplied from the predetermined circuit to the predetermined amount. When the data is written to the storage unit and the data is stored in the predetermined storage unit, if the data stored in the storage unit is smaller than the predetermined amount, the data is read from the predetermined storage unit. Reads the data, selection means, if the data is retained in a predetermined storage unit, and selects the data read by the memory control means.

【0016】請求項9に記載の制御方法は、第1の記憶
部に所定の量のデータが保持されているか、または、第
2の記憶部にデータが保持されている場合、所定の回路
より供給されたデータを第2の記憶部に書き込むステッ
プと、第2の記憶部にデータが保持されている場合、第
2の記憶部に保持されているデータを選択し、第2の記
憶部にデータが保持されていない場合、所定の回路より
供給されたデータを選択するステップと、選択したデー
タを第1の記憶部において保持し、FIFOの順序で出
力するステップとを備えることを特徴とする。
According to a ninth aspect of the present invention, in the control method, when a predetermined amount of data is stored in the first storage unit or when data is stored in the second storage unit, a predetermined circuit is used. Writing the supplied data to the second storage unit, and, when the data is stored in the second storage unit, selecting the data stored in the second storage unit and storing the data in the second storage unit. When the data is not held, the method includes a step of selecting data supplied from a predetermined circuit and a step of holding the selected data in the first storage unit and outputting the data in FIFO order. .

【0017】請求項1に記載の制御装置においては、メ
モリ制御手段は、記憶手段に所定の量のデータが保持さ
れているか、または、所定の記憶部にデータが保持され
ている場合、所定の回路より供給されたデータを所定の
記憶部に書き込み、所定の記憶部にデータが保持されて
いる場合、記憶手段に保持されているデータが所定の量
より少ない量であると、所定の記憶部よりデータを読み
出し、選択手段は、所定の記憶部にデータが保持されて
いる場合、メモリ制御手段により読み出されたデータを
選択し、記憶手段は、選択手段により選択されたデータ
を保持し、FIFOの順序で出力する。
In the control device according to the first aspect of the present invention, the memory control means may store a predetermined amount of data in the storage means, or, when the data is stored in the predetermined storage section, The data supplied from the circuit is written into a predetermined storage unit, and when the data is stored in the predetermined storage unit, the data stored in the storage unit is determined to be smaller than the predetermined amount. If the data is held in a predetermined storage unit, the selection unit selects the data read by the memory control unit, and the storage unit holds the data selected by the selection unit. Output in FIFO order.

【0018】請求項9に記載の制御方法においては、第
1の記憶部に所定の量のデータが保持されているか、ま
たは、第2の記憶部にデータが保持されている場合、所
定の回路より供給されたデータを第2の記憶部に書き込
み、第2の記憶部にデータが保持されている場合、第2
の記憶部に保持されているデータを選択し、第2の記憶
部にデータが保持されていない場合、所定の回路より供
給されたデータを選択し、選択したデータを第1の記憶
部において保持し、FIFOの順序で出力する。
In the control method according to the ninth aspect, when a predetermined amount of data is stored in the first storage unit, or when a predetermined amount of data is stored in the second storage unit, a predetermined circuit may be used. The supplied data is written to the second storage unit, and if the data is held in the second storage unit, the second
If the data stored in the storage unit is selected, and if the data is not stored in the second storage unit, the data supplied from the predetermined circuit is selected, and the selected data is stored in the first storage unit. Then, they are output in FIFO order.

【0019】[0019]

【発明の実施の形態】図1は、本発明の制御装置を応用
した描画装置の一実施の形態の構成を示している。メイ
ンプロセッサ1は、入出力部2を介して供給されるグラ
フィックスデータ、または、メインメモリ3(第2の記
憶部)に記憶されているグラフィックスデータをデータ
退避回路14に出力するようになされている。
FIG. 1 shows a configuration of an embodiment of a drawing apparatus to which a control device of the present invention is applied. The main processor 1 outputs graphics data supplied via the input / output unit 2 or graphics data stored in the main memory 3 (second storage unit) to the data saving circuit 14. ing.

【0020】なお、このグラフィックスデータは、例え
ば、2次元の図形(ポリゴン)を貼り合わせて表現され
る3次元の物体などのデータであり、所定の応用プログ
ラムに従って生成される。
The graphics data is, for example, data of a three-dimensional object expressed by bonding two-dimensional figures (polygons), and is generated according to a predetermined application program.

【0021】データ退避回路14は、供給されたデータ
を内蔵の記憶部(後述の第2次FIFOメモリ24)に
記憶し、描画回路20からの要求に対応して、そのデー
タをFIFOの順番で描画回路20のジオメトリ演算部
4(処理手段)に出力するとともに、その記憶部に所定
の量のデータが記憶されていると、供給されたデータ
を、内蔵の記憶部に記憶せずに、バス15を介してメイ
ンメモリ3に記憶させ、その記憶部に記憶されているデ
ータの量が所定の量より少なくなると、メインメモリ3
よりデータを読み出し、そのデータをその記憶部に記憶
するようになされている。
The data saving circuit 14 stores the supplied data in a built-in storage unit (secondary FIFO memory 24 described later) and, in response to a request from the drawing circuit 20, stores the data in FIFO order. When the data is output to the geometry calculation unit 4 (processing means) of the drawing circuit 20 and a predetermined amount of data is stored in the storage unit, the supplied data is not stored in the built-in storage unit, 15, when the amount of data stored in the storage unit becomes smaller than a predetermined amount, the main memory 3
The data is read from the memory and the data is stored in the storage unit.

【0022】図2は、データ退避回路14の構成例を示
している。第1次FIFOメモリ21(第2の記憶手
段)は、バス15を介して供給されるデータを記憶し、
所定の転送速度で、そのデータをマルチプレクサ22
(選択手段)および制御回路23(メモリ制御手段)に
出力するようになされている。
FIG. 2 shows a configuration example of the data saving circuit 14. The primary FIFO memory 21 (second storage means) stores data supplied via the bus 15,
At a predetermined transfer rate, the data is
(Selection means) and to the control circuit 23 (memory control means).

【0023】マルチプレクサ22は、制御回路23から
の制御信号に応じて、第1次FIFOメモリ21からの
データおよび制御回路23からのデータのいずれかを第
2次FIFOメモリ24(記憶手段、第1の記憶部)に
出力するようになされている。
The multiplexer 22 stores one of the data from the primary FIFO memory 21 and the data from the control circuit 23 in accordance with a control signal from the control circuit 23 into the secondary FIFO memory 24 (storage means, first memory). To the storage unit of the digital camera.

【0024】第2次FIFOメモリ24は、マルチプレ
クサ22より供給されたデータを記憶し、描画回路20
からの要求に対応して、そのデータをFIFOの順番で
描画回路20のジオメトリ演算部4に出力するようにな
されている。
The secondary FIFO memory 24 stores the data supplied from the multiplexer 22, and stores the data in the drawing circuit 20.
The data is output to the geometry calculation unit 4 of the drawing circuit 20 in the order of FIFO in response to the request from.

【0025】制御回路23は、第2次FIFOメモリ2
4およびメインメモリ3に記憶させたデータの量に応じ
て、第1次FIFOメモリ21からのデータまたは制御
回路23からのデータが第2次FIFOメモリ24に供
給されるようにマルチプレクサ22を制御するととも
に、第2次FIFOメモリ24に記憶されているデータ
量に応じて、第1次FIFOメモリ21より供給された
データを、バス15を介してメインメモリ3に記憶させ
る。
The control circuit 23 includes a secondary FIFO memory 2
The multiplexer 22 is controlled so that the data from the primary FIFO memory 21 or the data from the control circuit 23 is supplied to the secondary FIFO memory 24 in accordance with the amount of data stored in the main memory 3 and the memory 4. At the same time, the data supplied from the primary FIFO memory 21 is stored in the main memory 3 via the bus 15 according to the amount of data stored in the secondary FIFO memory 24.

【0026】また、制御回路23は、テクスチャバッフ
ァ9より供給されたテクスチャデータをメインメモリ3
に記憶させる。
The control circuit 23 stores the texture data supplied from the texture buffer 9 in the main memory 3.
To memorize.

【0027】図1の描画回路20は、データ退避回路1
4より供給されたグラフィックスデータから、そのポリ
ゴンに対応するビデオ信号を生成し、出力するようにな
されている。
The drawing circuit 20 shown in FIG.
A video signal corresponding to the polygon is generated and output from the graphics data supplied from 4.

【0028】描画回路20のジオメトリ演算部4は、供
給されたグラフィックスデータに対して座標変換、クリ
ッピング処理、ライティング処理などを行い、処理後の
グラフィックスデータ(ポリゴンレンダリングデータ)
として、ポリゴンの各頂点に対応する、座標X,Y,
Z、赤色、緑色、青色にそれぞれ対応する輝度値Cr,
Cg,Cb、描画する画素の輝度値とディスプレイバッ
ファ10に記憶されている画素の輝度値を混ぜ合わせる
割合を表すブレンド係数α、テクスチャ座標S,T,
Q、および、フォグ係数Fを、DDAセットアップ部5
に出力するようになされている。
The geometry calculation unit 4 of the drawing circuit 20 performs coordinate conversion, clipping processing, lighting processing, and the like on the supplied graphics data, and executes the processed graphics data (polygon rendering data).
As coordinates X, Y, and
Z, luminance values Cr corresponding to red, green, and blue,
Cg, Cb, a blend coefficient α representing a ratio of mixing a luminance value of a pixel to be drawn with a luminance value of a pixel stored in the display buffer 10, and texture coordinates S, T,
Q and fog coefficient F are set in DDA setup section 5
Output.

【0029】なお、テクスチャ座標として、同次座標系
であるS,T,Qが出力されるが、S/Q,T/Qにテ
クスチャサイズをそれぞれ乗じたものが、実際のテクス
チャ座標として利用される。また、フォグ係数Fは、例
えばZが大きく、その点における表示を、霧がかかった
ように表現するときに、所定のフォグカラーを混合する
度合いを示す係数である。
Note that S, T, and Q, which are homogeneous coordinate systems, are output as texture coordinates. S / Q and T / Q multiplied by the texture size are used as actual texture coordinates. You. The fog coefficient F is a coefficient indicating the degree of mixing of a predetermined fog color when, for example, Z is large and the display at that point is expressed as fog.

【0030】DDAセットアップ部5は、供給されたポ
リゴンの各頂点のポリゴンレンダリングデータX,Y,
Z,Cr,Cg,Cb,α,S,T,Q,Fから、X方
向に対するポリゴンレンダリングデータの変分(ΔZ/
ΔX,ΔCr/ΔX,ΔCg/ΔX,ΔCb/ΔX,Δ
α/ΔX,ΔS/ΔX,ΔT/ΔX,ΔQ/ΔX,ΔF
/ΔX)を算出するとともに、Y方向に対するポリゴン
レンダリングデータの変分(ΔZ/ΔY,ΔCr/Δ
Y,ΔCg/ΔY,ΔCb/ΔY,Δα/ΔY,ΔS/
ΔY,ΔT/ΔY,ΔQ/ΔY,ΔF/ΔY)を算出す
る。
The DDA set-up unit 5 supplies polygon rendering data X, Y,
From Z, Cr, Cg, Cb, α, S, T, Q, and F, the variation (ΔZ /
ΔX, ΔCr / ΔX, ΔCg / ΔX, ΔCb / ΔX, Δ
α / ΔX, ΔS / ΔX, ΔT / ΔX, ΔQ / ΔX, ΔF
/ ΔX) and the variation (ΔZ / ΔY, ΔCr / Δ) of the polygon rendering data in the Y direction.
Y, ΔCg / ΔY, ΔCb / ΔY, Δα / ΔY, ΔS /
ΔY, ΔT / ΔY, ΔQ / ΔY, ΔF / ΔY) are calculated.

【0031】また、DDAセットアップ部5は、3角形
(ポリゴン)の頂点の座標より3角形の形状の種類の判
別を行うとともに、描画開始点(レンダリング開始点)
における各ポリゴンレンダリングデータの初期値を算出
するようになされている。
The DDA setup unit 5 determines the type of the triangular shape based on the coordinates of the vertices of the triangular shape (polygon), and starts the drawing start point (rendering start point).
The initial value of each polygon rendering data is calculated.

【0032】さらに、DDAセットアップ部5は、3角
形のポリゴンの描画開始点に最も近いスパン(X方向に
配列している画素の列)のY方向の座標に、ポリゴンの
描画開始点の座標を移動させた後、その座標に対応する
各ポリゴンレンダリングデータの初期値を算出し、X方
向の各変分とともにDDA部6に出力するようになされ
ている。
Further, the DDA setup unit 5 sets the coordinates of the polygon drawing start point to the coordinates in the Y direction of the span (the row of pixels arranged in the X direction) closest to the drawing start point of the triangular polygon. After the movement, an initial value of each polygon rendering data corresponding to the coordinates is calculated and output to the DDA unit 6 together with each variation in the X direction.

【0033】DDA部6は、DDA(Digital Differen
tial Analyzer)演算を行い、DDAセットアップ5よ
り供給された、各ポリゴンレンダリングデータのX方向
の変分と、各ポリゴンレンダリングデータの初期値か
ら、まず、そのスパンの開始点の画素に対応する各ポリ
ゴンレンダリングデータの値を算出し、次に、そのスパ
ンの各画素に対応する座標X,Yと、その座標における
ポリゴンレンダリングデータZ,Cr,Cg,Cb,
α,S,T,Q,Fの値を順次算出し、テクスチャプロ
セッサ7に出力するようになされている。
The DDA unit 6 is a DDA (Digital Differen).
tial Analyzer) calculation, and based on the X direction variation of each polygon rendering data supplied from the DDA setup 5 and the initial value of each polygon rendering data, first, each polygon corresponding to the pixel at the start point of the span. The rendering data value is calculated, and then the coordinates X, Y corresponding to each pixel in the span, and the polygon rendering data Z, Cr, Cg, Cb,
The values of α, S, T, Q, and F are sequentially calculated and output to the texture processor 7.

【0034】テクスチャプロセッサ7は、テクスチャバ
ッファ9(第3の記憶手段)からテクスチャデータを読
み出し、供給されたテクスチャ座標S,TをQで除算
し、テクスチャサイズで乗算して実際のテクスチャ座標
を算出するとともに、読み出したテクスチャデータか
ら、実際のテクスチャ座標S,Tに対応したテクスチャ
アドレスにおける輝度値と、テクスチャデータの混合比
を表す係数(テクスチャのα値)を算出し、その係数に
対応して、DDA部6より供給された輝度値と、テクス
チャに対応する輝度値を混合するようになされている。
The texture processor 7 reads out texture data from the texture buffer 9 (third storage means), divides the supplied texture coordinates S and T by Q, and multiplies by the texture size to calculate actual texture coordinates. At the same time, a coefficient (texture α value) representing the mixture ratio of the texture data and the luminance value at the texture address corresponding to the actual texture coordinates S and T is calculated from the read texture data. , The luminance value supplied from the DDA unit 6 and the luminance value corresponding to the texture are mixed.

【0035】さらに、テクスチャプロセッサ7は、フォ
グ係数Fに対応して所定のフォグカラーを混合し、生成
された輝度値を、DDA部6より供給された座標X,Y
の画素に対応する輝度値として、座標X,Y,Zおよび
ブレンド係数αとともにメモリインタフェース8に出力
するようになされている。
Further, the texture processor 7 mixes a predetermined fog color corresponding to the fog coefficient F and converts the generated luminance value into the coordinates X, Y supplied from the DDA unit 6.
Are output to the memory interface 8 together with the coordinates X, Y, Z and the blend coefficient α as the luminance value corresponding to the pixel of.

【0036】なお、テクスチャバッファ9は、MIPM
APなどの各レベルに対応したテクスチャデータを記憶
している。
The texture buffer 9 stores the MIPM
Texture data corresponding to each level such as AP is stored.

【0037】メモリインタフェース8は、Zバッファ1
1のZ値を参照し、供給された画素が、以前に描画した
ものより手前にある場合、供給された座標Zで、Zバッ
ファ11のZ値を更新するとともに、供給された輝度値
を、ディスプレイバッファ10における、その座標
(X,Y)に対応するアドレスに書き込むようになされ
ている。
The memory interface 8 has a Z buffer 1
When the supplied pixel is located before the previously drawn pixel with reference to the Z value of 1, the Z value of the Z buffer 11 is updated with the supplied coordinate Z, and the supplied luminance value is The data is written to the address corresponding to the coordinates (X, Y) in the display buffer 10.

【0038】なお、メモリインタフェース8は、αブレ
ンドを行うように設定されている場合、供給されたブレ
ンド係数αに対応して、ディスプレイバッファ10に記
憶されている輝度値と、供給された輝度値を混合して、
生成された輝度値をディスプレイバッファ10に書き込
む。
If the memory interface 8 is set to perform α blending, the memory interface 8 stores the luminance value stored in the display buffer 10 and the supplied luminance value in correspondence with the supplied blend coefficient α. Mix
The generated luminance value is written into the display buffer 10.

【0039】また、メモリインタフェース8は、テクス
チャバッファ9に記憶されているテクスチャデータの使
用頻度を計算し、使用頻度の低いものをデータ退避回路
14に出力させるようになされている。
The memory interface 8 calculates the use frequency of the texture data stored in the texture buffer 9 and outputs the less frequently used texture data to the data saving circuit 14.

【0040】CRT制御部12は、所定の水平および垂
直同期信号に同期して表示アドレスを発生し、メモリイ
ンタフェース8を制御して、その表示アドレスに対応す
る輝度値を、所定の数毎にまとめて転送させ、内蔵する
FIFO部(図示せず)にそれらの値を一旦記憶し、所
定の間隔でそのデータのインデックス値をRAMDAC
13に出力するようになされている。
The CRT control unit 12 generates a display address in synchronization with a predetermined horizontal and vertical synchronization signal, controls the memory interface 8, and compiles the luminance values corresponding to the display address for each predetermined number. The data is temporarily stored in a built-in FIFO unit (not shown), and the index value of the data is stored at predetermined intervals in the RAMDAC.
13 is output.

【0041】RAMDAC13は、図示せぬRAM部と
DAC(Digital/Analog Converter)部を有し、インデ
ックス値に対応した輝度値をRAM部に予め記憶してお
り、CRT制御部12より供給されたインデックス値に
対応する輝度値を、RAM部からDAC部に供給し、D
AC部において、その輝度値(RGB値)をD/A変換
し、アナログのビデオ信号(RGB信号)を所定の装置
(図示せず)に出力するようになされている。
The RAMDAC 13 has a RAM unit (not shown) and a DAC (Digital / Analog Converter) unit, and stores in advance a luminance value corresponding to the index value in the RAM unit. The luminance value corresponding to the value is supplied from the RAM unit to the DAC unit,
The AC unit D / A converts the luminance value (RGB value) and outputs an analog video signal (RGB signal) to a predetermined device (not shown).

【0042】次に、図1の描画装置の動作について説明
する。
Next, the operation of the drawing apparatus shown in FIG. 1 will be described.

【0043】メインプロセッサ1は、所定の応用プログ
ラムに従って、入出力部2を介して供給されるグラフィ
ックスデータ、または、メインメモリ3に記憶されてい
るグラフィックスデータを、バス15を介してデータ退
避回路14に出力する。
The main processor 1 saves graphics data supplied via the input / output unit 2 or graphics data stored in the main memory 3 via the bus 15 in accordance with a predetermined application program. Output to the circuit 14.

【0044】データ退避回路14の第1次FIFOメモ
リ21は、バス15を介して供給されるデータを記憶
し、所定の転送速度で、そのデータをマルチプレクサ2
2および制御回路23に出力する。このように第1次F
IFOメモリ21を設けることにより、データのパケッ
トサイズを調整することができるので、メインメモリ3
へのデータのバースト転送が可能となる。
The primary FIFO memory 21 of the data saving circuit 14 stores data supplied via the bus 15 and transfers the data at a predetermined transfer rate to the multiplexer 2.
2 and to the control circuit 23. Thus, the first F
By providing the IFO memory 21, the data packet size can be adjusted.
Data can be transferred in bursts.

【0045】なお、マルチプレクサ22は、第2次FI
FOメモリ24およびメインメモリ3にそれぞれ記憶さ
れているデータ量に対応して、第1次FIFOメモリ2
1または制御回路23からのデータを第2次FIFOメ
モリ24に出力するか、第1次FIFOメモリ21と制
御回路23のいずれからのデータも出力しないように制
御回路23により適宜設定されている。
It should be noted that the multiplexer 22 has a second-order FI.
The primary FIFO memory 2 corresponds to the data amount stored in the FO memory 24 and the main memory 3, respectively.
1 or the data from the control circuit 23 is set to the secondary FIFO memory 24, or the control circuit 23 appropriately sets so as not to output data from either the primary FIFO memory 21 or the control circuit 23.

【0046】即ち、制御回路23は、第2次FIFOメ
モリ24を参照して、第2次FIFOメモリ24に記憶
されているデータ量が所定の量以上である場合、マルチ
プレクサ22を制御して、マルチプレクサ22から第2
次FIFOメモリ24にデータが供給されないようにし
ている。
That is, the control circuit 23 refers to the secondary FIFO memory 24 and controls the multiplexer 22 when the amount of data stored in the secondary FIFO memory 24 is equal to or more than a predetermined amount. From the multiplexer 22 to the second
Data is not supplied to the next FIFO memory 24.

【0047】この場合、第1次FIFOメモリ21から
出力されたデータは、バス15を介してメインメモリ3
に記憶される。なお、制御回路23は、メインメモリ3
の所定の記憶領域がリングバッファとなるようにアドレ
ッシングを行い、データを記憶させる。このようにリン
グバッファ状にデータを記憶することにより、記憶した
データをFIFOの順序で読み出すことが簡単になる。
In this case, the data output from the primary FIFO memory 21 is transferred to the main memory 3 via the bus 15.
Is stored. Note that the control circuit 23 is provided in the main memory 3.
The addressing is performed so that the predetermined storage area becomes a ring buffer, and the data is stored. By storing data in a ring buffer in this manner, it is easy to read out the stored data in FIFO order.

【0048】また、制御回路23は、第2次FIFOメ
モリ24に記憶されているデータ量が所定の量より少な
い量であり(即ち、第2次FIFOメモリ24の記憶領
域に所定の量の空き領域が確保され)、かつ、メインメ
モリ3に、制御回路23からのデータが記憶されていな
い場合、マルチプレクサ22を制御して、第1次FIF
Oメモリ21からのデータが第2次FIFOメモリ24
に供給されるようにする。
The control circuit 23 determines that the amount of data stored in the secondary FIFO memory 24 is smaller than the predetermined amount (that is, the predetermined amount of free space in the storage area of the secondary FIFO memory 24). When the data is not stored in the main memory 3 from the control circuit 23, the multiplexer 22 is controlled to
The data from the O memory 21 is stored in the secondary FIFO memory 24.
To be supplied.

【0049】この場合、第1次FIFOメモリ21から
出力されたデータは、マルチプレクサ22を介して第2
次FIFOメモリ24に供給される。
In this case, the data output from the primary FIFO memory 21 is transmitted to the second
It is supplied to the next FIFO memory 24.

【0050】一方、第2次FIFOメモリ24に記憶さ
れているデータ量が所定の量より少なく、かつ、メイン
メモリ3に、制御回路23からのデータが記憶されてい
る場合、制御回路23は、マルチプレクサ22を制御し
て、制御回路23からのデータが第2次FIFOメモリ
24に供給されるようにする。
On the other hand, when the amount of data stored in the secondary FIFO memory 24 is smaller than a predetermined amount and the data from the control circuit 23 is stored in the main memory 3, the control circuit 23 The multiplexer 22 is controlled so that the data from the control circuit 23 is supplied to the secondary FIFO memory 24.

【0051】なお、このとき第1次FIFOメモリ21
からデータが供給された場合、そのデータはメインメモ
リ3に記憶される。
At this time, the primary FIFO memory 21
Is supplied from the main memory 3, the data is stored in the main memory 3.

【0052】第2次FIFOメモリ24は、上述のよう
にマルチプレクサ22より供給されたデータを記憶し、
描画回路20からの要求に対応して、そのデータをFI
FOの順番で描画回路20のジオメトリ演算部4に出力
する。
The secondary FIFO memory 24 stores the data supplied from the multiplexer 22 as described above,
In response to a request from the drawing circuit 20, the data is
Output to the geometry calculation unit 4 of the drawing circuit 20 in the order of FO.

【0053】描画回路20のジオメトリ演算部4は、第
2次FIFOメモリ24にデータの要求を適宜行い、供
給されたグラフィックスデータに対して座標変換、クリ
ッピング処理、ライティング処理などを行い、ポリゴン
の各頂点に対応する、座標X,Y,Z、輝度値Cr,C
g,Cb、ブレンド係数α、テクスチャ座標S,T,
Q、および、フォグ係数Fを、DDAセットアップ部5
に出力する。
The geometry calculation unit 4 of the drawing circuit 20 makes a data request to the secondary FIFO memory 24 as appropriate, performs coordinate conversion, clipping processing, lighting processing, and the like on the supplied graphics data, and performs polygon processing. Coordinates X, Y, Z, luminance values Cr, C corresponding to each vertex
g, Cb, blend coefficient α, texture coordinates S, T,
Q and fog coefficient F are set in DDA setup section 5
Output to

【0054】次に、レンダリング回路20のDDAセッ
トアップ部5は、レンダリングの前処理として、まず、
3角形のポリゴンの形状の判別を行う。このとき、DD
Aセットアップ部5は、3つの頂点のうち、Y方向の座
標値が最も小さい頂点を頂点Aとし、Y方向の座標値が
最も大きい頂点を頂点Cとし、残りの頂点を頂点Bとす
る。なお、3つの頂点のうち、Y方向の座標値が最も小
さい頂点が2つある場合、DDAセットアップ部5は、
それらの2つの頂点のうちのいずれか一方を頂点Aと
し、他方を頂点Bとする。
Next, the DDA set-up section 5 of the rendering circuit 20 first performs
The shape of the triangular polygon is determined. At this time, DD
The A setup unit 5 sets the vertex having the smallest coordinate value in the Y direction to the vertex A, the vertex having the largest coordinate value in the Y direction to the vertex C, and the remaining vertices to the vertex B among the three vertices. If there are two vertices having the smallest coordinate value in the Y direction among the three vertices, the DDA setup unit 5
Either one of the two vertices is designated as vertex A, and the other is designated as vertex B.

【0055】また、DDAセットアップ部5は、ポリゴ
ン内の各画素におけるポリゴンレンダリングデータX,
Y,Z,R,G,B,α,S,T,Q,Fの値を補間演
算により算出するときに利用されるX方向およびY方向
に対するポリゴンレンダリングデータの変分を、ポリゴ
ンの3頂点のポリゴンレンダリングデータからそれぞれ
算出する。
The DDA set-up unit 5 also outputs polygon rendering data X,
The variation of the polygon rendering data in the X direction and the Y direction used when calculating the values of Y, Z, R, G, B, α, S, T, Q, and F by interpolation calculation is represented by three vertices of the polygon. , Respectively.

【0056】各変分を算出した後、DDAセットアップ
部5は、図3に示すように、頂点Aに最も近いスパン1
01に対応するY方向の座標値Y0と同一の座標値を有
する辺AC上の点(X0,Y0)に、ポリゴンの描画開始
点を一時的に移動させた後、その座標値に対応する各ポ
リゴンレンダリングデータの値を補間演算により算出
し、それらのデータを、X方向の各変分とともにDDA
部6に出力する。さらに、その後、DDAセットアップ
部5は、各スパンに対応する辺AC上の点における各ポ
リゴンレンダリングデータの値を補間演算により算出し
ていき、それらのデータをDDA部6に順次出力してい
く。なお、図3の各画素は、その画素の左下角の座標値
で代表されている。
After calculating each variation, as shown in FIG.
After the polygon drawing start point is temporarily moved to a point (X 0 , Y 0 ) on the side AC having the same coordinate value as the Y direction coordinate value Y 0 corresponding to 01, the coordinate value is The value of each corresponding polygon rendering data is calculated by an interpolation operation, and the data is calculated by the DDA together with each variation in the X direction.
Output to the unit 6. Further, thereafter, the DDA setup unit 5 calculates the value of each polygon rendering data at a point on the side AC corresponding to each span by an interpolation operation, and sequentially outputs the data to the DDA unit 6. Each pixel in FIG. 3 is represented by the coordinate value of the lower left corner of the pixel.

【0057】そして、DDA部6は、DDA演算を行
い、DDAセットアップ部5より供給されたデータに対
応するスパンのレンダリング処理を行い、レンダリング
処理後の各画素に対応するポリゴンレンダリングデータ
をテクスチャプロセッサ7に順次出力する。
The DDA unit 6 performs a DDA operation, performs a rendering process for a span corresponding to the data supplied from the DDA setup unit 5, and outputs polygon rendering data corresponding to each pixel after the rendering process to a texture processor 7 Are output sequentially.

【0058】テクスチャプロセッサ7は、テクスチャバ
ッファ9からテクスチャデータを読み出し、そのデータ
を利用して、DDA部6より供給されたテクスチャ座標
値を、実際のテクスチャ座標値に変換し、実際のテクス
チャ座標値S,Tに対応したテクスチャアドレスにおけ
る輝度値と、テクスチャデータの混合比を表す係数(テ
クスチャのα値)を算出し、その係数に対応して、DD
A部6より供給された輝度値と、テクスチャに対応する
輝度値を混合する。
The texture processor 7 reads out texture data from the texture buffer 9 and converts the texture coordinate values supplied from the DDA unit 6 into actual texture coordinate values by using the data. The luminance value at the texture address corresponding to S and T and a coefficient (α value of the texture) representing the mixture ratio of the texture data are calculated, and DD is calculated according to the coefficient.
The luminance value supplied from the A section 6 and the luminance value corresponding to the texture are mixed.

【0059】さらに、テクスチャプロセッサ7は、テク
スチャのα値に対応して混合された輝度値に、フォグ係
数Fに対応して所定のフォグカラーを混合し、生成され
た輝度値を、DDA部6より供給された座標値X,Yの
画素に対応する輝度値として、座標値X,Y,Zおよび
ブレンド係数αとともにメモリインタフェース8に出力
する。
Further, the texture processor 7 mixes a predetermined fog color corresponding to the fog coefficient F with the mixed brightness value corresponding to the α value of the texture, and outputs the generated brightness value to the DDA unit 6. It outputs to the memory interface 8 along with the coordinate values X, Y, Z and the blend coefficient α as a luminance value corresponding to the pixel of the coordinate values X, Y supplied from the memory interface 8.

【0060】そして、メモリインタフェース8は、Zバ
ッファ11のZ値を読み出し、テクスチャプロセッサ7
より供給された画素が以前に描画したものより手前(視
点側)にあるか否かを判断し、供給された画素が以前に
描画したものより手前にある場合、供給された座標値Z
で、Zバッファ11のZ値を更新するとともに、供給さ
れた輝度値を、ディスプレイバッファ10における、そ
の座標に対応するアドレスに書き込む。
Then, the memory interface 8 reads the Z value of the Z buffer 11 and
It is determined whether or not the supplied pixel is in front (on the viewpoint side) of the previously drawn pixel. If the supplied pixel is in front of the previously drawn pixel, the supplied coordinate value Z is determined.
Then, the Z value of the Z buffer 11 is updated, and the supplied luminance value is written in the display buffer 10 at an address corresponding to the coordinates.

【0061】一方、供給された画素が以前に描画したも
のより後ろにある場合、メモリインタフェース8は、供
給されたデータを破棄する。
On the other hand, if the supplied pixel is behind the previously drawn one, the memory interface 8 discards the supplied data.

【0062】なお、αブレンドを行うように設定されて
いる場合、メモリインタフェース8は、テクスチャプロ
セッサ7より供給されたブレンド係数αに対応して、デ
ィスプレイバッファ10に記憶されている輝度値と、供
給された輝度値を、α:(1−α)の割合で混合して、
生成した輝度値をディスプレイバッファ10に書き込
む。
When α blending is set, the memory interface 8 determines the luminance value stored in the display buffer 10 in accordance with the blend coefficient α supplied from the texture processor 7, Are mixed at a ratio of α: (1−α),
The generated luminance value is written to the display buffer 10.

【0063】そして、ディスプレイバッファ10に書き
込まれた輝度値は、CRT制御部12により水平および
垂直同期信号に同期して発生される表示アドレスに対応
して、CRT制御部12にメモリインタフェース8を介
して転送され、CRT制御部12のFIFO部に一旦記
憶される。そして、その輝度値に対応するインデックス
値が、所定の間隔でRAMDAC13に出力され、RA
MDAC13から、そのインデックス値に対応した輝度
値をD/A変換したアナログビデオ信号(RGB信号)
が所定の装置(図示せず)に出力される。
The luminance value written in the display buffer 10 is transmitted to the CRT controller 12 via the memory interface 8 in accordance with the display address generated by the CRT controller 12 in synchronization with the horizontal and vertical synchronizing signals. And temporarily stored in the FIFO unit of the CRT control unit 12. Then, an index value corresponding to the luminance value is output to the RAMDAC 13 at predetermined intervals,
An analog video signal (RGB signal) obtained by D / A conversion of a luminance value corresponding to the index value from the MDAC 13
Is output to a predetermined device (not shown).

【0064】以上のようにして、データ退避回路14に
より一時的にグラフィックスデータをメインメモリ3に
退避させながら、描画回路20で、グラフィクスデータ
に対して描画処理が行われる。このようにすることによ
り、入出力部2またはメインメモリ3からのデータが、
滞ることなく描画回路20に供給される。
As described above, while the graphics data is temporarily saved in the main memory 3 by the data saving circuit 14, the graphics circuit performs the drawing process on the graphics data. By doing so, data from the input / output unit 2 or the main memory 3 is
The data is supplied to the drawing circuit 20 without delay.

【0065】なお、図1の描画装置においては、一時的
にグラフィックスデータをメインメモリ3に退避させて
いるが、図4に示すように、所定の拡張メモリ31をデ
ータ退避回路14に接続し、その拡張メモリ31にグラ
フィックスデータを一時的に記憶させるようにしてもよ
い。
In the drawing apparatus shown in FIG. 1, the graphics data is temporarily saved in the main memory 3. However, as shown in FIG. 4, a predetermined extended memory 31 is connected to the data saving circuit 14. Alternatively, graphics data may be temporarily stored in the extension memory 31.

【0066】次に、テクスチャバッファ9に記憶されて
いるテクスチャデータの退避を行う際の動作について説
明する。
Next, the operation for saving the texture data stored in the texture buffer 9 will be described.

【0067】メモリインタフェース8は、CRT制御部
12が発生する垂直同期信号をカウントし、各テクスチ
ャデータが利用させる時間間隔(垂直同期信号のカウン
ト数)から、そのテクスチャデータの使用頻度を計算
し、使用頻度の低いものを、テクスチャバッファ9を制
御して、データ退避回路14の制御回路23に出力させ
る。
The memory interface 8 counts the vertical synchronizing signal generated by the CRT control unit 12 and calculates the frequency of use of the texture data from the time interval (count of the vertical synchronizing signal) used by each texture data. The less frequently used one is controlled by the texture buffer 9 and output to the control circuit 23 of the data saving circuit 14.

【0068】データ退避回路14の制御回路23は、テ
クスチャバッファ9からテクスチャデータが供給される
と、そのデータを、バス15を介してメインメモリ3に
記憶させる。
When the texture data is supplied from the texture buffer 9, the control circuit 23 of the data saving circuit 14 stores the data in the main memory 3 via the bus 15.

【0069】そして、他の回路(図示せず)より、新た
なテクスチャデータが、テクスチャバッファ9に記憶さ
れる。なお、このとき、メインメモリ3に退避している
データを、再度テクスチャバッファ9に記憶させるよう
にしてもよい。
Then, new texture data is stored in the texture buffer 9 by another circuit (not shown). At this time, the data saved in the main memory 3 may be stored in the texture buffer 9 again.

【0070】このようにして使用頻度が低いテクスチャ
データを退避させることにより、高価なテクスチャバッ
ファ9を有効に利用することができる。
By saving the texture data that is not frequently used in this way, the expensive texture buffer 9 can be effectively used.

【0071】なお、上述のメインプロセッサ1により、
描画回路20のテクスチャデータを、例えばメインメモ
リ3などに退避させたり、使用していないデータを消去
して記憶領域を他のデータに提供するようにしてもよい
が、その場合、メインプロセッサ1が、テクスチャデー
タを記憶しているメモリにアクセスするために時間がか
かる。
Note that the main processor 1 described above
The texture data of the drawing circuit 20 may be saved in, for example, the main memory 3 or the unused data may be deleted to provide a storage area for other data. In this case, the main processor 1 It takes time to access the memory storing the texture data.

【0072】また、本発明は、上記の描画装置に限定さ
れるものではなく、他の処理装置にも応用することがで
きる。
The present invention is not limited to the above-described drawing device, but can be applied to other processing devices.

【0073】[0073]

【発明の効果】以上のごとく、請求項1に記載の制御装
置および請求項8に記載の制御方法によれば、第1の記
憶部に所定の量のデータが保持されているか、または、
第2の記憶部にデータが保持されている場合、所定の回
路より供給されたデータを第2の記憶部に書き込み、第
2の記憶部にデータが保持されている場合、第2の記憶
部に保持されているデータを選択し、第2の記憶部にデ
ータが保持されていない場合、所定の回路より供給され
たデータを選択し、選択したデータを第1の記憶部にお
いて保持し、FIFOの順序で出力するようにしたの
で、後段の処理回路へのデータの転送を潤滑に行うこと
ができる。また、後段の処理回路において記憶されてい
るデータの一部を一時的に上記第2の記憶部に記憶させ
ることにより、例えば、多くの種類のテクスチャを利用
することができる。
As described above, according to the control device of the first aspect and the control method of the eighth aspect, a predetermined amount of data is held in the first storage unit, or
When the data is held in the second storage unit, the data supplied from the predetermined circuit is written in the second storage unit. When the data is held in the second storage unit, the second storage unit is used. If the data stored in the first storage unit is selected and the data is not stored in the second storage unit, the data supplied from the predetermined circuit is selected, and the selected data is stored in the first storage unit. , The data can be smoothly transferred to the subsequent processing circuit. Further, by temporarily storing a part of the data stored in the subsequent processing circuit in the second storage unit, for example, many types of textures can be used.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の制御装置を応用した描画装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a drawing apparatus to which a control device of the present invention is applied.

【図2】図1のデータ退避回路14の構成例を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration example of a data saving circuit 14 of FIG.

【図3】ポリゴンの一例を示す図である。FIG. 3 is a diagram illustrating an example of a polygon.

【図4】拡張メモリ31を設けた構成例を示すブロック
図である。
FIG. 4 is a block diagram showing a configuration example in which an extension memory 31 is provided.

【図5】描画装置の一構成例を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration example of a drawing apparatus.

【符号の説明】[Explanation of symbols]

1 メインプロセッサ, 2 入出力部, 3 メイン
メモリ, 9 テクスチャバッファ, 14 データ退
避回路, 20 描画回路, 21 第1次FIFOメ
モリ, 22 マルチプレクサ, 23 制御回路,
24 第2次FIFOメモリ, 31 拡張メモリ
1 main processor, 2 input / output unit, 3 main memory, 9 texture buffer, 14 data saving circuit, 20 drawing circuit, 21 primary FIFO memory, 22 multiplexer, 23 control circuit,
24 Secondary FIFO memory, 31 Extended memory

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 所定の回路より供給されたデータを所定
の記憶部に書き込むとともに、前記所定の記憶部から前
記データを読み出すメモリ制御手段と、 所定の回路より供給されたデータおよび前記メモリ制御
手段により前記所定の記憶部から読み出されたデータの
いずれかを選択する選択手段と、 前記選択手段により選択されたデータを保持し、FIF
Oの順序で出力する記憶手段とを備え、 前記メモリ制御手段は、前記記憶手段に所定の量のデー
タが保持されているか、または、前記所定の記憶部にデ
ータが保持されている場合、所定の回路より供給された
データを前記所定の記憶部に書き込み、前記所定の記憶
部にデータが保持されている場合、前記記憶手段に保持
されているデータが前記所定の量より少ない量である
と、前記所定の記憶部より前記データを読み出し、 前記選択手段は、前記所定の記憶部にデータが保持され
ている場合、前記メモリ制御手段により読み出されたデ
ータを選択することを特徴とする制御装置。
1. A memory control unit for writing data supplied from a predetermined circuit to a predetermined storage unit and reading the data from the predetermined storage unit, data supplied from a predetermined circuit, and the memory control unit Selecting means for selecting any of the data read from the predetermined storage unit, and holding the data selected by the selecting means,
Storage means for outputting the data in the order of O, wherein the memory control means stores a predetermined amount of data in the storage means or a predetermined amount of data when the predetermined storage unit stores data. Writing the data supplied from the circuit of the above into the predetermined storage unit, and when the data is stored in the predetermined storage unit, the amount of data stored in the storage unit is smaller than the predetermined amount. Reading the data from the predetermined storage unit; and selecting the data read by the memory control unit when the data is stored in the predetermined storage unit. apparatus.
【請求項2】 前記メモリ制御手段は、前記所定の回路
および前記所定の記憶部が接続されているバスに接続さ
れていることを特徴とする請求項1に記載の制御装置。
2. The control device according to claim 1, wherein the memory control unit is connected to a bus to which the predetermined circuit and the predetermined storage unit are connected.
【請求項3】 前記所定の記憶部は、前記所定の回路お
よび前記メモリ制御手段が接続されているバスとは独立
に、前記メモリ制御手段に接続されていることを特徴と
する請求項1に記載の制御装置。
3. The memory according to claim 1, wherein the predetermined storage unit is connected to the memory control unit independently of a bus to which the predetermined circuit and the memory control unit are connected. The control device as described.
【請求項4】 前記所定の記憶部は、リングバッファと
して使用されることを特徴とする請求項1に記載の制御
装置。
4. The control device according to claim 1, wherein the predetermined storage unit is used as a ring buffer.
【請求項5】 前記データは、グラフィクスデータであ
ることを特徴とする請求項1に記載の制御装置。
5. The control device according to claim 1, wherein the data is graphics data.
【請求項6】 前記所定の回路より供給されたデータを
保持し、FIFOの順序で前記メモリ制御手段および前
記選択手段に出力する第2の記憶手段をさらに備えるこ
とを特徴とする請求項1に記載の制御装置。
6. The apparatus according to claim 1, further comprising a second storage unit for holding data supplied from the predetermined circuit and outputting the data to the memory control unit and the selection unit in a FIFO order. The control device as described.
【請求項7】 前記記憶手段が出力したデータを処理す
る処理手段と、 前記処理手段において利用される第2のデータを記憶し
ている第3の記憶手段とをさらに備え、 前記第3の記憶手段は、前記第2のデータを前記メモリ
制御手段に出力し、 前記メモリ制御手段は、そのデータを前記所定の記憶部
に記憶させることを特徴とする請求項1に記載の制御装
置。
7. The apparatus according to claim 1, further comprising: a processing unit that processes data output from the storage unit; and a third storage unit that stores second data used in the processing unit. The control device according to claim 1, wherein the means outputs the second data to the memory control means, and the memory control means stores the data in the predetermined storage unit.
【請求項8】 前記データは、グラフィクスデータであ
り、 前記第2のデータは、テクスチャデータであることを特
徴とする請求項7に記載の制御装置。
8. The control device according to claim 7, wherein the data is graphics data, and the second data is texture data.
【請求項9】 第1の記憶部に所定の量のデータが保持
されているか、または、第2の記憶部にデータが保持さ
れている場合、所定の回路より供給されたデータを前記
第2の記憶部に書き込むステップと、 前記第2の記憶部にデータが保持されている場合、前記
第2の記憶部に保持されているデータを選択し、前記第
2の記憶部に前記データが保持されていない場合、前記
所定の回路より供給されたデータを選択するステップ
と、 選択したデータを前記第1の記憶部において保持し、F
IFOの順序で出力するステップとを備えることを特徴
とする制御方法。
9. When a predetermined amount of data is stored in a first storage unit or when data is stored in a second storage unit, data supplied from a predetermined circuit is stored in the second storage unit. And writing the data held in the second storage unit, and selecting the data held in the second storage unit, and holding the data in the second storage unit. If not, selecting the data supplied from the predetermined circuit; holding the selected data in the first storage unit;
Outputting in the order of IFO.
JP8347092A 1996-12-26 1996-12-26 Device and method for control Withdrawn JPH10187413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8347092A JPH10187413A (en) 1996-12-26 1996-12-26 Device and method for control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8347092A JPH10187413A (en) 1996-12-26 1996-12-26 Device and method for control

Publications (1)

Publication Number Publication Date
JPH10187413A true JPH10187413A (en) 1998-07-21

Family

ID=18387861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8347092A Withdrawn JPH10187413A (en) 1996-12-26 1996-12-26 Device and method for control

Country Status (1)

Country Link
JP (1) JPH10187413A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006123547A1 (en) * 2005-05-20 2006-11-23 Sony Computer Entertainment Inc. Information processing unit, system and method, and processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006123547A1 (en) * 2005-05-20 2006-11-23 Sony Computer Entertainment Inc. Information processing unit, system and method, and processor
JP2006323760A (en) * 2005-05-20 2006-11-30 Sony Computer Entertainment Inc Information processing device, system and method, and processor
US7793012B2 (en) 2005-05-20 2010-09-07 Sony Computer Entertainment Inc. Information processing unit, system and method, and processor

Similar Documents

Publication Publication Date Title
JP3763136B2 (en) Drawing method and drawing apparatus
US20080273030A1 (en) Drawing apparatus and drawing method
US6600492B1 (en) Picture processing apparatus and picture processing method
US5585864A (en) Apparatus for effecting high speed transfer of video data into a video memory using direct memory access
US20090278845A1 (en) Image generating device, texture mapping device, image processing device, and texture storing method
JP4200573B2 (en) Storage device, image processing device and method thereof, refresh operation control device and method thereof
US5831637A (en) Video stream data mixing for 3D graphics systems
US5880741A (en) Method and apparatus for transferring video data using mask data
JP4707782B2 (en) Image processing apparatus and method
US6812931B2 (en) Rendering process
US6847375B2 (en) Rendering process
JPH10187413A (en) Device and method for control
JPH05249953A (en) Image display device
JP2003173453A (en) Drawing processing method, its device, semiconductor device, drawing processing program, and storage medium
JP2003051023A (en) Device, method and program for plotting and computer readable recording medium with the same program recorded
JP3038139B2 (en) Graphic processor
US7113655B2 (en) Image processing apparatus
JPH06124189A (en) Image display device and image display control method
US20060152513A1 (en) Information processing device, data transmission method, and electronic apparatus
JPH05324840A (en) High-resolution image processor
JP2582743B2 (en) Image processing device
JP4635379B2 (en) Image processing device
WO1994010677A1 (en) Method and apparatus for updating a clut during horizontal blanking
JPH0764530A (en) Control system for image display device
JPH041356B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040302