Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3104050B2 - Raster graphics system - Google Patents
[go: Go Back, main page]

JP3104050B2 - Raster graphics system - Google Patents

Raster graphics system

Info

Publication number
JP3104050B2
JP3104050B2 JP05160641A JP16064193A JP3104050B2 JP 3104050 B2 JP3104050 B2 JP 3104050B2 JP 05160641 A JP05160641 A JP 05160641A JP 16064193 A JP16064193 A JP 16064193A JP 3104050 B2 JP3104050 B2 JP 3104050B2
Authority
JP
Japan
Prior art keywords
pixel
data
frame buffer
cache memory
buffer memory
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
JP05160641A
Other languages
Japanese (ja)
Other versions
JPH07110787A (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.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority to JP05160641A priority Critical patent/JP3104050B2/en
Publication of JPH07110787A publication Critical patent/JPH07110787A/en
Application granted granted Critical
Publication of JP3104050B2 publication Critical patent/JP3104050B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、出力する画像をラスタ
(Raster)方式により生成するコンピュータ・グラフィ
ックス・システムであり、特に、コンピュータ・システ
ムの実効的な処理能力を向上させ得るラスタ・グラフィ
ックス・システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer graphics system for generating an output image by a raster system, and more particularly to a raster graphics system capable of improving the effective processing capability of the computer system. System.

【0002】[0002]

【従来の技術】最近のコンピュータ・グラフィックス分
野は、高性能のマイクロプロセッサ(Micro Processor
)の出現と低廉な高密度メモリ素子の開発により、目
覚ましい発展を遂げており、特に、3次元物体のアニメ
ーション(Animation)、及び実時間シミュレーション
(Real time simulation)に対する研究が活発に進めら
れている。高性能の3次元グラフィックスを支援するシ
ステムは、変形(Transformation:コンピュータ・グラ
フィックスよりグラフィックイメージを表現する際に、
位置と大きさ等を変えるワーク)と、切り取り(Clippi
ng:コンピュータ・グラフィックスより表示画面の境界
外のイメージ部分を除去する過程)を支援する幾何エン
ジン(Geometry engine)と、ラスタ化 (Rasterization)
を担当するラスタエンジン (Raster engine)とで構成さ
れる。
2. Description of the Related Art Recently, the field of computer graphics includes a high-performance microprocessor (Micro Processor).
) And the development of inexpensive high-density memory devices have made remarkable progress. In particular, research on animation of three-dimensional objects and real-time simulation has been actively promoted. . A system that supports high-performance 3D graphics is called Transformation.
Work that changes position and size) and cut (Clippi
ng: Geometry engine that supports the process of removing image parts outside the boundaries of the display screen from computer graphics, and Rasterization
It is composed of a raster engine that is in charge of

【0003】ラスタ・エンジンは走査変換(Scan Conver
ting) と、隠面除去及び付加(Shading)又はレンダリン
グ(Rendering)のため、多くの演算とフレーム・バッフ
ァメモリに対する頻繁なアクセスによってボトルネック
(Bottle neck)現象を生ぜしめる。しかし最近、高性能
エンジン (あるいはプロセッサ) が開発されることによ
って、エンジンの演算能力よりフレーム・バッファメモ
リに対するアクセス時間が、グラフィックス・パイプラ
インにおけるボトルネック現象の主なる原因になってい
る。したがって、高速ラスタ化 (High spead rasteriza
tion) を実現するために、多数のピクセルを並列に同時
に処理する方向に研究が進行されてきた。従来のシステ
ムでは、システムの性能と処理速度を向上させるためピ
クセル・キャッシュメモリを採用している。
[0003] The raster engine uses scan conversion.
Many operations and frequent accesses to the frame buffer memory create bottleneck phenomena due to ting and hidden surface removal and shading or rendering. However, with the recent development of high performance engines (or processors), the access time to the frame buffer memory rather than the computing power of the engine is a major cause of the bottleneck phenomenon in the graphics pipeline. Therefore, high-speed rasterization (High spead rasteriza
Research) has been conducted in the direction of processing a large number of pixels in parallel at the same time. Conventional systems employ a pixel cache memory to improve system performance and processing speed.

【0004】図5は、従来のラスタ・グラフィックス・
システムを示したもので、各ピクセル等に関連されたデ
ータを生成させるスキャン・コンバータ10と、ピクセ
ル・データを記憶するフレーム・バッファメモリ30間
に、ピクセル・キャッシュメモリ20が付加されて構成
されている。ピクセル・キャッシュメモリ20は、フレ
ーム・バッファメモリ30に比べ容量は少ないが、アク
セス時間が格段に早い(通常約5〜10倍程度早い)。
フレーム・バッファメモリ30とピクセル・キャッシュ
メモリ20間のインターフェース(Interface)は、1回
に多数のワード(あるいはブロック) 単位で転送される
ようにすることで、フレーム・バッファメモリとピクセ
ル・キャッシュメモリ間のバンド幅 (Band width) を実
質的に向上させることができるだけでなく、参照を局所
化すること (Locality of reference)によりシステムの
作業遂行時間を短縮させていた。
FIG. 5 shows a conventional raster graphics system.
FIG. 1 shows a system in which a pixel cache memory 20 is added between a scan converter 10 for generating data related to each pixel and the like and a frame buffer memory 30 for storing pixel data. I have. The pixel cache memory 20 has a smaller capacity than the frame buffer memory 30, but the access time is much faster (usually about 5 to 10 times faster).
The interface between the frame buffer memory 30 and the pixel cache memory 20 is transferred in units of many words (or blocks) at a time, so that the interface between the frame buffer memory and the pixel cache memory can be transferred. Not only could the bandwidth of the system be substantially improved, but the locality of reference shortened the system's work time.

【0005】図6は、フレーム・バッファメモリFB0
〜FB3とスクリーン間の通常的なピクセルマップ(Pi
xel map)を示したものである。ピクセル・キャッシュメ
モリは通常、四角形、あるいは一直線に配列された複数
のピクセル等に構成されたタイルを成す。従って、サイ
クル当たり更新 (Update) されるピクセルの数は、タイ
ル大きさ(Tile Size)により変化する。大きなタイル
は、フレーム・バッファメモリのメモリサイクル当た
り、多くのピクセル等を更新するため高い性能を保障し
ますが、ピクセル・キャッシュメモリの価格増加を招来
する、同じくメモリサイクル当たり更新されるタイルの
ピクセル数は、このタイル構造において遂行される作動
形態(Operation type) によって変化する。ベクタ・ド
ローイング (Vector drawing) 、及びワイヤフレーム
(Wireframe:コンピュータ・グラフィックスを3次元物
体の形状を示すため物体の形状を多数の線の集まりに表
示して立体感を示すもの)の画像では、四角形タイル構
造( 例えば4×4)が更に多くのピクセル群を更新(Ca
che hit)できるようにしており、多角形満たし (Polygo
n fill) と影模様化 (Shading)、又は水平ベクタ・ドロ
ーイングは、X軸に一列に配列された構造(例えば16
×1)が更に多くのピクセル群を更新できるようにな
る。本明細書では、理解を容易にするため、8×8ピク
セルのタイルが使用されるピクセル・キャッシュメモリ
を例に挙げて説明する。
FIG. 6 shows a frame buffer memory FB0.
-Normal pixel map between FB3 and screen (Pi
xel map). The pixel cache memory typically forms a tile, such as a square or a plurality of pixels arranged in a straight line. Therefore, the number of pixels updated per cycle (Tile Size) varies depending on the Tile Size. Large tiles guarantee high performance by updating many pixels, etc. per memory cycle of frame buffer memory, but also increase the price of pixel cache memory. The number varies depending on the operation type performed in the tile structure. In vector drawing and wireframe (Wireframe: a computer graphic that shows the shape of an object in a collection of many lines to show the shape of a three-dimensional object to show the shape of a three-dimensional object), A square tile structure (eg 4x4) updates more pixel groups (Ca
che hit) so that it can be filled with polygons (Polygo
n fill) and shading, or horizontal vector drawing, are arranged in a line along the X axis (eg, 16
× 1) can update more pixel groups. In this specification, a pixel cache memory in which 8 × 8 pixel tiles are used will be described as an example for easy understanding.

【0006】図7,図8,及び図9を参照して、従来の
システムにおける作動をより詳細に説明すると次の通り
である。図7(A)は、スキャン・コンバータ10がピ
クセル・データをピクセル・キャッシュメモリに記憶す
る状態を示している。ピクセル・キャッシュメモリと、
フレーム・メモリの両方がクリヤ状態ならば、ピクセル
・データは、図7(B)に示すとおり、ピクセル・キャ
ッシュメモリに一旦は記憶された後に、フレーム・バッ
ファメモリの定められた領域に転送されて記憶され、こ
のピクセル・キャッシュメモリはクリアされる。
The operation of the conventional system will be described in more detail with reference to FIGS. 7, 8 and 9. FIG. 7A shows a state where the scan converter 10 stores the pixel data in the pixel cache memory. Pixel cache memory,
If both of the frame memories are in the clear state, the pixel data is temporarily stored in the pixel cache memory and then transferred to a predetermined area of the frame buffer memory as shown in FIG. Stored and this pixel cache memory is cleared.

【0007】しかし、フレーム・バッファメモリの同一
ブロック(block)、又はタイル(tile) にピクセル・デ
ータが記憶されていた場合には、フレーム・バッファメ
モリに既に記憶されていた、このピクセル・データが損
傷されることを防止するため、図8(C) に示すとお
り、前記して記憶されていたピクセル・データを先ず読
出して、ピクセル・キャッシュメモリに記憶する。続い
てスキャン・コンバータは、図8(D) に示すとおり、
新たなピクセル・データをピクセル・キャッシュメモリ
に付加して記憶する。キャッシュ失敗(Cache miss)の場
合には、ピクセル・データは、図9(E)に示すとお
り、ピクセル・キャッシュメモリに一旦は記憶された後
に、フレーム・バッファメモリに転送されて記憶され、
このピクセル・キャッシュメモリはクリア (clear)され
る。
However, when pixel data is stored in the same block or tile of the frame buffer memory, the pixel data that has already been stored in the frame buffer memory is not stored. In order to prevent damage, as shown in FIG. 8C, the previously stored pixel data is first read out and stored in the pixel cache memory. Subsequently, the scan converter, as shown in FIG.
New pixel data is added to the pixel cache memory and stored. In the case of a cache miss, the pixel data is temporarily stored in the pixel cache memory and then transferred to and stored in the frame buffer memory as shown in FIG.
This pixel cache memory is cleared.

【0008】[0008]

【発明が解決しようとする課題】しかし、前記したラス
タ・グラフィックス・システムには次に述べるような問
題点があった。スキャン・コンバータに多角形 (polygo
n)を影模様化するとか、ワイヤフレームを構成する際
に、フレーム・バッファメモリに既に記憶されたピクセ
ル・データを読出してピクセル・キャッシュメモリに記
憶した後、新たなピクセル・データをピクセル・キャッ
シュメモリに記憶する。その理由は、例えば前記したベ
クタ・ドローイングにおけるベクタによる、既存のピク
セル・データが記憶されたフレーム・バッファメモリの
領域へ、新たなベクタのピクセル・データが記憶された
ピクセル・キャッシュメモリのタイルが転送されて記憶
され、前記した既存のピクセル・データがクリアされる
ことを防止するためである。ところが、キャッシュ失敗
である場合には、ピクセル・データは前記したと同じ
く、ピクセル・キャッシュメモリに一旦は記憶された後
に、フレーム・バッファメモリに転送されて記憶され、
このピクセル・キャッシュメモリがクリアされる。
However, the above-mentioned raster graphics system has the following problems. Scan converter with polygons (polygo
When shading n) or constructing a wire frame, after reading out pixel data already stored in the frame buffer memory and storing it in the pixel cache memory, new pixel data is stored in the pixel cache memory. Store in memory. The reason is that, for example, the tile of the pixel cache memory storing the pixel data of the new vector is transferred to the area of the frame buffer memory storing the existing pixel data by the vector in the above-described vector drawing. This is to prevent the existing pixel data described above from being cleared. However, in the case of a cache failure, the pixel data is once stored in the pixel cache memory and then transferred to the frame buffer memory and stored therein, as described above.
This pixel cache memory is cleared.

【0009】つまり、従来のラスタ・グラフィックス・
システムでは、スキャン・コンバータから新たなピクセ
ル・データが提供される際に、ピクセル・キャッシュ失
敗の毎に、フレーム・バッファメモリに記憶されたピク
セル・データを読出し、ピクセル・キャッシュメモリに
記憶しており、このピクセル・データに、前記した新た
なピクセル・データを付加して記憶してから、これらピ
クセル・データをフレーム・バッファメモリに纏めて記
憶するようになっているので、フレーム・バッファメモ
リからピクセル・キャッシュメモリへの、このデータ転
送負荷がシステムの実効的な処理能力を低下させる。本
発明は前述の問題点に鑑み、フレーム・バッファメモリ
のアクセスを効率的にするマスタコントロール・ロジッ
クを備えたグラフィックス・システムにより、ピクセル
・キャッシュメモリとフレーム・バッファメモリ間のデ
ータ転送負荷を減少させて、前記した実効的な処理能力
を向上させるラスタ・グラフィックス・システムを提供
することを課題とする。
That is, the conventional raster graphics
When new pixel data is provided from the scan converter, the system reads pixel data stored in the frame buffer memory and stores the pixel data in the pixel cache memory every time a pixel cache failure occurs. The new pixel data is added to the pixel data and stored, and then the pixel data is collectively stored in the frame buffer memory. This load of data transfer to the cache memory reduces the effective processing capacity of the system. SUMMARY OF THE INVENTION In view of the above problems, the present invention reduces a data transfer load between a pixel cache memory and a frame buffer memory by a graphics system having a master control logic for efficiently accessing the frame buffer memory. It is another object of the present invention to provide a raster graphics system capable of improving the above-described effective processing capability.

【0010】[0010]

【課題を解決するための手段】前記した課題を解決する
ため、本発明では次の手段を構成した。 (1) ピクセル・データを生成させるスキャン・コン
バータと、上記スキャン・コンバータから順次に提供さ
れる上記ピクセル・データを一旦は記憶するピクセル・
キャッシュメモリと、上記ピクセル・データをスクリー
ンに転送する複数の小領域からなるフレーム・バッファ
メモリとを含むラスタ・グラフィックス・システムにお
いて、上記ピクセル・キャッシュメモリと上記フレーム
・バッファメモリとの間に接続し、上記ピクセル・キャ
ッシュメモリのデータを検出するデータ検出手段と、上
記データ検出手段によって検出された上記ピクセル・キ
ャッシュメモリのデータがオール0であった場合に、書
き換え対象である上記小領域のフレーム・バッファメモ
リを書き換え不能状態にして上記フレーム・バッファメ
モリに記憶されていた上記ピクセル・データを、損傷す
ることなくそのまま維持させ得るマスク・コントロール
・ロジック手段を含んで設けており、上記ピクセル・キ
ャッシュメモリでキャッシュ失敗が発生した場合でも、
上記フレーム・バッファメモリに既に記憶されていたピ
クセル・データを、その都度上記ピクセル・キャッシュ
メモリに読出す必要がない様になっていることを特徴と
するラスタ・グラフィックス・システム。 (2) 上記マスク・コントロール・ロジック手段は、
上記ピクセル・キャッシュメモリにおける、上記スキャ
ン・コンバータによりデータが付加されない上記ピクセ
ル・データを、それぞれ否定する各否定論理ゲートと、
上記各否定論理ゲートの各出力と、上記フレーム・バッ
ファメモリに、記憶することを可能化する各ライト・イ
ネーブル信号とを論理積し、新たな上記各ライト・イネ
ーブル信号として上記フレーム・バッファメモリに提供
する各論理積ゲートとを含んでおり、上記データ検出手
段によって検出された上記ピクセル・キャッシュメモリ
のデータがオール0であった場合に、上記ピクセル・キ
ャッシュメモリの全領域の内から、上記フレーム・バッ
ファメモリに付加して記憶するための新たな上記ピクセ
ル・データ以外の領域をマスクすべく上記各論理積ゲー
トの各ライト・イネーブル信号を制御して書き換え対象
である上記小領域のフレーム・バッファメモリ の書き換
えを抑制する様になっている前項(1)に記載のラスタ
・グラフィックス・システム。
In order to solve the above-mentioned problems, the present invention has the following means. (1) A scan converter for generating pixel data, and a pixel converter for temporarily storing the pixel data sequentially provided from the scan converter
In a raster graphics system including a cache memory and a frame buffer memory including a plurality of small areas for transferring the pixel data to a screen, a connection is provided between the pixel cache memory and the frame buffer memory. And the pixel
Data detection means for detecting data in the flash memory;
The pixel key detected by the data detecting means.
If the data in the cache memory is all 0,
Frame / buffer memo of the above small area to be replaced
And mask control logic means for keeping the pixel data stored in the frame buffer memory intact without damaging the pixel data without damaging the pixel data. Even if a cache miss occurs,
A raster graphics system wherein pixel data already stored in the frame buffer memory need not be read out to the pixel cache memory each time. (2) The mask control logic means includes:
A logic gate for negating the pixel data in the pixel cache memory to which no data is added by the scan converter;
The output of each of the NOT logic gates is ANDed with each of the write enable signals enabling the storage in the frame buffer memory, and the result is written to the frame buffer memory as a new write enable signal. It includes a respective aND gate providing said data detection hand
The pixel cache memory detected by the stage
If all the data of the pixel cache memory is 0, the above-mentioned area is masked to mask a new area other than the above-mentioned pixel data to be added to and stored in the frame buffer memory from the entire area of the above-mentioned pixel cache memory. Each AND gate
Rewrite target by controlling each write enable signal
Rewriting the frame buffer memory of the above small area
Raster graphics system as set forth in the preceding paragraph (1) which is example to suppress like the.

【0011】[0011]

【作用】スキャン・コンバータが、新たなピクセル・デ
ータをピクセル・キャッシュメモリを介して、フレーム
・バッファメモリに転送して記憶する場合、ピクセル・
キャッシュメモリに記憶された、この新たなピクセル・
データのピクセル毎にライト・イネーブルをマスク制御
して、フレーム・バッファメモリに重複して記憶するよ
うになっているので、フレーム・バッファメモリに既に
記憶されているピクセル・データを、ピクセル・キャッ
シュ失敗の度にピクセル・キャッシュメモリに読出して
記憶する必要がない。
When the scan converter transfers new pixel data to the frame buffer memory via the pixel cache memory and stores it, the pixel
This new pixel stored in the cache memory
Since the write enable is masked for each pixel of data and stored redundantly in the frame buffer memory, pixel data already stored in the frame buffer memory is not cached. Need not be read and stored in the pixel cache memory each time.

【0012】[0012]

【実施例】以下、本発明の実施例を図面を参照して説明
する。図1は本発明のシステムを概略的に示した構成図
で、図2は図1におけるマスク・コントロール・ロジッ
クを具体的に示した構成図である。本実施例では、先に
説明したように8×8ピクセルを1タイルにするピクセ
ル・キャッシュメモリを例に挙げて説明する。尚、この
ような構成はピクセル・キャッシュメモリの1例で、実
際にはキャッシュ的中率(cache hit ratio) を考慮して
大きさ及び配列形態を変更するようになっている (例え
ば4×4、16×16、16×1、64×1・・・)。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram schematically showing the system of the present invention, and FIG. 2 is a block diagram specifically showing the mask control logic in FIG. In the present embodiment, a pixel cache memory in which 8 × 8 pixels are converted into one tile as described above will be described as an example. Note that such a configuration is an example of a pixel cache memory, and the size and arrangement are changed in consideration of a cache hit ratio (for example, 4 × 4). , 16 × 16, 16 × 1, 64 × 1,...).

