JP3216556B2 - Window information transfer method and window information transfer method - Google Patents

Window information transfer method and window information transfer method

Info

Publication number
JP3216556B2
JP3216556B2 JP35009896A JP35009896A JP3216556B2 JP 3216556 B2 JP3216556 B2 JP 3216556B2 JP 35009896 A JP35009896 A JP 35009896A JP 35009896 A JP35009896 A JP 35009896A JP 3216556 B2 JP3216556 B2 JP 3216556B2
Authority
JP
Japan
Prior art keywords
window
data
graphic
window information
storage unit
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.)
Expired - Fee Related
Application number
JP35009896A
Other languages
Japanese (ja)
Other versions
JPH10187125A (en
Inventor
裕子 小谷
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP35009896A priority Critical patent/JP3216556B2/en
Publication of JPH10187125A publication Critical patent/JPH10187125A/en
Application granted granted Critical
Publication of JP3216556B2 publication Critical patent/JP3216556B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【発明の属する技術分野】本発明は、ワークステーショ
ンやパーソナルコンピュータのウィンドウを描画するた
めのデータ(以下、ウィンドウ情報とする)をグラフィ
ックアクセラレータへ効率良く転送するウィンドウ情報
転送方式、ウィンドウ情報転送方法、およびウィンドウ
情報転送プログラムを記録したコンピュータ読み取り可
能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a window information transfer method and a window information transfer method for efficiently transferring data for drawing a window of a workstation or personal computer (hereinafter referred to as window information) to a graphic accelerator. And a computer-readable recording medium recording a window information transfer program.

【0001】[0001]

【従来の技術】特開平4−290150号公報には、ワ
ークステーション・プロセサとグラフィックス・アダプ
タ間で双方向にデータを転送する技術が記載されてい
る。該従来の技術においては、ワークステーション・プ
ロセサとグラフィックス・アダプタ間のデータ転送は複
数のFIFOバッファによって扱われ、各々のFIFO
バッファは独立して双方向にデータを転送することがで
きる。ワークステーション・プロセサからグラフィック
ス・アダプタへの転送において、FIFOバッファのデ
ータが高スレッショルドを越えると高スレッショルド割
り込みを発生させ、FIFOバッファへの書き込みアプ
リケーションを中断させている。FIFOバッファのデ
ータが低スレッショルドを下回ると低スレッショルド割
り込みを発生させ、書き込みアプリケーションを再開さ
せている。
2. Description of the Related Art Japanese Patent Laying-Open No. 4-290150 describes a technique for transferring data between a workstation processor and a graphics adapter in both directions. In the prior art, the data transfer between the workstation processor and the graphics adapter is handled by a plurality of FIFO buffers, each FIFO
The buffers can independently transfer data in both directions. In the transfer from the workstation processor to the graphics adapter, when the data in the FIFO buffer exceeds the high threshold, a high threshold interrupt is generated, interrupting the application for writing to the FIFO buffer. When the data in the FIFO buffer falls below the low threshold, a low threshold interrupt is generated to restart the writing application.

【0002】[0002]

【発明が解決しようとする課題】しかしながら、この従
来の技術においては、ワークステーション・プロセサか
らFIFOバッファへ一度に大量のデータが書き込まれ
た場合、高スレッショルド割り込みが発生しやすく、低
スレッショルド割り込みが発生するまで書き込みアプリ
ケーションは中断しているため、効率的にデータ転送が
行うことができないという問題点がある。
However, in this prior art, when a large amount of data is written from the workstation processor to the FIFO buffer at one time, a high threshold interrupt is easily generated, and a low threshold interrupt is generated. Until the writing application is suspended, there is a problem that data transfer cannot be performed efficiently.

【0003】本発明の目的は、ウィンドウ情報をグラフ
ィックアクセラレータへ効率良く転送することができる
ようにすることにある。
An object of the present invention is to enable window information to be efficiently transferred to a graphic accelerator.

【0004】[0004]

【課題を解決するための手段】本発明の第1のウィンド
ウ情報転送方式は、CPUが保持するウィンドウを描画
するためのウィンドウ描画データをダイレクトメモリア
クセス方式により読み込み、図形データとともに表示装
置に描画するグラフィックアクセラレータを備えたウィ
ンドウ情報転送方式であって、前記CPUは、前記ウィ
ンドウ描画データを保持するウィンドウ情報記憶部と、
前記ウィンドウ情報記憶部に記憶されている前記ウィン
ドウ描画データのデータ量が予め設定した閾値よりも多
量か否かを判定するデータ量判定手段と、前記データ量
判定手段を起動し、前記ウィンドウ情報記憶部に格納さ
れた前記ウィンドウ描画データのデータ量が多量である
と判定した場合は、該ウィンドウ情報記憶部内の該ウィ
ンドウ描画データの格納アドレスを先入れ先出しバッフ
ァに格納する図形描画プログラム手段とを備え、前記グ
ラフィックアクセラレータは、前記図形描画プログラム
手段により前記先入れ先出しバッファに格納された前記
ウィンドウ描画データの前記ウィンドウ情報記憶部内に
おける格納アドレスを参照し、該ウィンドウ情報記憶部
の該格納アドレスが指す位置から該ウィンドウ描画デー
タをダイレクトメモリアクセス方式により読み込み、前
記図形データとともに前記表示装置に描画する図形描画
処理手段を備え、さらに、前記図形描画プログラム手段
が、前記データ量判定手段を起動し、前記ウィンドウ情
報記憶部に格納された前記ウィンドウ描画データのデー
タ量が多量ではないと判定した場合に、該ウィンドウ情
報記憶部に格納された該ウィンドウ描画データを前記先
入れ先出しバッファに格納し、前記図形描画処理手段
が、前記図形描画プログラム手段により前記先入れ先出
しバッファに格納された前記ウィンドウ描画データを読
み込み、前記図形データとともに前記表示装置に描画す
ることを特徴とする。
SUMMARY OF THE INVENTION A first window of the present invention
C) The information transfer method draws the window held by the CPU.
Window drawing data for direct memory
Access method and display with graphic data.
Window with a graphics accelerator
Window information transfer method, wherein the CPU
A window information storage unit for holding window drawing data;
The window stored in the window information storage unit
The amount of dough drawing data is larger than the preset threshold.
Data amount determining means for determining whether or not the data amount;
Activate the judging means and store it in the window information storage unit.
The data amount of the window drawing data is large
Is determined in the window information storage unit.
First-in first-out buffer for the storage address of window drawing data
Graphic drawing program means for storing in the
The graphic accelerator is the graphic drawing program.
Means stored in the first-in first-out buffer by the means
In the window information storage unit of the window drawing data,
The window information storage unit refers to the storage address in the window information storage unit.
From the position indicated by the storage address of the window drawing data.
Data by the direct memory access method
Graphic drawing to be drawn on the display device together with the graphic data
Processing means, further comprising the graphic drawing program means
Starts the data amount determination means, and
Data of the window drawing data stored in the information storage unit.
If it is determined that the data amount is not
The window drawing data stored in the
The graphic drawing processing means is stored in a FIFO buffer.
By the graphic drawing program means.
Read the window drawing data stored in the buffer
And drawing it on the display device together with the graphic data.
It is characterized by that.

