JPH0659664A - Pattern picture drawing processing method using cash image - Google Patents

Pattern picture drawing processing method using cash image

Info

Publication number
JPH0659664A
JPH0659664A JP4213854A JP21385492A JPH0659664A JP H0659664 A JPH0659664 A JP H0659664A JP 4213854 A JP4213854 A JP 4213854A JP 21385492 A JP21385492 A JP 21385492A JP H0659664 A JPH0659664 A JP H0659664A
Authority
JP
Japan
Prior art keywords
data
pattern
picture
image
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.)
Pending
Application number
JP4213854A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Matsushita
充宏 松下
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP4213854A priority Critical patent/JPH0659664A/en
Publication of JPH0659664A publication Critical patent/JPH0659664A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a method to carry out picture-drawing processing of continuous same patterns at high speed while finishing computing process from a picture-drawing pattern data to a bit image at one time. CONSTITUTION:A data input processing part 1 receives an input picture-drawing data and compares the picture-drawing pattern data and a held data of a picture-drawing pattern data memory 2. In the case where they are different patterns or there is no held pattern, control is moved to a data processing part 3, and when they are the same patterns, control is moved to a picture- drawing processing part 5. The data processing part 3 stores the picture-drawing data in the picture-drawing pattern data memory 2, calculates a bit image and stores it in an image cash memory 4. At the picture-drawing processing part 5, a held bit image of the image cash memory 4 is read out, an address on a frame memory is calculated from a picture-drawing coordinate data out of the input picture-drawing data, the aquired bit image is written in it and a picture-drawing is displayed on a bit map display.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、キャッシュイメージを
用いたパターン描画処理方式に関し、特にメモリ空間に
マップされたフレームメモリにアクセスすることで、ビ
ットマップディスプレイ上への描画を行うシステムにお
ける、パターン描画処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern drawing processing method using a cache image, and particularly to a pattern drawing system for accessing a frame memory mapped in a memory space to perform drawing on a bitmap display. Regarding the drawing processing method.

【0002】[0002]

【従来の技術】パターン描画処理を行うための入力デー
タは、描画パターンのイメージを示す描画パターンデー
タと、描画の位置を示す描画座標データとから成る。従
来は、描画パターンデータから描画パターンのビットイ
メージを計算し、描画座標データからフレームメモリ上
のアドレスを計算し、そのアドレスに得られたビットイ
メージを書き込むことによりパターン描画処理を行う。
2. Description of the Related Art Input data for performing pattern drawing processing consists of drawing pattern data showing an image of a drawing pattern and drawing coordinate data showing a drawing position. Conventionally, pattern drawing processing is performed by calculating a bit image of a drawing pattern from drawing pattern data, calculating an address on a frame memory from drawing coordinate data, and writing the obtained bit image at the address.

【0003】[0003]

【発明が解決しようとする課題】従来のパターン描画処
理方式では、複数のパターン描画処理を行う場合に、描
画パターンデータが連続する場合にも、毎回ビットイメ
ージの計算を行っている。このため同じパターンの描画
を多数回にわたって連続描画する場合に、毎回同じビッ
トイメージの計算処理に膨大な時刻を費やしている。
In the conventional pattern drawing processing method, when a plurality of pattern drawing processes are performed, the bit image is calculated every time even when the drawing pattern data is continuous. For this reason, when the same pattern is drawn many times, a huge amount of time is spent on the calculation processing of the same bit image each time.

【0004】[0004]

