JPH04262472A - Graphic display device - Google Patents

Graphic display device

Info

Publication number
JPH04262472A
JPH04262472A JP2232391A JP2232391A JPH04262472A JP H04262472 A JPH04262472 A JP H04262472A JP 2232391 A JP2232391 A JP 2232391A JP 2232391 A JP2232391 A JP 2232391A JP H04262472 A JPH04262472 A JP H04262472A
Authority
JP
Japan
Prior art keywords
buffer
segment buffer
graphic
optimization
segment
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
JP2232391A
Other languages
Japanese (ja)
Inventor
Tetsuo Murata
村田 哲夫
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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio Co 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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP2232391A priority Critical patent/JPH04262472A/en
Publication of JPH04262472A publication Critical patent/JPH04262472A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To enhance the display speed of a graphic display device and to decrease the amount used of segment buffer. CONSTITUTION:The content of a command stored in a segment buffer 10 is read out, and only if the read content does not coincide with the content (represents drawing primitive, attributive, etc.) that was read previously, the content that was read secondly is stored in the optimizing buffer 24. Data that is sequentially and temporarily stored in the optimizing buffer 24 is stored in a segment buffer read control section 20 by a segment buffer writing control section 26. As a result, a twice registered section in a segment buffer 10 is deleted. A period of time for transfer of graphic data from segment buffer 10 to frame buffer 14 is shortened, and the amount used of segment buffer 10 is decreased.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、セグメントバッファか
らフレームバッファに図形データを転送してCRT等の
画面上に図形を表示するグラフィックディスプレイ装置
に関し、特にセグメントバッファの記憶内容の書き替え
手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic display device that transfers graphic data from a segment buffer to a frame buffer to display graphics on a screen such as a CRT, and more particularly to a means for rewriting the contents of a segment buffer.

【0002】0002

【従来の技術】コンピュータの出力装置としての図形表
示装置は近年におけるコンピュータの出力情報量の増大
に伴いより重要な装置需要を呈している。特に、近来、
表示速度を向上させることが顕著に求められている。
2. Description of the Related Art Graphic display devices as output devices for computers have become increasingly important as the amount of information output from computers has increased in recent years. Especially recently,
There is a significant need to improve display speed.

【0003】一般に、グラフィックディスプレイ装置と
呼ばれる図形表示装置は、CRT表示器のほか複数の記
憶素子及びプロセッサから構成される。図4には、一従
来例に係るグラフィックディスプレイ装置の構成がブロ
ック図として示されている。この図に示されるグラフィ
ックディスプレイ装置は、セグメントバッファ10,グ
ラフィックプロセッサ12,フレームバッファ14,ビ
デオジェネレータ16及びCRT表示器18から構成さ
れている。セグメントバッファ10は、図形データを記
憶するバッファであり、ワールド座標系と呼ばれる論理
座標系により図形データを記憶している。グラフィック
アプリケーションやユーザーからのコマンドによりセグ
メントバッファ10に登録された図形データは、後段の
グラフィックプロセッサ12に供給される。グラフィッ
クプロセッサ12は、セグメントバッファ10からの図
形データをフレームバッファ14上にビット展開する機
能を有しているが、この展開にあたってセグメントバッ
ファ10におけるワールド座標系を物理座標系に変換す
る。すなわち、フレームバッファ14においてはアドレ
スに対応した物理座標により図形データが展開記憶され
る。フレームバッファ14に図形データがビット展開さ
れると、この図形データに対応した映像信号がビデオジ
ェネレータ16により生成される。映像信号は、CRT
表示器18に供給され、これによりCRTの画面上に対
応する図形が表示されることになる。  このように、
従来においては、セグメントバッファ10から図形デー
タを順次転送することによってCRT表示器18の画面
上への図形表示が行われていた。
Generally, a graphic display device called a graphic display device is composed of a CRT display, a plurality of storage elements, and a processor. FIG. 4 shows a block diagram of the configuration of a graphic display device according to a conventional example. The graphics display device shown in this figure is comprised of a segment buffer 10, a graphics processor 12, a frame buffer 14, a video generator 16, and a CRT display 18. The segment buffer 10 is a buffer that stores graphic data, and stores the graphic data using a logical coordinate system called a world coordinate system. Graphic data registered in the segment buffer 10 by a command from a graphics application or a user is supplied to a subsequent graphics processor 12. The graphics processor 12 has a function of bit-expanding the graphic data from the segment buffer 10 onto the frame buffer 14, but in performing this expansion, the world coordinate system in the segment buffer 10 is converted into a physical coordinate system. That is, in the frame buffer 14, graphic data is expanded and stored using physical coordinates corresponding to addresses. When the graphic data is bit-developed into the frame buffer 14, a video signal corresponding to this graphic data is generated by the video generator 16. The video signal is CRT
The data is supplied to the display 18, and a corresponding figure is thereby displayed on the screen of the CRT. in this way,
Conventionally, graphics have been displayed on the screen of the CRT display 18 by sequentially transferring graphic data from the segment buffer 10.