【0005】本発明の第2のウィンドウ情報転送方式
は、第1のウィンドウ情報転送方式において、前記図形
描画プログラム手段が、前記図形データを描画中の前記
ウィンドウに表示上の変化が生じた時点を契機として、
前記データ量判定手段を起動することを特徴とする。
A second window information transfer method according to the present invention
Is the first window information transfer method.
Drawing program means for drawing the graphic data
When the display changes in the window,
Activating the data amount determination means.

【0006】本発明の第3のウィンドウ情報転送方式
は、第1または第2のウィンドウ情報転送方式におい
て、前記ウィンドウ描画データは、前記ウィンドウを少
なくとも一つの矩形領域に分割した場合の、各矩形領域
の位置情報の集合であり、各位置情報は対応する矩形領
域を示す2点の座標データの組であることを特徴とする
請求項1または2記載のウィンドウ情報転送方式。
A third window information transfer method according to the present invention
Is the first or second window information transfer method.
In addition, the window drawing data reduces the number of windows.
Each rectangular area when divided into at least one rectangular area
Is a set of location information, and each location information is
It is a set of coordinate data of two points indicating an area
The window information transfer method according to claim 1.

【0007】本発明の第1のウィンドウ情報転送方法
は、CPUが、ウィンドウ描画データを保持するウィン
ドウ情報記憶部に記憶されている該ウィンドウ描画デー
タのデータ量が予め設定した閾値よりも多量か否かを判
定するデータ量判定ステップと、前記CPUが、前記デ
ータ量判定ステップを実行し、前記ウィンドウ情報記憶
部に格納された前記ウィンドウ描画データのデータ量が
多量であると判定した場合は、該ウィンドウ情報記憶部
内の該ウィンドウ描画データの格納アドレスを先入れ先
出しバッファに格納する図形描画プログラムステップ
と、グラフィックアクセラレータが、前記図形描画プロ
グラムステップで前記先入れ先出しバッファに格納され
た前記ウィンドウ描画データの前記ウィンドウ情報記憶
部内における格納アドレスを参照し、該ウィンドウ情報
記憶部の該格納アドレスが指す位置から該ウィンドウ描
画データをダイレクトメモリアクセス方式により読み込
み、図形データとともに表示装置に描画する図形描画処
理ステップとを含むことを特徴とするウィンドウ情報転
送方法であって、さらに、前記図形描画プログラムステ
ップは、前記データ量判定ステップを実行し、前記ウィ
ンドウ情報記憶部に格納された前記ウィンドウ描画デー
タのデータ量が多量ではないと判定した場合には、該ウ
ィンドウ情報記憶部に格納された該ウィンドウ描画デー
タを前記先入れ先出しバッファに格納し、前記図形描画
処理ステップは、前記図形描画プログラムステップで前
記先入れ先出しバッファに格納された前記ウィンドウ描
画データを込み、前記図形データとともに前記表示装置
に描画することを特徴とする。
A first window information transfer method according to the present invention
Indicates that the CPU holds the window drawing data.
The window drawing data stored in the window information storage unit
Data amount is larger than a preset threshold.
Determining the amount of data to be determined;
Data amount determination step, and stores the window information.
The data amount of the window drawing data stored in the
If it is determined that the amount is large, the window information storage unit
The storage address of the window drawing data in
Figure drawing program step to store in output buffer
And the graphics accelerator
Stored in the first-in-first-out buffer in the
Storing the window information of the window drawing data
Refers to the storage address in the section, the window information
The window drawing starts from the position indicated by the storage address in the storage unit.
Reads image data by direct memory access method
Figure drawing process for drawing on the display device together with the figure data.
Window information conversion
Transmission method, further comprising:
Executing the data amount determining step, and
Window drawing data stored in the window information storage unit.
If it is determined that the data amount of the data is not
Window drawing data stored in the window information storage unit.
Data in the first-in first-out buffer, and
The processing step is a step before the graphic drawing program step.
The window drawing stored in a first-in first-out buffer
Image data, and the display device together with the graphic data.
Is drawn.