【0013】図3(A)において、スクリーンに斜めの
線分(12ピクセル)を描くため、スキャン・コンバー
タ10は、先ず、ピクセル・キャッシュメモリ20をク
リアした後、このピクセル・キャッシュメモリ20に、
前記した線分に対応するベクタのピクセル・データを一
つずつ順次に埋め合わせて記憶する。図3(B)におい
て、ピクセル・キャッシュメモリに12個のピクセル・
データが全部埋め合わされた後、キャッシュ失敗が発生
した際には、ピクセル・キャッシュメモリに既に記憶さ
れていた、このベクタのピクセル・データがフレーム・
バッファメモリに転送されて記憶され、このピクセル・
キャッシュメモリがクリアされる。
In FIG. 3A, in order to draw an oblique line segment (12 pixels) on the screen, the scan converter 10 first clears the pixel cache memory 20 and then stores it in the pixel cache memory 20.
The pixel data of the vector corresponding to the above-mentioned line segment is sequentially filled and stored one by one. In FIG. 3B, 12 pixels are stored in the pixel cache memory.
When a cache failure occurs after all the data has been filled, the pixel data of this vector, which has already been stored in the pixel cache memory, is stored in the frame cache.
This pixel is transferred and stored in the buffer memory.
The cache memory is cleared.