【0004】0004

【発明が解決しようとする課題】しかしながら、従来の
グラフィックディスプレイ装置においては、セグメント
バッファ10に登録される図形データの重複によって表
示速度の向上に一定の限界が生じてしまうという問題点
があった。この問題点は次のような原因により生ずるも
のである。
However, in the conventional graphic display device, there is a problem in that the overlap of graphic data registered in the segment buffer 10 imposes a certain limit on the improvement of display speed. This problem arises due to the following reasons.

【0005】セグメントバッファには、複数の図形デー
タから構成される図形集合が記憶される。各図形データ
は、それぞれセグメントと呼ばれる図形プリミティブと
、その属性と、を構成要素としている。ここに、図形プ
リミティブとは、直線,円,文字などをいい、属性とは
、色,線種,文字の大きさ等をいう。この図形プリミテ
ィブや属性は、例えばホストコンピュータからの指示に
より順にセグメントバッファに登録される。従って、例
えば同一の図形プリミティブや属性が繰り返される場合
においても、その繰り返し回数分だけ図形プリミティブ
や属性が登録されることとなっていた。
[0005] A segment buffer stores a graphic set composed of a plurality of graphic data. Each graphic data consists of graphic primitives called segments and their attributes. Here, the graphic primitives refer to straight lines, circles, characters, etc., and the attributes refer to colors, line types, character sizes, etc. These graphic primitives and attributes are registered in the segment buffer in order according to instructions from the host computer, for example. Therefore, even when the same graphic primitive or attribute is repeated, for example, the same graphic primitive or attribute is registered for the number of repetitions.

【0006】例えば、CRT表示器の画面上に赤色破線
のベクトルを千本描こうとする場合、「赤色」を示す属
性、「破線」を示す属性、及び「ベクトル」を示す属性
を、それぞれ千個セグメントバッファ上に登録しなけれ
ばならない。
For example, when trying to draw 1,000 vectors of red dashed lines on the screen of a CRT display, an attribute indicating ``red'', an attribute indicating ``dashed line'', and an attribute indicating ``vector'' are each divided into 1,000 segments. Must be registered on the buffer.

【0007】このようなセグメントバッファへの重複登
録の結果、セグメントバッファからグラフィックプロセ
ッサへの図形データの供給速度に一定の限界があり、従
ってグラフィックディスプレイ装置全体としての表示速
度にも一定の限界が生じてしまうという問題点が生じて
いた。
As a result of such redundant registration to the segment buffer, there is a certain limit to the supply speed of graphic data from the segment buffer to the graphic processor, and therefore there is a certain limit to the display speed of the graphic display device as a whole. A problem has arisen in which the

【0008】本発明は、このような問題点を解決するこ
とを課題としてなされたものであり、セグメントバッフ
ァ上に記憶されている図形データを分析して重複登録を
排除することにより、セグメントバッファの記憶容量を
節約しかつ表示速度を向上させようとするものである。
The present invention has been made with the aim of solving these problems, and by analyzing the graphic data stored on the segment buffer and eliminating duplicate registration, the segment buffer can be updated. The purpose is to save storage capacity and improve display speed.

【0009】[0009]

【課題を解決するための手段】このような目的を達成す
るために、本発明のグラフィックディスプレイ装置は、
セグメントバッファの記憶内容を読み出すセグメントバ
ッファ読み出し制御部と、セグメントバッファの記憶内
容に含まれる重複部分を削除する最適化処理制御部と、
最適化処理制御部により得られる重複部分が削除された
データを一時記憶する最適化バッファと、最適化バッフ
ァの内容をセグメントバッファに書き込むセグメントバ
ッファ書き込み制御部と、を有し、セグメントバッファ
に記憶されている図形データの図形プリミティブ又は/
及び属性の重複部分を削除することを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the graphic display device of the present invention has the following features:
a segment buffer read control unit that reads the storage contents of the segment buffer; an optimization processing control unit that deletes duplicate portions included in the storage contents of the segment buffer;
It has an optimization buffer that temporarily stores data obtained by the optimization processing control unit and from which duplicated portions have been deleted, and a segment buffer write control unit that writes the contents of the optimization buffer to the segment buffer. Shape primitives or /
It is characterized by deleting duplicate parts of attributes.

