JPH02201533A - Double buffering system under multiwindow - Google Patents

Double buffering system under multiwindow

Info

Publication number
JPH02201533A
JPH02201533A JP2120989A JP2120989A JPH02201533A JP H02201533 A JPH02201533 A JP H02201533A JP 2120989 A JP2120989 A JP 2120989A JP 2120989 A JP2120989 A JP 2120989A JP H02201533 A JPH02201533 A JP H02201533A
Authority
JP
Japan
Prior art keywords
frame buffer
rare
double buffering
virtual
determination
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.)
Ceased
Application number
JP2120989A
Other languages
Japanese (ja)
Inventor
Kenji Ogawa
小川 研之
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 JP2120989A priority Critical patent/JPH02201533A/en
Publication of JPH02201533A publication Critical patent/JPH02201533A/en
Ceased legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータに関し、特にビットマツプディス
プレイへの描画処理を行うマルチウィンドウ配下でのダ
ブルバッファリング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to computers, and more particularly to a double buffering system under multi-windows that performs drawing processing on a bitmap display.

〔従来の技術〕[Conventional technology]

従来のダブルバッファリング方式では、ビットマツプデ
ィスプレイに対応するフレームバッファをフロント(f
ront )とレア(rear)に描画したあとレアま
たはフロントに表面面を切換えていた。
In the conventional double buffering method, the frame buffer corresponding to the bitmap display is placed in the front (f)
After drawing on ront) and rear, the surface was switched to rare or front.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のダブルバッファリング方式は、描画プロ
グラムが複数個同時に走行するマルチウィンドウ環境で
は複数あるマルチウィンドウのうちの1つのウィンドウ
でしか使用できないという欠点がある。
The conventional double buffering method described above has the disadvantage that it can only be used in one window out of a plurality of multi-windows in a multi-window environment where a plurality of drawing programs are running simultaneously.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマルチウィンドウ配下でのダブルバッファリン
グ方式は、フロント用フレームバッファと、レア用フレ
ームバッファと、前記フロント用フレームバッファまた
はレア用フレームバッファへの描画要求を一時的に退避
する仮想フレームバッファと、高速描画の手法としてダ
ブルバッファリングを使用した複数の描画プログラムか
らの前記フロント用フレームバッファまたはレア用フレ
ームバッファへの描画要求を受付けその時点で前記フロ
ント用フレームバッファ、レア用フレームバッファのど
ちらに書き込むかを決定する描画面決定機構と、この描
画面決定機構の決定に基づき、描画要求を前記フロント
用フレームバッファまたはレア用フレームバッファまた
は前記仮想フレームバッファに書き出す描画要求切分は
機構と、前記仮想フレームバッファの内容を前記フロン
ト用フレームバッファまたは前記レア用フレームバッフ
ァに書き出す仮想フレームバッファ書出し機構と、前記
描画面決定機構の決定に基づきビットマツプディスプレ
イの表示を切換えるフロント/レア切換え機構とを具備
することを特徴とする。
The double buffering method under multi-window according to the present invention includes a front frame buffer, a rare frame buffer, and a virtual frame buffer for temporarily saving drawing requests to the front frame buffer or the rare frame buffer. , accepts drawing requests to the front frame buffer or rare frame buffer from multiple drawing programs that use double buffering as a high-speed drawing method, and at that point selects either the front frame buffer or the rare frame buffer. a drawing surface determining mechanism for determining whether to write; a drawing request dividing mechanism for writing a drawing request to the front frame buffer, the rare frame buffer, or the virtual frame buffer based on the determination of the drawing surface determining mechanism; A virtual frame buffer writing mechanism that writes the contents of the virtual frame buffer to the front frame buffer or the rare frame buffer, and a front/rare switching mechanism that switches the display of the bitmap display based on the determination of the drawing surface determining mechanism. It is characterized by

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

