JPH07244572A - Parallel plotting processor - Google Patents

Parallel plotting processor

Info

Publication number
JPH07244572A
JPH07244572A JP6062046A JP6204694A JPH07244572A JP H07244572 A JPH07244572 A JP H07244572A JP 6062046 A JP6062046 A JP 6062046A JP 6204694 A JP6204694 A JP 6204694A JP H07244572 A JPH07244572 A JP H07244572A
Authority
JP
Japan
Prior art keywords
priority
data
window
parallel
preferential
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
JP6062046A
Other languages
Japanese (ja)
Inventor
Yumiko Sugita
由美子 杉田
Shinji Kimura
信二 木村
Norimi Yamamoto
礼己 山本
Shoji Nakamura
昭次 中村
Eriko Koda
恵理子 幸田
Toshiyuki Kuwana
利幸 桑名
Masahito Manda
雅人 萬田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6062046A priority Critical patent/JPH07244572A/en
Publication of JPH07244572A publication Critical patent/JPH07244572A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To responsibility by speeding up plotting operation of the painting most noticed by a user. CONSTITUTION:A priority display flag 2-5 and an window identifier (ID) 2-6 for priority display are set up and stored in accordance with an instruction for specifying priority plotting, the existence of priority plotting of optional plotting data is identified from plural plotting data obtained by the calculation results of plotting instructions processed in parallel based upon the flag 2-5 and the ID 2-6, priority plotting data and non-priority plotting data are stored in respective plotting data buffer 2-7-1, 2-7-2, and plotting data 2-8-1, 2-8-2 are prepared. The plotting data of the prior painting are preferentially transferred to a plotter in accordance with the lists 2-8-1, 2-8-2 and plotted in an window pointed out by the ID 2-6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は複数の描画を並列に実行
する描画処理装置に係わり、特に任意の描画データの高
速な応答性が要求される処理に好適な装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing processing apparatus that executes a plurality of drawing operations in parallel, and more particularly to an apparatus suitable for processing that requires high-speed response of arbitrary drawing data.

【0002】[0002]