【0010】0010

【作用】本発明においては、セグメントバッファに記憶
されている図形データのうち、重複登録された部分が削
除される。すなわち、セグメントバッファ読み出し制御
部によりセグメントバッファの記憶内容が読み出され、
読み出された内容に含まれる重複部分が最適化処理制御
部により削除される。重複部分が削除された図形データ
は、最適化バッファに一時記憶され、その後セグメント
バッファ書き込み制御部によりセグメントバッファに書
き込まれることになる。従って、セグメントバッファに
書き込まれる図形データのうち、同一図形プリミティブ
の繰り返し又は同一属性の繰り返しに係る重複部分が削
除され、結果として、セグメントバッファからグラフィ
ックプロセッサへ供給される図形の量が低減することに
なる。従って、グラフィックディスプレイ装置としての
表示速度が向上し、かつ、セグメントバッファの記憶容
量が少なくてすむことになる。
[Operation] In the present invention, duplicately registered portions of graphic data stored in the segment buffer are deleted. That is, the segment buffer read control unit reads out the storage contents of the segment buffer,
Duplicate portions included in the read content are deleted by the optimization processing control unit. The graphic data from which the overlapping portion has been deleted is temporarily stored in the optimization buffer, and then written to the segment buffer by the segment buffer write control unit. Therefore, among the graphic data written to the segment buffer, overlapping parts related to repetition of the same graphic primitive or repetition of the same attribute are deleted, and as a result, the amount of graphics supplied from the segment buffer to the graphics processor is reduced. Become. Therefore, the display speed of the graphic display device is improved, and the storage capacity of the segment buffer can be reduced.

【0011】[0011]

【実施例】以下、本発明の好適な実施例について図面に
基づいて説明する。なお、図4に示される従来例と同様
の構成には同一の符号を付し説明を省略する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. Note that the same components as those of the conventional example shown in FIG. 4 are designated by the same reference numerals, and the description thereof will be omitted.

【0012】図1には、本発明の一実施例に係るグラフ
ィックディスプレイ装置の構成がブロック図により示さ
れている。この図に示されるように、本実施例は、図4
に示される従来例に更にセグメントバッファ読み出し制
御部20,最適化処理制御部22,最適化バッファ24
及びセグメントバッファ書き込み制御部26を備えるも
のである。
FIG. 1 shows a block diagram of the configuration of a graphic display device according to an embodiment of the present invention. As shown in this figure, this embodiment
In addition to the conventional example shown in FIG.
and a segment buffer write control section 26.

【0013】セグメントバッファ読み出し制御部20は
、セグメントバッファ10から最適化処理制御部22に
おける制御に係る図形プリミティブ又は属性を読み出す
プロセッサである。最適化処理制御部22は、本発明の
特徴に係る重複部分の削除機能を有している。すなわち
、セグメントバッファ10に記憶されている内容を解析
し、重複部分を削除する制御を行う。最適化バッファ2
4は、最適化処理制御部22によって重複部分が削除さ
れた図形プリミティブ又は属性に係るデータを一時記憶
するバッファであり、セグメントバッファ書き込み制御
部26は、例えば最適化バッファ24が記憶容量フルと
なった場合や最適化処理が終了した場合に、最適化バッ
ファ24の記憶内容をセグメントバッファ10に書き込
む機能を有している。
The segment buffer read control unit 20 is a processor that reads graphic primitives or attributes related to control in the optimization processing control unit 22 from the segment buffer 10. The optimization processing control unit 22 has a function of deleting overlapping parts, which is a feature of the present invention. That is, it analyzes the contents stored in the segment buffer 10 and performs control to delete duplicate parts. Optimized buffer 2
Reference numeral 4 denotes a buffer that temporarily stores data related to graphic primitives or attributes whose duplicate parts have been deleted by the optimization processing control unit 22. It has a function of writing the storage contents of the optimization buffer 24 to the segment buffer 10 when the optimization process is completed or when the optimization process is completed.

