JPH06149533A - Segment quick plotting system for reducing plotting processing for segment outside display area - Google Patents

Segment quick plotting system for reducing plotting processing for segment outside display area

Info

Publication number
JPH06149533A
JPH06149533A JP4301981A JP30198192A JPH06149533A JP H06149533 A JPH06149533 A JP H06149533A JP 4301981 A JP4301981 A JP 4301981A JP 30198192 A JP30198192 A JP 30198192A JP H06149533 A JPH06149533 A JP H06149533A
Authority
JP
Japan
Prior art keywords
buffer
segment
display area
frame buffer
processing
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
JP4301981A
Other languages
Japanese (ja)
Inventor
Hisahide Asaka
尚英 浅香
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4301981A priority Critical patent/JPH06149533A/en
Publication of JPH06149533A publication Critical patent/JPH06149533A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Input (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To enable a quick plotting processing by omitting a processing for one of the buffers of a segment out of a display area in a segment plotting system provided with double buffers. CONSTITUTION:A plotting means 1 alternately writes segment data included in the display area to frame buffers 2 and 2' and displays the contents of one of the frame buffers at a display device 3 while writing the data to the other frame buffer. At the time of the plotting processing to the first frame buffer 2, when the segment data are included in the display area and the data are written in the frame buffer 2, the flag of a buffer write flag holding means 4 is raised. At the time of the plotting processing to the second frame buffer 2', a buffer write flag is referred to and when the flag is not raised, the plotting processing to the second frame buffer 2' is omitted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はグラフィク・ディスプレ
イ装置における高速描画方式に関し、特に本発明は、表
示領域外セグメントの描画処理を削減することにより、
高速に描画することができる、セグメント高速描画方式
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-speed drawing method in a graphic display device, and more particularly, the present invention reduces the drawing processing of a segment outside the display area.
The present invention relates to a segment high-speed drawing method capable of high-speed drawing.

【0002】[0002]

【従来の技術】図5は本発明の前提となるグラフィク・
ディスプレイ装置の制御システムのブロック図であり、
同図において、11はグラフィク・ディスプレイ装置と
ホスト・コンピュータとの間のインタフェースをとるた
めのインタフェース制御プロセッサ、12は図形データ
を格納する図形データ・メモリであり、図形データ・メ
モリ12の各セグメントには図形データの各要素(例え
ば、丸、三角等の図形の各要素)が座標値として格納さ
れている。
2. Description of the Related Art FIG.
It is a block diagram of a control system of a display device,
In the figure, 11 is an interface control processor for interfacing between the graphic display device and the host computer, 12 is a graphics data memory for storing graphics data, and each segment of the graphics data memory 12 Each element of graphic data (for example, each element of a graphic such as a circle or a triangle) is stored as a coordinate value.

【0003】13は図形データを処理する図形処理プロ
セッサ、14は図形処理プロセッサにより処理された図
形データより画像データを生成する画像データ生成プロ
セッサ、15,16は画像データを格納する画像データ
・メモリ(フレーム・メモリ)であり、画像データ・メ
モリ15,16は、同図に示すように、ダブル・バッフ
ァを構成しており、画像データ・メモリの一方にデータ
を書き込んでいるとき、他方の画像データ・メモリに格
納された画像データによりCRT等の表示装置に画像を
表示する(以下、画像データ・メモリ15をAバッフ
ァ、画像データ・メモリ16をBバッファという)。
Reference numeral 13 is a graphic processor for processing graphic data, 14 is an image data generation processor for generating image data from the graphic data processed by the graphic processor, and 15 and 16 are image data memory (for storing image data). The image data memories 15 and 16 constitute a double buffer as shown in the figure, and when data is being written in one of the image data memories, the other image data An image is displayed on a display device such as a CRT according to the image data stored in the memory (hereinafter, the image data memory 15 is called an A buffer and the image data memory 16 is called a B buffer).

【0004】また、17はCRT等の表示装置へ画像を
表示するためのCRT制御プロセッサである。図6,図
7は従来のセグメント描画処理の概略フローチャートで
あり、図6は図形処理プロセッサにおける処理を示し、
図7は画像データ生成プロセッサにおける処理を示して
いる。
Reference numeral 17 is a CRT control processor for displaying an image on a display device such as a CRT. 6 and 7 are schematic flow charts of the conventional segment drawing processing, and FIG. 6 shows the processing in the graphic processor.
FIG. 7 shows the processing in the image data generation processor.

【0005】図6,図7により従来のセグメント描画処
理制御について説明する。図6のステップS61におい
て、表示装置への表示領域を指定すると、この表示領域
は図形処理プロセッサ13から画像データ生成プロセッ
サ14に通知される。ついで、図形処理プロセッサ13
において、ステップS62で処理すべきセグメントの残
りの数を判別し、残りの数が0でなければ、ステップS
63で各セグメントの先頭アドレスが格納されたセグメ
ント管理テーブルを参照してセグメント・ポインタを得
る。
The conventional segment drawing processing control will be described with reference to FIGS. In step S61 of FIG. 6, when a display area for the display device is designated, the graphic processing processor 13 notifies the display area to the image data generation processor 14. Next, the graphic processor 13
In step S62, the remaining number of segments to be processed is determined. If the remaining number is not 0, step S62
At 63, the segment pointer is obtained by referring to the segment management table storing the start address of each segment.

【0006】ステップS64において、フレーム・バッ
ファ(AバッファおよびBバッファ)をスワップするた
め、バッファ・スワップ・コマンドを画像データ生成プ
ロセッサ14に送る。バッファ・スワップ・コマンドが
発行されると、画像データ生成プロセッサ14において
は、図7のステップS71において、フレーム・バッフ
ァをスワップする。すなわち、Aバッファをデータ書き
込み可能状態とし、Bバッファの内容を表示装置に表示
する。
In step S64, a buffer swap command is sent to the image data generation processor 14 to swap the frame buffers (A buffer and B buffer). When the buffer swap command is issued, the image data generation processor 14 swaps the frame buffers in step S71 of FIG. That is, the A buffer is set to the data writable state, and the contents of the B buffer are displayed on the display device.

【0007】ついで、図6のステップS65において、
セグメント・ポインタにより指定されたアドレスより、
該当するセグメントに格納された図形データを読み出
し、読み出した図形データの座標値に表示位置の基準と
なる座標値を加える等のセグメント内の要素の処理を行
い、描画コマンド等を画像データ生成プロセッサに送
る。描画コマンドが発行され、図形処理プロセッサによ
る処理結果が渡されると、画像データ生成プロセッサ1
4は、図形処理プロセッサ13において処理された図形
データが予め通知された表示領域にかかるか否かを判別
し、表示領域にかかる場合に、画像データをAバッファ
に書き込む(図7のステップS72)。
Then, in step S65 of FIG.
From the address specified by the segment pointer,
Reads the graphic data stored in the corresponding segment, processes the elements in the segment such as adding the coordinate value that is the reference of the display position to the coordinate value of the read graphic data, and sends the drawing command etc. to the image data generation processor. send. When the drawing command is issued and the processing result by the graphic processor is passed, the image data generation processor 1
Reference numeral 4 determines whether or not the graphic data processed by the graphic processor 13 is applied to the previously notified display area, and when the graphic data is applied to the display area, the image data is written in the A buffer (step S72 in FIG. 7). .

【0008】図6のステップS66において、図形処理
プロセッサ13はAバッファおよびBバッファをスワッ
プするため、バッファ・スワップ・コマンドを画像デー
タ生成プロセッサ14に送り、画像データ生成プロセッ
サ14においては、前記と同様、図7のステップS73
において、フレーム・バッファをスワップし、Aバッフ
ァの内容を表示装置に表示し、Bバッファをデータ書き
込み可能状態とする。
In step S66 of FIG. 6, the graphic processor 13 sends a buffer swap command to the image data generation processor 14 in order to swap the A buffer and the B buffer. , Step S73 of FIG.
At, the frame buffer is swapped, the contents of the A buffer are displayed on the display device, and the B buffer is set to the data writable state.

【0009】ついで、上記したのと同様、図形処理プロ
セッサ13はステップS67において、セグメント内の
要素の処理を行い、描画コマンド等を発行する。描画コ
マンドが発行されると、前記したのと同様、画像データ
生成プロセッサ14は、図7のステップS74におい
て、図形処理プロセッサ13の処理結果をBバッファに
書き込む。
Then, in the same manner as described above, the graphic processor 13 processes the elements in the segment in step S67 and issues a drawing command or the like. When the drawing command is issued, the image data generation processor 14 writes the processing result of the graphic processor 13 in the B buffer in step S74 of FIG. 7, as described above.

【0010】上記処理を繰り返し、処理すべきセグメン
トの残り数が0となると、ステップS62よりENDに
行き終了する。以上のように、図5に示した制御システ
ムにおいては、フレーム・バッファをダブル・バッファ
とし、一方のバッファにデータを書き込んでいる間は、
他方のバッファの内容を表示装置に表示し、一方のバッ
ファへのデータの書き込みが終了すると、バッファをス
ワップして、一方のバッファに書き込んだデータと同一
内容のデータを他方のバッファに書き込むことにより、
両バッファの内容が常に同一となるように制御し、デー
タ書き込み中においても、データを表示できるようにし
ている。
When the remaining number of segments to be processed becomes 0 by repeating the above processing, the process goes to END from step S62 and ends. As described above, in the control system shown in FIG. 5, the frame buffer is a double buffer, and while writing data in one buffer,
When the contents of the other buffer are displayed on the display device and the writing of data to one buffer is finished, the buffers are swapped and the same data as the data written to one buffer is written to the other buffer. ,
The contents of both buffers are controlled so that they are always the same so that the data can be displayed even while the data is being written.

【0011】[0011]

【発明が解決しようとする課題】ところで、上記した制
御システムにおける図形処理プロセッサ13は表示領域
から外れているセグメントに対しても、表示領域内のセ
グメントと同様に処理をおこなって処理結果を画像デー
タ生成プロセッサ14に渡し、また、画像データ生成プ
ロセッサ14は、図形処理プロセッサ13による処理結
果の内、予め通知された表示領域にかかる画像データの
みをAバッファおよびBバッファへ書き込んでいる。
By the way, the graphic processor 13 in the above-mentioned control system processes the segment outside the display area in the same manner as the segment in the display area and displays the processing result as image data. The image data generation processor 14 writes only the image data concerning the display area notified in advance in the A buffer and the B buffer among the processing results by the graphic processor 13.

【0012】このため、多数のセグメントがある場合、
図形処理プロセッサ13は表示されないセグメントの処
理に多くの処理時間を要する。特に、上記のように、ダ
ブル・バッファを備えたシステムにおいては、表示領域
から外れたセグメントの処理を、AバッファとBバッフ
ァのそれぞれについて行うこととなり、処理時間が長く
なるという問題点があった。
Therefore, when there are many segments,
The graphic processor 13 requires a lot of processing time to process the non-displayed segments. In particular, as described above, in the system having the double buffer, the segment outside the display area is processed for each of the A buffer and the B buffer, which causes a problem that the processing time becomes long. .

【0013】本発明は上記した従来技術の問題点を改善
するためになされたものであって、ダブル・バッファを
備えたセグメント描画方式において、表示領域から外れ
たセグメントの一方のバッフアに対する処理を省くこと
により、高速に描画処理を可能としたセグメント高速描
画方式を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems of the prior art. In the segment drawing system having a double buffer, the processing for one buffer of a segment outside the display area is omitted. Accordingly, it is an object of the present invention to provide a segment high-speed drawing method that enables high-speed drawing processing.

【0014】[0014]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。同図において、1は表示領域に含まれる
セグメント・データを第1および第2のフレーム・バッ
ファに交互に書き込む描画手段、2,2’は表示装置に
表示する画像を保持する第1および第2のフレーム・バ
ッファ、3は第1もしくは第2のフレーム・バッファに
書き込まれた画像を表示する表示装置、4はバッファ書
き込みフラグ保持手段である。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, 1 is a drawing means for alternately writing the segment data included in the display area to the first and second frame buffers, and 2 and 2'are first and second holding images to be displayed on the display device. 3 is a display device for displaying an image written in the first or second frame buffer, and 4 is a buffer write flag holding means.

【0015】本発明は上記課題を解決するため、図1に
示すように、一方のフレーム・バッファにデータの書き
込みを行っている間に他方のフレーム・バッファの内容
を表示する第1および第2のフレーム・バッファ2,
2’を持ち、表示領域に含まれるセグメント・データを
第1および第2のフレーム・バッファ2,2’に交互に
書き込むことにより、表示装置3に画像を表示するセグ
メント高速描画方式において、一方のフレーム・バッフ
ァ2にセグメント・データの書き込みがあったか否かを
示すバッファ書き込みフラグを保持するバッファ書き込
みフラグ保持手段4を設けたものである。
In order to solve the above-mentioned problems, the present invention, as shown in FIG. 1, displays the contents of the other frame buffer while writing the data in the other frame buffer. Frame buffer 2,
In the segment high-speed drawing method for displaying an image on the display device 3 by alternately writing the segment data included in the display area into the first and second frame buffers 2 and 2 ′, A buffer write flag holding means 4 for holding a buffer write flag indicating whether or not segment data has been written in the frame buffer 2 is provided.

【0016】そして、セグメント・データの第1のフレ
ーム・バッファ2に対する描画処理後、上記バッファ書
き込みフラグを参照して、第1のフレーム・バッファ2
への書き込みが行われたか否かを判別し、第1のフレー
ム・バッファ2への書き込みが行われなかった場合に、
第2のフレーム・バッフア2’に対する描画処理を省略
することにより、表示領域外セグメントの描画処理を削
減したものである。
After drawing the segment data to the first frame buffer 2, the first frame buffer 2 is referred to with reference to the buffer write flag.
It is determined whether or not writing to the first frame buffer 2 has not been performed.
By omitting the drawing process for the second frame buffer 2 ', the drawing process for the segment outside the display area is reduced.

【0017】[0017]

【作用】第1および第2のフレーム・バッファ2,2’
に図形データを書き込む際、セグメントの描画処理を行
う前に、そのセグメントが表示領域から外れたセグメン
トか否かがわかっていれば、表示領域からはずれたセグ
メントに関しては、一連の描画処理が不要となる。
Operation: First and second frame buffers 2, 2 '
When writing graphic data to a segment, if it is known before the drawing process of the segment whether the segment is out of the display area, a series of drawing processing is not necessary for the segment out of the display area. Become.

【0018】しかしながら、表示領域の内か外かの状態
は、表示領域の移動や拡大縮小、セグメントの移動や要
素の追加削除などで変化してしまい、セグメント描画処
理以前に、描画対象セグメントが表示領域から完全に外
れているか否かを判定することは困難である。このた
め、第1のフレーム・バッファに対する描画処理は省略
することはできないが、第2のフレーム・バッファの描
画処理時には、既に第1のフレーム・バッファに対して
描画処理を行っているので、第2のフレーム・バッファ
に対する描画処理が必要か否かは容易に判定することが
できる。
However, the state inside or outside the display area changes due to movement or enlargement / reduction of the display area, movement of segments, addition / deletion of elements, etc., and the segment to be drawn is displayed before the segment drawing processing. It is difficult to determine whether or not it is completely out of the area. For this reason, the drawing process for the first frame buffer cannot be omitted, but since the drawing process has already been performed for the first frame buffer when the drawing process for the second frame buffer is performed, Whether or not the drawing process for the second frame buffer is necessary can be easily determined.

【0019】本発明は上記原理に基づき、第1のフレー
ム・バッファへの書き込みが行われたときに、バッファ
書き込みフラグを立てておき、第2のフレーム・バッフ
ァに対する描画処理時、上記フラグを参照し、バッファ
書き込みフラグが立っていないときには、第2のフレー
ム・バッファに対する描画処理を省略するようにしたも
のである。
Based on the above principle, the present invention sets a buffer write flag when writing to the first frame buffer, and refers to the above flag during drawing processing on the second frame buffer. However, when the buffer write flag is not set, the drawing process for the second frame buffer is omitted.

【0020】上記の構成とすることにより、本発明にお
いては、表示領域外のセグメントの描画処理を約半分に
削減することができ、表示領域外のセグメントを数多く
含む画面に対しての処理速度を著しく向上させることが
できる。また、それとともに、表示領域外のセグメント
を数多く含む画面の更新をより高速に行うことが可能と
なる。
With the above arrangement, in the present invention, the drawing processing of the segment outside the display area can be reduced to about half, and the processing speed for the screen including many segments outside the display area can be reduced. It can be significantly improved. At the same time, it is possible to update the screen including many segments outside the display area at a higher speed.

【0021】[0021]

【実施例】図2,図3は本発明の実施例の概略フローチ
ャートを示す図であり、図2は図形処理プロセッサにお
ける処理を示し、図3は画像データ生成プロセッサにお
ける処理を示している。図2において、「インタフェー
ス」は図形処理プロセッサと画像データ生成プロセッサ
間に設けられたインタフェースであり、このインタフェ
ース上には、Aバッファへのデータの書き込みが行われ
たか否かを示すバッファ書き込みフラグを格納するフラ
グ・レジスタが設けられている。
2 and 3 are schematic flow charts of an embodiment of the present invention, FIG. 2 shows a process in a graphic processor, and FIG. 3 shows a process in an image data generation processor. In FIG. 2, “interface” is an interface provided between the graphic processor and the image data generation processor, and a buffer write flag indicating whether or not data has been written to the A buffer is provided on this interface. A flag register for storing is provided.

【0022】また、図4は画像データ生成プロセッサ1
4における処理を示すフローチャートである。図2,図
3および図4により本発明の実施例のセグメント描画処
理について説明する。図2のステップS21において、
表示領域を指定すると、この表示領域は図形処理プロセ
ッサ13から画像データ生成プロセッサ14に通知され
る。ついで、ステップS22において、処理すべきセグ
メントの残りの数を判別し、残りの数が0でなければ、
ステップS23で各セグメントの先頭アドレスが格納さ
れたセグメント管理テーブルを参照してセグメント・ポ
インタを得る。
FIG. 4 shows the image data generation processor 1
4 is a flowchart showing the processing in 4. The segment drawing processing of the embodiment of the present invention will be described with reference to FIGS. 2, 3 and 4. In step S21 of FIG.
When the display area is designated, the graphic processing processor 13 notifies the image data generation processor 14 of the display area. Then, in step S22, the remaining number of segments to be processed is determined, and if the remaining number is not 0,
In step S23, the segment pointer is obtained by referring to the segment management table storing the start address of each segment.

【0023】ステップS24において、フレーム・バッ
ファ(AバッファおよびBバッファ)をスワップするた
め、バッファ・スワップ・コマンドを画像データ生成プ
ロセッサ14に送る。バッファ・スワップ・コマンドが
発行されると、画像データ生成プロセッサ14において
は、図3のステップS31において、フレーム・バッフ
ァをスワップする。すなわち、Aバッファをデータ書き
込み可能状態とし、Bバッファの内容を表示装置に表示
する。
In step S24, a buffer swap command is sent to the image data generation processor 14 to swap the frame buffers (A buffer and B buffer). When the buffer swap command is issued, the image data generation processor 14 swaps the frame buffers in step S31 of FIG. That is, the A buffer is set to the data writable state, and the contents of the B buffer are displayed on the display device.

【0024】すなわち、バッファ・スワップ・コマンド
が発行されると、画像データ生成プロセッサにおいて
は、図4のステップS41において、AバッファとBバ
ッファの状態を入れ替える。図2のステップS25にお
いて、図形処理プロセッサと画像データ生成プロセッサ
のインタフェース上に設けられたフラグ・レジスタのバ
ッファ書き込みフラグをリセットする。
That is, when the buffer swap command is issued, the image data generation processor switches the states of the A buffer and the B buffer in step S41 of FIG. In step S25 of FIG. 2, the buffer write flag of the flag register provided on the interface between the graphic processor and the image data generation processor is reset.

【0025】ついで、図2のステップS26において、
前記と同様、セグメント内の要素の処理を行い、描画コ
マンド等を画像データ生成プロセッサ14に送る。画像
データ生成プロセッサ14においては、描画コマンドが
発行されると、図形処理プロセッサ13において処理さ
れた図形データが予め通知された表示領域にかかる場合
に、画像データをAバッファに書き込む(図3のステッ
プS32)。
Then, in step S26 of FIG.
Similar to the above, the elements in the segment are processed, and a drawing command or the like is sent to the image data generation processor 14. In the image data generation processor 14, when the drawing command is issued, when the graphic data processed by the graphic processing processor 13 reaches the notified display area, the image data is written in the A buffer (step of FIG. 3). S32).