【課題を解決するための手段】本発明は上記問題点の解
決を図り、入力描画データのうちの描画パターンデータ
が過去において最近のパターン描画処理時の描画パター
ンデータと異なる場合にのみ描画パターンデータからビ
ットイメージへの計算処理を行い、得られたビットイメ
ージをイメージキャッシュメモリに保持しておき、同じ
パターンの描画処理が連続する場合にはイメージキャッ
シュメモリのデータをフレームメモリへコピーすること
により描画処理を行う、同じビットイメージの計算処理
を連続させないことにより、連続する同じパターンの描
画処理の高速化を目的としている。そのため、本発明の
キャッシュイメージを用いたパターン描画処理方式は、
ビットマップディスプレイを表示装置とし、メモリ空間
にマップされたフレームメモリにアクセスすることで、
ビットマップディスプレイ上への描画を行うシステムに
おいて、パターン描画を行う場合に、入力描画データを
受け付けるデータ入力・前処理部と、入力描画データの
うちの描画パターンデータが過去において最近のパター
ン描画処理時の描画パターンデータと異なる場合に描画
パターンのビットイメージを計算するデータ処理部と、
入力描画データのうちの描画パターンデータを保持する
描画パターンデータメモリと、描画パターンのビットイ
メージを保持するイメージキャッシュメモリと、入力描
画データのうちの描画座標データにより示されるフレー
ムメモリ上のアドレスに上記イメージキャッシュメモリ
のデータを書き込む描画処理部とをそなえ、パターン描
画を行う、場合に、過去において最近のパターン描画処
理時と同じビットイメージの描画であれば、パターンデ
ータからビットイメージへの計算処理を行わずに、イメ
ージキャッシュメモリのデータをフレームメモリへコピ
ーすることにより、高速にパターン描画することを特徴
としている。
SUMMARY OF THE INVENTION The present invention solves the above problems, and only when the drawing pattern data of the input drawing data is different from the drawing pattern data of the latest pattern drawing processing in the past, the drawing pattern data is obtained. From the image cache memory to the bit image, hold the obtained bit image in the image cache memory, and if the drawing process of the same pattern continues, copy the data in the image cache memory to the frame memory to draw. The purpose is to speed up the drawing process of the same continuous pattern by not performing the same calculation process of the same bit image. Therefore, the pattern drawing processing method using the cache image of the present invention is
By using the bitmap display as a display device and accessing the frame memory mapped in the memory space,
When a pattern is drawn in a system that draws on a bitmap display, the data input / pre-processing unit that accepts input drawing data, and the drawing pattern data of the input drawing data is the latest pattern drawing process in the past. A data processing unit that calculates a bit image of the drawing pattern when it differs from the drawing pattern data of
The drawing pattern data memory that holds the drawing pattern data of the input drawing data, the image cache memory that holds the bit image of the drawing pattern, and the address on the frame memory indicated by the drawing coordinate data of the input drawing data at the address above. In the case of performing pattern drawing with a drawing processing unit that writes data in the image cache memory, in the case of drawing the same bit image as in the past pattern drawing processing in the past, calculation processing from pattern data to bit image is performed. The feature is that the pattern drawing is performed at high speed by copying the data of the image cache memory to the frame memory without performing it.

【0005】[0005]

【実施例】以下図面を参照しつつ実施例に従って説明す
る。
Embodiments will be described below with reference to the accompanying drawings.

【0006】図1は本発明の一実施例の構成を示し、図
2は本実施例の処理を示す。図1において、本発明の一
実施例はデータ入力・前処理部1、描画パターンデータ
メモリ2、データ処理部3、イメージキャッシュメモリ
4および描画処理部5により構成されている。データ入
力・前処理部1は、入力描画データを受け付け、入力描
画データのうちの描画パターンデータと、描画パターン
データメモリ2に保持されている描画パターンデータと
を比較するものである。描画パターンデータメモリ2
は、イメージキャッシュメモリ4に現在保持されている
ビットイメージの描画パターンデータを保持するもので
ある。データ処理部3は、入力描画データの描画パター
ンデータからビットイメージを計算し、イメージキャッ
シュメモリ4に格納するものである。描画処理部5は、
入力描画データのうちの描画座標データよりフレームメ
モリ上のアドレスを計算し、得られたアドレスに、イメ
ージキャッシュメモリ4に格納されているビットイメー
ジを書き込むものである。
FIG. 1 shows the configuration of an embodiment of the present invention, and FIG. 2 shows the processing of this embodiment. In FIG. 1, an embodiment of the present invention comprises a data input / preprocessing unit 1, a drawing pattern data memory 2, a data processing unit 3, an image cache memory 4 and a drawing processing unit 5. The data input / preprocessing unit 1 receives input drawing data and compares the drawing pattern data of the input drawing data with the drawing pattern data held in the drawing pattern data memory 2. Drawing pattern data memory 2
Holds the drawing pattern data of the bit image currently held in the image cache memory 4. The data processing unit 3 calculates a bit image from the drawing pattern data of the input drawing data and stores it in the image cache memory 4. The drawing processing unit 5
The address on the frame memory is calculated from the drawing coordinate data of the input drawing data, and the bit image stored in the image cache memory 4 is written to the obtained address.