【0014】更に、この実施例においては、最適化制御
フラグ設定手段28が設けられている。この最適化制御
フラグ設定手段28は、最適化制御フラグを設定する手
段であり、このフラグがオンに設定されている場合には
最適化処理制御部22による最適化処理が実行されるこ
とになるが、オフに設定されている場合には最適化処理
制御部22による最適化処理が禁止されることになる。
Furthermore, in this embodiment, optimization control flag setting means 28 is provided. This optimization control flag setting means 28 is a means for setting an optimization control flag, and when this flag is set on, the optimization processing control unit 22 executes the optimization processing. is set to off, the optimization process by the optimization process control unit 22 is prohibited.

【0015】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

【0016】この実施例における最適化処理制御部22
は、セグメントバッファ10に記憶されている図形プリ
ミティブと、属性と、の最適化を実行するものである。 ここに、図形プリミティブの最適化の場合には、セグメ
ントバッファ10から順に図形プリミティブを読み出し
つつ、先に読み出された図形プリミティブと後に読み出
された図形プリミティブとが重複している場合には後者
を削除する、といった動作となる。例えば、ベクトルを
描画する命令は通常N(N:複数)本の連続したベクト
ルを描けるよう設定されている。しかし、実際にユーザ
ーがグラフィックディスプレイ装置を利用する場合には
、始点/終点からなる一本のベクトルをN本描画する、
といった使用態様が考えられる。すなわち、あるベクト
ル記号に続いて次のベクトル記号を描き更に次のベクト
ルを描く、といった動作を実行する場合がある。このよ
うな場合において、一本前に描いたベクトル記号の終点
と、現在描こうとしているベクトル記号の始点と、を比
べて同一点だった場合には、重複する点を削除して連続
したベクトルとして描くようにするものである。また、
属性の最適化とは、セグメントバッファ10に登録され
ている属性のうち、重複設定されているものについて後
に設定されたものを削除する動作である。例えば、ある
時点で図形の色が「赤色」と設定されており、続いて同
じ内容「赤色」が設定されている場合には、後者が削除
される。
Optimization processing control unit 22 in this embodiment
executes optimization of graphic primitives and attributes stored in the segment buffer 10. In the case of optimization of graphic primitives, the graphic primitives are sequentially read from the segment buffer 10, and if the graphic primitives read earlier and the graphic primitives read later overlap, the latter The operation is to delete the . For example, a command to draw a vector is usually set so that N (N: plural) consecutive vectors can be drawn. However, when a user actually uses a graphic display device, N vectors consisting of a starting point and an ending point are drawn.
Possible usage modes are as follows. That is, following a certain vector symbol, the next vector symbol is drawn, and then the next vector is drawn. In such a case, compare the end point of the previous vector symbol drawn and the starting point of the vector symbol you are currently drawing, and if they are the same point, delete the duplicate points and create a continuous vector. It is intended to be drawn as follows. Also,
Attribute optimization is an operation of deleting any duplicately set attributes among the attributes registered in the segment buffer 10 that were set later. For example, if the color of a figure is set to "red" at a certain point, and the same content "red" is subsequently set, the latter will be deleted.

【0017】図2及び図3には、本実施例の動作の流れ
が示されている。これらの図に示される動作は、特に色
の属性の最適化に係る動作である。
FIGS. 2 and 3 show the flow of operation of this embodiment. The operations shown in these figures are particularly related to the optimization of color attributes.

【0018】まず、色の属性最適化動作が開始される(
100)と、セグメントバッファ読み出し制御部20に
セグメントバッファ10の読み出し開始アドレスが設定
される(102)。すなわち、セグメントバッファ10
のいずれのアドレスから読み出しを開始するかが決定さ
れる。続いて、最適化バッファ24への書き込みアドレ
スが設定される(104)。すなわち、最適化バッファ
24においていずれのアドレスから書き込めば良いかが
設定される。なお、ステップ102におけるセグメント
バッファ読み出し開始アドレスは、グラフィックアプリ
ケーションやユーザーから与えられるコマンドのパラメ
タに応じて決定されるものである。
First, the color attribute optimization operation is started (
100), and the read start address of the segment buffer 10 is set in the segment buffer read control unit 20 (102). That is, segment buffer 10
It is determined from which address reading is to be started. Subsequently, a write address to the optimization buffer 24 is set (104). That is, it is set from which address in the optimization buffer 24 data should be written. Note that the segment buffer read start address in step 102 is determined according to the parameters of the command given by the graphic application or the user.

