JPH06187433A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH06187433A
JPH06187433A JP4338210A JP33821092A JPH06187433A JP H06187433 A JPH06187433 A JP H06187433A JP 4338210 A JP4338210 A JP 4338210A JP 33821092 A JP33821092 A JP 33821092A JP H06187433 A JPH06187433 A JP H06187433A
Authority
JP
Japan
Prior art keywords
attribute
graphic
management table
stored
pipeline
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
JP4338210A
Other languages
Japanese (ja)
Inventor
Hiroshi Yoshizawa
宏 吉澤
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP4338210A priority Critical patent/JPH06187433A/en
Publication of JPH06187433A publication Critical patent/JPH06187433A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Advance Control (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To improve the use efficiency of a pipeline to increase the graphic attribute change speed by adding a memory, where attributes of graphic data are stored, and a management table which easily manages contents of this memory. CONSTITUTION:An attribute storage memory management table 32 receives attribute information from a graphic information display list and compares it with contents of the management table to discriminate whether the attribute value is stored in attribute storage memories 36, 38, and 40 in the rear stage or not; and if it is not stored there, a mismatch signal 44 is sent to a processor 30, and attribute storage memories and the management table are updated. If the attribute value is stored there, address information is sent to a line generator or a memory device 34 in the rear stage. In this case, address information passes through a pipeline 46 connecting the line generator provided with a processor device 12 and attribute storage memories or a memory device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パイプライン構造を有
する図形処理装置に係り、特に、図形属性の変更が高速
に行える図形処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processor having a pipeline structure, and more particularly to a graphic processor capable of changing graphic attributes at high speed.

【0002】[0002]

【従来の技術】CAD/CAM等の、図形データを処理
する図形処理装置においては、処理高速化のために、図
1に示すようなパイプライン構造をとることが多い。パ
イプライン構造は、常に固定した処理を繰返し、高速に
行うのに適した方法である。
2. Description of the Related Art A graphic processing apparatus such as CAD / CAM for processing graphic data often has a pipeline structure as shown in FIG. 1 in order to speed up the processing. The pipeline structure is a method suitable for performing fixed processing repeatedly at high speed.

【0003】図1において、10は図形情報ディスプレ
イリスト、12はプロセッサ装置、14は直線発生装
置、16はメモリ装置である。このパイプライン構造を
とる図形処理装置には、図形作成に関するコマンド及び
図形の座標データが流れ、最終的に、終段に置かれたメ
モリ装置16に図形情報として書き込まれる。
In FIG. 1, 10 is a graphic information display list, 12 is a processor unit, 14 is a straight line generator, and 16 is a memory unit. A command for creating a figure and coordinate data of the figure flow to the figure processing device having the pipeline structure, and finally, the figure is written as the figure information in the memory device 16 placed at the final stage.

【0004】ここで、例えば、図2に示すような図形が
書き込まれる場合においては、図2で、図形a 、b 、c
の座標値が図1における直線発生装置14へ、各図形に
関する色などの属性値がメモリ装置16へ送られること
になる。直線発生装置14は、受け取った座標値から画
素情報へ分解して、メモリ装置16へ送る。メモリ装置
16では、先に受け取った図形の属性情報に従って、図
形情報を描いて行く。このように、パイプライン上に多
くのコマンドやデータが流れることになる。
Here, for example, when a figure as shown in FIG. 2 is written, the figures a, b, c in FIG.
1 is sent to the straight line generator 14 in FIG. 1, and the attribute values such as colors of the respective figures are sent to the memory device 16. The straight line generator 14 decomposes the received coordinate values into pixel information and sends it to the memory device 16. The memory device 16 draws the graphic information in accordance with the previously received graphic attribute information. In this way, many commands and data will flow on the pipeline.

【0005】[0005]

【発明が解決しようとする課題】従来の技術によれば、
図2に示すような図形a →b →c と、図形毎に属性が変
化する場合、その度毎に、直線発生装置14やメモリ装
置16上にある属性値を保持するレジスタの書き換えを
必要とする。例えば、図2において、図形a とbとでは
色属性が変わり、c は再びa と属性が同じであるとする
と、a とc の持つ属性が同一であるにも拘らず、b を途
中で描くために、属性レジスタの書き換えが必要とな
る。従って、レジスタの書き換え時間と、属性データの
パイプライン上の通過がシステムのスループットを低下
させてしまうという問題がある。
According to the prior art,
When the attribute changes for each figure, such as figure a → b → c as shown in FIG. 2, it is necessary to rewrite the register that holds the attribute value on the straight line generator 14 or the memory device 16 each time. To do. For example, in FIG. 2, if the color attributes of figures a and b change, and c has the same attributes as a again, b is drawn halfway though the attributes of a and c are the same. Therefore, it is necessary to rewrite the attribute register. Therefore, there is a problem that the rewriting time of the register and the passage of the attribute data on the pipeline reduce the throughput of the system.

【0006】又、通常それぞれの図形の持つ属性が全て
変化することは少ないので、直線発生装置14とメモリ
装置16を制御する、前段のプロセッサ12によって属
性の相違点を探し、相違する属性のみを変更する方法も
考えられるが、この場合には、プロセッサへの負荷が大
きくなってしまうという問題がある。
Further, since all the attributes possessed by the respective figures do not usually change, the processor 12 in the preceding stage, which controls the straight line generator 14 and the memory device 16, searches for differences in the attributes and finds only the different attributes. A method of changing it is also conceivable, but in this case, there is a problem that the load on the processor becomes large.

【0007】本発明は、前記従来の問題点を解消するべ
く成されたもので、パイプラインの使用効率を向上さ
せ、図形属性の変更を高速に行えるような図形処理装置
を提供することを目的とするものである。
The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to provide a graphic processing apparatus capable of improving the efficiency of use of a pipeline and changing graphic attributes at high speed. It is what

【0008】[0008]

【課題を解決するための手段】本発明は、パイプライン
構造を有する図形処理装置において、図形データの属性
をそれぞれ格納する複数のメモリと、該図形データ属性
格納メモリを制御、管理するテーブルとを備え、図形の
属性値の書き換えを少なくし、パイプラインの使用効率
を向上させるようにして、前記目的を達成したものであ
る。
According to the present invention, in a graphics processing device having a pipeline structure, a plurality of memories for respectively storing attributes of graphic data, and a table for controlling and managing the graphics data attribute storage memory are provided. The object is achieved by reducing the rewriting of the attribute value of the figure and improving the efficiency of use of the pipeline.

【0009】[0009]

【作用】本発明によれば、図形データの属性をそれぞれ
格納するメモリを複数備え、図形の属性情報が、複数の
図形データ属性格納メモリのいずれかに格納されている
かどうかを、該格納メモリの制御、管理テーブルによっ
て判断する。その結果、未だ格納されていない場合に
は、該属性格納メモリ及び制御、管理テーブルを新しい
属性データで更新し、格納されている場合には、その属
性情報を指定する。
According to the present invention, a plurality of memories for respectively storing the attributes of graphic data are provided, and whether or not the graphic attribute information is stored in any of the plurality of graphic data attribute storage memories is stored. Determined by the control / management table. As a result, if not stored, the attribute storage memory and control / management table are updated with new attribute data, and if stored, the attribute information is specified.

【0010】従って、図形情報を取り出すプロセッサ
は、該図形情報を、1つ前の図形データの属性との相違
点等を調べずに、パイプラインに流すことが可能とな
り、属性レジスタの書き換えが減少し、処理の高速化、
パイプラインの使用効率の向上が実現される。
Therefore, the processor for extracting the graphic information can flow the graphic information in the pipeline without checking the difference from the attribute of the immediately preceding graphic data, and the rewriting of the attribute register is reduced. And speed up processing,
The efficiency of pipeline use is improved.

【0011】[0011]

【実施例】以下図面を参照して、本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0012】図3は、本発明の一実施例の概要を示すブ
ロック線図である。図3において、12はプロセッサ装
置であり、プロセッサ30、及び属性格納メモリ管理テ
ーブル32を有する。34は、直線発生装置又はメモリ
装置であり、図形の属性を保持するメモリ36、38、
40(本実施例では図形の属性は3個のみとしているの
で、3ユニットの構成となっている)、及び、各属性メ
モリのアドレスを指すアドレスレジスタ42を有する。
属性の変更は、基本的に、このアドレスレジスタ42を
変更することによって行われるため、属性値の変更が容
易である。
FIG. 3 is a block diagram showing an outline of one embodiment of the present invention. In FIG. 3, 12 is a processor device, which has a processor 30 and an attribute storage memory management table 32. Reference numeral 34 is a straight line generator or memory device, and memories 36, 38 for holding the attributes of figures
40 (in this embodiment, since there are only three graphic attributes, it has a configuration of 3 units), and an address register 42 for pointing the address of each attribute memory.
Since the attribute is basically changed by changing the address register 42, the attribute value can be easily changed.

【0013】属性格納メモリ管理テーブル32は、図1
の図形情報ディスプレイリスト10より属性情報を受け
取り、管理テーブルと比較し、後段の属性格納メモリ3
6、38、40に、該属性値が格納されているかどうか
判断し、格納されていない場合にはミスマッチ信号44
をプロセッサ30に送出し、属性格納メモリと管理テー
ブルの更新を行う。
The attribute storage memory management table 32 is shown in FIG.
The attribute information is received from the graphic information display list 10 of FIG.
It is judged whether or not the attribute value is stored in 6, 38 and 40, and if it is not stored, the mismatch signal 44
Is sent to the processor 30 to update the attribute storage memory and the management table.

【0014】又、該属性値が格納されている場合は、後
段の直線発生装置又はメモリ装置34にアドレス情報を
送出する。この際、アドレス情報は、プロセッサ装置1
2と、属性格納メモリを有する直線発生装置又はメモリ
装置を接続するパイプライン46を通過する。
When the attribute value is stored, the address information is sent to the straight line generator or memory device 34 in the subsequent stage. At this time, the address information is the processor device 1
2 and a pipeline 46 connecting the straight line generator or the memory device having the attribute storage memory.

【0015】又、図4は、属性格納メモリ管理テーブル
の概要を示すブロック線図であり、次に図4を基に、属
性格納メモリアドレス発生手順について説明する。図4
において、50は属性格納メモリ管理テーブルであり、
図形処理装置が有する属性数Nと、後段に置かれた属性
格納メモリのアドレス数Mの積N×Mと等しい数の比較
器52乃至66が、図4のように置かれている。又、管
理テーブル50の最左端には、属性格納メモリのアドレ
スが有効か無効かを示す1ビットのPフラグが置かれ、
有効時には“0”となり、無効時には“1”となる。初
期状態は全て無効である。又、68、70、72は属性
格納レジスタで、図1の図形情報ディスプレイリスト1
0から送出される属性情報が格納され、属性設定終了信
号74が発生する。そして、前記比較器52乃至66に
より、管理テーブル50の内容と比較する。
FIG. 4 is a block diagram showing an outline of the attribute storage memory management table. Next, the attribute storage memory address generation procedure will be described with reference to FIG. Figure 4
In 50, 50 is an attribute storage memory management table,
The number of comparators 52 to 66 equal to the product N × M of the number N of attributes of the graphic processing device and the number M of addresses of the attribute storage memory placed in the subsequent stage are placed as shown in FIG. At the left end of the management table 50, a 1-bit P flag indicating whether the address of the attribute storage memory is valid or invalid is placed.
When valid, it becomes "0", and when invalid, it becomes "1". The initial state is all invalid. 68, 70, and 72 are attribute storage registers, which are the graphic information display list 1 of FIG.
The attribute information sent from 0 is stored, and the attribute setting end signal 74 is generated. Then, the contents of the management table 50 are compared by the comparators 52 to 66.

【0016】その結果、一致しない場合や、前記Pフラ
グが無効の場合は、ミスマッチ信号ゲート76を通じ、
ミスマッチ信号44が発生する。この時、該ミスマッチ
信号44により、プロセッサ30は後段の属性格納メモ
リ36乃至40及び管理テーブル50の更新を行う。
As a result, when they do not match or when the P flag is invalid, the mismatch signal gate 76
A mismatch signal 44 is generated. At this time, the processor 30 updates the subsequent attribute storage memories 36 to 40 and the management table 50 by the mismatch signal 44.

【0017】又逆に、ミスマッチ信号が発生しない場合
には、設定された属性と一致する行が指すアドレスデー
タ78を発生し、後段の属性格納メモリ36乃至40の
アドレス情報として送出する。この場合において、図3
のパイプライン46には、後段に対し、属性格納メモリ
36乃至40のアドレスが1回送出されるだけであっ
て、属性の変更が容易に行われる。
On the contrary, when no mismatch signal is generated, the address data 78 pointed to by the row matching the set attribute is generated and sent as the address information of the attribute storage memories 36 to 40 in the subsequent stage. In this case, FIG.
In the pipeline 46, the addresses of the attribute storage memories 36 to 40 are sent to the subsequent stage only once, and the attributes can be easily changed.

【0018】更に、実際には上記のミスマッチが起こる
場合は少ないため、この属性格納メモリと属性格納メモ
リ管理テーブルを付加した機構によって、パイプライン
の効率化、及び、属性変更の高速化が可能となることは
明らかである。
Furthermore, since the above-mentioned mismatch rarely occurs in reality, the mechanism with the addition of the attribute storage memory and the attribute storage memory management table makes it possible to improve the efficiency of the pipeline and the speed of attribute change. It is clear that

【0019】[0019]

【発明の効果】以上説明した通り、本発明によれば、図
形データの属性をそれぞれ格納するメモリと、そのメモ
リの内容を容易に管理できるようにした管理テーブルを
付加することによって、プロセッサの負荷の軽減ができ
るようになった。
As described above, according to the present invention, the load of the processor is increased by adding the memories for storing the attributes of the graphic data and the management table for easily managing the contents of the memories. Can be reduced.

【0020】又、直線発生装置以降には、余分な属性デ
ータが流出することがなく、パイプラインの効率が向上
し、更に属性レジスタの書き換えが減少したため、直線
発生装置、メモリ装置のオーバーヘッドタイムの減少が
図られる。
Further, after the straight line generator, extra attribute data does not flow out, the efficiency of the pipeline is improved, and the rewriting of the attribute register is reduced, so that the overhead time of the straight line generator and the memory device is reduced. Reduction is planned.

【0021】従って、図形処理装置の全体的なスループ
ットが向上できるという優れた効果を有する。
Therefore, there is an excellent effect that the overall throughput of the graphic processing apparatus can be improved.

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

【図1】従来の図形処理装置のパイプライン構造を示す
構成図
FIG. 1 is a configuration diagram showing a pipeline structure of a conventional graphic processing apparatus.

【図2】図形の属性変更を示す線図FIG. 2 is a diagram showing a change in the attribute of a figure.

【図3】本発明の実施例の概要を示すブロック線図FIG. 3 is a block diagram showing an outline of an embodiment of the present invention.

【図4】本発明による属性格納メモリ管理テーブルの概
要を示すブロック線図
FIG. 4 is a block diagram showing an outline of an attribute storage memory management table according to the present invention.

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

10…図形情報ディスプレイリスト 12…プロセッサ装置 14…直線発生装置 16…メモリ装置 30…プロセッサ 32…属性格納メモリ管理テーブル 36、38、40…属性格納メモリ 42…アドレスレジスタ 44…ミスマッチ信号 46…パイプライン 50…管理テーブル 52〜66…比較器 68、70、72…属性レジスタ 74…属性設定終了信号 76…ミスマッチ信号ゲート 78…アドレスデータ 10 ... Graphic information display list 12 ... Processor device 14 ... Straight line generator 16 ... Memory device 30 ... Processor 32 ... Attribute storage memory management table 36, 38, 40 ... Attribute storage memory 42 ... Address register 44 ... Mismatch signal 46 ... Pipeline 50 ... Management table 52-66 ... Comparators 68, 70, 72 ... Attribute register 74 ... Attribute setting end signal 76 ... Mismatch signal gate 78 ... Address data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】パイプライン構造を有する図形処理装置に
おいて、 図形データの属性をそれぞれ格納する複数のメモリと、 該図形データ属性格納メモリを制御、管理するテーブル
とを備え、 図形の属性値の書き換えを少なくし、パイプラインの使
用効率を向上させた、図形属性の変更が高速に行える図
形処理装置。
1. A graphic processing apparatus having a pipeline structure, comprising: a plurality of memories for respectively storing attributes of graphic data; and a table for controlling and managing the graphic data attribute storage memory. Figure processing device that can change the figure attribute at high speed by reducing the number of lines and improving the efficiency of pipeline use.
JP4338210A 1992-12-18 1992-12-18 Graphic processor Pending JPH06187433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4338210A JPH06187433A (en) 1992-12-18 1992-12-18 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4338210A JPH06187433A (en) 1992-12-18 1992-12-18 Graphic processor

Publications (1)

Publication Number Publication Date
JPH06187433A true JPH06187433A (en) 1994-07-08

Family

ID=18315966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4338210A Pending JPH06187433A (en) 1992-12-18 1992-12-18 Graphic processor

Country Status (1)

Country Link
JP (1) JPH06187433A (en)

Similar Documents

Publication Publication Date Title
JP4076502B2 (en) Efficient graphics state management for zone rendering
JP2541539B2 (en) Graphic processing device
US7038692B1 (en) Method and apparatus for providing a vertex cache
JPH06195309A (en) Method and system for processing of graphics data stream by using plurality of processing nodes capable of being increased and decreased freely
JPH01210990A (en) Display device
JPH0816932B2 (en) Graphic display system
US5870085A (en) Generating text strings
JPH06187433A (en) Graphic processor
JPH05249953A (en) Image display device
JPH0359723A (en) Branch history table control system
JPH0697393B2 (en) Bitmap processor
JP2606176B2 (en) Graphic processing unit
KR100195199B1 (en) Graphic controller using meta align mode destination addressing circuit
JP2771350B2 (en) Image processing device
JPS61180290A (en) Graphic display unit
JP2925216B2 (en) Image processing apparatus and method
JPH02114294A (en) Graphic display device
JPS6378265A (en) Process controlling system
JPH0644385A (en) Z buffer control circuit
JPH03276272A (en) Fast display device for graphic screen
JPH02271424A (en) Full graphic picture display system
JPH04262472A (en) Graphic display device
JPS60129786A (en) Image memory
JPS62152072A (en) Paint-out system for polygon
JPH09244854A (en) Multiwindow-adaptive graphic drawing system