【0007】次に、図2を用いて本実施例の動作を示
す。まず、データ入力・前処理部1において、入力描画
データが受け付けられると(ステップ21)、入力描画
データのうちの描画パターンデータと、描画パターンデ
ータメモリ2に保持されている描画パターンデータとを
比較し(ステップ22)、異なるパターンである場合、
または描画パターンデータメモリ2にデータが保持され
ていない場合は、データ処理部3に制御が移る。同じパ
ターンである場合、描画処理部5に制御が移る。データ
処理部3に制御が移ると、入力描画データのうちの描画
パターンデータを描画パターンデータメモリ2に格納し
(ステップ23)、描画パターンデータからビットイメ
ージの計算を行い(ステップ24)、得られたビットイ
メージをイメージキャッシュメモリ4に格納し(ステッ
プ25)、描画処理部5に制御を移す。描画処理部5に
制御が移ると、イメージキャッシュメモリ4に保持され
ているビットイメージを読み出し(ステップ26)、入
力描画データのうちの描画座標データからフレームメモ
リ上のアドレスを計算し(ステップ27)、ステップ2
7で得られたアドレスに、ステップ26で得られたビッ
トイメージを書き込み(ステップ28)、ビットマップ
ディスプレイ上への描画を行う。
Next, the operation of this embodiment will be described with reference to FIG. First, when the data input / preprocessing unit 1 receives the input drawing data (step 21), the drawing pattern data of the input drawing data is compared with the drawing pattern data held in the drawing pattern data memory 2. (Step 22), if the patterns are different,
Alternatively, if no data is held in the drawing pattern data memory 2, control is transferred to the data processing unit 3. When the patterns are the same, control is transferred to the drawing processing unit 5. When the control is transferred to the data processing unit 3, the drawing pattern data of the input drawing data is stored in the drawing pattern data memory 2 (step 23) and the bit image is calculated from the drawing pattern data (step 24) to obtain the data. The stored bit image is stored in the image cache memory 4 (step 25), and the control is transferred to the drawing processing unit 5. When the control is transferred to the drawing processing unit 5, the bit image held in the image cache memory 4 is read (step 26), and the address on the frame memory is calculated from the drawing coordinate data of the input drawing data (step 27). , Step 2
The bit image obtained in step 26 is written to the address obtained in step 7 (step 28), and drawing is performed on the bitmap display.

【0008】[0008]

【発明の効果】以上説明したごとく本発明によれば、パ
ターン描画処理において、同じパターンの描画が連続し
たとき、描画パターンデータからビットイメージへの計
算処理が1回ですむため、連続する同じパターンの描画
処理を高速に行うことができる。
As described above, according to the present invention, in the pattern drawing process, when the drawing of the same pattern is continuous, the calculation process from the drawing pattern data to the bit image only needs to be performed once, so that the same continuous pattern is drawn. The drawing process of can be performed at high speed.

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

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】本実施例の処理を説明するフローチャートを示
す図である。
FIG. 2 is a diagram showing a flowchart for explaining the processing of this embodiment.

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