【0026】また、画像データ生成プロセッサ14はA
バッファに書き込みのたびに、インタフェース上に設け
られたフラグ・レジスタのバッファ書き込みフラグにオ
ン信号をおくり、これはフラグ・レジスタでオア処理さ
れる。すなわち、画像データ生成プロセッサ14におい
ては、図4のステップS42において、描画コマンドが
発行されたとき、表示領域にかかるコマンド・データで
あるが否かを判別し、表示領域にかかるコマンド・デー
タである場合には、Aバッファにデータを書き込み、イ
ンタフェース上のバッファ書き込みフラグをオア処理す
る。その結果、セグメント・データがAバッファに書き
込まれた場合には、バッファ書き込みフラグはオンとな
るが、セグメント・データが表示領域外でAバッファへ
の書き込みが行われない場合には、バッファ書き込みフ
ラグはオフのままとなる。
Further, the image data generation processor 14 is A
Each time writing to the buffer, an ON signal is sent to the buffer write flag of the flag register provided on the interface, and this is OR-processed by the flag register. That is, in the image data generation processor 14, when the drawing command is issued in step S42 of FIG. 4, it is determined whether or not the command data is for the display area, and the command data is for the display area. In this case, the data is written in the A buffer and the buffer write flag on the interface is ORed. As a result, the buffer write flag is turned on when the segment data is written to the A buffer, but the buffer write flag is turned on when the segment data is not written to the A buffer outside the display area. Remains off.