【従来の技術】一般的にウィンドウやグラフィックスの
描画命令は、描画制御プログラムが逐次に処理を行な
う。描画制御プログラムは描画命令を受け取って解析、
描画データを算出するためのモデリングやクリッピング
の計算処理を行なう。計算の結果得た描画データは主メ
モリ内に確保されているバッファに格納し、計算終了し
た命令のデータから順次フレームメモリに転送する。デ
ィスプレイコントローラはフレームメモリのデータを画
像信号に変換し、CRT画面上に描画する。これについ
ては、「並列図形処理」,鷺島敬之/西澤貞次/浅原重
夫 共著,コロナ社,P12,P75〜82 に記載さ
れている。複数の描画命令を実行する方法の1つとして
各描画命令に対する処理毎にプロセスを生成し、並列に
実行する方法もある。各プロセスはオペレーディング・
システムの制御により、任意のタイムスライスでプロセ
ッサに割り付けられる。この場合は短い処理時間で計算
が終了する描画命令で得た結果、もしくは優先的に割り
付けられ処理された描画命令で得た結果をフレームメモ
リにに転送する。これについては、「オペレーティング
システム」,前川守著,岩波書店,P39〜40;「M
INIXオペレーティングシステム」,ANDREW
S TANENBAUM著,アスキー出版,P109〜
110 に記載されている。このような技術における描
画、特にマルチウィンドウの描画処理技術としては、
「緊急属性を持つウィンドウを最前面に描画するマルチ
ウィンドウ表示装置(特開平4−326396)」、
「各ウィンドウ内で動作するアプリケーション・プログ
ラムのCPU負荷を測定し制御するマルチウィンドウ管
理装置(特開平4−296196)」、「全ウィンドウ
のプライオリティや表示階層を3次元的に表示し操作す
るマルチウィンドウ表示方法(特開平4−18282
4)」などがあり、これらを実現する技術についてはす
でに製品に適用されている可能性がある。
2. Description of the Related Art Generally, a drawing control program sequentially processes drawing commands for windows and graphics. The drawing control program receives and analyzes drawing commands,
Performs modeling and clipping calculation processing to calculate drawing data. The drawing data obtained as a result of the calculation is stored in a buffer secured in the main memory, and the data of the instruction for which the calculation has been completed is sequentially transferred to the frame memory. The display controller converts the data in the frame memory into an image signal and draws it on the CRT screen. This is described in "Parallel Graphic Processing", Noriyuki Sagishima / Sadaji Nishizawa / Shigeo Asahara, Corona Publishing Co., P12, P75-82. As one of the methods of executing a plurality of drawing commands, there is also a method of generating a process for each process for each drawing command and executing the processes in parallel. Each process is operating
By the control of the system, it is assigned to the processor at an arbitrary time slice. In this case, the result obtained by the drawing command whose calculation is completed in a short processing time or the result obtained by the drawing command which is preferentially allocated and processed is transferred to the frame memory. About this, "Operating system", Maekawa Mamoru, Iwanami Shoten, P39-40; "M
INIX operating system ", ANDREW
S TANENBAUM, ASCII Publishing, P109-
110. Drawing in such technology, especially as multi-window drawing processing technology,
"Multi-window display device for drawing a window having an urgent attribute on the foreground (Japanese Patent Laid-Open No. 4-326396)",
"Multi-window management device for measuring and controlling CPU load of application program operating in each window (Japanese Patent Laid-Open No. 4-296196)", "Multi-window for displaying and operating the priority and display hierarchy of all windows three-dimensionally" Display method (JP-A-4-18282)
4) ”, etc., and technologies for realizing these may already be applied to products.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術を用い
て、ウィンドウを生成描画し、その中に連続して描画を
行うような複数のアプリケーション・プログラムを実行
し、かつ1つのウィンドウを使用してコマンドなどの入
力や描画の少ないコマンドを同時実行させると、すべて
のウィンドウに対する描画データが逐次に順次描画され
るため、他のウィンドウの描画中は現在対話しようとし
ているウィンドウの応答性が悪い。また、下にあったウ
ィンドウを一番上に移動しコマンドなどを入力すると、
一番上のウィンドウでの再描画が終っても他のウィンド
ウでの再描画が終了するまでは、入力したコマンド文字
の描画が行われず、利用者はその間待たなくてはならな
い。各描画処理をプロセスにして優先度付きで並列実行
すれば優先されたプロセスでの描画は先に表示するよう
になるが、そのプロセス自身が待ち状態を要求するか終
了しない限りプロセッサを占有する状態が起こり別の問
題が発生しやすい。また、ウィンドウ描画を含むプロセ
スにはウィンドウ間の描画同期処理が多く、優先されて
いるプロセス内に同期処理が多発すると逆に全体の性能
が落ちるという問題が発生する。本発明の目的は、上記
課題を解決し、その時点で一番利用者が注目している描
画の高速性を図り、応答性を向上させることにある。
By using the above-mentioned conventional technique, a plurality of application programs that generate and draw windows and continuously draw in the windows are executed, and one window is used. When commands such as commands and commands with few drawings are executed at the same time, the drawing data for all windows are drawn one after another, so that the responsiveness of the window with which the user is currently interacting is poor during drawing of other windows. Also, if you move the window below to the top and enter commands etc.,
Even if the redrawing in the top window is finished, the input command characters are not drawn until the redrawing in the other windows is finished, and the user has to wait for that time. If each drawing process is set as a process and executed in parallel with priority, the drawing in the priority process will be displayed first, but the process will occupy the processor unless it requests a wait state or ends. Is likely to cause another problem. In addition, a process including window drawing often involves a drawing synchronization process between windows, and if the synchronization process occurs frequently in a process that is prioritized, there is a problem that the overall performance is deteriorated. An object of the present invention is to solve the above-mentioned problems, to achieve high-speed drawing which is most noticed by the user at that time, and to improve responsiveness.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、1つ以上のプロセッサを備え、前記プロ
セッサが前記プロセッサ上で動作する複数の描画命令に
対するプロセスを並列実行し描画装置に描画する並列描
画処理装置において、対象のウィンドウ自身やその中の
描画データを他のウィンドウや描画データに比べて優先
して描画する優先描画を行なうか否かを指定する命令に
応じて優先描画の実行の有無および優先描画対象のウィ
ンドウを設定、記憶する手段と、並列に処理された描画
命令での計算の結果得られる複数の描画データから、前
記優先描画の実行の有無および前記優先描画対象のウィ
ンドウの識別子に基づき任意の描画データの優先描画の
有無を識別する手段と、非優先描画の描画データのウィ
ンドウへの描画に優先して、優先描画の描画データを優
先描画のウィンドウに描画する手段を備え、任意の描画
データの優先描画を行なうようにしている。また、前記
優先描画の描画データと前記非優先描画データを夫々別
々に格納、管理する手段と、優先描画の描画データが格
納されているとき、該優先描画の描画データを優先して
読み出し描画装置に転送する手段を備え、該優先描画の
描画データを前記優先描画のウィンドウに描画するよう
にしている。また、前記優先描画の描画データと前記非
優先描画データを夫々別々に格納、管理する手段と、優
先描画の描画データと非優先描画データを任意の比率で
読み出し描画装置に転送する手段を備え、該優先描画の
描画データを前記優先描画のウィンドウに描画するよう
にしている。また、任意の描画データの優先描画の有無
を利用者が指定する手段と、優先描画するウィンドウを
利用者が指定する手段とを設けるようにしている。ま
た、描画中のウィンドウの操作の排他制御に関して、ウ
ィンドウ全体の排他制御を行なう手段と、ウィンドウ毎
の排他制御を行なう手段とを設け設けるようにしてい
る。さらに、前記優先描画の描画データと非優先描画デ
ータとの任意の比率を利用者が指定する手段を設けるよ
うにしている。
In order to achieve the above-mentioned object, the present invention is provided with one or more processors, and the processor executes a process for a plurality of drawing instructions operating on the processor in parallel to provide a drawing device. In the parallel drawing processing device for drawing, priority drawing is performed according to an instruction that specifies whether or not priority drawing is performed in which the target window itself and drawing data in the target window are drawn with priority over other windows and drawing data. Whether or not the priority drawing is executed and whether or not the priority drawing target is to be executed is determined from the means for setting and storing the window for execution and the priority drawing target, and the plurality of drawing data obtained as a result of the calculation by the drawing commands processed in parallel. Means to identify the presence / absence of preferential drawing of arbitrary drawing data based on the identifier of the window and to draw the drawing data of non-priority drawing in the window To include a means for drawing the drawing data of the priority drawing in the window priority drawing, and to perform the priority drawing any rendering data. Further, when the drawing data of the priority drawing and the non-priority drawing data are separately stored and managed, and the drawing data of the priority drawing is stored, the drawing data of the priority drawing is preferentially read and drawn. And means for transferring the drawing data of the priority drawing to the window of the priority drawing. Further, it comprises means for separately storing and managing the drawing data for the priority drawing and the non-priority drawing data, and means for reading the drawing data for the priority drawing and the non-priority drawing data at an arbitrary ratio and transferring them to the drawing device. The drawing data of the priority drawing is drawn in the window of the priority drawing. Further, there is provided a means for the user to specify the presence / absence of preferential drawing of arbitrary drawing data and a means for the user to specify the window for preferential drawing. Further, regarding exclusive control of the operation of the window during drawing, a means for performing exclusive control of the entire window and a means for performing exclusive control for each window are provided. Further, the user is provided with means for designating an arbitrary ratio between the drawing data of the priority drawing and the non-priority drawing data.