【0019】続いて、イニシャルフラグが1に設定され
る(106)。イニシャルフラグとは、これから行おう
とするセグメントバッファ10からの読み出しが第1回
目か否かを示すフラグである。イニシャルフラグが1に
設定されている場合にはセグメントバッファ10からの
読み出しが第1回目であることを示し、0である場合に
は2回目以降であることを示している。
Subsequently, an initial flag is set to 1 (106). The initial flag is a flag indicating whether or not the readout from the segment buffer 10 that is about to be performed is the first time. When the initial flag is set to 1, it indicates that the reading from the segment buffer 10 is the first time, and when it is set to 0, it indicates that it is the second or subsequent time.

【0020】続いて、セグメントバッファ10からのコ
マンド読み出しが実行される(108)。ここにいうコ
マンドは、セグメントバッファ10の記憶内容でありC
RT表示器18に記憶すべき図形プリミティブ及び属性
値を含んでいるものである。従って、このコマンドの内
容を参照してやれば、当該コマンドにおいて設定されて
いる属性である色の内容が明らかになることになる。
Next, a command is read from the segment buffer 10 (108). The command referred to here is the memory content of the segment buffer 10, and is C
It contains graphic primitives and attribute values to be stored in the RT display 18. Therefore, by referring to the contents of this command, the contents of the color, which is the attribute set in the command, becomes clear.

【0021】続くステップ110においては、ステップ
108において取り出されたコマンドにセグメントデー
タ(図形プリミティブに係るデータ)が含まれているか
どうかが判定される。含まれていないとされた場合には
、セグメントバッファ10に書き込まれている図形デー
タの全てについて最適化処理が終了したと見做せるため
、ステップ112に移り、最適化バッファ24の内容が
セグメントバッファ書き込み制御部26によりセグメン
トバッファ10に書き込まれることになる。なお、図2
及び図3に示される動作はホストコンピュータから与え
られる最適化コマンドによって実行されることとしても
よく、この場合には、ステップ110における判定内容
は、通常、当該最適化コマンドに含まれるセグメントバ
ッファの領域指定値の全てについて最適化処理を実行し
たか否かの判定とすればよい。
In the following step 110, it is determined whether the command extracted in step 108 includes segment data (data related to graphic primitives). If it is determined that the content of the optimization buffer 24 is not included, it can be assumed that the optimization process has been completed for all the graphic data written in the segment buffer 10, so the process moves to step 112, and the contents of the optimization buffer 24 are transferred to the segment buffer. It will be written into the segment buffer 10 by the write control unit 26. In addition, Figure 2
The operations shown in FIG. 3 may be executed by an optimization command given from a host computer, and in this case, the content of the determination in step 110 is usually based on the area of the segment buffer included in the optimization command. It may be determined whether the optimization process has been executed for all specified values.

【0022】ステップ110においてセグメントデータ
が含まれていると判定された場合には、本発明の特徴に
係る最適化処理が実行される。すなわち、この例では属
性“色”の最適化であるため、まず色のコマンドである
か否かの判定112が実行される。この判定112の結
果、色のコマンドであった場合には、イニシャルフラグ
が1であるか否かの判定114が実行され、1である場
合には、すなわちセグメントバッファ10からの初回の
読み出しである場合には、当該コマンドにより示される
色(今回色)が現在色エリアに設定される(116)。 ここで、現在色エリアとは、最適化処理制御部22の内
部に確保された記憶エリアである。この後、イニシャル
フラグが0に設定され(118)、ステップ120に移
る。
[0022] If it is determined in step 110 that segment data is included, an optimization process according to a feature of the present invention is executed. That is, in this example, since the attribute "color" is optimized, first a determination 112 is performed as to whether or not it is a color command. If the result of this determination 112 is that it is a color command, a determination 114 is executed to determine whether the initial flag is 1, and if it is 1, that is, this is the first read from the segment buffer 10. If so, the color indicated by the command (current color) is set in the current color area (116). Here, the current color area is a storage area secured inside the optimization processing control section 22. After this, the initial flag is set to 0 (118), and the process moves to step 120.