【0027】図2のステップS27において、図形処理
プロセッサ13はAバッファおよびBバッファをスワッ
プするため、バッファ・スワップ・コマンドを画像デー
タ生成プロセッサ14に送り、画像データ生成プロセッ
サ14においては、前記と同様、図3のステップS33
において、フレーム・バッファをスワップし、Aバッフ
ァの内容を表示装置に表示し、Bバッファをデータ書き
込み可能状態とする。
In step S27 in FIG. 2, the graphic processor 13 sends a buffer swap command to the image data generation processor 14 in order to swap the A buffer and the B buffer. , Step S33 of FIG.
At, the frame buffer is swapped, the contents of the A buffer are displayed on the display device, and the B buffer is set to the data writable state.

【0028】図2のステップS28において、図形処理
プロセッサ13は、インタフェース上のフラグ・レジス
タを参照して、Aバッファ処理時、フレーム・バッファ
にデータの書き込みがあったか否かを判別し、フレーム
・バッファにデータの書き込みがあった場合には、ステ
ップS29に行き、前記と同様セグメント内の要素の処
理を行い、描画コマンド等を送出する。また、フレーム
・バッファにデータの書き込みがなかった場合には、上
記処理を行わず、ステップS22に戻り上記処理を繰り
返す。
In step S28 of FIG. 2, the graphic processor 13 refers to the flag register on the interface to determine whether or not data has been written to the frame buffer during the A buffer processing, and the frame buffer is checked. If the data is written in, the process goes to step S29 to process the elements in the segment in the same manner as described above, and sends the drawing command and the like. If no data is written in the frame buffer, the above process is not performed and the process returns to step S22 to repeat the above process.