【0008】本発明の第2のウィンドウ情報転送方法
は、第1のウィンドウ情報転送方法において、前記図形
描画プログラムステップが、前記図形データを描画中の
前記ウィンドウに表示上の変化が生じた時点を契機とし
て、前記データ量判定ステップを実行することを特徴と
する。
[0008] A second window information transfer method according to the present invention.
In the first window information transfer method, the figure
A drawing program step for drawing the graphic data
Triggered by a change in the display of the window
Performing the data amount determination step.
I do.

【0009】本発明の第3のウィンドウ情報転送方法
は、第1または第2のウィンドウ情報転送方法におい
て、前記ウィンドウ描画データは、前記ウィンドウを少
なくとも一つの矩形領域に分割した場合の、各矩形領域
の位置情報の集合であり、各位置情報は対応する矩形領
域を示す2点の座標データの組であることを特徴とす
る。
A third window information transfer method according to the present invention
Is the first or second window information transfer method.
In addition, the window drawing data reduces the number of windows.
Each rectangular area when divided into at least one rectangular area
Is a set of location information, and each location information is
It is a set of coordinate data of two points indicating an area.
You.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】[0025]

【発明の実施の形態】次に本発明の一実施例について図
面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0026】図1を参照すると、本発明の一実施例は、
ワークステーションやパーソナルコンピュータのCPU
とグラフィックアクセラレータ4とがバスで接続されて
構成される。CPUは、図形描画プログラム1と、ウィ
ンドウ情報を保持するウィンドウ情報記憶部2と、およ
びウィンドウ情報のデータ量を判定するデータ量判定手
段3とを含む。グラフィックアクセラレータ4は、FI
FOバッファ41と、図形描画処理部42とを含む。さ
らに、図形描画処理部42はDMA(Direct Memory Acc
ess)転送を行なうDMAコントローラ421を含む。
Referring to FIG. 1, one embodiment of the present invention is:
Workstation and personal computer CPU
And the graphic accelerator 4 are connected by a bus. The CPU includes a graphic drawing program 1, a window information storage unit 2 for holding window information, and a data amount determining unit 3 for determining a data amount of the window information. The graphic accelerator 4 is FI
An FO buffer 41 and a graphic drawing processing unit 42 are included. Further, the graphic drawing processing unit 42 performs DMA (Direct Memory Acc
ess) includes a DMA controller 421 that performs transfer.