【0005】[0005]

【作用】優先描画の有無および優先描画のウィンドウを
設定しておき、計算処理された描画データが優先描画の
対象であるとき、この描画データを優先して優先描画の
ウィンドウに描画するので、優先描画のウィンドウ以外
のウィンドウで描画のために時間のかかる処理を行って
いても、指定したウィンドウへの描画が優先して行なわ
れる。優先描画の有無および優先描画するウィンドウを
利用者が任意に指定でき、利用者の要求に応じて、指定
ウィンドウへの描画の間、他のウィンドウの描画をすべ
て待たせておき、指定ウィンドウへの描画を優先でき
る。描画データを描画装置に転送する際に、優先データ
と非優先データの転送を任意の比率で行なえ、優先描画
の度合いを調整できる。ウィンドウ単位の排他制御によ
り、マルチプロセス実行であっても描画順序を保証した
上で指定ウィンドウへの優先描画が行える。
[Function] The presence / absence of preferential drawing and the window for preferential drawing are set, and when the calculated drawing data is the object of preferential drawing, the preferential drawing of this drawing data is carried out in the preferential drawing window. Even if a window other than the drawing window is performing a time-consuming process for drawing, drawing in the specified window is given priority. The user can arbitrarily specify the presence or absence of priority drawing and the window to be preferentially drawn, and wait for all other windows to be drawn while drawing in the specified window according to the user's request. You can give priority to drawing. When the drawing data is transferred to the drawing device, the priority data and the non-priority data can be transferred at an arbitrary ratio, and the degree of priority drawing can be adjusted. Exclusive control in window units allows priority drawing in a specified window after guaranteeing the drawing order even in multi-process execution.

【0006】[0006]

【実施例】以下、本発明の一実施例を図を用いて説明す
る。図1に本発明の一実施例のシステムのブロック図を
示す。キーボード1−1−1やポインティングデバイス
1−1−2の入力は、入力デバイスコントローラ1−1
で受ける。入力要求はバスコントローラ1−2を介して
主メモリ1−3内にある制御プログラム1−3−1に渡
して解釈し、プロセッサ1−4で実行する。出力(描
画)データは主メモリ1−3の中にあるデータ領域1−
3−2に一度格納し、グラフィックプロセッサ1−5で
再度処理してフレームバッファ1−6に送る。ディスプ
レイコントローラ1−7はフレームバッファ1−6を読
み込み、描画データをCRT1−7−1に表示する。こ
れらの処理制御はすべて、バスコントローラ1−2を介
して行なう。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a system according to an embodiment of the present invention. The input of the keyboard 1-1-1 or the pointing device 1-1-2 is performed by the input device controller 1-1.
Receive at. The input request is passed to the control program 1-3-1 in the main memory 1-3 via the bus controller 1-2, interpreted, and executed by the processor 1-4. The output (drawing) data is the data area 1- in the main memory 1-3.
Once stored in 3-2, the graphic processor 1-5 processes it again and sends it to the frame buffer 1-6. The display controller 1-7 reads the frame buffer 1-6 and displays the drawing data on the CRT 1-7-1. All of these processing controls are performed via the bus controller 1-2.

【0007】図2は本発明を適用した主メモリ1−3の
一実施例である。主メモリ1−3の中には少なくともア
プリケーション・プログラム2−1、制御プログラム1
−3−1としてオペレーティング・システム2−2と描
画制御プログラム2−3とデバイス・コントロール・プ
ログラム2−4が存在する。描画制御プログラム2−3
の中には優先描画制御処理部2−3−1が、デバイス・
コントロール・プログラム2−4の中には描画キュー制
御処理部2−4−1が存在する。また、データ領域1−
3−2には従来のデータの他に優先表示を行なうか否か
を示すシステムに1つ設けられたフラグのエリア2−5
とその優先描画するウィンドウの識別子を格納するエリ
ア2−6、2種類の描画データバッファ群2−7−1〜
2、2種類の描画データのキューリスト2−8−1〜2
が存在する。
FIG. 2 shows an embodiment of the main memory 1-3 to which the present invention is applied. At least the application program 2-1 and the control program 1 are included in the main memory 1-3.
An operating system 2-2, a drawing control program 2-3, and a device control program 2-4 are present as 3-1. Drawing control program 2-3
Among them, the priority drawing control processing unit 2-3-1 is
A drawing queue control processing unit 2-4-1 exists in the control program 2-4. Also, the data area 1-
In the area 3-2, there is provided a flag area 2-5 provided in the system for indicating whether or not priority display is performed in addition to the conventional data.
And an area 2-6 for storing the identifier of the window for preferential drawing, and two kinds of drawing data buffer groups 2-7-1 to 2-7-1
2 and 2 types of drawing data cuelists 2-8-1 and 2-2
Exists.