【0023】ステップ120においては、ステップ10
8において読み出されたコマンドの内容が最適化バッフ
ァ24に書き込まれる。すなわち、セグメントバッファ
10からのコマンド取り出しが初回である場合には、取
り出されたコマンドがそのまま最適化バッファ24に記
憶されることになる。この後、判定122において最適
化バッファ24がフル状態であるかどうかが判定される
。セグメントバッファ10からの取り出しが初回の場合
には最適化バッファ24はフルにはなっていないため、
前述のステップ108に移行し、次の取り出しが実行さ
れる。
In step 120, step 10
The contents of the command read in step 8 are written to the optimization buffer 24. That is, when a command is extracted from the segment buffer 10 for the first time, the extracted command is stored as is in the optimization buffer 24. Thereafter, in decision 122 it is determined whether optimization buffer 24 is full. When the extraction from the segment buffer 10 is the first time, the optimization buffer 24 is not full, so
The process moves to step 108 described above, and the next retrieval is performed.

【0024】セグメントバッファ10からの2回目の取
り出し以後の動作については、判定114においてイニ
シャルフラグが0でないと判定されることになるため、
判定124が実行される。この判定124においては、
現在色エリアに記憶されている内容が今回取り出したコ
マンドに含まれる色属性と一致しているかどうかが判定
される。一致している場合には、いわゆる重複部分であ
ると認められるため、そのままステップ108に戻る。 従って、一致していない場合にのみ、最適化バッファ2
4への書き込みに係るステップ120が実行される。す
なわち、現在色エリアの内容が今回色と一致している部
分について削除されたデータが最適化バッファ24に格
納される。続いて、判定122が実行され、この結果最
適化バッファ24がフルでないとされた場合にはステッ
プ108に戻り同様の動作が繰り返される。
Regarding the operation after the second extraction from the segment buffer 10, since it is determined in determination 114 that the initial flag is not 0,
Decision 124 is performed. In this determination 124,
It is determined whether the content currently stored in the color area matches the color attribute included in the command extracted this time. If they match, it is recognized that they are so-called overlapping parts, and the process returns to step 108. Therefore, only if there is no match, the optimization buffer 2
Step 120 relating to writing to 4 is executed. That is, the deleted data for the portion where the contents of the current color area match the current color is stored in the optimization buffer 24. Subsequently, a determination 122 is performed, and if it is determined that the optimization buffer 24 is not full, the process returns to step 108 and the same operation is repeated.

【0025】しかし、セグメントバッファ10からのコ
マンドの取り出し及び最適化バッファ24へのデータ書
き込みが所定回数繰り返されると、最適化バッファ24
はフル状態となり、判定122におけるフル条件が満た
されることになる。この場合には、セグメントバッファ
書き込み制御部26に最適化処理制御部22によってセ
グメントバッファ10へのアドレスが設定され、セグメ
ントバッファ書き込み制御部26は、この設定されたア
ドレスを開始アドレスとして最適化バッファ24の内容
をセグメントバッファ10に書き込む(125)。セグ
メントバッファ書き込み制御部26による書き込みが実
行された後には、最適化処理制御部22によって最適化
バッファへの書き込みアドレスが再設定され(126)
、ステップ108に戻る。
However, when the extraction of commands from the segment buffer 10 and the writing of data to the optimization buffer 24 are repeated a predetermined number of times, the optimization buffer 24
is in a full state, and the full condition in decision 122 is satisfied. In this case, the optimization processing control unit 22 sets the address to the segment buffer 10 in the segment buffer write control unit 26, and the segment buffer write control unit 26 writes the optimization buffer 10 using the set address as the start address. The contents of are written to the segment buffer 10 (125). After the segment buffer write control unit 26 executes the write, the optimization processing control unit 22 resets the write address to the optimization buffer (126).
, return to step 108.

【0026】このような動作の結果、セグメントバッフ
ァ10に記憶されている全てのコマンドについて色属性
の最適化処理が終了した場合には前述のステップ112
が実行されることになる。なお、先に述べたように、ホ
ストコンピュータからの最適化コマンドにより指定され
たセグメントバッファ10上の全ての対象について最適
化処理が実行された後にステップ112が実行されるこ
ととしてもよい。
As a result of such operations, if the color attribute optimization process has been completed for all commands stored in the segment buffer 10, step 112 described above is completed.
will be executed. Note that, as described above, step 112 may be executed after the optimization process has been executed for all targets on the segment buffer 10 specified by the optimization command from the host computer.

【0027】以上の説明は、色属性についての最適化処
理のみについての説明であるが、これは他の属性につい
ても簡易に適用できる。すなわち、ステップ112にお
ける判定内容を色属性に関する判定ではなく他の属性に
関する判定に置き換え、あるいは任意の図形プリミティ
ブに係る判定に置き換えればよい。またこのような変更
設定は、ホストコンピュータから供給される最適化コマ
ンドのパラメタ設定によっても実現できる。
[0027] The above explanation is only about the optimization processing for color attributes, but it can be easily applied to other attributes as well. That is, the content of the determination in step 112 may be replaced with a determination regarding another attribute instead of a determination regarding the color attribute, or a determination regarding an arbitrary graphic primitive. Further, such change settings can also be realized by parameter settings of an optimization command supplied from the host computer.