ビットマツプディスプレイ9の各描画プログラムに対応
するウィンドウへ表示される内容はフロント用フレーム
バッファ6またはレア用フレームバッファ7に描画プロ
グラムA、B、Cから書き込まれる。描画プログラムは
フロント用フレームバッファ6がビットマツプディスプ
レイ9に表示されている間に、レア用フレームバッファ
に次に表示すべき内容を格納し、格納が終了すればレア
用フレームバッファの内容を表示するように指示する。
The contents displayed in the window corresponding to each drawing program on the bitmap display 9 are written from the drawing programs A, B, and C to the front frame buffer 6 or the rare frame buffer 7. The drawing program stores the content to be displayed next in the rare frame buffer while the front frame buffer 6 is displayed on the bitmap display 9, and displays the content of the rare frame buffer when storage is completed. instruct them to do so.

複数の描画プログラムA、B、Cがバラバラに行なう上
記の処理の整合をとるのが描画面決定機構2.描画要求
切分は機構3.仮想フレームバッファ4.仮想フレーム
バッファ書出し機構5゜フロント/レア切換え機構8で
ある。
The drawing surface determination mechanism 2. coordinates the above processing that is performed separately by the plurality of drawing programs A, B, and C. The drawing request division is mechanism 3. Virtual frame buffer 4. Virtual frame buffer writing mechanism 5° front/rare switching mechanism 8.

次に、これらの機構の動作を具体的に示す。Next, the operations of these mechanisms will be specifically shown.

(1)描画プログラムAの描画要求がフロント、描画プ
ログラムBがレア、描画プログラムCがフロントである
時点での処理は以下のようになる。
(1) When the drawing request of drawing program A is the front, drawing program B is rare, and drawing program C is the front, the processing is as follows.

・描画面決定機構2の決定はフロントとなる。・Determination by the drawing surface determination mechanism 2 is at the front.

・描画プログラムA、Cの描画要求はフロント用フレー
ムバッファ6へ書かれる。
- Drawing requests from drawing programs A and C are written to the front frame buffer 6.

・描画プログラムBの描画要求は仮想フレームバッファ
4へ書かれる。
- The drawing request of drawing program B is written to the virtual frame buffer 4.

・フロント/レア切換え機構8によりビットマツプディ
スプレイにはレア用フレームバッファ7に表示される。
- The front/rare switching mechanism 8 causes the bitmap display to display the rare frame buffer 7.

(2)次に描画プログラムAの描画要求がレア、描画プ
ログラムBがフロント、描画プログラムCがレアに変更
された時点では、 ・描画面決定機構の決定はレアとなる。
(2) Next, at the time when the drawing request of drawing program A is changed to rare, drawing program B is changed to front, and drawing program C is changed to rare, - The determination of the drawing surface determination mechanism becomes rare.

・描画プログラムA、Cの描画要求はレア用フレームバ
ッファへ書かれる。
- Drawing requests from drawing programs A and C are written to the rare frame buffer.

・描画プログラムBの描画要求は仮想フレームバッファ
4へ書かれる。
- The drawing request of drawing program B is written to the virtual frame buffer 4.

・仮想フレームバッファ4の内容は仮想フレームバッフ
ァ書出し機構5により仮想フレームバッファ4に書かれ
る。
- The contents of the virtual frame buffer 4 are written to the virtual frame buffer 4 by the virtual frame buffer writing mechanism 5.

・フロント/レア切換え機構8によりビットマツフチイ
スプレイにはフロント用フレームバッファ6が表示され
る(前の時点での描画プログラムA、Cの描画要求)。
- The front frame buffer 6 is displayed on the bitmap display by the front/rare switching mechanism 8 (drawing requests of drawing programs A and C at the previous time).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、複数の描画プログラムか
らの描画要求を制御することにより、マルチウィンドウ
配下での各々のウィンドウに対するダブルバッファリン
グを可能とする効果を奏す
As explained above, the present invention has the effect of enabling double buffering for each window under a multi-window by controlling drawing requests from multiple drawing programs.

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

第1図は本発明の一実施例のブロック図である。 A、B、C・・・描画プログラム、2・・・描画面決定
機構、3・・・描画要求切分は機構、4・・・仮想フレ
ームバッファ、5・・・仮想フレームバッファ書出し機
構、6・・・フロント用フレームバッファ、7・・・レ
ア用フレームバッファ、8・・・フロント/レア切換え
機構、9・・・ビットマツプディスプレイ。
FIG. 1 is a block diagram of one embodiment of the present invention. A, B, C...Drawing program, 2...Drawing surface determination mechanism, 3...Drawing request division mechanism, 4...Virtual frame buffer, 5...Virtual frame buffer writing mechanism, 6 ...Front frame buffer, 7...Rare frame buffer, 8...Front/rare switching mechanism, 9...Bitmap display.