【0008】図3は描画データのキューリストと該リス
トで指定される通知情報の構成例である。本例では描画
キューは描画要求の通知情報3−2へのポインタ3−1
(各通知情報の格納アドレスの先頭アドレスを指す)の
リストで構成する。描画要求の通知情報3−2は少なく
とも描画データの描画先であるプレーン情報(プレーン
識別子)3−2−1、色などの描画属性情報3−2−
2、描画データのサイズ3−2−3、描画データバッフ
ァ2−7−1のアドレス値3−2−4を持つ。描画デー
タを格納しているバッファは複数あり、ポインタ3−3
でつないで連続して使用する。描画データのキューリス
トは2種類あり、それぞれ優先描画用のデータと非優先
描画用のデータのキューを管理する。
FIG. 3 shows an example of the structure of the drawing data queue list and the notification information designated by the list. In this example, the drawing queue is a pointer 3-1 to the drawing request notification information 3-2.
(Indicates the top address of the storage address of each notification information). The drawing request notification information 3-2 is at least plane information (plane identifier) 3-2-1 that is the drawing destination of the drawing data, and drawing attribute information 3-2- such as color.
2, the drawing data size 3-2-3, and the drawing data buffer 2-7-1 address value 3-2-4. There are multiple buffers that store drawing data, and pointer 3-3
Connect continuously and use continuously. There are two types of drawing data queue lists, each managing a queue of data for priority drawing and a queue of data for non-priority drawing.

【0009】図4は描画命令を処理するときの状態を説
明した図である。複数のアプリケーション・プログラム
2−1から要求された複数のウィンドウ描画やグラフィ
ックス描画を効率よく実行するために、描画制御プログ
ラム2−3は各描画処理を各々別々のプロセス群4−1
として生成する。生成された複数のプロセス群はオペレ
ーティング・システム2−2が並列に実行を行なう。
FIG. 4 is a diagram for explaining a state when processing a drawing command. In order to efficiently execute a plurality of window drawing and graphics drawing requested by a plurality of application programs 2-1, the drawing control program 2-3 performs each drawing process in a separate process group 4-1.
Generate as. The operating system 2-2 executes the plurality of generated process groups in parallel.

【0010】図5は本発明を適用した描画制御プログラ
ムの処理フローである。描画制御プログラムはアプリケ
ーションプログラムからコマンドを入力すると(5−
1)、コマンドの内容を解釈し(5−2)、優先描画の
有無の指定命令や描画命令でなければ該当処理を実行す
る(5−3)。優先描画の有無の指定命令であれば、指
定された優先描画の有無をチェックし(5−4)、優先
描画を行なわない指定であれば主メモリに確保したフラ
グに0を(5−5)、行なう指定であればフラグに1を
格納し(5−6)、コマンドに含まれている指定内容に
あてはまる優先描画の対象となるウィンドウの識別子
を、描画制御プログラム内で管理しているウィンドウ管
理情報から1つ検出し、主メモリに確保したエリアに格
納する(5−7)。コマンドが描画命令であれば、描画
制御プログラムは受け取った描画命令毎の描画データ算
出の計算を行なう(5−8)。描画要求を出す前に優先
描画フラグをチェックし(5−9)、1であれば優先描
画制御を行なう。まず、主メモリに格納してある優先描
画の対象のウィンドウの識別子と現在の描画対象である
ウィンドウの識別子とを比較して描画対象が優先描画ウ
ィンドウであるかを判定(5−10)、優先描画指定の
ウィンドウであれば描画データを優先描画データ用のバ
ッファに格納し(5−11)、優先描画指定ウィンドウ
でなければ非優先描画データ用バッファに格納する(5
−12)。優先描画指定がない場合には描画データはシ
ステムで定義した方の描画データ用バッファ、この例で
は非優先描画データ用バッファ、に格納する。そしてフ
レームメモリへのデータ転送を実行するデバイス・コン
トロール・プログラムに、データの転送を依頼する(5
−13)。
FIG. 5 is a processing flow of the drawing control program to which the present invention is applied. When the drawing control program inputs a command from the application program (5-
1) Interpret the contents of the command (5-2), and execute the corresponding process (5-3) unless the command is a designation command for the presence / absence of preferential drawing or a drawing command. If it is a command to specify the presence / absence of preferential drawing, the presence / absence of the specified preferential drawing is checked (5-4), and if it is specified not to perform preferential drawing, 0 is set to the flag secured in the main memory (5-5). If it is specified to be performed, 1 is stored in the flag (5-6), and the identifier of the window to be the preferential drawing that applies to the specified contents included in the command is managed in the drawing control program. One is detected from the information and stored in the area secured in the main memory (5-7). If the command is a drawing command, the drawing control program calculates drawing data for each received drawing command (5-8). Before issuing a drawing request, the priority drawing flag is checked (5-9), and if it is 1, priority drawing control is performed. First, it is determined whether the drawing target is the priority drawing window by comparing the identifier of the window of the priority drawing target stored in the main memory with the identifier of the window which is the current drawing target (5-10). If the window is the drawing designated window, the drawing data is stored in the priority drawing data buffer (5-11). If it is not the priority drawing designated window, it is stored in the non-priority drawing data buffer (5).
-12). If there is no priority drawing designation, the drawing data is stored in the drawing data buffer defined by the system, which is the non-priority drawing data buffer in this example. Then, the device control program that executes the data transfer to the frame memory is requested to transfer the data (5
-13).