【0014】続いて、図4(C)において、スキャン・
コンバータは、他のベクタ・ドローイング(Vector dra
wing )に伴うベクタ等のピクセル・データをピクセル・
キャッシュメモリに記憶する。更に、図4(D)におい
て、次の図形を描くに際してキュッシュ失敗が発生した
ならば、ピクセル・キャッシュメモリのピクセル・デー
タがフレーム・バッファメモリに転送されて記憶され、
このピクセル・キャッシュメモリをクリアさせた後、上
記した過程を繰り返して次の図形等を描いて行く。
Subsequently, in FIG.
The converter uses other vector drawing (Vector dra
wing)).
Store in cache memory. Further, in FIG. 4D, if a cache failure occurs in drawing the next figure, the pixel data in the pixel cache memory is transferred to the frame buffer memory and stored therein.
After clearing the pixel cache memory, the above process is repeated to draw the next figure or the like.

【0015】ここで仮に、フレーム・バッファメモリに
転送されるピクセル・データの形式が常に、前記した従
来例と同様にピクセル・キャッシュメモリの全領域に当
たるサイズのデータであるデータ・タイルの形態であっ
たとすれば、このデータ・タイルに該当するフレーム・
バッファメモリの領域内は全て更新され、この領域内に
以前に記憶されていたピクセル・データが消失してしま
う。そこで、図1において、本実施例のマスク・コント
ロール・ロジック40を追加して設けており、前記した
以前に記憶されていたピクセル・データが、以後に記憶
される前記したデータ・タイルにより重複(Overlap)さ
せられて、消去されてしまわないようになっている。
Here, suppose that the format of the pixel data transferred to the frame buffer memory is always in the form of a data tile which is data of a size corresponding to the entire area of the pixel cache memory, as in the above-described conventional example. If so, the frame corresponding to this data tile
The entire area of the buffer memory is updated, and the pixel data previously stored in this area is lost. Therefore, in FIG. 1, the mask control logic 40 of the present embodiment is additionally provided, and the previously stored pixel data is duplicated by the above-described data tile stored thereafter. Overlap) so that they are not erased.

