JP2005308887A - Graphics drawing system - Google Patents

Graphics drawing system Download PDF

Info

Publication number
JP2005308887A
JP2005308887A JP2004123172A JP2004123172A JP2005308887A JP 2005308887 A JP2005308887 A JP 2005308887A JP 2004123172 A JP2004123172 A JP 2004123172A JP 2004123172 A JP2004123172 A JP 2004123172A JP 2005308887 A JP2005308887 A JP 2005308887A
Authority
JP
Japan
Prior art keywords
processing unit
transfer
data
display
transfer interval
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.)
Granted
Application number
JP2004123172A
Other languages
Japanese (ja)
Other versions
JP4707964B2 (en
Inventor
Yukari Hiratsuka
由香里 平塚
Yoshiyuki Kato
義幸 加藤
Masataka Katou
聖崇 加藤
Hiroshi Onishi
宏 大西
Akira Torii
晃 鳥居
Ryohei Ishida
良平 石田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2004123172A priority Critical patent/JP4707964B2/en
Publication of JP2005308887A publication Critical patent/JP2005308887A/en
Application granted granted Critical
Publication of JP4707964B2 publication Critical patent/JP4707964B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enhance drawing performance by raising the operating efficiency of a memory bus. <P>SOLUTION: The system comprises; a drawing processing part 11 in which a drawing access request for writing a generated graphics data into a frame memory 2 is performed to a memory control part 13 which is connected to the frame memory 2 via the memory bus 14; and a display control part 12 in which a display access request for reading the graphic data which is written in the frame memory 2 is performed to the memory control part 13. The display control part 12 changes a data transfer interval by the display access request according to a drawing state of the drawing processing part 11. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、グラフィックスデータをフレームメモリに書き込み、書き込まれているグラフィックスデータを読み出して表示させるグラフィック描画装置に関するものである。   The present invention relates to a graphic drawing apparatus that writes graphics data to a frame memory and reads and displays the written graphics data.

従来、グラフィックス描画装置における表示制御部は、表示装置の表示レートに合わせて一定の間隔でメモリ制御部に表示用の転送要求を定期的に出し、1フレームのサイクル数をフレーム当りの転送回数で割って得られるような一定の転送レートでデータ転送を行っていた。これらに関する技術として特許文献1等がある。   Conventionally, a display control unit in a graphics drawing device periodically issues a display transfer request to the memory control unit at regular intervals according to the display rate of the display device, and calculates the number of cycles per frame as the number of transfers per frame. Data transfer was performed at a constant transfer rate obtained by dividing by. There exists patent document 1 etc. as a technique regarding these.

図15は従来のグラフィックス描画装置を含む表示システムの構成を示すブロック図である。このグラフィックス描画装置1は描画処理部91、表示制御部92、メモリ制御部93及びメモリバス94を備え、フレームメモリ2及び表示装置3と接続されている。また、描画処理部91、表示制御部92、メモリ制御部93及びフレームメモリ2はメモリバス94で接続されている。   FIG. 15 is a block diagram showing a configuration of a display system including a conventional graphics drawing apparatus. The graphics drawing apparatus 1 includes a drawing processing unit 91, a display control unit 92, a memory control unit 93, and a memory bus 94, and is connected to the frame memory 2 and the display device 3. The drawing processing unit 91, the display control unit 92, the memory control unit 93, and the frame memory 2 are connected by a memory bus 94.

次に動作について説明する。
グラフィックス描画装置1の描画処理部91はグラフィックスデータを作成し、メモリ制御部93に描画用のアクセス要求を出してフレームメモリ2に作成したグラフィックスデータを描画する。そして、表示制御部92はメモリ制御部93に表示用のアクセス要求を出してフレームメモリ2に書き込まれているグラフィックスデータを読み出して表示装置3上に表示させる。
Next, the operation will be described.
The drawing processing unit 91 of the graphics drawing apparatus 1 creates graphics data, issues a drawing access request to the memory control unit 93, and draws the created graphics data in the frame memory 2. Then, the display control unit 92 issues a display access request to the memory control unit 93 to read out the graphics data written in the frame memory 2 and display it on the display device 3.

図16は従来のグラフィックス描画装置のメモリ制御部93によるフレームメモリ2へのアクセス要求を示すタイミングチャートである。図16において、「一定の転送間隔C」は表示装置3側へ一定の間隔でデータ転送を行う場合の表示制御部92が管理している転送間隔を示しており、「描画OFF」は描画処理部91が描画中でないことを示し、「描画中」は描画処理部91が描画中であることを示している。また、「表示」は表示制御部92による表示用のアクセス要求を示し、「描画」は描画処理部91による描画用のアクセス要求を示している。   FIG. 16 is a timing chart showing an access request to the frame memory 2 by the memory control unit 93 of the conventional graphics drawing apparatus. In FIG. 16, “fixed transfer interval C” indicates the transfer interval managed by the display control unit 92 when data is transferred to the display device 3 at a fixed interval, and “drawing OFF” indicates drawing processing. The section 91 indicates that drawing is not being performed, and “drawing” indicates that the drawing processing section 91 is drawing. “Display” indicates an access request for display by the display control unit 92, and “Drawing” indicates an access request for drawing by the drawing processing unit 91.

図16に示すように、表示用のアクセス要求は表示装置3の表示レートに合わせて、1フレームのサイクル数をフレーム当りの転送回数で割って得られるような一定の転送間隔Cで定期的に行われている。また、描画用のアクセス要求は、CPU(図示せず)からの描画命令により描画処理部91が描画状態となった場合に行われる。よって、描画状態でない場合には、表示用のアクセス要求のみが間隔を空けて行われており、メモリバス94が有効に使用されていない。   As shown in FIG. 16, the display access request is periodically made at a constant transfer interval C such that the number of cycles per frame is obtained by dividing the number of cycles per frame in accordance with the display rate of the display device 3. Has been done. The drawing access request is made when the drawing processing unit 91 is in a drawing state by a drawing command from a CPU (not shown). Therefore, when not in a drawing state, only display access requests are made at intervals, and the memory bus 94 is not used effectively.

また、特許文献2に開示されているディスプレイ制御装置では、データの書き込みと読み出しを1ポートのフレームメモリで実現する例が示されているが、この例においても、表示のための読み出しが優先的であり一定のレートで行われている。   In addition, in the display control device disclosed in Patent Document 2, an example in which data writing and reading are realized by a one-port frame memory is shown. In this example, reading for display is preferential. At a constant rate.

さらに、特許文献3に開示されているような航空管制用等の高機能なグラフィックス表示装置では、コンピュータグラフィックス画像とその他の画像の重畳表示、あるいは表示装置に合わせた走査変換のために、描画装置と表示装置の間に画像メモリを持っている。このように、グラフィックス描画装置と表示装置の間に画像メモリを有するシステムにおいては、グラフィックス描画用のフレームメモリと表示側の画像メモリ間のデータ転送は常に同じ間隔で読み出しを行う必要がない。   Furthermore, in a highly functional graphics display device for air traffic control or the like as disclosed in Patent Document 3, in order to superimpose a computer graphics image and other images, or to perform scan conversion in accordance with the display device, An image memory is provided between the drawing device and the display device. Thus, in a system having an image memory between the graphics drawing device and the display device, data transfer between the graphics drawing frame memory and the display-side image memory does not always have to be performed at the same interval. .

特開平10−74073号公報(段落0015)Japanese Patent Laid-Open No. 10-74073 (paragraph 0015) 特開平10−232823号公報(段落0009)JP-A-10-232823 (paragraph 0009) 特開平8−201508号公報(段落0026)JP-A-8-201508 (paragraph 0026)

従来のグラフィックス描画装置は以上のように構成され、表示制御部91が表示装置3の表示レートに合わせて一定の転送間隔Cで定期的にフレームメモリ2に対する表示用のアクセス要求を行っているため、描画処理部11が描画を行っていない場合には、フレームメモリ2に対するアクセス要求に空きができ、一方、描画処理部11が描画を行っている場合にも、一定の転送間隔Cで表示用のアクセス要求が生じるため、メモリバス94が有効に使用されておらず描画性能が低下するという課題があった。   The conventional graphics drawing apparatus is configured as described above, and the display control unit 91 periodically issues a display access request to the frame memory 2 at a constant transfer interval C in accordance with the display rate of the display apparatus 3. Therefore, when the drawing processing unit 11 is not drawing, an access request to the frame memory 2 is vacant. On the other hand, even when the drawing processing unit 11 is drawing, a display is performed at a constant transfer interval C. Therefore, there is a problem that the memory bus 94 is not used effectively and drawing performance is deteriorated.

この発明は上記のような課題を解決するためになされたもので、フレームメモリに接続されているメモリバスの使用効率を上げ、描画性能を向上させることができるグラフィックス描画装置を得ることを目的とする。   The present invention has been made in order to solve the above-described problems, and an object of the present invention is to provide a graphics drawing apparatus capable of increasing the use efficiency of a memory bus connected to a frame memory and improving the drawing performance. And

この発明に係るグラフィックス描画装置は、作成したグラフィックスデータをフレームメモリに書き込むための描画用のアクセス要求を、メモリバスを介して上記フレームメモリに接続されているメモリ制御部に行う描画処理部と、上記フレームメモリに書き込まれているグラフィックスデータを読み出すための表示用のアクセス要求を上記メモリ制御部に行う表示制御部とを備え、上記表示制御部は上記描画処理部の描画状態に応じて表示用のアクセス要求によるデータ転送間隔を変化させるものである。   The graphics drawing apparatus according to the present invention performs a drawing access request for writing created graphics data in a frame memory to a memory control unit connected to the frame memory via a memory bus. And a display control unit that makes a display access request for reading the graphics data written in the frame memory to the memory control unit, the display control unit according to the drawing state of the drawing processing unit Thus, the data transfer interval according to the access request for display is changed.

この発明によれば、描画時のメモリバスの使用効率を上げることができ、描画性能を向上させることができるという効果が得られる。   According to the present invention, it is possible to increase the use efficiency of the memory bus at the time of drawing and to improve the drawing performance.

以下、この発明の実施の一形態を説明する。
実施の形態1.
図1はこの発明の実施の形態1によるグラフィックス描画装置を含む表示システムの構成を示すブロック図である。このグラフィックス描画装置1は、描画処理部11、表示制御部12及びメモリ制御部13を備え、フレームメモリ2と接続されると共に、画像合成・走査変換器4を介して表示装置3と画像メモリ5と接続されている。また、描画処理部11、表示制御部12、メモリ制御部13及びフレームメモリ2はメモリバス14により接続されている。
An embodiment of the present invention will be described below.
Embodiment 1 FIG.
1 is a block diagram showing a configuration of a display system including a graphics drawing apparatus according to Embodiment 1 of the present invention. The graphics drawing device 1 includes a drawing processing unit 11, a display control unit 12, and a memory control unit 13. The graphics drawing device 1 is connected to the frame memory 2 and is connected to the display device 3 and the image memory via the image composition / scanning converter 4. 5 is connected. The drawing processing unit 11, the display control unit 12, the memory control unit 13, and the frame memory 2 are connected by a memory bus 14.

図1において、グラフィックス描画装置1はCPU(図示せず)からの描画命令に従って描画データを算出し、フレームメモリ2に対してグラフィックスデータを作成し、作成したグラフィックスデータをフレームメモリ2に書き込み、フレームメモリ2に格納されているグラフィックスデータを、描画状態に応じた表示用のデータ転送間隔で読み出して画像合成・走査変換器4に出力する。フレーメモリ2はグラフィックスデータの作成に利用され、作成されたグラフィックスデータを格納している。   In FIG. 1, a graphics drawing apparatus 1 calculates drawing data in accordance with a drawing command from a CPU (not shown), creates graphics data in the frame memory 2, and creates the created graphics data in the frame memory 2. The graphics data stored in the writing and frame memory 2 is read out at a display data transfer interval corresponding to the drawing state and output to the image composition / scanning converter 4. The frame memory 2 is used to create graphics data and stores the created graphics data.

画面合成・走査変換器4は、グラフィックス描画装置1にて作成されたグラフィックスデータを画像メモリ5に格納し、表示装置3に合わせて走査変換等を行って表示装置3に出力したり、グラフィックスデータとその他の画像データ等を画像メモリ5を使用して合成し表示装置3に合わせて走査変換等を行って表示装置3に出力する。画像メモリ5はグラフィックスデータとその他の画像データ等の合成や走査変換のために使用される。表示装置3は、走査変換等が行われたグラフィックスデータを表示したり、合成され走査変換等が行われた合成データを表示する。   The screen composition / scan converter 4 stores the graphics data created by the graphics drawing device 1 in the image memory 5, performs scan conversion according to the display device 3, and outputs it to the display device 3. The graphics data and other image data are combined using the image memory 5, and are subjected to scan conversion or the like in accordance with the display device 3 and output to the display device 3. The image memory 5 is used for combining graphics data and other image data, and for scan conversion. The display device 3 displays graphics data that has undergone scan conversion or the like, or displays synthesized data that has been combined and subjected to scan conversion or the like.

次に動作について説明する。
グラフィックス描画装置1の描画処理部11は、CPUからの描画命令に従って描画データの算出を行ってグラフィックスデータを作成し、算出に必要なデータをフレームメモリ2から読み出したり、作成したグラフィックスデータをフレームメモリ2に書き込むための描画用のアクセス要求をメモリ制御部13に対して行うと共に、描画状態であるか否かを示す描画状態フラグ101を表示制御部12に出力する。メモリ制御部13は描画処理部11からの描画用のアクセス要求を受けて、フレームメモリ2からデータを読み出したり、グラフィックスデータをフレームメモリ2へ書き込む。
Next, the operation will be described.
The drawing processing unit 11 of the graphics drawing apparatus 1 generates drawing data by calculating drawing data in accordance with a drawing command from the CPU, reads out data necessary for the calculation from the frame memory 2, and generates the generated graphics data. A drawing access request for writing to the frame memory 2 is made to the memory control unit 13 and a drawing state flag 101 indicating whether or not the drawing state is set is output to the display control unit 12. In response to a drawing access request from the drawing processing unit 11, the memory control unit 13 reads data from the frame memory 2 or writes graphics data to the frame memory 2.

表示制御部12は描画処理部11からの描画状態フラグ101に従った適当なデータ転送間隔でフレームメモリ2に格納されているグラフィックスデータを読み出すための表示用のアクセス要求をメモリ制御部13に対して行う。メモリ制御部13は表示制御部12からの表示用のアクセス要求を受けてフレームメモリ2に格納されているグラフィックスデータを読み出し、表示制御部12はメモリ制御部13により読み出されたグラフィックスデータを画像合成・走査変換器4に転送する。   The display control unit 12 sends a display access request for reading the graphics data stored in the frame memory 2 at an appropriate data transfer interval according to the drawing state flag 101 from the drawing processing unit 11 to the memory control unit 13. Against. The memory control unit 13 receives the display access request from the display control unit 12 and reads the graphics data stored in the frame memory 2. The display control unit 12 reads the graphics data read by the memory control unit 13. Is transferred to the image composition / scanning converter 4.

図2は表示制御部12の内部構成を示すブロック図であり、この表示制御部12は転送間隔制御部21を備えている。図2において、転送間隔制御部21は描画処理部11からの描画状態フラグ101に従った適当なデータ転送間隔でフレームメモリ2に格納されているグラフィックスデータを読み出すための描画用のアクセス要求である転送要求トリガ102をメモリ制御部13に対して発生し、メモリ制御部13により読み出されたグラフィックスデータを画像合成・走査変換器4に転送する。   FIG. 2 is a block diagram showing an internal configuration of the display control unit 12, and the display control unit 12 includes a transfer interval control unit 21. In FIG. 2, the transfer interval control unit 21 is a drawing access request for reading graphics data stored in the frame memory 2 at an appropriate data transfer interval according to the drawing state flag 101 from the drawing processing unit 11. A transfer request trigger 102 is generated for the memory control unit 13, and the graphics data read by the memory control unit 13 is transferred to the image composition / scanning converter 4.

図3はメモリ制御部13によるフレームメモリ2へのアクセス要求を示すタイミングチャートであり、1フレーム内の局所的アクセス要求を示している。図3において、「一定の転送間隔C」は表示装置3側へ一定の間隔でデータ転送を行う場合の表示制御部12が管理している転送間隔を示しており、「描画OFF」は描画状態フラグ101が描画中でないことを示し、「描画中」は描画状態フラグ101が描画中であることを示している。また、「表示」は表示制御部12の転送間隔制御部21による表示用のアクセス要求を示し、「描画」は描画処理部11による描画用のアクセス要求を示している。   FIG. 3 is a timing chart showing an access request to the frame memory 2 by the memory control unit 13, and shows a local access request within one frame. In FIG. 3, “fixed transfer interval C” indicates a transfer interval managed by the display control unit 12 when data is transferred to the display device 3 at a fixed interval, and “drawing OFF” indicates a drawing state. The flag 101 indicates that drawing is not being performed, and “drawing” indicates that the drawing state flag 101 is being drawn. “Display” indicates an access request for display by the transfer interval control unit 21 of the display control unit 12, and “Drawing” indicates an access request for drawing by the drawing processing unit 11.

図3に示す例では、描画処理部11からの描画状態フラグ101が描画中でないことを示す場合には、転送間隔制御部21によるメモリ制御部13への転送要求トリガ102の発生間隔を短くすることによりデータ転送間隔を転送間隔Aと短くして表示装置3側へのデータ転送レートを高くし、描画処理部11からの描画状態フラグ101が描画中であることを示す場合には、転送間隔制御部21によるメモリ制御部13への転送要求トリガ102の発生間隔を長くすることによりデータ転送間隔を転送間隔Bと長くして表示装置3側へのデータ転送レートを下げている。そして、メモリ制御部13は転送間隔Bにおける表示用のアクセス要求以外の時間に描画処理部11からの描画用のアクセス要求を受け付ける。   In the example illustrated in FIG. 3, when the drawing state flag 101 from the drawing processing unit 11 indicates that drawing is not being performed, the generation interval of the transfer request trigger 102 to the memory control unit 13 by the transfer interval control unit 21 is shortened. Thus, when the data transfer interval is shortened to the transfer interval A to increase the data transfer rate to the display device 3 side and the drawing state flag 101 from the drawing processing unit 11 indicates that drawing is in progress, the transfer interval By increasing the generation interval of the transfer request trigger 102 to the memory control unit 13 by the control unit 21, the data transfer interval is increased to the transfer interval B, and the data transfer rate to the display device 3 side is lowered. The memory control unit 13 receives a drawing access request from the drawing processing unit 11 at a time other than the display access request at the transfer interval B.

画像合成・走査変換器4は、グラフィックス描画装置1にて作成されたグラフィックスデータを画像メモリ5に格納し、表示装置3に合わせて走査変換等を行って表示装置3に出力したり、グラフィックス描画装置1にて作成されたグラフィックスデータとその他の画像データ等を画像メモリ5を使用して合成し表示装置3に合わせて走査変換等を行って表示装置3に出力する。表示装置3は、画面合成・走査変換器4により走査変換等が行われたグラフィックスデータを表示したり、画面合成・走査変換器4により合成され走査変換等が行われた合成データを表示する。このように、グラフィックス描画装置1と表示装置3の間に画像メモリ5を備えておくことにより、フレームメモリ2と表示装置3間のグラフィックスデータのデータ転送間隔を常に同じにする必要がない。   The image composition / scan converter 4 stores the graphics data created by the graphics drawing device 1 in the image memory 5, performs scan conversion according to the display device 3, and outputs it to the display device 3. The graphics data generated by the graphics drawing device 1 and other image data are combined using the image memory 5, scan-converted in accordance with the display device 3, and output to the display device 3. The display device 3 displays graphics data that has undergone scan conversion or the like by the screen composition / scan converter 4 or displays composite data that has been synthesized by the screen composition / scan converter 4 and has undergone scan conversion or the like. . Thus, by providing the image memory 5 between the graphics drawing device 1 and the display device 3, it is not always necessary to make the data transfer interval of the graphics data between the frame memory 2 and the display device 3 the same. .

なお、この実施の形態1では、フレームメモリ2を外部メモリとして設置しているが、グラフィックス描画装置1内の主記憶上の一部のメモリ領域を確保するものであっても良い。   In the first embodiment, the frame memory 2 is installed as an external memory. However, a part of the memory area on the main memory in the graphics drawing apparatus 1 may be secured.

以上のように、この実施の形態1によれば、描画処理部11の処理状態を示す描画状態フラグ101が描画中でないことを示す場合には、表示制御部12が表示用のデータ転送間隔を短くして表示装置3側へのデータ転送レートを高くし、描画状態フラグ101が描画中であることを示す場合には、表示制御部12が表示用のデータ転送間隔を長くして表示装置3側へのデータ転送レートを低くすることにより、描画処理部11が描画しようとするときに表示制御部12による表示用のアクセス要求が減り、その分、描画処理部11によるアクセス要求を増加させることができるので、メモリバス14の使用効率を上げることができ、描画性能を向上させることができるという効果が得られる。   As described above, according to the first embodiment, when the drawing state flag 101 indicating the processing state of the drawing processing unit 11 indicates that drawing is not in progress, the display control unit 12 sets the data transfer interval for display. When the data transfer rate to the display device 3 side is shortened and the drawing state flag 101 indicates that drawing is in progress, the display control unit 12 increases the display data transfer interval to increase the display device 3 side. By reducing the data transfer rate to the side, the display access request by the display control unit 12 is reduced when the drawing processing unit 11 is about to draw, and the access request by the drawing processing unit 11 is increased accordingly. Therefore, the use efficiency of the memory bus 14 can be increased, and the drawing performance can be improved.

実施の形態2.
この発明の実施の形態2によるグラフィックス描画装置を含む表示システムの構成を示すブロック図は実施の形態1の図1と同じであり、表示制御部12の内部構成を示すブロック図は実施の形態1の図2と同じである。上記実施の形態1では、描画処理部11が描画中か否かにより表示用のデータ転送間隔を制御しているが、この実施の形態2は描画処理部11の描画状態に応じて表示用のデータ転送間隔とデータ転送数を細かく制御して、より描画性能の向上を実現するものである。
Embodiment 2. FIG.
A block diagram showing a configuration of a display system including a graphics drawing apparatus according to Embodiment 2 of the present invention is the same as that in FIG. 1 of Embodiment 1, and a block diagram showing an internal configuration of display control unit 12 is shown in the embodiment. 1 is the same as FIG. In the first embodiment, the display data transfer interval is controlled depending on whether or not the drawing processing unit 11 is drawing. In the second embodiment, the display data transfer interval is controlled according to the drawing state of the drawing processing unit 11. Finer control of the data transfer interval and the number of data transfers realizes further improvement in drawing performance.

図4は表示制御部12内の転送間隔制御部21の内部構成を示すブロック図である。この転送間隔制御部21は、レジスタ31,32,33,34、セレクタ35及び転送トリガ発生部36を備えている。   FIG. 4 is a block diagram showing an internal configuration of the transfer interval control unit 21 in the display control unit 12. The transfer interval control unit 21 includes registers 31, 32, 33, 34, a selector 35, and a transfer trigger generation unit 36.

図4において、レジスタ31には描画状態aの描画状態フラグ101に適したデータ転送間隔a及びデータ転送数aが設定され、レジスタ32には描画状態bの描画状態フラグ101に適したデータ転送間隔b及びデータ転送数bが設定され、レジスタ33には描画状態cの描画状態フラグ101に適したデータ転送間隔c及びデータ転送数cが設定され、レジスタ34には描画状態dの描画状態フラグ101に適したデータ転送間隔d及びデータ転送数dが設定されている。ここで、データ転送数a〜dはフレームメモリ2から表示用のグラフィックスデータを転送する際の一度のバースト転送で転送するデータ数を示している。   In FIG. 4, the data transfer interval a and the data transfer number a suitable for the drawing state flag 101 in the drawing state a are set in the register 31, and the data transfer interval suitable for the drawing state flag 101 in the drawing state b is set in the register 32. b and the data transfer number b are set, the data transfer interval c and the data transfer number c suitable for the drawing state flag 101 in the drawing state c are set in the register 33, and the drawing state flag 101 in the drawing state d is set in the register 34. A data transfer interval d and a data transfer number d suitable for the above are set. Here, the data transfer numbers a to d indicate the number of data to be transferred by one burst transfer when transferring the graphics data for display from the frame memory 2.

セレクタ35は描画処理部11からの描画状態フラグ101が示す描画状態a〜dに応じてレジスタ31〜34のいずれかを選択することによりデータ転送間隔a〜d及びデータ転送数a〜dのいずれかを選択する。転送トリガ発生部36はセレクタ35により選択されたデータ転送間隔及びデータ転送数に従ってメモリ制御部13に転送要求トリガ102を発生する。   The selector 35 selects any one of the data transfer intervals a to d and the number of data transfers a to d by selecting one of the registers 31 to 34 according to the drawing states a to d indicated by the drawing state flag 101 from the drawing processing unit 11. Select. The transfer trigger generator 36 generates a transfer request trigger 102 in the memory controller 13 according to the data transfer interval and the number of data transfers selected by the selector 35.

次に動作について説明する。
表示制御部12内の転送間隔制御部21のレジスタ31〜34には、描画処理部11の各描画状態a〜dに対して最適なデータ転送間隔及びデータ転送数が設定されている。セレクタ35は、描画処理部11からの描画状態フラグ101が示す各描画状態a〜dに従って、レジスタ31〜34に設定されている最適なデータ転送間隔及びデータ転送数の選択を動的に行い、転送トリガ発生部36は、セレクタ35により選択されたデータ転送間隔及びデータ転送数の値に従って、メモリ制御部13に対して転送要求トリガ102を発生することにより、表示制御部12はデータ転送間隔とデータ転送数を変化させて表示装置3側へのデータ転送を行う。
Next, the operation will be described.
In the registers 31 to 34 of the transfer interval control unit 21 in the display control unit 12, an optimum data transfer interval and data transfer number are set for each drawing state a to d of the drawing processing unit 11. The selector 35 dynamically selects an optimum data transfer interval and data transfer number set in the registers 31 to 34 according to the respective drawing states a to d indicated by the drawing state flag 101 from the drawing processing unit 11. The transfer trigger generation unit 36 generates a transfer request trigger 102 for the memory control unit 13 in accordance with the data transfer interval and the number of data transfers selected by the selector 35, whereby the display control unit 12 determines the data transfer interval. Data transfer to the display device 3 is performed by changing the number of data transfers.

この実施の形態2では、セレクタ35により選択されたデータ転送数により各表示用のアクセス要求によるデータ転送数が異なるので、表示制御部12は、転送するデータ転送数を加算し、1フレーム内の総データ転送数が所定の総データ転送数となるように制御する。   In the second embodiment, since the number of data transfers due to each display access request differs depending on the number of data transfers selected by the selector 35, the display control unit 12 adds the number of data transfers to be transferred, Control is performed so that the total data transfer number becomes a predetermined total data transfer number.

図5はメモリ制御部13によるフレームメモリ2へのアクセス要求を示すタイミングチャートであり、1フレーム内の局所的アクセス要求を示している。図5において、「一定の転送間隔C」は表示装置3側へ一定の間隔でデータ転送を行う場合の表示制御部12が管理している転送間隔を示しており、「描画状態a〜d」は描画状態フラグ101がそれぞれ描画状態a〜dであることを示し、「表示」は表示制御部12の転送間隔制御部21による表示用のアクセス要求を示し、「描画」は描画処理部11による描画用のアクセス要求を示している。   FIG. 5 is a timing chart showing an access request to the frame memory 2 by the memory control unit 13, and shows a local access request within one frame. In FIG. 5, “fixed transfer interval C” indicates a transfer interval managed by the display control unit 12 when data is transferred to the display device 3 at a fixed interval, and “drawing states a to d”. Indicates that the drawing state flag 101 is in each of the drawing states a to d, “display” indicates a display access request by the transfer interval control unit 21 of the display control unit 12, and “drawing” is performed by the drawing processing unit 11. An access request for drawing is shown.

図5に示す例では、描画処理部11は複数の描画処理モードを有しており、それぞれの処理モードにおいて、フレームメモリ2への描画用のアクセス要求の状態は異なる。描画状態aの場合には、描画処理部11はフレームメモリ2に対する描画用のアクセス要求を行わない。従って、セレクタ35はその描画状態aに適した一定の転送間隔Cと同じデータ転送間隔a及びデータ転送数aをレジスタ31から選択し、転送トリガ発生部36が選択されたデータ転送間隔a及びデータ転送数aに従った転送要求トリガ102を発生することにより、表示装置3側へのデータ転送のためだけにフレームメモリ2へのアクセス要求が頻繁になされ、表示装置3側へのデータ転送レートを高くしている。   In the example shown in FIG. 5, the drawing processing unit 11 has a plurality of drawing processing modes, and the state of the access request for drawing to the frame memory 2 is different in each processing mode. In the drawing state a, the drawing processing unit 11 does not make a drawing access request to the frame memory 2. Accordingly, the selector 35 selects from the register 31 the same data transfer interval a and data transfer number a as the fixed transfer interval C suitable for the drawing state a, and the transfer trigger generator 36 selects the selected data transfer interval a and data. By generating the transfer request trigger 102 according to the transfer number a, access requests to the frame memory 2 are frequently made only for data transfer to the display device 3 side, and the data transfer rate to the display device 3 side is increased. It is high.

描画状態bの場合には、描画処理部11は表示用のアクセス要求と同じデータ転送レートでフレームメモリ2への描画用のアクセス要求を行っている。従って、セレクタ35は描画用のアクセス要求の間に表示用のアクセス要求がなされるように描画状態aの場合の2倍のデータ転送間隔bで描画状態aのデータ点総数と同じデータ転送数bを選択して、表示装置3側へのデータ転送レートを低くしている。   In the drawing state b, the drawing processing unit 11 makes a drawing access request to the frame memory 2 at the same data transfer rate as the display access request. Accordingly, the selector 35 has the same number of data transfers b as the total number of data points in the drawing state a at a data transfer interval b that is twice that in the drawing state a so that a display access request is made between the drawing access requests. Is selected to lower the data transfer rate to the display device 3 side.

描画状態cの場合には、描画処理部11は表示用のアクセス要求と同じデータ転送レートで、描画状態aにおける表示用のアクセス要求によるデータ転送間隔aと同じデータ転送間隔cでフレームメモリ2への描画用のアクセス要求を行っている。従って、描画処理部11に影響のないように表示用のアクセス要求を行うには、描画状態aのデータ転送数aのままでは、一度のバースト転送で表示用のデータ転送が完了しない。そこで、描画状態cではデータ転送数を描画状態aの半分に設定されているデータ転送数cを選択するすることによりメモリバス14の使用効率を最適化し描画処理能力を上げるようにデータ転送間隔及びデータ転送数を制御する。   In the drawing state c, the drawing processing unit 11 transfers the frame memory 2 to the frame memory 2 at the same data transfer rate as the access request for display and at the same data transfer interval c as the data transfer interval a by the display access request in the drawing state a. An access request for drawing is performed. Therefore, in order to make a display access request so as not to affect the drawing processing unit 11, the data transfer for display is not completed in one burst transfer with the data transfer number a in the drawing state a. Therefore, in the drawing state c, the data transfer interval and the data transfer interval are set so as to optimize the usage efficiency of the memory bus 14 and increase the drawing processing capacity by selecting the data transfer number c set to the half of the drawing state a. Control the number of data transfers.

描画状態dの場合には、描画処理部11からフレームメモリ2への描画用のアクセス要求が頻繁になされる。従って、セレクタ35は表示用のアクセス要求のデータ転送間隔を長くするデータ転送間隔d及びデータ転送数dを選択することにより、描画性能を落とさないように表示用のデータ転送レートを制御している。   In the drawing state d, a drawing access request from the drawing processing unit 11 to the frame memory 2 is frequently made. Therefore, the selector 35 controls the display data transfer rate so as not to deteriorate the drawing performance by selecting the data transfer interval d and the data transfer number d that increase the data transfer interval of the access request for display. .

次に描画処理部11による描画処理と各描画状態の具体例について説明する。
図6は描画処理部11の内部構成の一例を示すブロック図である。この描画処理部11はデータ転送(BITBLT)処理部51、二次元図形描画処理部52及び三次元図形描画処理部53を備えている。図6において、データ転送処理部51は、フレームメモリ2上のデータを読み出して主記憶へ転送したり、主記憶上のデータをフレームメモリ2に書き込んだり、あるいは、フレームメモリ2上のデータを読み出し、フレームメモリ2上の別の領域に書き込むことにより、表示位置を移動したりといった処理を行う。二次元図形描画処理部52は、直線、三角形、矩形といった二次元図形プリミティブの描画を行う。三次元図形描画処理部53は三次元ポリゴンの描画を行う。
Next, a specific example of the drawing processing by the drawing processing unit 11 and each drawing state will be described.
FIG. 6 is a block diagram illustrating an example of an internal configuration of the drawing processing unit 11. The drawing processing unit 11 includes a data transfer (BITBLT) processing unit 51, a two-dimensional graphic drawing processing unit 52, and a three-dimensional graphic drawing processing unit 53. In FIG. 6, the data transfer processing unit 51 reads the data on the frame memory 2 and transfers it to the main memory, writes the data on the main memory to the frame memory 2, or reads the data on the frame memory 2. Then, by writing into another area on the frame memory 2, processing such as moving the display position is performed. The two-dimensional graphic drawing processing unit 52 draws two-dimensional graphic primitives such as straight lines, triangles, and rectangles. The three-dimensional graphic drawing processing unit 53 draws a three-dimensional polygon.

図6に示す描画処理部11では、データ転送処理部51、二次元図形描画処理部52及び三次元図形描画処理部53の動作状態に応じて描画状態フラグ101として描画状態a〜dを出力する。すなわち、描画処理部11は、データ転送処理部51、二次元図形描画処理部52及び三次元図形描画処理部53の何れも動作していない状態のときに描画状態フラグ101として描画状態aを出力し、データ転送処理部51が動作している状態のときに描画状態フラグ101として描画状態bを出力し、二次元図形描画処理部52が動作している状態のときに描画状態フラグ101として描画状態cを出力し、三次元描画処理部53が動作している状態のときに描画状態フラグ101として描画状態dを出力する。   In the drawing processing unit 11 illustrated in FIG. 6, the drawing states a to d are output as the drawing state flag 101 according to the operation states of the data transfer processing unit 51, the two-dimensional graphic drawing processing unit 52, and the three-dimensional graphic drawing processing unit 53. . That is, the drawing processing unit 11 outputs the drawing state a as the drawing state flag 101 when none of the data transfer processing unit 51, the two-dimensional figure drawing processing unit 52, and the three-dimensional figure drawing processing unit 53 is operating. The drawing state b is output as the drawing state flag 101 when the data transfer processing unit 51 is operating, and the drawing state flag 101 is displayed when the two-dimensional graphic drawing processing unit 52 is operating. The state c is output, and the drawing state d is output as the drawing state flag 101 when the three-dimensional drawing processing unit 53 is operating.

図7は描画処理部11の他の内部構成の一例を示すブロック図である。この描画処理部11はデータ転送処理部51、二次元図形描画処理部52、三次元図形描画処理部53及びピクセル演算処理部54を備えている。図7において、データ転送処理部51、二次元図形描画処理部52及び三次元図形描画処理部53の動作は図6に示すものと同じであり、ピクセル演算処理部54はデータ転送処理部51、二次元図形描画処理部52及び三次元図形描画処理部53が算出した各ピクセルデータに対し、フレームメモリ2上のピクセルデータと何らかのデータ処理を行う。ピクセル演算処理部54で行う処理としては、描画処理部11で算出したデータとフレームメモリ2上のデータ間の算出演算、ブレンド演算、各ピクセルの奥行き情報を比較するデプステスト、α値を比較するアルファテスト等がある。   FIG. 7 is a block diagram illustrating an example of another internal configuration of the drawing processing unit 11. The drawing processing unit 11 includes a data transfer processing unit 51, a two-dimensional graphic drawing processing unit 52, a three-dimensional graphic drawing processing unit 53, and a pixel calculation processing unit 54. In FIG. 7, the operations of the data transfer processing unit 51, the two-dimensional graphic drawing processing unit 52, and the three-dimensional graphic drawing processing unit 53 are the same as those shown in FIG. 6, and the pixel calculation processing unit 54 includes the data transfer processing unit 51, For each pixel data calculated by the two-dimensional graphic drawing processing unit 52 and the three-dimensional graphic drawing processing unit 53, pixel data on the frame memory 2 and some data processing are performed. Processing performed by the pixel calculation processing unit 54 includes calculation calculation between the data calculated by the drawing processing unit 11 and data on the frame memory 2, blend calculation, depth test for comparing depth information of each pixel, and α value comparison. There is an alpha test.

ピクセル演算処理部54がデータ処理を行う場合には、フレームメモリ2中のデータを読み出す必要があり、フレームメモリ2へのアクセス要求が異なるため、データ転送処理部51、二次元図形描画処理部52及び三次元図形描画処理部53が算出したピクセルに対し、ピクセル演算処理部54が処理を行う場合には、別の描画状態を示す描画状態フラグ101を出力する。すなわち、データ転送処理部51が動作している状態でピクセル演算処理部54がピクセル演算を行っているときに描画状態フラグ101として描画状態eを出力し、二次元図形描画処理部52が動作している状態でピクセル演算処理部54がピクセル演算を行っているときに描画状態フラグ101として描画状態fを出力し、三次元描画処理部53が動作している状態でピクセル演算処理部54がピクセル演算を行っているときに描画状態フラグ101として描画状態gを出力する。なお、この場合、表示制御部12の転送間隔制御部21は、データ転送間隔e,f,g、データ転送数e,f,gをそれぞれ格納しているレジスタを備えているものとする。   When the pixel arithmetic processing unit 54 performs data processing, it is necessary to read data in the frame memory 2, and access requests to the frame memory 2 are different. Therefore, the data transfer processing unit 51 and the two-dimensional graphic drawing processing unit 52 are different. When the pixel calculation processing unit 54 performs processing on the pixels calculated by the three-dimensional graphic drawing processing unit 53, a drawing state flag 101 indicating another drawing state is output. That is, when the pixel calculation processing unit 54 performs pixel calculation while the data transfer processing unit 51 is operating, the drawing state e is output as the drawing state flag 101, and the two-dimensional graphic drawing processing unit 52 operates. When the pixel calculation processing unit 54 is performing pixel calculation in a state where the pixel calculation processing unit 54 is operating, the pixel calculation processing unit 54 outputs the drawing state f as the drawing state flag 101 and the three-dimensional drawing processing unit 53 is operating. When the calculation is being performed, the drawing state g is output as the drawing state flag 101. In this case, it is assumed that the transfer interval control unit 21 of the display control unit 12 includes a register that stores the data transfer intervals e, f, g, and the data transfer numbers e, f, g, respectively.

さらに、図6及び図7の描画処理部11に示した二次元図形描画処理部52では、直線描画、三角形描画、矩形描画等の処理が行われるが、各プリミティブの描画毎に、フレームメモリ2へのアクセス要求が異なる。従って、どのプリミティブを描画しているかを示す描画状態を描画状態フラグ101として出力することも考えられる。例えば、直線描画を行っているときに描画状態hを出力し、三角形描画を行っているときに描画状態iを出力し、矩形描画を行っているときに描画状態jを出力する。なお、この場合、表示制御部12の転送間隔制御部21は、データ転送間隔h,i,j、データ転送数h,i,jをそれぞれ格納しているレジスタを備えているものとする。   Further, in the two-dimensional graphic drawing processing unit 52 shown in the drawing processing unit 11 of FIGS. 6 and 7, processing such as straight line drawing, triangle drawing, rectangular drawing, etc. is performed. The access request to is different. Accordingly, it may be possible to output a drawing state indicating which primitive is drawn as the drawing state flag 101. For example, a drawing state h is output when a straight line is drawn, a drawing state i is output when a triangle is drawn, and a drawing state j is output when a rectangle is drawn. In this case, it is assumed that the transfer interval control unit 21 of the display control unit 12 includes a register that stores the data transfer intervals h, i, j and the data transfer numbers h, i, j.

図8は三次元図形描画処理部53の内部構成の一例を示すブロック図である。この三次元図形描画処理部53はポリゴン生成部61、テクスチャマッピング処理部62、ピクセルテスト処理部63及びピクセルブレンディング処理部64を備えている。
図8において、ポリゴン生成部61は三次元ポリゴンを算出する。テクスチャマッピング処理部62は算出されたプリミティブの各画素データに対しテクスチャイメージの画素データを貼り付ける。ピクセルテスト処理部63は算出された各画素データの奥行きを示すZ値を大小比較するデプステストや各画素の持つアルファ値をテストするアルファテスト等を行う。ピクセルブレンディング処理部64は算出された各画素データとフレームメモリ2中の画素データとのブレンド処理を行う。
FIG. 8 is a block diagram illustrating an example of an internal configuration of the three-dimensional graphic drawing processing unit 53. The three-dimensional graphic drawing processing unit 53 includes a polygon generation unit 61, a texture mapping processing unit 62, a pixel test processing unit 63, and a pixel blending processing unit 64.
In FIG. 8, a polygon generation unit 61 calculates a three-dimensional polygon. The texture mapping processing unit 62 pastes the pixel data of the texture image on each pixel data of the calculated primitive. The pixel test processing unit 63 performs a depth test for comparing the Z value indicating the depth of each calculated pixel data, an alpha test for testing the alpha value of each pixel, and the like. The pixel blending processing unit 64 performs blend processing between the calculated pixel data and the pixel data in the frame memory 2.

図8に示す三次元描画処理部53では、ポリゴン生成部61が算出した各ポリゴンに対し、テクスチャマッピング処理部62、ピクセルテスト処理部63及びピクセルブレンディング処理部64がピクセル処理を行うかどうかで、フレームメモリ2へのアクセス要求が異なる。従って、どのピクセル処理を行っているかを示す描画状態を描画状態フラグ101として出力することも考えられる。   In the three-dimensional drawing processing unit 53 shown in FIG. 8, whether or not the texture mapping processing unit 62, the pixel test processing unit 63, and the pixel blending processing unit 64 perform pixel processing on each polygon calculated by the polygon generation unit 61. Access requests to the frame memory 2 are different. Accordingly, it may be possible to output a drawing state indicating which pixel processing is being performed as the drawing state flag 101.

以上のように、実施の形態2によれば、描画処理部11の描画状態に応じて、フレームメモリ2への最適な表示用のアクセス要求が行われるように設定した表示用のデータ転送間隔及びデータ転送数を選択して切り替えるよう制御することにより、メモリバス14の使用効率を上げることができ、描画処理部11に対する表示用のアクセス要求の影響が減り、描画性能をより向上することができるという効果が得られる。   As described above, according to the second embodiment, the display data transfer interval set so that an optimal display access request to the frame memory 2 is made according to the drawing state of the drawing processing unit 11, and By controlling to select and switch the number of data transfers, the usage efficiency of the memory bus 14 can be increased, the influence of a display access request to the drawing processing unit 11 can be reduced, and drawing performance can be further improved. The effect is obtained.

実施の形態3.
この発明の実施の形態3によるグラフィックス描画装置を含む表示システムの構成を示すブロック図は実施の形態1の図1と同じであり、表示制御部12の内部構成を示すブロック図は実施の形態1の図2と同じである。上記実施の形態1及び上記実施の形態2では、描画処理部11の描画状態により表示用のデータ転送間隔を制御しているが、この実施の形態3は、描画状態に応じて表示用のデータ転送間隔を制御すると共に、1フレーム内の表示用のデータ転送数が一定となるようにデータ転送レートを制御することにより、描画性能を向上させると共に1フレーム内の表示用のデータ転送数が一定となることによりフレーム間で所定の表示レートでのスムーズな表示を実現するものである。
Embodiment 3 FIG.
A block diagram showing a configuration of a display system including a graphics drawing apparatus according to Embodiment 3 of the present invention is the same as that in FIG. 1 of Embodiment 1, and a block diagram showing an internal configuration of display control unit 12 is shown in the embodiment. 1 is the same as FIG. In the first embodiment and the second embodiment, the display data transfer interval is controlled according to the drawing state of the drawing processing unit 11, but in the third embodiment, the display data is changed according to the drawing state. By controlling the transfer interval and controlling the data transfer rate so that the display data transfer number in one frame is constant, the drawing performance is improved and the display data transfer number in one frame is constant. As a result, smooth display at a predetermined display rate is realized between frames.

図9は表示制御部12内の転送間隔制御部21の内部構成を示すブロック図である。この転送間隔制御部21は転送間隔数カウンタ71、実転送数カウンタ72及び転送間隔決定部73を備えている。
図9において、転送間隔数カウンタ71は一定の転送間隔C毎にカウントアップしフレーム単位での転送間隔数をカウントする。実転送数カウンタ72は転送完了フラグをカウントすることによりフレーム単位での実際の転送回数を示す実転送数をカウントする。転送間隔決定部73は、転送間隔数カウンタ71がカウントした転送間隔数と実転送数カウンタ72がカウントした実転送数と描画処理部11の描画状態フラグ101から、表示用のアクセス要求のデータ転送間隔を決定して転送要求トリガ102を出力する。
FIG. 9 is a block diagram showing an internal configuration of the transfer interval control unit 21 in the display control unit 12. The transfer interval control unit 21 includes a transfer interval number counter 71, an actual transfer number counter 72, and a transfer interval determination unit 73.
In FIG. 9, a transfer interval counter 71 counts up every fixed transfer interval C and counts the transfer interval number in units of frames. The actual transfer number counter 72 counts the actual transfer number indicating the actual number of transfers per frame by counting the transfer completion flag. The transfer interval determining unit 73 transfers the data of the access request for display from the transfer interval number counted by the transfer interval number counter 71, the actual transfer number counted by the actual transfer number counter 72, and the drawing state flag 101 of the drawing processing unit 11. The interval is determined and the transfer request trigger 102 is output.

次に動作について説明する。
表示制御部12内の転送間隔制御部21では、転送間隔数カウンタ71は、表示制御部12が管理している一定の転送間隔C毎に発生するデータ転送タイミングをトリガとしてフレーム単位での転送間隔数をカウントする。ここで、一定の転送間隔Cとは表示装置3側へ一定の間隔でデータ転送を行う場合の転送間隔を示している。実転送数カウンタ72は、メモリ制御部13からデータ転送が行われる毎に発生する転送完了フラグをトリガとしてフレーム単位での実際の転送回数を示す実転送数をカウントする。転送間隔決定部73は、転送間隔数カウンタ71がカウントした転送間隔数と実転送数カウンタ72がカウントした実転送数と描画処理部11からの描画状態フラグ101から、表示用のアクセス要求のデータ転送間隔を決定し、メモリ制御部13に対して表示用のデータ転送要求をするための転送要求トリガ102を発生することにより、データ転送間隔を変化させて表示装置3側へのデータ転送を行う。
Next, the operation will be described.
In the transfer interval control unit 21 in the display control unit 12, the transfer interval number counter 71 uses a data transfer timing generated at every fixed transfer interval C managed by the display control unit 12 as a trigger for the transfer interval in frame units. Count the number. Here, the constant transfer interval C indicates a transfer interval when data transfer is performed at a constant interval to the display device 3 side. The actual transfer number counter 72 counts the actual transfer number indicating the actual number of transfers in units of frames with a transfer completion flag generated every time data is transferred from the memory control unit 13 as a trigger. The transfer interval determination unit 73 displays the data of the access request for display from the transfer interval number counted by the transfer interval number counter 71, the actual transfer number counted by the actual transfer number counter 72, and the drawing state flag 101 from the drawing processing unit 11. By determining the transfer interval and generating the transfer request trigger 102 for requesting the memory control unit 13 to transfer the display data, the data transfer interval is changed to transfer the data to the display device 3 side. .

図10は転送間隔決定部73による転送間隔決定方法を示す図である。転送間隔決定部73は、図10に示すように、描画状態フラグ101が描画していない状態を示す場合には短い転送間隔Aと決定し、描画中を示す場合には、転送間隔数カウンタ71の転送間隔数<実転送数カウンタ72の実転送数なら長い転送間隔Bと決定し、転送間隔数カウンタ71の転送間隔数≧実転送数カウンタ72の実転送数なら一定の転送間隔Cと決定する。このように、データ転送間隔を決定することにより、1フレーム内の表示用のデータ転送数が一定となり、フレーム間で所定の表示レートでのスムーズな表示を実現することができる。   FIG. 10 is a diagram showing a transfer interval determination method by the transfer interval determination unit 73. As shown in FIG. 10, the transfer interval determining unit 73 determines a short transfer interval A when the drawing state flag 101 indicates a non-drawing state, and when indicating that drawing is in progress, the transfer interval number counter 71. If the actual transfer number of the actual transfer number counter 72 is less than the actual transfer number B, the long transfer interval B is determined. If the transfer interval number of the transfer interval counter 71 is greater than or equal to the actual transfer number of the actual transfer number counter 72, the fixed transfer interval C is determined. To do. Thus, by determining the data transfer interval, the number of display data transfers in one frame becomes constant, and smooth display at a predetermined display rate can be realized between frames.

図11はメモリ制御部13によるフレームメモリ2へのアクセス要求を示すタイミングチャートであり、1フレーム内の局所的アクセス要求を示している。図11において、「描画OFF」は描画状態フラグ101が描画中でないことを示し、「描画中」は描画状態フラグ101が描画中であることを示している。「表示」は表示制御部12の転送間隔制御部21による表示用のアクセス要求を示し、「描画」は描画処理部11による描画用のアクセス要求を示している。「転送間隔数」は転送間隔数カウンタ71のカンウト値を示し、「実転送数」は実転送数カウンタ72のカウント値を示している。   FIG. 11 is a timing chart showing an access request to the frame memory 2 by the memory control unit 13, and shows a local access request within one frame. In FIG. 11, “drawing OFF” indicates that the drawing state flag 101 is not being drawn, and “drawing” indicates that the drawing state flag 101 is being drawn. “Display” indicates an access request for display by the transfer interval control unit 21 of the display control unit 12, and “Drawing” indicates an access request for drawing by the drawing processing unit 11. “Transfer interval number” indicates the count value of the transfer interval number counter 71, and “Real transfer number” indicates the count value of the actual transfer number counter 72.

図11に示す例では、描画状態フラグ101が描画を行っていない状態を示す場合には、メモリ制御部13への表示用のデータ転送間隔を転送間隔Aと短くして、表示装置3側へのデータ転送レートを高くし、描画を行っている状態を示す場合には、転送間隔数<実転送数なら、表示用のデータ転送間隔を長い転送間隔Bとして、表示装置3側へのデータ転送レートを低くし、転送間隔数≧実転送数なら、1フレームの処理時間内にデータ転送が完了するように表示用のデータ転送間隔を一定の転送間隔Cと切り替えて、表示装置3側へのデータ転送レートを制御している。   In the example shown in FIG. 11, when the drawing state flag 101 indicates a state in which drawing is not being performed, the data transfer interval for display to the memory control unit 13 is shortened to the transfer interval A and the display device 3 side is reached. If the transfer interval number <the actual transfer number, the data transfer interval for display is set to the long transfer interval B and the data transfer to the display device 3 is performed. If the rate is lowered and the number of transfer intervals ≧ the actual number of transfers, the data transfer interval for display is switched to a fixed transfer interval C so that the data transfer is completed within the processing time of one frame, and the display device 3 side The data transfer rate is controlled.

また、図11において、実転送の5回目(実転送数5)までは描画OFFのときに決定された転送間隔Aでの実転送数であり、5回目の実転送の終了時点で次の転送間隔決定タイミング(1)となるが、このときは描画中であり、5回目の実転送以前の実転送数4と転送間隔数3を比較し、転送間隔数<実転送数なので表示用のデータ転送間隔を長い転送間隔Bとする。また、6回目の実転送の終了時点で次の転送間隔決定タイミング(2)となるが、このときも描画中であり、6回目の実転送以前の実転送数5と転送間隔数5を比較し、転送間隔数≧実転送数なので表示用のデータ転送間隔を一定の転送間隔Cとする。さらに、7回目の実転送の終了時点で次の転送間隔決定タイミング(3)となるが、このときも描画中であり、7回目の実転送以前の実転送数6と転送間隔数6を比較し、転送間隔数≧実転送数なので表示用のデータ転送間隔を一定の転送間隔Cとする。   In FIG. 11, the actual transfer number up to the fifth actual transfer (actual transfer number 5) is the actual transfer number at the transfer interval A determined when drawing is OFF, and the next transfer is completed at the end of the fifth actual transfer. Interval determination timing (1) is reached, but at this time, drawing is in progress, the actual transfer number 4 before the fifth actual transfer is compared with the transfer interval number 3, and the transfer interval number <the actual transfer number. The transfer interval is a long transfer interval B. The next transfer interval determination timing (2) is reached at the end of the sixth actual transfer. At this time, the drawing is in progress, and the number of actual transfers 5 before the sixth actual transfer is compared with the number of transfer intervals 5. Since the transfer interval number ≧ the actual transfer number, the display data transfer interval is set to a constant transfer interval C. Furthermore, the next transfer interval determination timing (3) is reached at the end of the seventh actual transfer. At this time, the drawing is also being performed, and the number of actual transfers 6 before the seventh actual transfer is compared with the number of transfer intervals 6. Since the transfer interval number ≧ the actual transfer number, the display data transfer interval is set to a constant transfer interval C.

次に転送間隔決定部73による転送間隔決定の別の例について説明する。この例では、転送間隔決定部73に表示用のデータ転送間隔を算出する転送間隔算出部を設け、描画状態フラグ101が描画中であることを示す場合の表示用のデータ転送間隔は、次の式(1)に従って算出した1フレーム内でデータ転送を完了させるための最適値とし、表示装置3側へのデータ転送レートを制御する。
データ転送間隔=1フレーム内の残りの転送サイクル数÷フレーム内の残りの転送回数
=(1フレームの総サイクル数−転送間隔数×転送間隔C)÷
((1フレームの総転送画素数−転送データ数×実転送数)÷転送データ数) (1)
なお、式(1)における1フレームの総サイクル数、1フレームの総転送画素数、転送データ数は、表示制御部12が管理しており、転送間隔算出部に通知されるものとする。
Next, another example of transfer interval determination by the transfer interval determination unit 73 will be described. In this example, the transfer interval determination unit 73 is provided with a transfer interval calculation unit that calculates a display data transfer interval, and the display data transfer interval when the drawing state flag 101 indicates that drawing is in progress is The data transfer rate to the display device 3 is controlled by using the optimum value for completing the data transfer within one frame calculated according to the equation (1).
Data transfer interval = number of remaining transfer cycles in one frame ÷ number of remaining transfers in a frame
= (Total number of cycles per frame-number of transfer intervals x transfer interval C) /
((Total number of transfer pixels per frame-Transfer data number x Actual transfer number) / Transfer data number) (1)
It is assumed that the total cycle number of one frame, the total number of transfer pixels of one frame, and the number of transfer data in Expression (1) are managed by the display control unit 12 and notified to the transfer interval calculation unit.

図12は転送間隔算出部による表示用のデータ転送間隔の算出を説明する図である。すなわち、描画状態フラグ101が描画中を示す場合には、図12に示すように、1フレーム分の総サイクル数から転送間隔数カウンタ71の転送間隔数に所定の転送間隔Cを乗じた値を引いた残りの転送サイクル数を、1フレーム当りの総転送画素数から転送データ数に実転送数を乗じた値を引いて転送データ数で割って得られる残りの転送回数で割った値とすることにより、表示用のデータ転送間隔を1フレーム内の残りの転送サイクル数と残りの転送回数に応じた適正値とする。   FIG. 12 is a diagram for explaining the calculation of the display data transfer interval by the transfer interval calculation unit. That is, when the drawing state flag 101 indicates that drawing is in progress, as shown in FIG. 12, a value obtained by multiplying the transfer interval number of the transfer interval number counter 71 by a predetermined transfer interval C from the total number of cycles for one frame. Subtract the value obtained by multiplying the total number of transfer pixels per frame by the transfer data number and the actual transfer number and divide by the transfer data number to obtain the value obtained by dividing the remaining transfer cycle number by the remaining transfer count. Thus, the display data transfer interval is set to an appropriate value according to the number of remaining transfer cycles and the remaining number of transfers in one frame.

さらに転送間隔決定部73による転送間隔決定の別の例について説明する。
図13は表示制御部12内の転送間隔制御部21の内部構成を示すブロック図である。この転送間隔制御部21は図9と同様に転送間隔数カウンタ71、実転送数カウンタ72及び転送間隔決定部73を備えており、さらに、転送間隔決定部73は補正部81、加算器82、レジスタ83及び転送トリガ発生部84を備えている。
Furthermore, another example of the transfer interval determination by the transfer interval determination unit 73 will be described.
FIG. 13 is a block diagram showing an internal configuration of the transfer interval control unit 21 in the display control unit 12. The transfer interval control unit 21 includes a transfer interval number counter 71, an actual transfer number counter 72, and a transfer interval determination unit 73 as in FIG. 9, and the transfer interval determination unit 73 further includes a correction unit 81, an adder 82, A register 83 and a transfer trigger generator 84 are provided.

図13において、補正部81は実転送数カウンタ72の実転送数から転送間隔数カウンタ71の転送間隔数を減算した値に定数を乗じた値を補正値として出力する。この補正値は実転送数>転送間隔数であれば正の値となり、実転送数<転送間隔数であれば負の値となり、実転送数=転送間隔数であれば0となる。   In FIG. 13, the correction unit 81 outputs a value obtained by multiplying a value obtained by subtracting the transfer interval number of the transfer interval number counter 71 from the actual transfer number of the actual transfer number counter 72 as a correction value. This correction value is a positive value if the actual transfer number> the transfer interval number, a negative value if the actual transfer number <the transfer interval number, and 0 if the actual transfer number = the transfer interval number.

加算器82は補正部81からの補正値とレジスタ83に格納されている描画処理部11が描画中の前の表示用のデータ転送間隔を加算して新たな表示用のデータ転送間隔としてレジスタ83に格納する。すなわち、加算器82は、実転送数>転送間隔数であれば、前の表示用のデータ転送間隔より長いデータ転送間隔をレジスタ83に格納し、実転送数<転送間隔数であれば、前の描画中のデータ転送間隔より短いデータ転送間隔をレジスタ83に格納し、実転送数=転送間隔数であれば、前の描画中のデータ転送間隔と同じデータ転送間隔をレジスタ83に格納する。   The adder 82 adds the correction value from the correction unit 81 to the previous display data transfer interval during which the drawing processing unit 11 stored in the register 83 is drawing, thereby creating a new display data transfer interval. To store. That is, if the actual transfer number> the transfer interval number, the adder 82 stores a data transfer interval longer than the previous display data transfer interval in the register 83, and if the actual transfer number <the transfer interval number, The data transfer interval shorter than the data transfer interval during drawing is stored in the register 83. If the actual transfer number = the transfer interval number, the same data transfer interval as the previous data transfer interval is stored in the register 83.

転送トリガ発生部84は描画状態フラグ101が描画していない状態を示す場合には、内部に保持している短い転送間隔Aを選択して転送間隔A毎に転送要求フラグ102を出力し、描画中を示す場合には、レジスタ83に格納されている表示用のデータ転送間隔を選択して、選択した表示用のデータ転送間隔毎に転送要求フラグ102を出力する。   When the drawing state flag 101 indicates that the drawing state flag 101 is not drawing, the transfer trigger generation unit 84 selects the short transfer interval A held therein, outputs the transfer request flag 102 for each transfer interval A, and draws. When the medium is indicated, the display data transfer interval stored in the register 83 is selected, and the transfer request flag 102 is output at each selected display data transfer interval.

このように、図13に示す転送間隔決定部73は、描画状態フラグ101が描画していない状態を示す場合には、データ転送間隔を短い転送間隔Aと決定して表示用のデータ転送レートを高くし、描画状態フラグ101が描画している状態を示す場合には、実転送数と転送間隔数に基づく補正値によって前のデータ転送間隔を補正した値と決定して表示用のデータ転送レートを変化させる。   As described above, the transfer interval determination unit 73 shown in FIG. 13 determines the data transfer interval to be the short transfer interval A and sets the data transfer rate for display when the drawing state flag 101 indicates a state of not drawing. If the drawing state flag 101 indicates a drawing state, the data transfer rate for display is determined by determining the value obtained by correcting the previous data transfer interval by the correction value based on the actual transfer number and the transfer interval number. To change.

以上のように、この実施の形態3によれば、描画処理部11の描画状態、転送間隔数及び実転送数に応じて、1フレームの処理時間内でデータ転送を完了するような適当なデータ転送間隔で、表示用のアクセス要求が行われるように、表示用のデータ転送レートを制御することにより、メモリバス14の使用効率を上げることができ、描画処理部11に対する表示用のアクセス要求の影響が減り、描画性能を向上することができると共に、フレーム間で所定の表示レートでスムーズな表示を実現することができるという効果が得られる。   As described above, according to the third embodiment, appropriate data that completes data transfer within one frame processing time according to the drawing state of the drawing processing unit 11, the number of transfer intervals, and the number of actual transfers. By controlling the display data transfer rate so that the display access request is made at the transfer interval, the use efficiency of the memory bus 14 can be increased, and the display access request for the drawing processing unit 11 can be increased. The effects are reduced, drawing performance can be improved, and smooth display can be realized at a predetermined display rate between frames.

実施の形態4.
図14はこの発明の実施の形態4によるグラフィックス描画装置を含む表示システムの構成を示すブロック図である。このグラフィックス描画装置1は、実施の形態1の図1の描画処理部11を描画処理部15に置き換え、表示制御部12を表示制御部16に置き換え、メモリ制御部13をメモリ制御部17に置き換えたもので、その他の接続は図1と同じである。上記実施の形態1〜上記実施の形態3では、描画処理部11の描画状態により表示用のデータ転送間隔を制御するようにしているが、この実施の形態4はメモリバス14の負荷状況に応じて表示用のデータ転送間隔を制御することにより描画性能を向上させるものである。図14において、フレームメモリ2、表示装置3、画像合成・走査変換器4及び画像メモリ5の機能は実施の形態1の図1に示すものと同じである。
Embodiment 4 FIG.
FIG. 14 is a block diagram showing the configuration of a display system including a graphics drawing apparatus according to Embodiment 4 of the present invention. In the graphics drawing apparatus 1, the drawing processing unit 11 in FIG. 1 according to the first embodiment is replaced with a drawing processing unit 15, the display control unit 12 is replaced with a display control unit 16, and the memory control unit 13 is replaced with a memory control unit 17. The other connections are the same as in FIG. In the first to third embodiments, the data transfer interval for display is controlled according to the drawing state of the drawing processing unit 11, but this fourth embodiment depends on the load status of the memory bus 14. Thus, the drawing performance is improved by controlling the data transfer interval for display. In FIG. 14, the functions of the frame memory 2, the display device 3, the image composition / scan converter 4 and the image memory 5 are the same as those shown in FIG.

図14において、グラフィックス描画装置1はCPU(図示せず)からの描画命令に従って描画データを算出し、フレームメモリ2に対してグラフィックスデータを作成し、作成したグラフィックスデータをフレームメモリ2に書き込み、フレームメモリ2に格納されているグラフィックスデータを、メモリバス14の負荷状態に応じた表示用のデータ転送タイミングで読み出して画像合成・走査変換器4に出力する。   In FIG. 14, the graphics drawing apparatus 1 calculates drawing data according to a drawing command from a CPU (not shown), creates graphics data in the frame memory 2, and creates the created graphics data in the frame memory 2. The graphics data stored in the writing and frame memory 2 is read at a display data transfer timing corresponding to the load state of the memory bus 14 and output to the image composition / scanning converter 4.

次に動作について説明する。
グラフィックス描画装置1の描画処理部15は、CPUからの描画命令に従って描画データの算出を行ってグラフィックスデータを作成し、算出に必要なデータをフレームメモリ2から読み出したり、作成したグラフィックスデータをフレームメモリ2に書き込むための描画用のアクセス要求をメモリ制御部17に対して行う。メモリ制御部17は描画処理部11からの描画用のアクセス要求を受けてフレームメモリ2からデータを読み出したり、グラフィックスデータをフレームメモリ2へ書き込む。
Next, the operation will be described.
The drawing processing unit 15 of the graphics drawing apparatus 1 generates drawing data by calculating drawing data in accordance with a drawing command from the CPU, reads out data necessary for the calculation from the frame memory 2, and generates the generated graphics data. Is made to the memory control unit 17 to make a drawing access request for writing to the frame memory 2. In response to a drawing access request from the drawing processing unit 11, the memory control unit 17 reads data from the frame memory 2 or writes graphics data to the frame memory 2.

また、メモリ制御部17は、メモリバス14の負荷状態を監視し、描画処理部15からメモリ制御部17への描画用のアクセス要求が少ない場合、あるいは、メモリバス14の使用効率が低い場合には、メモリバス14の負荷が軽い状態を示す負荷状態フラグ103を表示制御部16に出力し、描画処理部15からメモリ制御部17への描画用のアクセス要求が多い場合、あるいは、メモリバス14の使用効率が高い場合には、メモリバス14の負荷が重い状態を示す負荷状態フラグ103を表示制御部16に出力する。   Further, the memory control unit 17 monitors the load state of the memory bus 14, and when there are few access requests for drawing from the drawing processing unit 15 to the memory control unit 17 or when the use efficiency of the memory bus 14 is low. Outputs a load state flag 103 indicating a light load on the memory bus 14 to the display control unit 16, and when there are many drawing access requests from the drawing processing unit 15 to the memory control unit 17, or the memory bus 14 When the use efficiency of the memory bus 14 is high, a load state flag 103 indicating a heavy load on the memory bus 14 is output to the display control unit 16.

表示制御部16は、メモリ制御部17から受け取ったメモリバス14の負荷状態を示す負荷状態フラグ103に従って、メモリバス14の負荷が軽い状態では表示用のデータ転送間隔を短い転送間隔Aとして表示装置3側へのデータ転送レートを高くし、負荷が重い状態では表示用のデータ転送間隔を長い転送間隔Bに切り替えて表示装置3側へのデータ転送レートを低くしている。   In accordance with the load state flag 103 indicating the load state of the memory bus 14 received from the memory control unit 17, the display control unit 16 sets the display data transfer interval as a short transfer interval A when the load on the memory bus 14 is light. The data transfer rate to the side 3 is increased, and the data transfer rate for the display device 3 is lowered by switching the display data transfer interval to the long transfer interval B in a heavy load state.

以上のように、実施の形態4によれば、メモリバス14の負荷状態を示す負荷状態フラグ103が、負荷が軽い状態を示す場合には、データ転送間隔を短い転送間隔Aとして表示用のデータ転送レートを高くし、負荷が重い状態を示す場合には、データ転送間隔を長い転送間隔Bに切り替えて表示用のデータ転送レートを低くすることにより、メモリバス14の使用効率を上げることができ、描画性能を向上させることができるという効果が得られる。   As described above, according to the fourth embodiment, when the load state flag 103 indicating the load state of the memory bus 14 indicates a light load state, the display data is displayed with the data transfer interval as the short transfer interval A. When the transfer rate is increased and the load is heavy, the use efficiency of the memory bus 14 can be increased by switching the data transfer interval to the long transfer interval B and lowering the display data transfer rate. The effect that the drawing performance can be improved is obtained.

この発明の実施の形態1によるグラフィックス描画装置を含む表示システムの構成を示すブロック図である。1 is a block diagram showing a configuration of a display system including a graphics drawing device according to Embodiment 1 of the present invention. この発明の実施の形態1によるグラフィックス描画装置の表示制御部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the display control part of the graphics drawing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるグラフィックス描画装置のメモリ制御部によるフレームメモリへのアクセス要求を示すタイミングチャートである。It is a timing chart which shows the access request to the frame memory by the memory control part of the graphics drawing apparatus by Embodiment 1 of this invention. この発明の実施形態2によるグラフィックス描画装置の表示制御部内の転送間隔制御部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the transfer space | interval control part in the display control part of the graphics drawing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるグラフィックス描画装置のメモリ制御部によるフレームメモリへのアクセス要求を示すタイミングチャートである。It is a timing chart which shows the access request to the frame memory by the memory control part of the graphics drawing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるグラフィックス描画装置の描画処理部の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of an internal structure of the drawing process part of the graphics drawing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるグラフィックス描画装置の描画処理部の他の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of the other internal structure of the drawing process part of the graphics drawing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるグラフィックス描画装置の描画処理部内の三次元図形描画処理部の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of the internal structure of the three-dimensional figure drawing process part in the drawing process part of the graphics drawing apparatus by Embodiment 2 of this invention. この発明の実施の形態3によるグラフィックス描画装置の表示制御部内の転送間隔制御部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the transfer space | interval control part in the display control part of the graphics drawing apparatus by Embodiment 3 of this invention. この発明の実施の形態3によるグラフィックス描画装置の表示制御部内の転送間隔決定部による転送間隔決定方法を示す図である。It is a figure which shows the transfer interval determination method by the transfer interval determination part in the display control part of the graphics drawing apparatus by Embodiment 3 of this invention. この発明の実施の形態3によるグラフィックス描画装置のメモリ制御部によるフレームメモリへのアクセス要求を示すタイミングチャートである。It is a timing chart which shows the access request to the frame memory by the memory control part of the graphics drawing apparatus by Embodiment 3 of this invention. この発明の実施の形態3によるグラフィックス描画装置の表示制御部内の転送間隔制御部の転送間隔決定部の転送間隔算出部による表示用のデータ転送間隔の算出を説明する図である。It is a figure explaining calculation of the data transfer interval for a display by the transfer interval calculation part of the transfer interval determination part of the transfer interval control part in the display control part of the graphics drawing apparatus by Embodiment 3 of this invention. この発明の実施の形態3によるグラフィックス描画装置の表示制御部内の転送間隔制御部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the transfer space | interval control part in the display control part of the graphics drawing apparatus by Embodiment 3 of this invention. この発明の実施の形態4によるグラフィックス描画装置を含む表示システムの構成を示すブロック図である。It is a block diagram which shows the structure of the display system containing the graphics drawing apparatus by Embodiment 4 of this invention. 従来のグラフィックス描画装置を含む表示システムの構成を示すブロック図である。It is a block diagram which shows the structure of the display system containing the conventional graphics drawing apparatus. 従来のグラフィックス描画装置のメモリ制御部によるフレームメモリへのアクセス要求を示すタイミングチャートである。It is a timing chart which shows the access request to the frame memory by the memory control part of the conventional graphics drawing apparatus.

符号の説明Explanation of symbols

1 グラフィックス描画装置、2 フレームメモリ、3 表示装置、4 画面合成・走査変換器、5 画像メモリ、11 描画処理部、12 表示制御部、13 メモリ制御部、14 メモリバス、15 描画処理部、16 表示制御部、17 メモリ制御部、21 転送間隔制御部、31 レジスタ、32 レジスタ、33 レジスタ、34 レジスタ、35 セレクタ、36 転送トリガ発生部、51 データ転送(BITBLT)処理部、52 二次元図形描画処理部、53 三次元図形描画処理部、54 ピクセル演算処理部、61 ポリゴン生成部、62 テクスチャマッピング処理部、63 ピクセルテスト処理部、64 ピクセルブレンディング処理部、71 転送間隔数カウンタ、72 実転送数カウンタ、73 転送間隔決定部、81 補正部、82 加算器、83 レジスタ、84 転送トリガ発生部、101 描画状態フラグ、102 転送要求トリガ、103 負荷状態フラグ。   1 graphics drawing device, 2 frame memory, 3 display device, 4 screen composition / scan converter, 5 image memory, 11 drawing processing unit, 12 display control unit, 13 memory control unit, 14 memory bus, 15 drawing processing unit, 16 display control unit, 17 memory control unit, 21 transfer interval control unit, 31 register, 32 register, 33 register, 34 register, 35 selector, 36 transfer trigger generation unit, 51 data transfer (BITBLT) processing unit, 52 two-dimensional figure Drawing processing unit, 53 3D graphic drawing processing unit, 54 pixel calculation processing unit, 61 polygon generation unit, 62 texture mapping processing unit, 63 pixel test processing unit, 64 pixel blending processing unit, 71 transfer interval number counter, 72 actual transfer Number counter, 73 transfer interval determination unit, 81 correction unit 82 adder, 83 a register, 84 transfer trigger generating unit, 101 drawing state flag, 102 transfer request trigger 103 load state flag.

Claims (14)

作成したグラフィックスデータをフレームメモリに書き込むための描画用のアクセス要求を、メモリバスを介して上記フレームメモリに接続されているメモリ制御部に行う描画処理部と、
上記フレームメモリに書き込まれているグラフィックスデータを読み出すための表示用のアクセス要求を上記メモリ制御部に行う表示制御部とを備え、
上記表示制御部は上記描画処理部の描画状態に応じて表示用のアクセス要求によるデータ転送間隔を変化させることを特徴とするグラフィックス描画装置。
A drawing processing unit that performs a drawing access request for writing the created graphics data to the frame memory to the memory control unit connected to the frame memory via the memory bus;
A display control unit that performs a display access request for reading out the graphics data written in the frame memory to the memory control unit,
The graphics drawing apparatus, wherein the display control unit changes a data transfer interval according to a display access request in accordance with a drawing state of the drawing processing unit.
表示制御部は、描画処理部が描画中でない場合に表示用のデータ転送間隔を短くし、上記描画処理部が描画中である場合に、表示用のデータ転送間隔を長くすることを特徴とする請求項1記載のグラフィックス描画装置。   The display control unit shortens the display data transfer interval when the drawing processing unit is not drawing, and lengthens the display data transfer interval when the drawing processing unit is drawing. The graphics drawing apparatus according to claim 1. 表示制御部は、描画処理部の各描画状態に応じて表示用のデータ転送間隔及びデータ転送数を変化させ、上記描画処理部のフレームメモリへの描画用のデータ転送レートが低い場合に表示用のデータ転送間隔を短くし、描画用のデータ転送レートが高い場合に表示用のデータ転送間隔を長くすることを特徴とする請求項1記載のグラフィックス描画装置。   The display control unit changes the display data transfer interval and the number of data transfers according to each drawing state of the drawing processing unit, and displays data when the drawing data transfer rate to the frame memory of the drawing processing unit is low. 2. The graphics drawing apparatus according to claim 1, wherein the data transfer interval is shortened and the data transfer interval for display is lengthened when the data transfer rate for drawing is high. 表示制御部に、描画処理部の各描画状態に適した表示用の各データ転送間隔及び各データ転送数を設定しているレジスタと、上記描画処理部の各描画状態に応じて上記レジスタに設定されているデータ転送間隔及びデータ転送数を選択するセレクタと、上記セレクタにより選択されたデータ転送間隔及びデータ転送数に従って表示用のアクセス要求のための転送要求トリガを発生する転送トリガ発生部とを備えたことを特徴とする請求項3記載のグラフィックス描画装置。   A register that sets display data transfer intervals and data transfer numbers suitable for each drawing state of the drawing processing unit in the display control unit, and is set in the register according to each drawing state of the drawing processing unit A selector for selecting the data transfer interval and the number of data transfers, and a transfer trigger generation unit for generating a transfer request trigger for a display access request according to the data transfer interval and the number of data transfers selected by the selector. The graphics drawing apparatus according to claim 3, further comprising: 描画処理部に、フレームメモリ上のデータを読み出し、上記フレームメモリにデータを書き込むことにより表示位置の移動処理を行うデータ転送部と、二次元図形プリミティブの描画を行う二次元図形描画処理部と、三次元ポリゴンの描画を行う三次元図形描画処理部とを備え、上記描画処理部は上記データ転送部、上記二次元図形描画処理部及び上記次元図形描画処理部の処理に応じた各描画状態を表示制御部に通知することを特徴とする請求項3記載のグラフィックス描画装置。   A data transfer unit that reads the data in the frame memory and writes the data in the frame memory to the drawing processing unit, and a two-dimensional graphic drawing processing unit that draws a two-dimensional graphic primitive; A three-dimensional figure drawing processing unit for drawing a three-dimensional polygon, wherein the drawing processing unit displays each drawing state according to the processing of the data transfer unit, the two-dimensional figure drawing processing unit, and the dimension drawing drawing unit. The graphics drawing apparatus according to claim 3, wherein a notification is sent to the display control unit. 描画処理部に、データ転送部、二次元図形描画処理部又は三次元図形描画処理部が算出したピクセルデータとフレームメモリに格納されているピクセルデータ間のデータ処理を行うピクセル演算処理部を備え、上記描画処理部は上記データ転送部、上記二次元図形描画処理部、上記三次元図形描画処理部及び上記ピクセル演算処理部の処理に応じた各描画状態を表示制御部に通知することを特徴とする請求項5記載のグラフィックス描画装置。   The drawing processing unit includes a pixel calculation processing unit that performs data processing between the pixel data calculated by the data transfer unit, the two-dimensional graphic drawing processing unit or the three-dimensional graphic drawing processing unit and the pixel data stored in the frame memory, The drawing processing unit notifies the display control unit of each drawing state corresponding to the processing of the data transfer unit, the two-dimensional graphic drawing processing unit, the three-dimensional graphic drawing processing unit, and the pixel calculation processing unit. The graphics drawing apparatus according to claim 5. 描画処理部は二次元図形描画処理部が行う直線描画、三角形描画及び矩形描画の処理に応じた各描画状態を表示制御部に通知することを特徴とする請求項5記載のグラフィックス描画装置。   6. The graphics drawing apparatus according to claim 5, wherein the drawing processing unit notifies the display control unit of each drawing state corresponding to processing of straight line drawing, triangle drawing and rectangular drawing performed by the two-dimensional graphic drawing processing unit. 三次元図形描画処理部に、三次元ポリゴンを算出するポリゴン生成部と、上記ポリゴン生成部により算出されたプリミティブの各画素データに対してテクスチャイメージの画素データを貼り付けるテクスチャマッピング処理部と、上記ポリゴン生成部により算出された各画素データの奥行きを示すZ値を大小比較するデプステストや各画素のもつアルファ値をテストするアルファテスト等を行うピクセルテスト処理部と、上記ポリゴン生成部により算出された各画素データとフレームメモリ上の画素データとのブレンド処理を行うピクセルブレンディング処理部とを備え、
描画処理部は上記テクスチャマッピング処理部、上記ピクセルテスト処理部及び上記ピクセルブレンディング処理部の処理に応じた各描画状態を表示制御部に通知することを特徴とする請求項5記載のグラフィックス描画装置。
A polygon generation unit that calculates a three-dimensional polygon, a texture mapping processing unit that pastes pixel data of a texture image on each pixel data of the primitive calculated by the polygon generation unit, A pixel test processing unit that performs a depth test for comparing the Z value indicating the depth of each pixel data calculated by the polygon generation unit, an alpha test for testing an alpha value of each pixel, and the like, and is calculated by the polygon generation unit. A pixel blending processing unit for blending each pixel data with pixel data on the frame memory,
6. The graphics drawing apparatus according to claim 5, wherein the drawing processing unit notifies the display control unit of each drawing state corresponding to the processing of the texture mapping processing unit, the pixel test processing unit, and the pixel blending processing unit. .
表示制御部に、一定の間隔で表示用のデータ転送を行う場合の一定の転送間隔C毎に発生するデータ転送タイミングをトリガとしてフレーム単位での転送間隔数をカウントする転送間隔数カウンタと、メモリ制御部からデータ転送が行われる毎に発生する転送完了フラグをトリガとしてフレーム単位での実転送数をカウントする実転送数カウンタと、上記転送間隔数カウンタがカウントした転送間隔数と上記実転送数カウンタがカウントした実転送数と描画処理部の描画状態により、表示用のデータ転送間隔を決定する転送間隔決定部とを備えたことを特徴とする請求項1記載のグラフィックス描画装置。   A transfer interval counter for counting the number of transfer intervals in units of frames, triggered by a data transfer timing generated at every fixed transfer interval C when performing display data transfer at a fixed interval, and a memory; An actual transfer number counter that counts the actual transfer number in units of frames using a transfer completion flag that is generated every time data is transferred from the control unit, the transfer interval number that is counted by the transfer interval number counter, and the actual transfer number 2. The graphics drawing apparatus according to claim 1, further comprising: a transfer interval determining unit that determines a data transfer interval for display according to the actual transfer number counted by the counter and the drawing state of the drawing processing unit. 転送間隔決定部は、描画処理部が描画中でない場合に表示用のデータ転送間隔を短くし、上記描画処理部が描画中である場合に、転送間隔数カウンタがカウントした転送間隔数が実転送数カウンタがカウントした実転送数未満であれば表示用のデータ転送間隔を長くし、上記転送間隔数カウンタがカウントした転送間隔数が上記実転送数カウンタがカウントした実転送数以上であれば表示用のデータ転送間隔を一定の転送間隔Cにすることを特徴とする請求項9記載のグラフィックス描画装置。   The transfer interval determination unit shortens the data transfer interval for display when the drawing processing unit is not drawing, and the transfer interval number counted by the transfer interval number counter is actually transferred when the drawing processing unit is drawing. If the number transfer counter count is less than the actual transfer count, the display data transfer interval is lengthened. If the transfer interval count counted by the transfer interval count counter is greater than or equal to the actual transfer count counted by the actual transfer count counter, it is displayed. 10. The graphics drawing apparatus according to claim 9, wherein the data transfer interval for the data is set to a constant transfer interval C. 転送間隔決定部は、転送間隔数カウンタがカウントした転送間隔数と実転送数カウンタがカウントした実転送数を使用して、1フレーム内の残りの転送サイクル数と残りの転送回数に応じた表示用のデータ転送間隔を決定することを特徴とする請求項9記載のグラフィックス描画装置。   The transfer interval determining unit uses the transfer interval number counted by the transfer interval number counter and the actual transfer number counted by the actual transfer number counter to display according to the remaining transfer cycle number and remaining transfer number in one frame. 10. The graphics drawing apparatus according to claim 9, wherein a data transfer interval is determined. 転送間隔決定部に、実転送数カウンタがカウントした実転送数から転送間隔数カウンタがカウントした転送間隔数を減算した値に定数を乗じた値を補正値として出力する補正部と、描画処理部が描画中の前の表示用のデータ転送間隔を格納しているレジスタと、上記補正部からの補正値と上記レジスタに格納されている前の表示用のデータ転送間隔を加算して新たな表示用のデータ転送間隔として上記レジスタに格納する加算器と、描画処理部が描画中でない場合には内部に保持している短い表示用のデータ転送間隔を選択し、描画処理部が描画中の場合には上記レジスタに格納されている表示用のデータ転送間隔を選択するセレクタとを備えたことを特徴とする請求項9記載のグラフィックス描画装置。   A correction unit that outputs, as a correction value, a value obtained by subtracting a value obtained by subtracting the transfer interval number counted by the transfer interval number counter from the actual transfer number counted by the actual transfer number counter, and a drawing processing unit Adds the register for storing the previous display data transfer interval during drawing, the correction value from the correction unit, and the previous display data transfer interval stored in the register for a new display. When the drawing processing unit is drawing, the adder stored in the above register as the data transfer interval for the image, and when the drawing processing unit is not drawing, select the short display data transfer interval held internally. 10. The graphics drawing apparatus according to claim 9, further comprising a selector for selecting a data transfer interval for display stored in the register. 作成したグラフィックスデータをフレームメモリに書き込むための描画用のアクセス要求を、メモリバスを介して上記フレームメモリに接続されているメモリ制御部に行う描画処理部と、
上記フレームメモリに書き込まれているグラフィックスデータを読み出すための表示用のアクセス要求を上記メモリ制御部に行う表示制御部とを備え、
上記表示制御部は上記メモリ制御部より通知される上記メモリバスの負荷状態に応じて表示用のアクセス要求によるデータ転送間隔を変化させることを特徴とするグラフィックス描画装置。
A drawing processing unit that performs a drawing access request for writing the created graphics data to the frame memory to the memory control unit connected to the frame memory via the memory bus;
A display control unit that performs a display access request for reading out the graphics data written in the frame memory to the memory control unit,
The graphics rendering apparatus, wherein the display control unit changes a data transfer interval according to a display access request in accordance with a load state of the memory bus notified from the memory control unit.
表示制御部は、メモリバスの負荷状態が軽い状態の場合に表示用のデータ転送間隔を短くし、上記メモリバスの負荷状態が重い状態の場合に、表示用のデータ転送間隔を長くすることを特徴とする請求項13記載のグラフィックス描画装置。   The display control unit shortens the display data transfer interval when the load state of the memory bus is light, and increases the display data transfer interval when the load state of the memory bus is heavy. The graphics drawing apparatus according to claim 13, wherein:
JP2004123172A 2004-04-19 2004-04-19 Graphics drawing device Expired - Lifetime JP4707964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004123172A JP4707964B2 (en) 2004-04-19 2004-04-19 Graphics drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004123172A JP4707964B2 (en) 2004-04-19 2004-04-19 Graphics drawing device

Publications (2)

Publication Number Publication Date
JP2005308887A true JP2005308887A (en) 2005-11-04
JP4707964B2 JP4707964B2 (en) 2011-06-22

Family

ID=35437777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004123172A Expired - Lifetime JP4707964B2 (en) 2004-04-19 2004-04-19 Graphics drawing device

Country Status (1)

Country Link
JP (1) JP4707964B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007225925A (en) * 2006-02-23 2007-09-06 Sharp Corp Image display device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5619090A (en) * 1979-07-25 1981-02-23 Mitsubishi Electric Corp Image display device
JPS5650585A (en) * 1979-10-02 1981-05-07 Nec Corp Indicator
JPH0535257A (en) * 1991-08-02 1993-02-12 Seiko Epson Corp Image memory control method and image display device
JPH0555853A (en) * 1991-08-27 1993-03-05 Nec Corp Musical interval control system and its device
JPH08201508A (en) * 1995-01-31 1996-08-09 Mitsubishi Electric Corp Display for flight control
JPH1074073A (en) * 1996-08-30 1998-03-17 Nec Corp Display control device
JPH10232823A (en) * 1997-02-19 1998-09-02 Japan Radio Co Ltd Display controller
JPH10268851A (en) * 1997-03-26 1998-10-09 Mitsubishi Electric Corp Image input interface device
JP2000222164A (en) * 1999-01-29 2000-08-11 Canon Inc Multi-image display system and multi-image display method
JP2000356984A (en) * 1999-06-14 2000-12-26 Canon Inc Device and method for signal processing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5619090A (en) * 1979-07-25 1981-02-23 Mitsubishi Electric Corp Image display device
JPS5650585A (en) * 1979-10-02 1981-05-07 Nec Corp Indicator
JPH0535257A (en) * 1991-08-02 1993-02-12 Seiko Epson Corp Image memory control method and image display device
JPH0555853A (en) * 1991-08-27 1993-03-05 Nec Corp Musical interval control system and its device
JPH08201508A (en) * 1995-01-31 1996-08-09 Mitsubishi Electric Corp Display for flight control
JPH1074073A (en) * 1996-08-30 1998-03-17 Nec Corp Display control device
JPH10232823A (en) * 1997-02-19 1998-09-02 Japan Radio Co Ltd Display controller
JPH10268851A (en) * 1997-03-26 1998-10-09 Mitsubishi Electric Corp Image input interface device
JP2000222164A (en) * 1999-01-29 2000-08-11 Canon Inc Multi-image display system and multi-image display method
JP2000356984A (en) * 1999-06-14 2000-12-26 Canon Inc Device and method for signal processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007225925A (en) * 2006-02-23 2007-09-06 Sharp Corp Image display device

Also Published As

Publication number Publication date
JP4707964B2 (en) 2011-06-22

Similar Documents

Publication Publication Date Title
JP2637920B2 (en) Computer graphic system and method of using frame buffer
US10885607B2 (en) Storage for foveated rendering
US6788309B1 (en) Method and apparatus for generating a video overlay
JP4030519B2 (en) Image processing apparatus and image processing system
US6518974B2 (en) Pixel engine
JP2010102729A (en) Method and device for encoding texture information
JP2001034779A (en) Method and system for rendering primitive
KR20160051154A (en) Rendering method and apparatus, and electronic apparatus
US7405735B2 (en) Texture unit, image rendering apparatus and texel transfer method for transferring texels in a batch
JPH11327526A (en) Storage device, device and method for processing image and device and method for controlling refresh operation
US9053040B2 (en) Filtering mechanism for render target line modification
JP4827659B2 (en) Image processing apparatus, image processing method, and computer program
US6466219B1 (en) Storage device and image data processing apparatus
JP4707964B2 (en) Graphics drawing device
JP4505866B2 (en) Image processing apparatus and video signal processing method
JP2003132347A (en) Image processor
JP6120561B2 (en) Graphic drawing apparatus and graphic drawing program
JP3971448B2 (en) Drawing apparatus and drawing method
JP4684744B2 (en) Graphic drawing apparatus and program
US6489967B1 (en) Image formation apparatus and image formation method
JP4333793B2 (en) Video signal processing apparatus and video signal processing method
JPH08138067A (en) Line segment anti-aliasing device
JP4380757B2 (en) Video signal processing apparatus and video signal processing method
JP4411939B2 (en) Arithmetic apparatus and image processing apparatus
JP2010231425A (en) Data input/output control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070313

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071015

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101122

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110308

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110316

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250