1 データ入力・前処理部 2 描画パターンデータメモリ 3 データ処理部 4 イメージキャッシュメモリ 5 描画処理部 1 data input / pre-processing unit 2 drawing pattern data memory 3 data processing unit 4 image cache memory 5 drawing processing unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 メモリ空間にマップされたフレームメモ
リにアクセスし、ビットマップディスプレイ上への描画
を行うシステムにおいて、パターン描画を行う場合に、
入力描画データを受け付けるデータ入力・前処理部と、
入力描画データのうちの描画パターンデータが過去にお
いて最近のパターン描画処理時の描画パターンデータと
異なる場合に描画パターンのビットイメージを計算する
データ処理部と、入力描画データのうちの描画パターン
データを保持する描画パターンデータメモリと、描画パ
ターンのビットイメージを保持するイメージキャッシュ
メモリと、入力描画データのうちの描画座標データによ
る示されるフレームメモリ上のアドレスに上記イメージ
キャッシュメモリのデータを書き込む描画処理部とをそ
なえ、パターン描画を行う場合に、過去において最近の
パターン描画処理時と同じビットイメージの描画であれ
ば、パターンデータからビットイメージへの計算処理を
行わずに、イメージキャッシュメモリのデータをフレー
ミメモリへコピーすることにより、パターン描画するこ
とを特徴とするキャッシュイメージを用いたパターン描
画処理方式。
1. A system for accessing a frame memory mapped in a memory space and performing drawing on a bit map display, when performing pattern drawing,
A data input / preprocessing unit that receives input drawing data,
Holds the data processing unit that calculates the bit image of the drawing pattern when the drawing pattern data of the input drawing data differs from the drawing pattern data of the latest pattern drawing process in the past, and the drawing pattern data of the input drawing data A drawing pattern data memory, an image cache memory that holds a bit image of the drawing pattern, and a drawing processing unit that writes the data of the image cache memory to an address on the frame memory indicated by the drawing coordinate data of the input drawing data. In case of pattern drawing, if the same bit image as in the past pattern drawing process in the past is drawn, the data in the image cache memory is transferred to the frame memory without performing the calculation process from the pattern data to the bit image. copy The Rukoto, the pattern drawing process method using a cache image, characterized in that the pattern writing.
JP4213854A 1992-08-11 1992-08-11 Pattern picture drawing processing method using cash image Pending JPH0659664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4213854A JPH0659664A (en) 1992-08-11 1992-08-11 Pattern picture drawing processing method using cash image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4213854A JPH0659664A (en) 1992-08-11 1992-08-11 Pattern picture drawing processing method using cash image

Publications (1)

Publication Number Publication Date
JPH0659664A true JPH0659664A (en) 1994-03-04

Family

ID=16646125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4213854A Pending JPH0659664A (en) 1992-08-11 1992-08-11 Pattern picture drawing processing method using cash image

Country Status (1)

Country Link
JP (1) JPH0659664A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9534635B2 (en) 2005-10-04 2017-01-03 Ntn Corporation Wheel bearing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9534635B2 (en) 2005-10-04 2017-01-03 Ntn Corporation Wheel bearing apparatus

Similar Documents

Publication Publication Date Title
JPH0736443A (en) Display device and frame buffer control method
JPH06180669A (en) Cache system
JPH0659664A (en) Pattern picture drawing processing method using cash image
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JP3154741B2 (en) Image processing apparatus and system
JPS647393Y2 (en)
JP2773458B2 (en) Vector controller
JPH11338456A (en) Map display system and image scroll processing method in it
JPH0697393B2 (en) Bitmap processor
JP2727667B2 (en) Drawing equipment
JP2605609B2 (en) Dot display processing device
JPS63243990A (en) Character transmission system
JPS6324475A (en) Frame memory control system
JP2771350B2 (en) Image processing device
JPH05127662A (en) Display device of information equipment
JPH06282657A (en) Graphic display method and device
JPH0877367A (en) Image processor and image data processor using it
JPH0644385A (en) Z buffer control circuit
JPS6079472A (en) Picture information processing system
JPH06187458A (en) Graphic display device
JPS6368985A (en) Face painting system
JPS60108882A (en) Fast editing display
JPH04373086A (en) Straight line drawing system
JPS6139160A (en) Graphic element retrieval processing system
JPH04333173A (en) Device for displaying picture

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990907