【0016】図2は、マスク・コントロール・ロジック
を具体的に示した構成図である。ピクセル・キャッシュ
メモリ20は、初期状態でクリアされているため、フレ
ーム・バッファメモリ30に転送するためのピクセル・
データが存在しない記憶領域では、各ピクセルが全部0
にクリアされている。つまり、フレーム・バッファメモ
リ30へ転送する際に、転送して記憶させるためのデー
タが存在しないピクセル・データ(例えば、ピクセル・
データが8ビットであれば、0000 0000であ
る。)が各ノアゲート41,42,43,44に入力さ
れると、それらの出力は全て1にセットされる。
FIG. 2 is a block diagram specifically showing the mask control logic. Since the pixel cache memory 20 is cleared in the initial state, the pixel cache memory 20 for transferring to the frame buffer memory 30 is stored.
In the storage area where no data exists, each pixel is all 0
Has been cleared. That is, when data is transferred to the frame buffer memory 30, pixel data for which there is no data to be transferred and stored (for example, pixel data
If the data is 8 bits, it is 0000 0000. ) Is input to each of the NOR gates 41, 42, 43, and 44, the outputs thereof are all set to 1.

【0017】これら全て1にセットされた各ノアゲート
の出力は、フレーム・バッファメモリ30にデータを記
憶することを許可し、論理零で有効なライト・イネーブ
ル信号(WE#)の状態に関係なく、論理零に対する各
オアゲート45,46,47,48の各出力WE#0,
WE#1,WE#2,WE#3が全て1にセットされ、
各フレーム・バッファメモリFB0,FB1,FB2,
FB3を全て非活性(deactive) 状態にする。その結
果、各フレーム・バッファメモリFB0,FB1,FB
2,FB3に記憶されていたそれぞれのピクセル・デー
タは、新たなピクセル・データにより重複(Overlap)さ
れて消去されることなくそのまま維持される。尚、本発
明は前述の実施例にのみ限定されるものではなく、例え
ば前記した各ノアゲートはナンドゲートでもよく、シス
テムの論理的な、及びハードウェア的な特性によって他
のゲート手段等により実現され得ること、各種システム
に適合するマスク・コントロール・ロジック手段等が構
成され得ること等、本発明の要旨を逸脱しない範囲で種
々の変更を加えうることは勿論である。
The output of each NOR gate all set to 1 permits data to be stored in the frame buffer memory 30 and is independent of the state of the write enable signal (WE #) which is valid at a logical zero. Each output WE # 0 of each OR gate 45, 46, 47, 48 for a logical zero
WE # 1, WE # 2, WE # 3 are all set to 1,
Each frame buffer memory FB0, FB1, FB2,
All FB3s are deactivated. As a result, each frame buffer memory FB0, FB1, FB
2, and the respective pixel data stored in the FB 3 are maintained without being deleted without being overlapped by new pixel data. The present invention is not limited to the above-described embodiment. For example, each of the NOR gates described above may be a NAND gate, and can be realized by other gate means or the like depending on the logical and hardware characteristics of the system. Needless to say, various changes can be made without departing from the gist of the present invention, for example, a mask control logic means or the like suitable for various systems can be configured.

【0018】[0018]

【発明の効果】上記したように、本発明には次の効果が
ある。スキャン・コンバータが、フレーム・バッファメ
モリに新たなピクセル・データを転送して記憶する場
合、このフレーム・バッファメモリに以前に記憶されて
いたデータを、その都度ピクセル・キャッシュメモリに
読み出す必要がないため、ピクセル・キャッシュメモリ
とフレーム・バッファメモリ間のデータ転送に要する負
荷が1/2 に減少され、実効的なシステムの処理速度を向
上させることができる。
As described above, the present invention has the following effects. When the scan converter transfers and stores new pixel data to the frame buffer memory, the data previously stored in the frame buffer memory does not need to be read out to the pixel cache memory each time. Thus, the load required for data transfer between the pixel cache memory and the frame buffer memory is reduced by half, and the processing speed of the effective system can be improved.

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

【図1】本発明の実施例を説明するための概略的な構成
図。
FIG. 1 is a schematic configuration diagram for explaining an embodiment of the present invention.

【図2】図1におけるマスク・コントロール・ロジック
を具体的に示した構成図。
FIG. 2 is a configuration diagram specifically showing a mask control logic in FIG. 1;

【図3】図1におけるグラフィックス・システムの作動
を説明するための説明図。
FIG. 3 is an explanatory diagram for explaining the operation of the graphics system in FIG. 1;

【図4】同じくグラフィックス・システムの作動を説明
するための説明図。
FIG. 4 is an explanatory diagram for explaining the operation of the graphics system.

【図5】従来のラスタ・グラフィックス・システムの概
略的な構成図。
FIG. 5 is a schematic configuration diagram of a conventional raster graphics system.

【図6】一般的なスクリーン(Screen)とフレーム・バッ
ファメモリ(frame buffer memory) 間のピクセル・マッ
プ(Pixel map) を説明するための説明図。
FIG. 6 is an explanatory diagram for explaining a pixel map between a general screen (Screen) and a frame buffer memory.

【図7】図4におけるグラフィックス・システムの作動
を説明するための説明図。
FIG. 7 is an explanatory diagram for explaining the operation of the graphics system in FIG. 4;

【図8】同じくグラフィックス・システムの作動を説明
するための説明図。
FIG. 8 is an explanatory diagram for explaining the operation of the graphics system.

【図9】同じくグラフィックス・システムの作動を説明
するための説明図。
FIG. 9 is an explanatory diagram for explaining the operation of the graphics system.

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

10 スキャン・コンバータ(Scan converter) 20 フレーム・バッファメモリ(Frame buffer
memory) 30 ピクセル・キャッシュメモリ(Pixel cache
memory) 40 マスク・コントロール・ロジック(Mask co
ntrol logic) 41,42,43,44 ノアゲート(NOR gate) 45,46,47,48 オアゲート(OR gate)
10 Scan converter 20 Frame buffer memory
memory) 30 pixel cache memory
memory) 40 Mask control logic
ntrol logic) 41, 42, 43, 44 NOR gate 45, 46, 47, 48 OR gate

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ピクセル・データを生成させるスキャン・
コンバータと、上記スキャン・コンバータから順次に提
供される上記ピクセル・データを一旦は記憶するピクセ
ル・キャッシュメモリと、上記ピクセル・データをスク
リーンに転送する複数の小領域からなるフレーム・バッ
ファメモリとを含むラスタ・グラフィックス・システム
において、 上記ピクセル・キャッシュメモリと上記フレーム・バッ
ファメモリとの間に接続し、上記ピクセル・キャッシュメモリのデータを検出するデ
ータ検出手段と、 上記データ検出手段によって検出された上記ピクセル・
キャッシュメモリのデータがオール0であった場合に、
書き換え対象である上記小領域のフレーム・バッファメ
モリを書き換え不能状態にして 上記フレーム・バッファ
メモリに記憶されていた上記ピクセル・データを、損傷
することなくそのまま維持させ得るマスク・コントロー
ル・ロジック手段を含んで設けており、 上記ピクセル・キャッシュメモリでキャッシュ失敗が発
生した場合でも、上記フレーム・バッファメモリに既に
記憶されていたピクセル・データを、その都度上記ピク
セル・キャッシュメモリに読出す必要がない様になって
いることを特徴とするラスタ・グラフィックス・システ
ム。
A scan for generating pixel data.
A pixel cache memory for temporarily storing the pixel data sequentially provided from the scan converter; and a frame buffer memory including a plurality of small areas for transferring the pixel data to a screen. In a raster graphics system, a data connection between the pixel cache memory and the frame buffer memory for detecting data in the pixel cache memory.
Data detection means, and the pixels detected by the data detection means.
If the data in the cache memory is all 0,
The frame buffer memory of the small area to be rewritten
A mask control logic means for keeping the pixel data stored in the frame buffer memory in an unrewritable state so that the pixel data can be maintained without being damaged; A raster graphic system characterized in that pixel data already stored in the frame buffer memory does not need to be read out to the pixel cache memory each time a cache failure occurs. System.
【請求項2】上記マスク・コントロール・ロジック手段
は、上記ピクセル・キャッシュメモリにおける、上記ス
キャン・コンバータによりデータが付加されない上記ピ
クセル・データを、それぞれ否定する各否定論理ゲート
と、 上記各否定論理ゲートの各出力と、上記フレーム・バッ
ファメモリに、記憶することを可能化する各ライト・イ
ネーブル信号とを論理積し、新たな上記各ライト・イネ
ーブル信号として上記フレーム・バッファメモリに提供
する各論理積ゲートとを含んでおり、上記データ検出手段によって検出された上記ピクセル・
キャッシュメモリのデータがオール0であった場合に、
上記ピクセル・キャッシュメモリの全領域の内から、上
記フレーム・バッファメモリに付加して記憶するための
新たな上記ピクセル・データ以外の領域をマスクすべく
上記各論理積ゲートの各ライト・イネーブル信号を制御
して書き換え対象である上記小領域のフレーム・バッフ
ァメモリの書き換えを抑制する様になっている請求項1
に記載のラスタ・グラフィックス・システム。
2. The logic circuit according to claim 1, wherein said mask control logic means comprises: a negated logic gate for negating the pixel data in the pixel cache memory to which data is not added by the scan converter; Of each of the above and each of the write enable signals enabling the storage in the frame buffer memory, and providing each of the logical products to be provided to the frame buffer memory as new write enable signals A gate, and the pixel detected by the data detection means.
If the data in the cache memory is all 0,
In order to mask a region other than the new pixel data to be added to and stored in the frame buffer memory from the entire region of the pixel cache memory.
Controls each write enable signal of each AND gate
Frame buffer of the small area to be rewritten
Claim 1 wherein rewriting of the memory is suppressed .
A raster graphics system as described in 1.
JP05160641A 1993-06-30 1993-06-30 Raster graphics system Expired - Fee Related JP3104050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05160641A JP3104050B2 (en) 1993-06-30 1993-06-30 Raster graphics system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05160641A JP3104050B2 (en) 1993-06-30 1993-06-30 Raster graphics system