【0011】図6はデバイス・コントロール・プログラ
ムでの制御フローである。要求を受け付けたデバイス・
コントロール・プログラムは、受け付けた内容を解析し
(6−1)、データ転送依頼であれば送られてきた描画
情報の通知情報(図3)の中の転送データの先頭アドレ
スを判定(6−2)、アドレス値が優先描画用のデータ
のアドレスの範囲であれば(6−3)、優先描画用キュ
ーのリストに(6−4)、非優先描画用のデータのアド
レスの範囲であれば非優先キューのリストにつなぐ(6
−5)。受け付けた内容がデータ転送実行であれば、2
種類のキューリストに基づき後述する2つの転送方法の
内のいずれかにより、データを読み出しフレームバッフ
ァへ転送する(6−6)。受け付けた内容がデータ転送
依頼でも実行でもない場合は、該当する処理を実行する
(6−7)。なお、優先表示データかの判断は、前述し
た描画データの先頭アドレスで判定する方法ではなく、
描画制御プログラムからデバイス・コントロール・プロ
グラムへの通知情報転送データの中にデータが優先表示
データであるかの情報を付加し、デバイス・コントロー
ル・プログラムがその内容を判定してキューリストにつ
なぐ方法でも良い。デバイス・コントロール・プログラ
ムが、キューリストからデータを読み出しフレームバッ
ファへ転送する時の転送方法として、少なくとも、優先
表示用データのキューリストがあれば優先表示用データ
から転送する方法と、優先表示用データと非優先表示用
データのキューリストから交互に読み込むことを含めた
任意の比率で転送する方法とを提供する。これらのうち
どの方法を選択するかを利用者は、専用コマンドまたは
システム変数を用いて描画制御プログラムで提供する優
先方法の識別子を設定する。専用コマンドを用いる場合
はコマンドを解析し、優先方法の識別子の内容をメイン
メモリ内のエリアに反映するプログラムも用意する。
FIG. 6 is a control flow in the device control program. The device that received the request
The control program analyzes the received content (6-1), and if it is a data transfer request, determines the start address of the transfer data in the sent drawing information notification information (FIG. 3) (6-2). ), If the address value is in the range of the address of the data for priority drawing (6-3), it is in the list of the priority drawing queue (6-4). Connect to the list of priority queues (6
-5). If the received content is data transfer execution, 2
The data is read out and transferred to the frame buffer by one of two transfer methods described later based on the type of queue list (6-6). If the received content is neither a data transfer request nor an execution, the corresponding process is executed (6-7). It should be noted that the determination as to whether the display data is the priority display data is not made by the above-described method of determining the start address of the drawing data,
It is also possible to add information as to whether the data is priority display data in the notification information transfer data from the drawing control program to the device control program, and the device control program judges the content and connects it to the cue list. good. When the device control program reads data from the cue list and transfers it to the frame buffer, at least the method of transferring from the priority display data if there is a cue list of priority display data and the priority display data And a method of transferring data at an arbitrary ratio including alternately reading from the queue list of non-priority display data. The user selects which of these methods is selected by using a dedicated command or system variable to set the identifier of the priority method provided by the drawing control program. When a dedicated command is used, the program is also prepared by analyzing the command and reflecting the contents of the priority method identifier in the area in the main memory.

【0012】図7は、システム変数を用いた時のオペレ
ーティング・システムもしくはオペレーティング・シス
テムに制御されるコマンド解析プログラムにおける処理
フローである。入力したコマンドが優先方法の指定コマ
ンドかを判定し(7−1)、指定コマンドであればコマ
ンドの引数を解析(7−2)、描画制御プログラムでも
識別可能な特定システム変数を生成し(7−3)、優先
方法の識別子を格納する(7−4)。描画制御プログラ
ムはその内容を読んで主メモリ内のエリアに反映する。
入力したコマンドが優先表示の取消コマンドならば(7
−5)、システム変数の値をクリアする(7−6)。優
先表示の指定/取消以外のコマンドであれば該当する処
理を実行する(7−7)。
FIG. 7 is a processing flow in the operating system or the command analysis program controlled by the operating system when the system variable is used. It is judged whether the input command is a designated command of the priority method (7-1), if it is a designated command, the command argument is analyzed (7-2), and a specific system variable that can be identified by the drawing control program is generated (7). -3), storing the priority method identifier (7-4). The drawing control program reads the contents and reflects them in the area in the main memory.
If the entered command is the priority display cancel command (7
-5), clear the value of the system variable (7-6). If it is a command other than the designation / cancellation of priority display, the corresponding process is executed (7-7).

【0013】優先ウィンドウの設定は、利用者がポイン
ティング・デバイスで指定したウィンドウとする。利用
者がポインティング・デバイスでウィンドウを指定した
場合、描画制御プログラムは入力デバイス・プログラム
からその座標値を得、その座標位置に表示しているウィ
ンドウを探してその識別子を主メモリ内のエリアに設定
する。ポインティング・デバイスで設定されないが優先
表示指定がある場合は、現在一番上に表示されているウ
ィンドウを優先ウィンドウとし、その識別子を主メモリ
内のエリアに設定する。
The priority window is set to the window designated by the user with the pointing device. When the user specifies a window with the pointing device, the drawing control program obtains its coordinate values from the input device program, searches for the window displayed at that coordinate position, and sets its identifier in an area in main memory. To do. If it is not set by the pointing device but priority display is specified, the window displayed at the top is set as the priority window and its identifier is set in the area in the main memory.