Claims (1)

【特許請求の範囲】[Claims] フロント用フレームバッファと、レア用フレームバッフ
ァと、前記フロント用フレームバッファまたはレア用フ
レームバッファへの描画要求を一時的に退避する仮想フ
レームバッファと、高速描画の手法としてダブルバッフ
ァリングを使用した複数の描画プログラムからの前記フ
ロント用フレームバッファまたはレア用フレームバッフ
ァへの描画要求を受付けその時点で前記フロント用フレ
ームバッファ、レア用フレームバッファのどちらに書き
込むかを決定する描画面決定機構と、この描画面決定機
構の決定に基づき、描画要求を前記フロント用フレーム
バッファまたはレア用フレームバッファまたは前記仮想
フレームバッファに書き出す描画要求切分け機構と、前
記仮想フレームバッファの内容を前記フロント用フレー
ムバッファまたは前記レア用フレームバッファに書き出
す仮想フレームバッファ書出し機構と、前記描画面決定
機構の決定に基づきビットマップディスプレイの表示を
切換えるフロント/レア切換え機構とを具備することを
特徴とするマルチウィンドウ配下でのダブルバッファリ
ング方式。
A front frame buffer, a rare frame buffer, a virtual frame buffer that temporarily saves drawing requests to the front frame buffer or rare frame buffer, and multiple frames that use double buffering as a high-speed drawing method. a drawing surface determination mechanism that accepts a drawing request from a drawing program to the front frame buffer or the rare frame buffer and determines at that point whether to write to the front frame buffer or the rare frame buffer; and the drawing surface. a drawing request separation mechanism that writes a drawing request to the front frame buffer, the rare frame buffer, or the virtual frame buffer based on the determination by the determining mechanism; A double buffering method under multi-window, characterized by comprising a virtual frame buffer writing mechanism that writes to a frame buffer, and a front/rare switching mechanism that switches the bitmap display display based on the determination of the drawing surface determining mechanism. .
JP2120989A 1989-01-30 1989-01-30 Double buffering system under multiwindow Ceased JPH02201533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2120989A JPH02201533A (en) 1989-01-30 1989-01-30 Double buffering system under multiwindow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2120989A JPH02201533A (en) 1989-01-30 1989-01-30 Double buffering system under multiwindow

Publications (1)

Publication Number Publication Date
JPH02201533A true JPH02201533A (en) 1990-08-09

Family

ID=12048603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2120989A Ceased JPH02201533A (en) 1989-01-30 1989-01-30 Double buffering system under multiwindow

Country Status (1)

Country Link
JP (1) JPH02201533A (en)

Similar Documents

Publication Publication Date Title
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
JP3321651B2 (en) Apparatus and method for providing a frame buffer memory for computer output display
JPS5834836B2 (en) data
JPH0573252A (en) Animation display work station
JPH0468655B2 (en)
JPH08179743A (en) Window display processor
JPS6426221A (en) Fast page turning control system
JP2002506538A (en) Graphics processor architecture
TW319853B (en) A method and apparatus for executing commands in a graphics controller chip
AU4763690A (en) Depth buffer clipping for window management
JPH0646378B2 (en) Computer display
JPH02123422A (en) Computer output apparatus
JP2003236171A (en) Image display device of pachinko machine and control method thereof
EP0192139A3 (en) Frame buffer memory controller
JPH0588662A (en) Redisplay method in CAD display function
JPS63226722A (en) Multiwindow display control system
JPH0293688A (en) Drawing system for multiwindow displaying system
JPH02171795A (en) Double buffer controller
JPS63261418A (en) Window display control system
JPH037989A (en) Display data control system
JPS6474595A (en) Image display device
JPH03255589A (en) Z buffer cache system
JPH0749762A5 (en)
JPH03107895A (en) display device
JPH01121893A (en) graphic display device