【0027】次に、本発明の一実施例について、図1〜
図8を参照して詳細に説明する。
Next, an embodiment of the present invention will be described with reference to FIGS.
This will be described in detail with reference to FIG.

【0028】まず、システム起動時やウィンドウシステ
ム起動時など、図形描画プログラム1が動作する前に、
ウィンドウ情報記憶部2の先頭アドレスAddrをグラ
フィックアクセラレータ4に通知しておく。
First, before the graphic drawing program 1 operates, such as when the system is started or when the window system is started,
The start address Addr of the window information storage unit 2 is notified to the graphic accelerator 4.

【0029】CPUからグラフィックアクセラレータ4
へのFIFOバッファ41を介した情報伝達形式は、図
2に示すようにコマンド部とデータ部とからなり、コマ
ンド部は“頂点座標”や“色”等のデータの種別を表す
コードがセットされ、データ部には座標値やRGB値と
いった実データがセットされる。データ部の長さは各コ
マンドによって異なっており、ウィンドウ情報の場合は
そのデータ量に応じた長さになる。CPUからの各種情
報を受け取ったグラフィックアクセラレータ4は、コマ
ンド部を解析して対応するモジュールへデータ部の実デ
ータを渡し、図形処理が行わせる。
From the CPU to the graphic accelerator 4
As shown in FIG. 2, the information transmission format via the FIFO buffer 41 includes a command portion and a data portion, and the command portion is set with a code indicating a type of data such as “vertex coordinates” and “color”. In the data section, actual data such as coordinate values and RGB values are set. The length of the data portion differs depending on each command. In the case of window information, the length is in accordance with the data amount. Upon receiving various information from the CPU, the graphic accelerator 4 analyzes the command part, passes actual data of the data part to the corresponding module, and performs graphic processing.

【0030】図形描画プログラム1があるウィンドウW
1に図形データの描画を行なっている最中に、そのウィ
ンドウの一部が他のウィンドウW2によって隠された場
合、ウィンドウシステムによってウィンドウ情報記憶部
2内のW1のウィンドウ情報が図3のように更新され
る。
Window W containing figure drawing program 1
In the case where a part of the window is hidden by another window W2 while the graphic data is being drawn in 1, the window information of the window W1 in the window information storage unit 2 is changed by the window system as shown in FIG. Be updated.

【0031】ウィンドウ情報は、そのウィンドウが画面
上で表示されている部分をいくつかの矩形領域に分割
し、分割された矩形領域の2点の座標で表される。図4
のようにウィンドウが画面上に配置されている場合、中
央に表示されているウィンドウは、、の3つの矩
形領域に分割され、矩形領域はA(Xa,Ya)、E(Xe,Y
e)、矩形領域はC(Xc,Yc)、H(Xh,Yh)、矩形領域は
F(Xf,Yf)、J(Xj,Yj)の2点で表される。したがって、
複雑に重なり合ったウィンドウほど分割数が多くなるた
めウィンドウ情報のデータ量も多くなり、例えば円形の
ウィンドウが重なった場合、そのデータ量はかなりの大
きさになる。
The window information is obtained by dividing a portion where the window is displayed on the screen into several rectangular regions, and is represented by coordinates of two points of the divided rectangular regions. FIG.
When the window is arranged on the screen as in, the window displayed at the center is divided into three rectangular areas, and the rectangular areas are A (Xa, Ya) and E (Xe, Y
e), the rectangular area is represented by two points C (Xc, Yc) and H (Xh, Yh), and the rectangular area is represented by F (Xf, Yf) and J (Xj, Yj). Therefore,
The more complicatedly overlapping windows are, the larger the number of divisions is, so the data amount of window information is also large. For example, when circular windows overlap, the data amount becomes considerably large.