【0014】図8は優先表示制御を行なう際に行なって
いるウィンドウの排他制御を示したものである。描画命
令を解析し(8−1)、ウィンドウ操作命令であったな
らばその実行を行なう前にすべてのウィンドウが他の描
画処理プロセスで使われないように排他制御(以後ロッ
ク処理と称する)を実行する。1つでも任意のウィンド
ウが既にロック状態であれば、そのロックが解除される
まで待つ。そしてウィンドウのクリッピッングを計算
(8−3)、優先描画フラグをチェックし(8−4)、
0(優先描画指定なし)であればウィンドウ管理情報で
指定されている順に描画データの転送をデバイス・コン
トロール・プログラムに依頼し(8−5)、すべてのウ
ィンドウのロックを解除する(8ー6)。1(優先描画
指定あり)ならば計算したデータの中から優先描画デー
タである優先描画ウィンドウおよびその子孫ウィンドウ
を検出(8−7)、それらに対して描画データの転送を
デバイス・コントロール・プログラムに依頼し(8−
8)、優先描画ウィンドウおよびその子孫ウィンドウの
ロックを解除する(8−9)。その後すべてのウィンド
ウの描画依頼をデバイス・コントロール・プログラムに
出し(8−10)、残っている他のウィンドウ群のロッ
ク解除を行なう(8−11)。ウィンドウへのグラフィ
ックス描画処理を実行する場合は、計算を行なう前に対
象のウィンドウに対してロック処理を行なう(8−1
2)。対象ウィンドウが既にロック状態であれば、解除
されるまで待つ。描画データ計算を実行(8−13)、
描画データの転送をデバイス・コントロール・プログラ
ムに依頼し(8−14)、対象ウィンドウのロックを解
除する(8−15)。この全ウィンドウと任意のウィン
ドウの双方を対象に行なう排他制御処理により、マルチ
プロセス実行時での優先描画制御を行なう際のウィンド
ウ再描画処理やグラフィックス処理中の対象ウィンドウ
自身の領域情報と任意のウィンドウ内での複数のグラフ
ィックス描画同士の重なり合いの順序の保護が実現でき
る。また、この排他制御処理により、ウィンドウ操作プ
ロセスと同時に別プロセスで優先描画ウィンドウへのグ
ラフィックス描画処理を実行していた場合、優先描画ウ
ィンドウが計算/描画処理中は待ち状態になるが、優先
描画ウィンドウのアンロック処理の実行後はすぐに実行
を再開する。再開したプロセスは、優先描画以外のウィ
ンドウの描画要求を行なうプロセスと同時に実行するこ
とになる。
FIG. 8 shows the exclusive control of windows which is performed when the priority display control is performed. The drawing instruction is analyzed (8-1), and if it is a window operation instruction, exclusive control (hereinafter referred to as lock processing) is performed so that all windows are not used in other drawing processing processes before execution. Run. If any one window is already locked, wait until the lock is released. Then, the clipping of the window is calculated (8-3), the priority drawing flag is checked (8-4),
If 0 (no priority drawing is specified), the device control program is requested to transfer drawing data in the order specified by the window management information (8-5), and all windows are unlocked (8-6). ). If 1 (priority drawing is specified), the priority drawing window and its descendant windows which are the priority drawing data are detected from the calculated data (8-7), and the drawing data is transferred to them in the device control program. Request (8-
8) Unlock the priority drawing window and its descendant windows (8-9). After that, drawing requests for all windows are issued to the device control program (8-10), and the remaining windows are unlocked (8-11). When executing graphics drawing processing on a window, lock processing is performed on the target window before calculation (8-1).
2). If the target window is already locked, wait until it is released. Execute drawing data calculation (8-13),
The device control program is requested to transfer the drawing data (8-14), and the target window is unlocked (8-15). By this exclusive control processing for both all windows and arbitrary windows, window redrawing processing when performing priority drawing control during multi-process execution and area information of the target window itself during graphics processing and arbitrary It is possible to realize the protection of the overlapping order of a plurality of graphics drawings in a window. Also, by this exclusive control process, if the graphics drawing process to the priority drawing window is being executed in another process at the same time as the window operation process, the priority drawing window is in the waiting state during the calculation / drawing process, After the window unlock processing is executed, the execution is restarted immediately. The restarted process is executed at the same time as the process of requesting drawing of windows other than the preferential drawing.

【0015】[0015]

【発明の効果】他のウィンドウで描画自体に時間のかか
る処理を行っていても、指定したウィンドウへの描画を
優先して行なうことができ、特に利用者が対話的に任意
のウィンドウを使用している場合の応答性を向上するこ
とができる。また、優先表示の有無を実行時に利用者側
から指定することもでき、すでに実行可能なプログラム
であっても優先表示の実行対象とすることができる。応
答性の性能(描画の優先度)を実行時に利用者側から指
定することもできるため、利用者の意図に合わせて、任
意の1つのウィンドウの描画がある間は他のウィンドウ
の描画をすべて待たせて優先して表示することも可能に
できる。さらに、個々のウィンドウを対象にした排他制
御により、マルチプロセス実行であっても描画順序を保
証した上で指定ウィンドウの優先描画を可能にできる。
EFFECTS OF THE INVENTION Even if the drawing itself takes time-consuming processing in another window, the drawing in the designated window can be preferentially performed. In particular, the user can interactively use any window. It is possible to improve the responsiveness of the case. In addition, the presence or absence of prioritized display can be designated by the user at the time of execution, and even an already executable program can be targeted for execution of prioritized display. Responsiveness (drawing priority) can be specified from the user side at the time of execution. Therefore, according to the user's intention, while any one window is drawn, all other windows are drawn. It is also possible to make it wait and display it with priority. Furthermore, by exclusive control for each window, the drawing order can be guaranteed and priority drawing of the specified window can be performed even in multi-process execution.

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

【図1】本発明の一実施例のシステムブロック図であ
る。
FIG. 1 is a system block diagram of an embodiment of the present invention.