【0029】以上のように、上記実施例においては、A
バッファ処理時、フレーム・バッファへの書き込みがあ
る度に(表示領域にかかる描画がある度に)、インタフ
ェース上に設けたバッファ書き込みフラグをオア処理す
るので、Aバッファに対する処理終了時には、そのフラ
グを参照するだけで、描画対象になっているセグメント
が表示領域にかかっているかどうか判り、表示領域にか
からないセグメントのBバッファに対する描画処理を省
くことができる。
As described above, in the above embodiment, A
At the time of buffer processing, the buffer write flag provided on the interface is OR-processed every time there is writing to the frame buffer (every time there is drawing on the display area). By simply referring to it, it is possible to know whether or not the segment to be drawn covers the display area, and it is possible to omit the drawing processing for the B buffer of the segment that does not cover the display area.

【0030】[0030]

【発明の効果】以上説明したことから明らかなように、
本発明においては、ダブル・バッファを備えたセグメン
ト描画方式において、セグメント・データが表示領域外
で、一方のバッファへのセグメント・データの書き込み
がなかった場合に、他方へのバッファへの書き込みを省
略するようにしたので、表示領域外のセグメントの描画
処理を約半分に削減することができ、表示領域外のセグ
メントを数多く含む画面に対しての処理速度を著しく向
上させることができる。また、それとともに、表示領域
外のセグメントを数多く含む画面の更新をより高速に行
うことが可能となる。
As is apparent from the above description,
In the present invention, in the segment drawing method having the double buffer, when the segment data is outside the display area and the segment data has not been written to one buffer, the writing to the other buffer is omitted. By doing so, the drawing processing of the segment outside the display area can be reduced to about half, and the processing speed for the screen including many segments outside the display area can be significantly improved. At the same time, it is possible to update the screen including many segments outside the display area at a higher speed.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の実施例のフローチャートである。FIG. 2 is a flowchart of an embodiment of the present invention.