【0032】ウィンドウ情報記憶部2内のW1のウィン
ドウ情報の変更にともないW1の新しいウィンドウ情報
をグラフィックアクセラレータ4に通知する必要が生じ
る。
When the window information of W1 in the window information storage unit 2 is changed, it becomes necessary to notify the graphic accelerator 4 of new window information of W1.

【0033】図形描画プログラム1は、データ量判定手
段3においてW1のウィンドウ情報のデータ量を判定す
る。もし、そのデータ量がある値より少ない場合、従来
のようにそのウィンドウ情報すべてを図5に示す形でF
IFOバッファ41に書き込むことによってグラフィッ
クアクセラレータ4へウィンドウ情報を転送する。デー
タ部には分割された矩形領域の個数分の座標値が連な
る。
In the graphic drawing program 1, the data amount determining means 3 determines the data amount of the window information of W1. If the amount of data is smaller than a certain value, all the window information is stored in the form shown in FIG.
The window information is transferred to the graphic accelerator 4 by writing to the I / O buffer 41. In the data portion, coordinate values for the number of the divided rectangular areas continue.

【0034】ウィンドウ情報のデータ量がある値より多
い場合は、図6に示すW1のオフセット値Offset
1、つまりW1のウィンドウ情報がウィンドウ情報記憶
部2の先頭からどれだけ離れた位置に格納されているか
表すデータとその領域長Length1とを図7に示す
形でFIFOバッファ41に書き込む。データ量判定手
段3において比較される値は、最適な値をシステム起動
時に設定しておく。
When the data amount of the window information is larger than a certain value, the offset value Offset of W1 shown in FIG.
1, ie, data indicating how far the window information of W1 is stored from the head of the window information storage unit 2 and its area length Length1 are written in the FIFO buffer 41 in the form shown in FIG. As the value to be compared in the data amount determining means 3, an optimum value is set at the time of starting the system.

【0035】図8を参照すると、図形描画処理部42
は、FIFOバッファ41を介してコマンドを受け取り
(ステップ81)、該コマンドが“ウィンドウ情報オフ
セット”であると判定した場合(ステップ82)には、
DMAコントローラ421において、(事前に通知され
ていたウィンドウ情報記憶部2の先頭アドレスAddr
+受け取ったウィンドウ情報のオフセット値Offse
t1)のアドレスを先頭にし、そこからLength1
の長さ分のCPUの領域から、W1のウィンドウ情報を
DMA転送により取り込む(ステップ83)ことによっ
てウィンドウの表示を行なう。
Referring to FIG. 8, the graphic drawing processing unit 42
Receives a command via the FIFO buffer 41 (step 81), and when it is determined that the command is a “window information offset” (step 82),
In the DMA controller 421, (the start address Addr of the window information storage unit 2 notified in advance is
+ Offset value Offse of received window information
The address of t1) is first, and Length1 is
The window information is displayed by fetching the window information of W1 by DMA transfer from the CPU area corresponding to the length (step 83).

【0036】[0036]

【発明の効果】以上説明したように、本発明は、ウィン
ドウ情報のデータ量が多い場合に、該ウィンドウ情報そ
のものをFIFOバッファに格納するのではなく、該ウ
ィンドウ情報のCPU内の格納先のアドレスをFIFO
バッファに格納し、該ウィンドウ情報を該格納先からD
MA転送によってグラフィックアクセラレータへ転送す
ることにより、ウィンドウ情報をグラフィックアクセラ
レータへ効率良く転送することができる効果を有してい
る。
As described above, according to the present invention, when the data amount of the window information is large, the window information itself is not stored in the FIFO buffer, but the address of the storage destination of the window information in the CPU is stored. FIFO
And stores the window information in D from the storage destination.
Transferring the window information to the graphic accelerator by MA transfer has the effect of efficiently transferring the window information to the graphic accelerator.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】本発明の一実施例における図形描画プログラム
1からグラフィックアクセラレータ4への情報伝達の形
式を示す図である。
FIG. 2 is a diagram showing a format of information transmission from a graphic drawing program 1 to a graphic accelerator 4 in one embodiment of the present invention.