Publications (2)

Publication Number Publication Date
JPH07110787A JPH07110787A (en) 1995-04-25
JP3104050B2 true JP3104050B2 (en) 2000-10-30

Family

ID=15719331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05160641A Expired - Fee Related JP3104050B2 (en) 1993-06-30 1993-06-30 Raster graphics system

Country Status (1)

Country Link
JP (1) JP3104050B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4699036B2 (en) * 2005-01-31 2011-06-08 三菱電機株式会社 Graphics hardware
US8803898B2 (en) * 2009-12-17 2014-08-12 Arm Limited Forming a windowing display in a frame buffer

Also Published As

Publication number Publication date
JPH07110787A (en) 1995-04-25

Similar Documents

Publication Publication Date Title
US6731288B2 (en) Graphics engine with isochronous context switching
US6791559B2 (en) Parameter circular buffers
US6819332B2 (en) Antialias mask generation
US6977649B1 (en) 3D graphics rendering with selective read suspend
CA1297214C (en) High resolution graphics display adapter
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
US7227556B2 (en) High quality antialiased lines with dual sampling pattern
US20020118202A1 (en) Same tile method
US20030164830A1 (en) Yield enhancement of complex chips
US20020126124A1 (en) Planar byte memory organization with linear access
US20030164825A1 (en) In-circuit test using scan chains
US7050063B1 (en) 3-D rendering texture caching scheme
EP0548586A2 (en) An extendable multiple image-buffer for graphics systems
JPH09245179A (en) Computer graphics equipment
US20020130874A1 (en) Vector instruction set
KR100274919B1 (en) System and method for double buffering graphics image data with compressed frame buffers
US6587113B1 (en) Texture caching with change of update rules at line end
JPH06175646A (en) Frame buffer and raster processor for graphic system and method for buffering pixel variable
US6952217B1 (en) Graphics processing unit self-programming
CN1430769B (en) Block Graphic Structure
JP3104050B2 (en) Raster graphics system
CN104504647A (en) On-chip storage hierarchical structure of image processor
JPS60140470A (en) Image information processing device
US6222561B1 (en) Render optimization using page alignment techniques
US5444845A (en) Raster graphics system having mask control logic

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080901

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees