JPH05128264A - Frame buffer plotting device - Google Patents

Frame buffer plotting device

Info

Publication number
JPH05128264A
JPH05128264A JP28891391A JP28891391A JPH05128264A JP H05128264 A JPH05128264 A JP H05128264A JP 28891391 A JP28891391 A JP 28891391A JP 28891391 A JP28891391 A JP 28891391A JP H05128264 A JPH05128264 A JP H05128264A
Authority
JP
Japan
Prior art keywords
attribute
processing
data
frame buffer
processor
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.)
Pending
Application number
JP28891391A
Other languages
Japanese (ja)
Inventor
Shigetsugu Ikeda
滋亜 池田
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP28891391A priority Critical patent/JPH05128264A/en
Publication of JPH05128264A publication Critical patent/JPH05128264A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To perform a high-speed plotting by performing the processing of attribute data having a possibility of being commonly specified to all kinds of plotting graphics by an attribute data processing means, performing the processing of data which is not processed by the attribute processing means by the data processing means, and thereby reducing the load of a data processing means regardless of the kinds of plotting primitive. CONSTITUTION:A processor 1 receiving necessary data from a host processor calculates plotting positions and plotting colors and supplies them to an attribute processing hardware 3 via an address bus and a data bus. In the attribute processing hardware 3, attribute instruction data is read from an attribute register 4 and a plotting for a frame buffer 2 is performed based on the address received from the processor 1. Therefore, the attribute processing becomes unnecessary to be performed in the processor 1 and the processing load can be reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はフレームバッファ描画
装置に関し、さらに詳細にいえば、ライトマスク、ラス
ターオペレーション等の属性処理を伴なう描画のみなら
ず、これらの属性処理を伴なわない描画をも行なうフレ
ームバッファ描画装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame buffer drawing apparatus, and more specifically to not only drawing with attribute processing such as light mask and raster operation but also drawing without these attribute processing. Also relates to a frame buffer drawing device.

【0002】[0002]

【従来の技術】従来からフレームバッファ描画装置の最
も単純な構成として、描画位置、描画色の算出、ライト
マスク、ラスターオペレーション等の属性処理を行なう
プロセッサ21およびフレームバッファ22のみを含む
構成が知られている(図2参照)。
2. Description of the Related Art Conventionally, as a simplest structure of a frame buffer drawing device, a structure including only a processor 21 and a frame buffer 22 for performing drawing position, drawing color calculation, write mask, raster operation and other attribute processing is known. (See FIG. 2).

【0003】また、図3に示すように、プロセッサ31
およびフレームバッファ32のみならず、プロセッサ3
1から属性データ、例えば複写、四角形一色ぬり等と共
に描画プリミティブ指定データの供給を受けて該当する
描画処理を行なってフレームバッファ32に対する描画
を行なう特定プリミティブ描画ハードウェア33を有す
るフレームバッファ描画装置も知られている。
Further, as shown in FIG.
And the frame buffer 32 as well as the processor 3
Also known is a frame buffer drawing device having specific primitive drawing hardware 33 for receiving attribute data, for example, copying, one-color quadrilateral coloring, etc., and drawing primitive designation data from 1 to perform a corresponding drawing process to perform drawing on the frame buffer 32. Has been.

【0004】[0004]

【発明が解決しようとする課題】図2に示すフレームバ
ッファ描画装置においては、全ての処理をプロセッサ2
1が行なわなければならず、プロセッサ21の処理負荷
が著しく大きくなるのでフレームバッファ22に対する
描画を余り高速化できないという不都合がある。図3に
示すフレームバッファ描画装置においては、特定プリミ
ティブの描画を特定プリミティブ描画ハードウェア33
により行なうことにより描画速度を著しく高速化できる
とともに、プロセッサ31の処理負荷を大巾に低減でき
るのであるが、特定プリミティブ以外のプリミティブの
描画については図2のフレームバッファ描画装置と同様
に必要な全ての処理をプロセッサ31により行なわなけ
ればならないので処理負荷が著しく大きくなり、処理速
度も遅くなってしまう。また、特定プリミティブと他の
プリミティブとの描画速度の差が著しく大きくなってし
まうので、フレームバッファ描画装置を含むシステム全
体としてのバランスが悪くなってしまう。
In the frame buffer drawing apparatus shown in FIG. 2, all processing is performed by the processor 2.
1 must be performed, and the processing load of the processor 21 becomes significantly large, so that there is the inconvenience that the drawing on the frame buffer 22 cannot be speeded up so much. In the frame buffer drawing device shown in FIG. 3, the drawing of the specific primitive is performed by the specific primitive drawing hardware 33.
By doing so, the drawing speed can be significantly increased and the processing load of the processor 31 can be greatly reduced. However, as for the drawing of primitives other than the specific primitive, all necessary operations are performed as in the frame buffer drawing device of FIG. Since the processing of (1) must be performed by the processor 31, the processing load is significantly increased and the processing speed is also reduced. In addition, the difference in drawing speed between the specific primitive and other primitives becomes significantly large, and the overall balance of the system including the frame buffer drawing device becomes poor.

【0005】[0005]

【発明の目的】この発明は上記の問題点に鑑みてなされ
たものであり、属性処理の有無に拘らずフレームバッフ
ァに対する描画速度を高めることができ、しかもプリミ
ティブの種類によって描画速度が大巾に変化するという
不都合の発生を防止できるフレームバッファ描画装置を
提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is possible to increase the drawing speed for a frame buffer regardless of the presence or absence of attribute processing. It is an object of the present invention to provide a frame buffer drawing device capable of preventing the occurrence of the inconvenience of change.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めの、請求項1のフレームバッファ描画装置は、全ての
種類の描画図形に共通に指定される可能性がある属性デ
ータの処理を行なう属性データ処理手段と、属性データ
処理手段で処理されないデータの処理を行なうデータ処
理手段とを含んでいる。
In order to achieve the above object, a frame buffer drawing apparatus according to claim 1 processes attribute data which may be commonly specified for all types of drawing figures. It includes attribute data processing means and data processing means for processing data that is not processed by the attribute data processing means.

【0007】[0007]

【作用】請求項1のフレームバッファ描画装置であれ
ば、アプリケーション・プログラムにより指定された属
性データおよび描画図形データに基づいて必要な処理を
行なってフレームバッファに図形を描画する場合におい
て、全ての種類の描画図形に共通に指定される可能性が
ある属性データの処理を属性データ処理手段により行な
うとともに、属性データ処理手段で処理されないデータ
の処理をデータ処理手段により行なうのであるから、描
画プリミティブの種類に拘らずデータ処理手段の処理負
荷を大巾に低減でき、高速描画を達成できる。この場合
における高速描画は、属性処理がない場合における描画
プリミティブの描画速度と等しい高速描画であり、しか
も属性処理の有無に拘らず描画プリミティブの描画速度
が等しくなるのであるから、フレームバッファ描画装置
を含むシステムのバランスを良好にできる。
According to the frame buffer drawing apparatus of the present invention, all kinds of drawing can be carried out in the case of performing drawing on the frame buffer by performing necessary processing based on the attribute data and drawing drawing data designated by the application program. The attribute data processing means performs the processing of the attribute data that may be commonly specified for the drawing figures, and the data processing means performs the processing of the data that is not processed by the attribute data processing means. However, the processing load of the data processing means can be greatly reduced, and high-speed drawing can be achieved. The high-speed drawing in this case is a high-speed drawing that is equal to the drawing speed of the drawing primitive when there is no attribute processing, and the drawing speed of the drawing primitive becomes the same regardless of the presence or absence of attribute processing. Good balance of the system including.

【0008】[0008]

【実施例】以下、実施例を示す添付図面によって詳細に
説明する。図1はこの発明のフレームバッファ描画装置
の一実施例を示すブロック図であり、プロセッサ1と、
フレーム・バッファ2と、属性処理ハードウェア3と、
属性レジスタ4とを有している。
Embodiments will now be described in detail with reference to the accompanying drawings showing embodiments. FIG. 1 is a block diagram showing an embodiment of a frame buffer drawing device of the present invention, which comprises a processor 1 and
Frame buffer 2, attribute processing hardware 3,
And an attribute register 4.

【0009】上記属性レジスタ4は属性処理ハードウェ
ア3において行なうべき属性処理の種類を指示する属性
指示データを格納するものである。上記属性処理ハード
ウェア3は属性レジスタ4に格納されている属性指示デ
ータに基づいて該当する属性処理、例えば、ライトマス
ク、ラスターオペレーション等を行なうものである。ま
た、属性処理ハードウェア3におい処理可能な属性処理
は、全ての描画プリミティブに共通に指定される可能性
がある属性データの処理である。上記プロセッサ1は描
画位置の算出および描画位置の算出を行なって算出結果
を属性処理ハードウェア3に供給するものである。但
し、属性レジスタ4に対する属性指示データの書き込み
をプロセッサ1により行なうようにしてもよい。即ち、
フレームバッファに対する描画を行なうためのプログラ
ムの中から属性処理に関与しない部分のみを抽出してプ
ロセッサ1に供給するだけでよく、簡単に描画位置およ
び描画位置の算出のみを行なわせることができる。
The attribute register 4 stores attribute instruction data for instructing the type of attribute processing to be performed by the attribute processing hardware 3. The attribute processing hardware 3 performs corresponding attribute processing based on the attribute instruction data stored in the attribute register 4, such as a write mask and a raster operation. The attribute processing that can be processed by the attribute processing hardware 3 is processing of attribute data that may be commonly specified for all drawing primitives. The processor 1 calculates the drawing position and the drawing position and supplies the calculation result to the attribute processing hardware 3. However, the attribute instruction data may be written to the attribute register 4 by the processor 1. That is,
Only the portion not involved in the attribute processing is extracted from the program for drawing the frame buffer and supplied to the processor 1, and the drawing position and the drawing position can be simply calculated.

【0010】上記の構成のフレームバッファ描画装置の
作用は次のとおりである。図示しない上位プロセッサか
ら必要なデータを受け取ったプロセッサ1は描画位置お
よび描画色Sを算出してアドレスバスおよびデータバス
を通して属性処理ハードウェア3に供給する。また、図
示しない上位プロセッサにより属性指示データが属性レ
ジスタ4に書き込まれる。
The operation of the frame buffer drawing device having the above configuration is as follows. The processor 1, which has received the necessary data from the host processor (not shown), calculates the drawing position and the drawing color S and supplies the drawing position and the drawing color S to the attribute processing hardware 3 through the address bus and the data bus. Further, the attribute designation data is written in the attribute register 4 by a host processor (not shown).

【0011】上記属性処理ハードウェア3においては、
属性レジスタ4から属性指示データを読み込んで、プロ
セッサ1から供給される描画色Sに対して該当する属性
処理を施して、プロセッサ1から受け取ったアドレスに
基づいてフレームバッファ2に対する描画を行なう。し
たがって、プロセッサ1において属性処理を行なう必要
がなく、処理負荷を大巾に低減できるので、フレームバ
ッファ2に対する描画速度を属性処理が全く指示されて
いない場合の描画速度にまで高めることができる。
In the above attribute processing hardware 3,
The attribute instruction data is read from the attribute register 4, the drawing color S supplied from the processor 1 is subjected to the corresponding attribute processing, and drawing is performed on the frame buffer 2 based on the address received from the processor 1. Therefore, the processor 1 does not need to perform the attribute processing, and the processing load can be greatly reduced, so that the drawing speed for the frame buffer 2 can be increased to the drawing speed when the attribute processing is not instructed at all.

【0012】さらに詳細に説明すると、例えば属性レジ
スタ4にライトマスクmおよびラスターオペレーション
opを指示する属性指示データが格納されている場合に
は、プロセッサ1からアドレスおよび描画色Sを受け取
った属性処理ハードウェア3がアドレスに基づいてフレ
ームバッファ2から値dを読み出し、属性処理を行なっ
てフレームバッファ2に書き込むべき値d´{=(m
op S)|(〜mop d)}を得、得られた値d´
を上記アドレスに基づいてフレームバッファ2に書き込
む。
More specifically, for example, when the attribute mask 4 and the attribute instruction data for instructing the raster operation op are stored in the attribute register 4, the attribute processing hardware receiving the address and the drawing color S from the processor 1 is described. The wear 3 reads the value d from the frame buffer 2 based on the address, performs attribute processing, and writes the value d ′ {= (m
op S) | (˜mop d)} is obtained, and the obtained value d ′
Is written in the frame buffer 2 based on the above address.

【0013】また、プロセッサ1において実行させるべ
きプログラムについても、属性処理に関与しない部分を
抽出するだけでよいから簡単に対処できる。
Further, the program to be executed by the processor 1 can be easily dealt with because it is sufficient to extract the part not involved in the attribute processing.