【図3】本発明の一実施例におけるウィンドウに重なり
が生じたときのウィンドウ情報記憶部2の内容の変化を
示す図である。
FIG. 3 is a diagram showing a change in the contents of a window information storage unit 2 when windows overlap in one embodiment of the present invention.

【図4】本発明の一実施例におけるウィンドウに重なり
が生じたときのウィンドウの分割方法を示す図である。
FIG. 4 is a diagram illustrating a method of dividing a window when windows overlap in one embodiment of the present invention.

【図5】本発明の一実施例における図形描画プログラム
からグラフィックアクセラレータへウィンドウ情報を伝
達する形式を示す図である。
FIG. 5 is a diagram showing a format for transmitting window information from a graphic drawing program to a graphic accelerator according to an embodiment of the present invention.

【図6】本発明の一実施例におけるウィンドウ情報記憶
部2の内容を示す図である。
FIG. 6 is a diagram showing contents of a window information storage unit 2 according to one embodiment of the present invention.

【図7】本発明の一実施例における図形描画プログラム
1からグラフィックアクセラレータ4へウィンドウ情報
が格納されている領域のオフセット値とその領域長を伝
達する形式を示す図である。
FIG. 7 is a diagram showing a format for transmitting an offset value of a region where window information is stored and a length of the region from the graphic drawing program 1 to the graphic accelerator 4 in one embodiment of the present invention.

【図8】本発明の一実施例における図形描画処理部42
の処理を示す流れ図である。
FIG. 8 is a diagram drawing processing unit 42 according to an embodiment of the present invention.
6 is a flowchart showing the processing of FIG.