【図2】本発明を適用した主メモリの一実施例を示す図
である。
FIG. 2 is a diagram showing an embodiment of a main memory to which the present invention is applied.

【図3】描画データのキューリストと該リストで指定さ
れる通知情報の構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of a cue list of drawing data and notification information designated by the list.

【図4】描画命令を処理するときの状態を説明する図で
ある。
FIG. 4 is a diagram illustrating a state when processing a drawing command.

【図5】描画制御プログラムの処理フローを示す図であ
る。
FIG. 5 is a diagram showing a processing flow of a drawing control program.

【図6】デバイス・コントロール・プログラムの処理フ
ローを示す図である。
FIG. 6 is a diagram showing a processing flow of a device control program.

【図7】システム変数を用いた時のコマンド解析プログ
ラムにおける処理フローを示す図である。
FIG. 7 is a diagram showing a processing flow in a command analysis program when system variables are used.

【図8】優先表示制御を行なう際におけるウィンドウの
排他制御を示す図である。
FIG. 8 is a diagram showing exclusive control of windows when performing priority display control.

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

1−1 入力デバイスコントローラ 1−1−1 キーボード 1−1−2 マウス 1−2 バスコントローラ 1−3 主メモリ 1−3−1 制御プログラム 1−3−2 データ領域 1−4 プロセッサ群 1−5 グラフィックプロセッサ 1−6 フレームバッファ 1−7 ディスプレイコントローラ 1−7−1 CRT 2−1 アプリケーション・プログラム 2−2 オペレーティング・システム 2−3 描画制御プログラム 2−3−1 優先描画制御部 2−4 デバイス・コントロール・プログラム 2−4−1 描画キュー制御部 2−5 優先表示フラグ 2−6 ウィンドウの識別子 2−7−1〜2 描画データバッファ 2−8−1〜2 描画データのキューリスト 3−1 ポインタ 3−2 通知情報 3−2−1 描画先プレーン情報 3−2−2 描画属性情報 3−2−3 データサイズ 3−2−4 データバッファアドレス値 1-1 Input Device Controller 1-1-1 Keyboard 1-1-2 Mouse 1-2 Bus Controller 1-3 Main Memory 1-3-1 Control Program 1-3-2 Data Area 1-4 Processor Group 1-5 Graphic processor 1-6 Frame buffer 1-7 Display controller 1-7-1 CRT 2-1 Application program 2-2 Operating system 2-3 Drawing control program 2-3-1 Priority drawing controller 2-4 Device Control program 2-4-1 Drawing queue control unit 2-5 Priority display flag 2-6 Window identifier 2-7-1 and 2 Drawing data buffer 2-8-1 and 2 Drawing data queue list 3-1 Pointer 3-2 Notification information 3-2-1 Drawing destination plane information 3-2-2 Drawing attribute information 3-2-3 Data size 3-2-4 Data buffer address value

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 昭次 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 幸田 恵理子 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 桑名 利幸 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 萬田 雅人 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア開発本部内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Akuji Nakamura 1099, Ozenji, Aso-ku, Kawasaki-shi, Kanagawa Inside the Hitachi, Ltd. System Development Laboratory (72) Inventor Eriko Koda 1099, Ozen-ji, Aso-ku, Kawasaki, Kanagawa Hitachi, Ltd. System Development Laboratory (72) Inventor Toshiyuki Kuwana 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Hitachi Ltd. Omika Plant (72) Inventor Masato Manta 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Bachi Co., Ltd. Hitachi, Ltd. Software Development Division

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 1つ以上のプロセッサを備え、前記プロ
セッサが前記プロセッサ上で動作する複数の描画命令に
対するプロセスを並列実行し描画装置に描画する並列描
画処理装置において、 優先描画を行なうか否かを指定する命令に応じて優先描
画の実行の有無および優先描画対象のウィンドウを設
定、記憶する手段と、 並列に処理された描画命令での計算の結果得られる複数
の描画データから、前記優先描画の実行の有無および前
記優先描画対象のウィンドウの識別子に基づき任意の描
画データの優先描画の有無を識別する手段と、 非優先描画の描画データのウィンドウへの描画に優先し
て、優先描画の描画データを優先描画のウィンドウに描
画する手段を備え、任意の描画データの優先描画を行な
うことを特徴とする並列描画処理装置。
1. A parallel drawing processing apparatus comprising one or more processors, wherein the processors execute processes corresponding to a plurality of drawing instructions in parallel on the processors and draw in the drawing apparatus, whether or not to perform preferential drawing. Whether or not priority drawing is executed in accordance with an instruction that specifies the priority drawing target window, and means for setting and storing the window for priority drawing, and the plurality of drawing data obtained as a result of calculation by the drawing commands processed in parallel, the priority drawing is performed. Means for identifying whether or not there is priority drawing of arbitrary drawing data based on the presence or absence of execution of the window for priority drawing and the priority drawing of the drawing data of the non-priority drawing in the window. A parallel drawing processing device comprising means for drawing data in a priority drawing window and performing preferential drawing of arbitrary drawing data.
【請求項2】 請求項1記載の並列描画処理装置におい
て、 前記優先描画の描画データと前記非優先描画データを夫
々別々に格納、管理する手段と、 優先描画の描画データが格納されているとき、該優先描
画の描画データを優先して読み出し描画装置に転送する
手段を備え、該優先描画の描画データを前記優先描画の
ウィンドウに描画することを特徴とする並列描画処理装
置。
2. The parallel drawing processing apparatus according to claim 1, wherein the drawing data for the priority drawing and the non-priority drawing data are separately stored and managed, and the drawing data for the priority drawing is stored. A parallel drawing processing device, comprising means for preferentially reading the drawing data of the preferential drawing and transferring it to a drawing device, and drawing the drawing data of the preferential drawing in the window of the preferential drawing.
【請求項3】 請求項1記載の並列描画処理装置におい
て、 前記優先描画の描画データと前記非優先描画データを夫
々別々に格納、管理する手段と、 優先描画の描画データと非優先描画データを任意の比率
で読み出し描画装置に転送する手段を備え、該優先描画
の描画データを前記優先描画のウィンドウに描画するこ
とを特徴とする並列描画処理装置。
3. The parallel drawing processing apparatus according to claim 1, wherein the drawing data for the priority drawing and the non-priority drawing data are separately stored and managed, and the drawing data for the priority drawing and the non-priority drawing data are stored. A parallel drawing processing device, comprising means for reading out and transferring to a drawing device at an arbitrary ratio, and drawing drawing data of the preferential drawing in the window of the preferential drawing.
【請求項4】 請求項1記載の並列描画処理装置におい
て、 任意の描画データの優先描画の有無を利用者が指定する
手段と、優先描画するウィンドウを利用者が指定する手
段とを設けたことを特徴とする並列描画処理装置。
4. The parallel drawing processing apparatus according to claim 1, further comprising a means for allowing a user to specify the presence / absence of preferential drawing of arbitrary drawing data and a means for specifying a window for preferential drawing. A parallel drawing processing device.
【請求項5】 請求項1記載の並列描画処理装置におい
て、 描画中のウィンドウの操作の排他制御に関して、ウィン
ドウ全体の排他制御を行なう手段と、ウィンドウ毎の排
他制御を行なう手段とを設けたことを特徴とする並列描
画処理装置。
5. The parallel drawing processing apparatus according to claim 1, further comprising means for performing exclusive control of the entire window and means for performing exclusive control for each window regarding exclusive control of operation of the window during drawing. A parallel drawing processing device.
【請求項6】 請求項3記載の並列描画処理装置におい
て、 前記優先描画の描画データと非優先描画データとの任意
の比率を利用者が指定する手段を設けたことを特徴とす
る並列描画処理装置。
6. The parallel drawing processing apparatus according to claim 3, further comprising means for allowing a user to specify an arbitrary ratio between the drawing data of the priority drawing and the non-priority drawing data. apparatus.
JP6062046A 1994-03-07 1994-03-07 Parallel plotting processor Pending JPH07244572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6062046A JPH07244572A (en) 1994-03-07 1994-03-07 Parallel plotting processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6062046A JPH07244572A (en) 1994-03-07 1994-03-07 Parallel plotting processor