【0028】このような動作により、本実施例によれば
、セグメントバッファ10の使用量を減らしかつセグメ
ントバッファ10からフレームバッファ14への図形デ
ータの転送時間が短縮されることになる。
Through such operations, according to this embodiment, the amount of usage of the segment buffer 10 is reduced and the time required to transfer graphic data from the segment buffer 10 to the frame buffer 14 is shortened.

【0029】例えば、赤色,破線のベクトルを千本連続
して描画しようとする場合、ベクトルのコマンドが20
バイト、色のコマンドが8バイト、線種のコマンドが8
バイトとするならば、本実施例に係る最適化処理を行う
前にはセグメントバッファ10において(20+8+8
)×1000=36000バイトの使用量が必要となる
が、最適化を行った場合には8+8+20×1000=
20016バイトの使用量で足りることになる。更に、
千本のベクトルが連続している場合(すなわち2000
本のベクトルが連続して描画される場合)は、最適化後
には8+8+4+1001×8=8028バイトを追加
するだけで足りる。このように、本実施例によれば、描
画の為に必要とするセグメントバッファ10の使用量を
短縮できることとなり、かつその効果は、重複部分の多
い処理を実行する繰り返し回数が多い場合により顕著な
ものとなる。
For example, if you want to draw 1,000 red, broken line vectors in succession, the vector command is 20.
bytes, 8 bytes for color commands, 8 bytes for line type commands
If it is a byte, then (20+8+8
) × 1000 = 36000 bytes of usage is required, but if optimization is performed, it will be 8 + 8 + 20 × 1000 =
The usage amount of 20016 bytes is sufficient. Furthermore,
If 1,000 vectors are consecutive (i.e. 2000
If the book vectors are drawn continuously), it is sufficient to add 8+8+4+1001×8=8028 bytes after optimization. As described above, according to this embodiment, the usage amount of the segment buffer 10 required for drawing can be reduced, and the effect is more noticeable when the number of repetitions of processing with many overlapping parts is large. Become something.

【0030】また、セグメントバッファ10からフレー
ムバッファ14への図形データの転送時間については、
例えばベクトルのコマンドが10μs,色のコマンドが
5μs、線種のコマンドが5μsとした場合、赤色,破
線のベクトルを千本連続して描こうとするならば、最適
化前には(10+5+5)×1000=20000μs
が必要であったが、最適化後には5+5+10×100
0=10010μsですむ。すなわち、この例の場合に
は約半分の時間で図形データの転送が可能である。
Regarding the transfer time of graphic data from the segment buffer 10 to the frame buffer 14,
For example, if the vector command is 10 μs, the color command is 5 μs, and the line type command is 5 μs, if you are trying to draw 1,000 red, broken line vectors in succession, the number of times (10 + 5 + 5) × 1000 = 20000μs
was required, but after optimization it became 5+5+10×100
0=10010 μs. That is, in this example, the graphic data can be transferred in about half the time.

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば、
セグメントバッファ10に格納されている内容を解析し
て重複登録を排除するようにしたため、迅速な表示及び
セグメントバッファの使用量の削減が可能となる。これ
により、より安価かつ使用性の高いグラフィックディス
プレイ装置が得られることになる。
[Effects of the Invention] As explained above, according to the present invention,
Since the contents stored in the segment buffer 10 are analyzed and duplicate registrations are eliminated, it is possible to display quickly and reduce the usage of the segment buffer. This results in a graphic display device that is less expensive and easier to use.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例に係るグラフィックディスプ
レイ装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a graphic display device according to an embodiment of the present invention.

【図2】この実施例における色属性の最適化動作の流れ
を示すフローチャート図であり、特にその前半を示す図
である。
FIG. 2 is a flowchart showing the flow of the color attribute optimization operation in this embodiment, particularly the first half thereof.

【図3】この実施例における色属性の最適化動作の流れ
を示すフローチャート図であり、特にその後半を示す図
である。
FIG. 3 is a flowchart showing the flow of the color attribute optimization operation in this embodiment, especially the latter half.