【符号の説明】 1 図形描画プログラム 2 ウィンドウ情報記憶部 3 データ量判定手段 4 グラフィックアクセラレータ 41 FIFOバッファ 42 図形描画処理部 421 DMAコントローラ[Description of Signs] 1 Graphic drawing program 2 Window information storage unit 3 Data amount determination means 4 Graphic accelerator 41 FIFO buffer 42 Graphic drawing processing unit 421 DMA controller

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 CPUが保持するウィンドウを描画する1. Drawing a window held by a CPU
ためのウィンドウ描画データをダイレクトメモリアクセWindow drawing data for direct memory access
ス方式により読み込み、図形データとともに表示装置にReads the data by the display method and displays it together with the graphic data
描画するグラフィックアクセラレータを備えたウィンドWindow with graphics accelerator to draw
ウ情報転送方式であって、C) an information transfer method, 前記CPUは、The CPU is 前記ウィンドウ描画データを保持するウィンドウ情報記A window information record that holds the window drawing data
憶部と、Omobe, 前記ウィンドウ情報記憶部に記憶されている前記ウィンThe window stored in the window information storage unit
ドウ描画データのデータ量が予め設定した閾値よりも多The amount of dough drawing data is larger than the preset threshold.
量か否かを判定するデータ量判定手段と、Data amount determining means for determining whether the amount is 前記データ量判定手段を起動し、前記ウィンドウ情報記Activating the data amount determination means and writing the window information
憶部に格納された前記ウィンドウ描画データのデータ量Data amount of the window drawing data stored in the storage unit
が多量であると判定した場合は、該ウィンドウ情報記憶If the window information is determined to be large, the window information storage
部内の該ウィンドウ描画データの格納アドレスを先入れFirst put the storage address of the window drawing data in the section
先出しバッファに格納する図形描画プログラム手段とをThe figure drawing program means to be stored in the advance buffer is
備え、Prepared, 前記グラフィックアクセラレータは、The graphic accelerator is 前記図形描画プログラム手段により前記先入れ先出しバThe first-in first-out buffer is provided by the graphic drawing program means.
ッファに格納された前記ウィンドウ描画データの前記ウBuffer of the window drawing data stored in the buffer.
ィンドウ情報記憶部内における格納アドレスを参照し、Referring to the storage address in the window information storage unit,
該ウィンドウ情報記憶部の該格納アドレスが指す位置かIs the location pointed to by the storage address in the window information storage
ら該ウィンドウ描画データをダイレクトメモリアクセスDirect memory access to the window drawing data
方式により読み込み、前記図形データとともに前記表示Read by the method and display with graphic data
装置に描画する図形描画処理手段を備え、A graphic drawing processing means for drawing on the device, さらに、further, 前記図形描画プログラム手段が、前記データ量判定手段The graphic drawing program means may include the data amount determination means.
を起動し、前記ウィンドウ情報記憶部に格納された前記Is activated, and the window information stored in the window information storage unit is
ウィンドウ描画データのデータ量が多量ではないと判定Judge that the amount of window drawing data is not large
した場合に、該ウィンドウ情報記憶部に格納された該ウThe window information stored in the window information storage unit.
ィンドウ描画データを前記先入れ先出しバッファに格納Store window drawing data in the first-in first-out buffer
し、And 前記図形描画処理手段が、前記図形描画プログラム手段The graphic drawing processing means is the graphic drawing program means;
により前記先入れ先出しバッファに格納された前記ウィBy the first-in first-out buffer.
ンドウ描画データを読み込み、前記図形データとともにRead window drawing data, and
前記表示装置に描画することを特徴とするウィンドウ情Drawing window information on the display device.
報転送方式。Information transfer method.
【請求項2】 前記図形描画プログラム手段が、前記図2. The graphic drawing program means according to claim 2,
形データを描画中の前記ウィンドウに表示上の変化が生Changes in the display may occur in the window where shape data is being drawn.
じた時点を契機として、前記データ量判定手段を起動すStarting the data amount determination means at the same time
ることを特徴とする請求項1記載のウィンドウ情報転送2. The window information transfer according to claim 1, wherein
方式。method.
【請求項3】 前記ウィンドウ描画データは、前記ウィ3. The window drawing data according to claim 1, wherein
ンドウを少なくとも一つの矩形領域に分割した場合の、When the window is divided into at least one rectangular area,
各矩形領域の位置情報の集合であり、各位置情報は対応A set of position information of each rectangular area, each position information corresponds
する矩形領域を示す2点の座標データの組であることをIt is a set of coordinate data of two points indicating the rectangular area to be
特徴とする請求項1または2記載のウィンドウ情報転送The window information transfer according to claim 1 or 2,
方式。method.
【請求項4】 CPUが、ウィンドウ描画データを保持
するウィンドウ情報記憶部に記憶されている該ウィンド
ウ描画データのデータ量が予め設定した閾値よりも多量
か否かを判定するデータ量判定ステップと、 前記CPUが、前記データ量判定ステップを実行し、前
記ウィンドウ情報記憶部に格納された前記ウィンドウ描
画データのデータ量が多量であると判定した場合は、該
ウィンドウ情報記憶部内の該ウィンドウ描画データの格
納アドレスを先入れ先出しバッファに格納する図形描画
プログラムステップと、 グラフィックアクセラレータが、前記図形描画プログラ
ムステップで前記先入れ先出しバッファに格納された前
記ウィンドウ描画データの前記ウィンドウ情報記憶部内
における格納アドレスを参照し、該ウィンドウ情報記憶
部の該格納アドレスが指す位置から該ウィンドウ描画デ
ータをダイレクトメモリアクセス方式により読み込み、
図形データとともに表示装置に描画する図形描画処理ス
テップとを含むことを特徴とするウィンドウ情報転送方
法であって、 さらに、 前記図形描画プログラムステップは、前記データ量判定
ステップを実行し、前記ウィンドウ情報記憶部に格納さ
れた前記ウィンドウ描画データのデータ量が多量ではな
いと判定した場合には、該ウィンドウ情報記憶部に格納
された該ウィンドウ描画データを前記先入れ先出しバッ
ファに格納し、 前記図形描画処理ステップは、前記図形描画プログラム
ステップで前記先入れ先出しバッファに格納された前記
ウィンドウ描画データを込み、前記図形データとともに
前記表示装置に描画することを特徴とするウィンドウ情
報転送方法
4. A data amount determining step in which the CPU determines whether or not the data amount of the window drawing data stored in the window information storage unit that holds the window drawing data is larger than a preset threshold. When the CPU executes the data amount determination step and determines that the data amount of the window drawing data stored in the window information storage unit is large, the CPU stores the window drawing data in the window information storage unit. A graphic drawing program step of storing a storage address in a first-in first-out buffer; and a graphic accelerator referring to a storage address in the window information storage unit of the window drawing data stored in the first-in first-out buffer in the graphic drawing program step, and Information storage Load the window drawing data from the position where the storage address points to the direct memory access method,
A graphic drawing processing step of drawing on a display device together with the graphic data, wherein the graphic drawing program step executes the data amount determination step, and stores the window information. If it is determined that the data amount of the window drawing data stored in the window information storage unit is not large, the window drawing data stored in the window information storage unit is stored in the first-in first-out buffer. window information, characterized in that said graphic drawing program step in lump the window drawing data stored in the first-in-first-out buffer, to draw on the display device together with the graphic data
Information transfer method .
【請求項5】 前記図形描画プログラムステップが、前5. The graphic drawing program step according to claim 1, wherein
記図形データを描画中の前記ウィンドウに表示上の変化Changes in display in the window while drawing graphic data
が生じた時点を契機として、前記データ量判定ステップThe data amount determining step is triggered by the time when
を実行することを特徴とする請求項4記載のウィンドウ5. The window according to claim 4, wherein:
情報転送方法。Information transfer method.
【請求項6】 前記ウィンドウ描画データは、前記ウィ6. The window drawing data contains the window drawing data.
ンドウを少なくとも一つの矩形領域に分割した場合の、When the window is divided into at least one rectangular area,
各矩形領域の位置情報の集合であり、各位置情報は対応A set of position information of each rectangular area, each position information corresponds
する矩形領域を示す2点の座標データの組であることをIt is a set of coordinate data of two points indicating the rectangular area to be
特徴とする請求項4または5記載のウィンドウ情報転送The window information transfer according to claim 4 or 5, wherein
方法。Method.
JP35009896A 1996-12-27 1996-12-27 Window information transfer method and window information transfer method Expired - Fee Related JP3216556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35009896A JP3216556B2 (en) 1996-12-27 1996-12-27 Window information transfer method and window information transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35009896A JP3216556B2 (en) 1996-12-27 1996-12-27 Window information transfer method and window information transfer method