【0014】[0014]

【発明の効果】以上のように請求項1の発明は、描画プ
リミティブの種類に拘らずデータ処理手段の処理負荷を
大巾に低減でき、高速描画を達成できるとともに、達成
できる高速描画が、属性処理がない場合における描画プ
リミティブの描画速度と等しい高速描画であり、しかも
属性処理の有無に拘らず描画プリミティブの描画速度が
等しくなるのであるから、フレームバッファ描画装置を
含むシステムのバランスを良好にできるという特有の効
果を奏する。
As described above, according to the first aspect of the present invention, the processing load of the data processing means can be greatly reduced regardless of the type of the drawing primitive, and high speed drawing can be achieved. Since the drawing speed is the same as the drawing speed of the drawing primitive when there is no processing, and the drawing speed of the drawing primitive is the same regardless of the presence or absence of attribute processing, the balance of the system including the frame buffer drawing device can be improved. There is a unique effect.

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

【図1】この発明のフレームバッファ描画装置の一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a frame buffer drawing device of the present invention.

【図2】フレームバッファ描画装置の従来例を示すブロ
ック図である。
FIG. 2 is a block diagram showing a conventional example of a frame buffer drawing device.

【図3】フレームバッファ描画装置の従来例を示すブロ
ック図である。
FIG. 3 is a block diagram showing a conventional example of a frame buffer drawing device.

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

1 プロセッサ 2 フレームバッファ 3 属性
処理ハードウェア
1 processor 2 frame buffer 3 attribute processing hardware

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーション・プログラムにより指
定された属性データおよび描画図形データに基づいて必
要な処理を行なってフレームバッファ(2)に図形を描
画するフレームバッファ描画装置において、全ての種類
の描画図形に共通に指定される可能性がある属性データ
の処理を行なう属性データ処理手段(3)と、属性デー
タ処理手段(3)で処理されないデータの処理を行なう
データ処理手段(1)とを含むことを特徴とするフレー
ムバッファ描画装置。
1. A frame buffer drawing apparatus for drawing a figure in a frame buffer (2) by performing necessary processing based on attribute data and drawn figure data designated by an application program, and for all kinds of drawn figures Includes attribute data processing means (3) for processing attribute data that may be commonly designated, and data processing means (1) for processing data that is not processed by the attribute data processing means (3). Characteristic frame buffer drawing device.
JP28891391A 1991-11-05 1991-11-05 Frame buffer plotting device Pending JPH05128264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28891391A JPH05128264A (en) 1991-11-05 1991-11-05 Frame buffer plotting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28891391A JPH05128264A (en) 1991-11-05 1991-11-05 Frame buffer plotting device

Publications (1)

Publication Number Publication Date
JPH05128264A true JPH05128264A (en) 1993-05-25

Family

ID=17736419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28891391A Pending JPH05128264A (en) 1991-11-05 1991-11-05 Frame buffer plotting device

Country Status (1)

Country Link
JP (1) JPH05128264A (en)

Similar Documents

Publication Publication Date Title
US6184908B1 (en) Method and apparatus for co-processing video graphics data
JPH05128264A (en) Frame buffer plotting device
JPH0353668B2 (en)
JPH04218877A (en) Method and apparatus for correcting electronic image
KR930001026B1 (en) Image processing system
JPH0661039B2 (en) Memory access control circuit
JPS62269235A (en) Information processor
JPH10288978A (en) Graphic plotting device and character plotting processing method
JPH05250478A (en) Graphic display device
JPS5960647A (en) System for controlling memory access
JPH06325168A (en) Image processor
JPH0659664A (en) Pattern picture drawing processing method using cash image
JPH0465777A (en) Image data transfer system
JPS61240381A (en) Graphic display device
JPH0312697A (en) Character drawing device
JPS6214194A (en) Bit map mover
JPH0381882A (en) Image data memory storage system
JPH02302881A (en) Data plotting system
JP2000155844A (en) High speed graphic plotting system
JPS63317866A (en) Data output processing method
JPH06187458A (en) Graphic display device
JPH01154286A (en) Graphic processor
JPH0620071A (en) Data driven information processor
JPH0644385A (en) Z buffer control circuit
JPH0876742A (en) Graphic display controller