【図4】一従来例に係るグラフィックディスプレイ装置
の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of a graphic display device according to a conventional example.

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

10  セグメントバッファ 12  グラフィックプロセッサ 14  フレームバッファ 16  ビデオジェネレータ 18  CRT表示器 20  セグメントバッファ読み出し制御部22  最
適化処理制御部 24  最適化バッファ
10 Segment buffer 12 Graphic processor 14 Frame buffer 16 Video generator 18 CRT display 20 Segment buffer read control section 22 Optimization processing control section 24 Optimization buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】論理座標の図形データを記憶するセグメン
トバッファと、図形データを論理座標から物理座標に変
換するグラフィックプロセッサと、物理座標の図形デー
タがビット展開されるフレームバッファと、フレームバ
ッファ上の図形データに係る映像信号を生成するビデオ
ジェネレータと、映像信号に応じ図形を画面表示する表
示器と、を備えるグラフィックディスプレイ装置におい
て、セグメントバッファの記憶内容を読み出すセグメン
トバッファ読み出し制御部と、セグメントバッファの記
憶内容に含まれる重複部分を削除する最適化処理制御部
と、最適化処理制御部により重複部分が削除されたデー
タを一時記憶する最適化バッファと、最適化バッファの
内容をセグメントバッファに書き込むセグメントバッフ
ァ書き込み制御部と、を有し、セグメントバッファに記
憶されている図形データの図形プリミティブ又は/及び
属性の重複部分を削除することを特徴とするグラフィッ
クディスプレイ装置。
Claims 1: A segment buffer that stores graphic data in logical coordinates; a graphics processor that converts graphic data from logical coordinates to physical coordinates; a frame buffer in which graphic data in physical coordinates is bit-developed; In a graphic display device comprising a video generator that generates a video signal related to graphic data, and a display device that displays a graphic on a screen according to the video signal, a segment buffer read control unit that reads the storage contents of the segment buffer; An optimization processing control unit that deletes duplicate parts included in memory contents, an optimization buffer that temporarily stores data from which duplicate parts have been deleted by the optimization processing control unit, and a segment that writes the contents of the optimization buffer to a segment buffer. 1. A graphic display device, comprising: a buffer write control unit, and configured to delete overlapping portions of graphic primitives and/or attributes of graphic data stored in a segment buffer.
JP2232391A 1991-02-15 1991-02-15 Graphic display device Pending JPH04262472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2232391A JPH04262472A (en) 1991-02-15 1991-02-15 Graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2232391A JPH04262472A (en) 1991-02-15 1991-02-15 Graphic display device

Publications (1)

Publication Number Publication Date
JPH04262472A true JPH04262472A (en) 1992-09-17

Family

ID=12079509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2232391A Pending JPH04262472A (en) 1991-02-15 1991-02-15 Graphic display device

Country Status (1)

Country Link
JP (1) JPH04262472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8847981B2 (en) 2004-11-02 2014-09-30 Samsung Electronics Co., Ltd. Method and apparatus for accumulative vector drawing using buffering

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8847981B2 (en) 2004-11-02 2014-09-30 Samsung Electronics Co., Ltd. Method and apparatus for accumulative vector drawing using buffering

Similar Documents

Publication Publication Date Title
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
JP2005525617A (en) Automatic memory management for zone rendering
US4984183A (en) Graphics display controller for transferring figure data to overlapping portions of destination area and drawing-enable area defined by clipping rectangle
JPH0355832B2 (en)
JP2548765B2 (en) Display device
JPH0545039B2 (en)
US5283863A (en) Process for effecting an array move instruction, a graphics computer system, a display system, a graphics processor and graphics display system
JP3883078B2 (en) Graphic image generation method
JPH04262472A (en) Graphic display device
JPH0562348B2 (en)
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JP2810609B2 (en) Graphic display method and apparatus
JP3375069B2 (en) Drawing processing device
JP2780384B2 (en) Contour editing device
JPS6159484A (en) Segment control system
JP3312699B2 (en) Screen display method using virtual VRAM
JPH06187458A (en) Graphic display device
JP2547347B2 (en) Image display controller
JPH02271424A (en) Full graphic picture display system
JP2685680B2 (en) Pick selection candidate revealing method
JPS6169094A (en) Graphic processing method and apparatus
JP2001505674A (en) Method and apparatus for performing an efficient memory read operation using a video display adapter compatible with VGA
JPH05250478A (en) Graphic display device
JPH0548475B2 (en)
JPS6259991A (en) Display controller