Publications (2)

Publication Number Publication Date
JPH10187125A JPH10187125A (en) 1998-07-14
JP3216556B2 true JP3216556B2 (en) 2001-10-09

Family

ID=18408227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35009896A Expired - Fee Related JP3216556B2 (en) 1996-12-27 1996-12-27 Window information transfer method and window information transfer method

Country Status (1)

Country Link
JP (1) JP3216556B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4710304B2 (en) * 2004-11-12 2011-06-29 ソニー株式会社 Data transfer control device

Also Published As

Publication number Publication date
JPH10187125A (en) 1998-07-14

Similar Documents

Publication Publication Date Title
JP2002513955A (en) Graphics and video double-buffered accelerator with write protected memory interface and method of implementation
JPS63200230A (en) Graphic display adaptor
JP2659557B2 (en) Drawing system and drawing method
JP3216556B2 (en) Window information transfer method and window information transfer method
JP3683657B2 (en) Graphics display device and graphics processor
JP2003122335A (en) Display controller
JP3826942B2 (en) Image transfer using drawing command hook
JP2829051B2 (en) Character display method
JP2663566B2 (en) Graphic display device
JPH1185455A (en) Graphic drawing and processing system
US20020126122A1 (en) Apparatus and method for minimizing the idle time of a computer graphic system using hardware controlled flipping
JP3454113B2 (en) Graphics display
JP2745681B2 (en) Display data processing device
JP2564283B2 (en) Multi-screen display computer system
JP3277903B2 (en) Multi-window high-speed drawing apparatus and multi-window high-speed drawing method
JP4378572B2 (en) Data transfer system, data transfer method, host device, and drawing device
JPH0260195B2 (en)
JPS63226722A (en) Multiwindow display control system
JP2000285246A (en) Information processor
JP2830239B2 (en) Input display control device
JPH0329048A (en) Data transfer system
JP2003195847A (en) Graphic processor
JPH04199284A (en) Display device
JPH0877367A (en) Image processor and image data processor using it
JPS63304291A (en) Bit map display management system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010703

LAPS Cancellation because of no payment of annual fees