【図3】本発明の実施例のフローチャート(続き)であ
る。
FIG. 3 is a flowchart (continuation) of the embodiment of the present invention.

【図4】画像データ生成プロセッサにおけるフローチャ
ートである。
FIG. 4 is a flowchart in the image data generation processor.

【図5】本発明の前提となるセグメント描画方式のブロ
ック図である。
FIG. 5 is a block diagram of a segment drawing method which is a premise of the present invention.

【図6】従来例のフローチャートである。FIG. 6 is a flowchart of a conventional example.

【図7】従来例のフローチャート(続き)である。FIG. 7 is a flowchart (continuation) of a conventional example.

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

11 インタフェース制御プロセッサ 12 図形データ・メモリ 13 図形処理プロセッサ 14 画像データ生成プロセッサ 15,16 画像データ・メモリ 17 CRT制御プロセッサ 11 Interface Control Processor 12 Graphic Data Memory 13 Graphic Processing Processor 14 Image Data Generation Processor 15, 16 Image Data Memory 17 CRT Control Processor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 一方のフレーム・バッファにデータの書
き込みを行っている間に他方のフレーム・バッファの内
容を表示する第1および第2のフレーム・バッファ(2.
2')を持ち、 表示領域に含まれるセグメント・データを第1および第
2のフレーム・バッファ(2.2')に交互に書き込むことに
より、表示装置(3) に画像を表示するセグメント高速描
画方式において、 一方のフレーム・バッファ(2) にセグメント・データの
書き込みがあったか否かを示すバッファ書き込みフラグ
を保持するバッファ書き込みフラグ保持手段(4) を設
け、 セグメント・データの第1のフレーム・バッファ(2) に
対する描画処理後、上記バッファ書き込みフラグを参照
して、第1のフレーム・バッファ(2) への書き込みが行
われたか否かを判別し、第1のフレーム・バッファ(2)
への書き込みが行われなかった場合に、第2のフレーム
・バッフア(2')に対する描画処理を省略することによ
り、表示領域外セグメントの描画処理を削減したことを
特徴とするセグメント高速描画方式。
1. A first and second frame buffer (2.) that displays the contents of the other frame buffer while writing data to one frame buffer.
2 ') and the segment high-speed drawing method for displaying an image on the display device (3) by alternately writing the segment data contained in the display area to the first and second frame buffers (2.2') A buffer write flag holding means (4) for holding a buffer write flag indicating whether or not segment data has been written in one frame buffer (2) is provided, and the first frame buffer (2 ) Is drawn, it is determined whether or not writing to the first frame buffer (2) is performed by referring to the buffer write flag, and the first frame buffer (2) is determined.
The high-speed segment drawing method is characterized in that the drawing processing of the segment outside the display area is reduced by omitting the drawing processing for the second frame buffer (2 ') when the writing to the second frame buffer (2') is not performed.
JP4301981A 1992-11-12 1992-11-12 Segment quick plotting system for reducing plotting processing for segment outside display area Withdrawn JPH06149533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4301981A JPH06149533A (en) 1992-11-12 1992-11-12 Segment quick plotting system for reducing plotting processing for segment outside display area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4301981A JPH06149533A (en) 1992-11-12 1992-11-12 Segment quick plotting system for reducing plotting processing for segment outside display area

Publications (1)

Publication Number Publication Date
JPH06149533A true JPH06149533A (en) 1994-05-27

Family

ID=17903455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4301981A Withdrawn JPH06149533A (en) 1992-11-12 1992-11-12 Segment quick plotting system for reducing plotting processing for segment outside display area

Country Status (1)

Country Link
JP (1) JPH06149533A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008018511A1 (en) 2006-08-11 2008-02-14 Sharp Kabushiki Kaisha Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
WO2008018503A1 (en) 2006-08-11 2008-02-14 Sharp Kabushiki Kaisha Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
WO2008085787A2 (en) * 2007-01-03 2008-07-17 Apple Inc. Multi buffer asynchronous scheme for processing incoming information
JP2009219148A (en) * 1999-04-29 2009-09-24 Mitsubishi Electric Research Laboratories Inc Video display system and method for double-buffering image data for displaying it on television display screen
US8390615B2 (en) 2006-08-11 2013-03-05 Sharp Kabushiki Kaisha Image display apparatus, image data providing apparatus, and image display system providing a control script for executing basic functions
KR20160135993A (en) * 2015-05-19 2016-11-29 삼성전자주식회사 Display driving circuit and display device comprising the same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009219148A (en) * 1999-04-29 2009-09-24 Mitsubishi Electric Research Laboratories Inc Video display system and method for double-buffering image data for displaying it on television display screen
WO2008018511A1 (en) 2006-08-11 2008-02-14 Sharp Kabushiki Kaisha Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
WO2008018503A1 (en) 2006-08-11 2008-02-14 Sharp Kabushiki Kaisha Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
US8390615B2 (en) 2006-08-11 2013-03-05 Sharp Kabushiki Kaisha Image display apparatus, image data providing apparatus, and image display system providing a control script for executing basic functions
WO2008085787A2 (en) * 2007-01-03 2008-07-17 Apple Inc. Multi buffer asynchronous scheme for processing incoming information
WO2008085787A3 (en) * 2007-01-03 2008-10-02 Apple Inc Multi buffer asynchronous scheme for processing incoming information
US8489783B2 (en) 2007-01-03 2013-07-16 Apple Inc. Multi buffer asynchronous scheme for processing incoming information
KR20160135993A (en) * 2015-05-19 2016-11-29 삼성전자주식회사 Display driving circuit and display device comprising the same

Similar Documents

Publication Publication Date Title
JP2662168B2 (en) Systems and methods for managing graphics system rendering context data
KR100328424B1 (en) Method and apparatus for constructing a frame buffer with a fast copy means
JPH07325930A (en) Movement system for mouse cursor follow-up type enlargement display
JPH0355832B2 (en)
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPS59231591A (en) Image generator
JPH0875480A (en) Map drawing method
JP3154741B2 (en) Image processing apparatus and system
JP2584143B2 (en) Image display device
JP2998417B2 (en) Multimedia information processing device
JPS6122391A (en) Copy control system for display
JPS60251431A (en) Memory display device
JPH0443594B2 (en)
JP2829051B2 (en) Character display method
JPH04151195A (en) Image display device
JPS63142390A (en) Display device
JPH0550013B2 (en)
JPS6159484A (en) Segment control system
JPS6146978A (en) Crt display unit
JPS61232486A (en) Image data shift system
JP2005321807A (en) Image supply method and graphic memory control system
JPS6079472A (en) Picture information processing system
JPH0721394A (en) Graphic plotting method
JPH1011047A (en) Picture display controller
JPH06187458A (en) Graphic display device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000201