Publications (1)

Publication Number Publication Date
JPH07244572A true JPH07244572A (en) 1995-09-19

Family

ID=13188837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6062046A Pending JPH07244572A (en) 1994-03-07 1994-03-07 Parallel plotting processor

Country Status (1)

Country Link
JP (1) JPH07244572A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8004534B2 (en) 2007-06-29 2011-08-23 Kabushiki Kaisha Toshiba Graphics processing method, graphics processor and video reproducing apparatus
JP2013504127A (en) * 2009-09-03 2013-02-04 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Hardware based scheduling of GPU work
WO2020213401A1 (en) * 2019-04-16 2020-10-22 株式会社デンソー Vehicular device, and control method for vehicular device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8004534B2 (en) 2007-06-29 2011-08-23 Kabushiki Kaisha Toshiba Graphics processing method, graphics processor and video reproducing apparatus
JP2013504127A (en) * 2009-09-03 2013-02-04 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Hardware based scheduling of GPU work
WO2020213401A1 (en) * 2019-04-16 2020-10-22 株式会社デンソー Vehicular device, and control method for vehicular device
JP2020177075A (en) * 2019-04-16 2020-10-29 株式会社デンソー Vehicle device and vehicle device control method
CN113727878A (en) * 2019-04-16 2021-11-30 株式会社电装 Vehicle device and control method for vehicle device

Similar Documents

Publication Publication Date Title
JP2770598B2 (en) Graphic display method and apparatus
US5715459A (en) Advanced graphics driver architecture
US5687376A (en) System for monitoring performance of advanced graphics driver including filter modules for passing supported commands associated with function calls and recording task execution time for graphic operation
US5471579A (en) Graphics system using parallel processors and processing method of the same
JPH07282272A (en) Drawing processing system
JP2673897B2 (en) Graphic display device
US6791552B2 (en) Digital video processing
US5430870A (en) Saving and restoring traversal state attributes of a directed acyclic graph structure network for a parent structure when it invokes a child structure for traversal
JPH07244572A (en) Parallel plotting processor
EP1947602B1 (en) Information processing device, graphic processor, control processor, and information processing method
JPH10240700A (en) Graphics parallel processor
JP2621463B2 (en) Graphic processing unit
JP2747055B2 (en) Graphic display device
JPS62285186A (en) Input method for multi-window system
EP0595841A1 (en) Method and apparatus for processing concurrent pick events
JP7180516B2 (en) VEHICLE DEVICE, VEHICLE DEVICE CONTROL METHOD
JP3102421B2 (en) Image processing apparatus and method
JPH0528276A (en) Graphic plotting system in multi-processor system
JP2747153B2 (en) Response signal distribution method
JP3459757B2 (en) Image data input device and method
JPS6340971A (en) Multiprocessor image processor
JPS6297076A (en) Display method for multi-window
JPH0877367A (en) Image processor and image data processor using it
JPS63257830A (en) Loosely coupled compound system
JPS63271672A (en) Graphic output controller