WO2014050845A1 - グラフィックス描画装置 - Google Patents
グラフィックス描画装置 Download PDFInfo
- Publication number
- WO2014050845A1 WO2014050845A1 PCT/JP2013/075809 JP2013075809W WO2014050845A1 WO 2014050845 A1 WO2014050845 A1 WO 2014050845A1 JP 2013075809 W JP2013075809 W JP 2013075809W WO 2014050845 A1 WO2014050845 A1 WO 2014050845A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- intermediate data
- graphic
- buffer
- external memory
- data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/40—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which both a pattern determined by character code and another pattern are displayed simultaneously, or either pattern is displayed selectively, e.g. with character code memory and APA, i.e. all-points-addressable, memory
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/02—Handling of images in compressed format, e.g. JPEG, MPEG
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/399—Control of the bit-mapped memory using two or more bit-mapped memories, the operations of which are switched in time, e.g. ping-pong buffers
Definitions
- the present invention relates to a graphics drawing device for drawing a graphic image and transferring it to a display device.
- a graphics drawing device that draws and displays graphics, it reserves a frame buffer bandwidth on the external memory, draws the pixels that make up the graphics in this frame buffer, creates an image, and saves the image in this frame buffer.
- a method of displaying a screen by transferring to a display device is common.
- a method of switching the drawing surface and the display surface after drawing for one screen (one frame) is generally used with a frame buffer.
- a method of performing writing and reading by selecting from two buffers for each band is proposed in Japanese Patent Laid-Open No. 2009-15248 (Patent Document 1).
- Patent Document 1 In conventional methods including Patent Document 1, in which a figure is drawn in a frame buffer on an external memory, and the drawn figure is read and displayed, data reading / writing to the external memory frequently occurs. A large amount of data transfer) is consumed. The process of reading the frame buffer and transferring it to the display device is always performed at a refresh rate of 60 frames per second or the like, and therefore occupies a certain memory bandwidth. Further, when rendering to the frame buffer, for example, in the case of translucent processing, read-modify-write processing is required and the memory bandwidth used increases. Furthermore, since the memory bandwidth required for these processes is proportional to the resolution and the number of colors (number of bits per pixel), when realizing graphic display with a high resolution and a large number of colors, the memory bandwidth is ensured.
- the present invention has been made to solve the above-described problems.
- a frame buffer on the external memory is not required, and a graphics drawing device with a small memory bandwidth is obtained. For the purpose.
- a graphics drawing apparatus for drawing graphics and displaying a screen reads graphic data and a drawing list from an external memory in which graphic data of the figure to be drawn and a drawing list defining drawing contents are stored in advance.
- Intermediate data generating means for generating intermediate data and storing the generated intermediate data in an external memory; intermediate data scanning means for detecting a figure from the intermediate data stored in the external memory; and detecting by the intermediate data scanning means
- the figure drawing means for generating the drawn figure pixel from the figure data stored in the external memory and drawing the drawing image, and the figure drawing means for alternately drawing the drawing image and reading the drawn drawing image A buffer with multiple buffers to hold the drawn drawing image and the drawing stored in this buffer And a display output means for outputting for display on the display device an image.
- the drawing data defining the drawing data and drawing contents are read from the external memory, the intermediate data is generated by the intermediate data generating means, and the intermediate data scanning means is used to generate the intermediate data.
- a figure is detected from the data, a drawing image of the detected figure is generated from the figure data by the figure drawing means and held in a buffer having a plurality of buffers, and the drawing image stored in the buffer is output to the display device by the display output means.
- the frame buffer on the external memory becomes unnecessary, and the memory bandwidth is reduced.
- the effect of reducing the memory bandwidth is great.
- FIG. 1 It is a block diagram of the graphics drawing apparatus by Embodiment 1 of this invention. It is a figure which shows the figure which draws by Embodiment 1 of this invention. It is a figure which shows the structural example of vector figure data. It is a figure which shows the structural example of bitmap image data. It is a figure which shows the example of the drawing list which consists of the data which defined the drawing method of the figure. It is a figure which shows the example of the drawing list made into the hierarchical structure. It is a figure which shows the structural example of the intermediate data which the intermediate data production
- FIG. 10 is an explanatory diagram in which an intermediate data scanning unit performs a drawing process on the last (lowermost on the screen) scan line.
- FIG. 6 is an explanatory diagram of timings of each process of creating intermediate data, drawing a scan line, and displaying output.
- It is explanatory drawing of the processing method which shifts the production
- FIG. 1 is a block diagram showing a graphics drawing apparatus according to Embodiment 1 of the present invention.
- 10 is a graphics drawing apparatus
- 11 is a control unit that performs drawing control
- 12 is an intermediate data generation unit that generates intermediate data from a drawing list or drawing command and graphic data
- 13 is included in a scan line to be processed.
- 14 is a figure drawing unit for generating a drawing image by generating pixels from the figure data
- 15 is a line buffer having a double buffer configuration for holding a drawing image for one line
- 16 is a line.
- a memory 19 is a display device that performs screen display.
- FIG. 3 shows an example of the structure of vector graphic data.
- a vector graphic is a graphic contour constituted by a straight line or a Bezier curve, and the contour is defined by a command (MoveTo or LineTo) and an XY coordinate value of a vertex or a control point. It also has data for specifying the drawing color of the figure.
- FIG. 4 shows an example of the structure of bitmap image data. Bitmap image data includes an image size and a color value (RGBA value) for each pixel.
- FIG. 5 shows an example of the structure of the drawing list.
- the drawing list is data that defines how to draw which figure (vector figure or bitmap image). Which figure is drawn is specified by a pointer to the figure data, and how to draw is specified by a conversion matrix.
- the transformation matrix is a 3 ⁇ 2 matrix, and is applied to the XY coordinates of vector vertices and control points or the XY coordinates of the four corners of the bitmap image by the following formulas to enlarge, reduce, rotate, Instructs coordinate transformation such as translation.
- the drawing list includes the drawing contents of all one frame.
- the drawing content of FIG. 2 shown as an example is for drawing six figures 21, 22, 23, 24, 25, and 26, and the drawing list for performing this drawing is as shown in FIG. 5. It consists of pointers and transformation matrices for the figures 21, 22, 23, 24, 25 and 26, respectively.
- the drawing order of each figure is drawn in order from the top of the drawing list.
- drawing list may have a hierarchical structure as shown in FIG.
- a format in which a series of drawing commands are defined such as a display list of OpenGL (Graphics Library), which is a three-dimensional graphics API (Application Program Interface), may be used.
- OpenGL Graphics Library
- Graphics API Application Program Interface
- the CPU 17 instructs the graphics drawing apparatus 10 to start drawing. Thereby, the graphics drawing apparatus 10 starts processing for one frame.
- the control unit 11 instructs the intermediate data generation unit 12 to start processing in accordance with the start timing of the vertical blank period of the display output unit 16.
- the intermediate data generation unit 12 When receiving an instruction from the control unit 11, the intermediate data generation unit 12 reads the drawing list from the drawing list memory band of the external memory 18 and starts processing. First, the graphic data specified in the drawing list is read, and coordinate conversion processing is performed on the XY coordinates of the vertices or control points using the conversion matrix specified in the drawing list. That is, a coordinate conversion process is performed on the XY coordinates of the vertices or control points of the vector graphic data of the graphic 21 using the conversion matrix (A1, B1, C1, D1, E1, F1). At this time, the intermediate data generation unit 12 determines the minimum value and the maximum value of the Y coordinate after coordinate conversion, and holds it as drawing range information.
- the pointer to the graphic 21 When the coordinate conversion processing for all the vertices or control points of the graphic 21 is completed, the pointer to the graphic 21, the conversion matrix specified in the drawing list, and the drawing range information (Y coordinate minimum value, maximum value) are intermediate.
- the data is written in the intermediate data memory band of the external memory 18.
- the continuation of the drawing list is read and the same processing is performed on the graphic 22. That is, the graphic data of the graphic 22 is read, and coordinate conversion processing is performed on the XY coordinates of the vertex or control point using the conversion matrix (A2, B2, C2, D2, E2, F2).
- the conversion matrix specified in the drawing list and the drawing range information (Y coordinate minimum value, maximum value) are intermediate data. Is written into the intermediate data memory band of the external memory 18.
- FIG. 7 shows an example of the structure of intermediate data. The process of creating the intermediate data is performed during the vertical blank period until the process moves to the next frame.
- the drawing list has a hierarchical structure, the conversion matrix specified when calling the lower drawing list from the upper drawing list and the conversion matrix specified for each figure in the lower drawing list And a coordinate transformation process is performed on the XY coordinates of the vertices of the graphic data or the control points using the transformation matrix of the multiplication result.
- control unit 11 issues an instruction to start processing to the intermediate data scanning unit 13 for each scan line in accordance with the horizontal synchronization timing output from the display output unit 16 to the display device 19.
- FIG. 8 is a diagram for explaining a drawing process for the top scan line.
- the intermediate data scanning unit 13 When the intermediate data scanning unit 13 receives an instruction from the control unit 11, the intermediate data scanning unit 13 reads the intermediate data from the intermediate data memory band of the external memory 18 and refers to the drawing area information to determine whether the graphic data is included on the scan line to be processed. Determine whether or not.
- graphic data When graphic data is included in the scan line to be processed, a pointer to the graphic data and a conversion matrix are output to the graphic drawing unit 14 to instruct drawing.
- an instruction is issued to the graphic drawing unit 14 to draw the graphic 24.
- the graphic drawing unit 14 When the graphic drawing unit 14 receives an instruction from the intermediate data scanning unit 13, the graphic drawing unit 14 reads the graphic data from the graphic data memory band of the external memory 18, and performs a coordinate conversion process using the conversion matrix specified for the XY coordinates of the vertex or control point. Then, pixel data is generated for the scan line to be processed and drawn in the line buffer 15. Since a method of generating individual pixel data from graphic data is well known, description thereof is omitted.
- the display output unit 16 switches the drawing side buffer and the display side buffer of the line buffer 15 having a double buffer configuration according to the timing of horizontal synchronization, and reads the image from the display side buffer switched from the drawing side buffer to the display side buffer. Then, transfer of one line to the display device 19 is started. At the same time, the control unit 11 instructs the intermediate data scanning unit 13 to draw the second scan line from the top on the screen.
- FIG. 9 is a diagram for explaining processing for the second scan line from the top.
- the intermediate data scanning unit 13 When the intermediate data scanning unit 13 receives an instruction from the control unit 11, the intermediate data scanning unit 13 reads the intermediate data from the intermediate data memory band of the external memory 18 and refers to the drawing area information to determine whether the graphic data is included on the scan line to be processed. Determine whether or not. If it is included in the scan line to be processed, a pointer to the graphic data and a conversion matrix are output to the graphic drawing unit 14 to instruct drawing. In the example of FIG. 9, since the graphic 21 and the graphic 24 are included in the scan line to be processed, an instruction is issued to the graphic drawing unit 14 to draw the graphic 21 and the graphic 24.
- the graphic drawing unit 14 When the graphic drawing unit 14 receives an instruction from the intermediate data scanning unit 13, the graphic drawing unit 14 reads the graphic data from the graphic data memory band of the external memory 18, and performs a coordinate conversion process using the conversion matrix specified for the XY coordinates of the vertex or control point. Then, pixel data is generated for the scan line to be processed and drawn in the line buffer 15. At this time, drawing is performed in a drawing buffer that is not read by the display output unit 16 in the line buffer 15 having a double buffer configuration.
- the line buffer 15 stores the corresponding scan line. The image is complete.
- FIG. 10 is a diagram for explaining the process for the last scan line (the bottom on the screen).
- the intermediate data scanning unit 13 reads the intermediate data from the intermediate data memory band of the external memory 18, and refers to the drawing area information to determine whether the graphic data is included on the scan line to be processed. To do.
- an instruction is issued to the graphic drawing unit 14 to draw the graphic 25.
- the graphic drawing unit 14 When the graphic drawing unit 14 receives an instruction from the intermediate data scanning unit 13, the graphic drawing unit 14 reads the graphic data from the graphic data memory band of the external memory 18, and performs a coordinate conversion process using the conversion matrix specified for the XY coordinates of the vertex or control point. Then, pixel data is generated for the scan line to be processed and drawn in the line buffer 15. At this time, drawing is performed in the buffer that is not read by the display output unit 16 among the line buffers 15 having the double buffer configuration.
- the image of the corresponding scan line is stored in the line buffer 15. Complete.
- the display output unit 16 reads the image of the last scan line from the line buffer 15 and transfers it to the display device 19, thereby completing the screen display for one frame.
- FIG. 11 is a diagram for explaining processing timing. This figure is an example when the vertical resolution of the display device 19 is 768.
- an image is generated from graphic data for each scan line, and output to a display device.
- the memory bandwidth can be reduced.
- the effect of reducing the memory bandwidth is great.
- the intermediate data memory band on the external memory has a double buffer configuration
- the intermediate data generation unit 12 creates intermediate data from the drawing list and graphic data
- the drawing unit 14 may perform drawing for each scan line and display processing by the display output unit 16 may be shifted by one frame.
- the process of creating intermediate data from the drawing list and graphic data by the intermediate data generation unit 12 is executed once for a plurality of frames.
- the intermediate data scanning unit 13, the graphic drawing unit 14, and the display output unit 16 may be configured to repeatedly use the same intermediate data for a plurality of frames.
- the intermediate data scanning unit and the graphic drawing unit have been described by the method of scanning a line.
- these processes are not limited to the method of scanning a line, and one frame is processed. Any other existing method may be used as long as it can divide into a plurality of figures and draw a figure and a drawing image of the detected figure.
- the buffer is not limited to the line buffer, and any buffer may be used as long as it matches the graphic detection or the processing method for drawing the drawn graphic of the detected graphic.
- FIG. The first embodiment is an example in which the line buffer 15 is configured as a double buffer for one line, but the line buffer 15 may be configured to hold an image for a plurality of lines.
- the operation in the case of a configuration that holds images for four lines will be described below.
- FIG. 14 is a diagram for explaining the drawing and display processing in this case.
- the CPU 17 stores the graphic data and the drawing list in the graphic data memory band and the drawing list memory band of the external memory 18, respectively, and instructs the graphics drawing apparatus 10 to start drawing.
- the intermediate data generation unit 12 draws in one frame.
- the operation of creating intermediate data in which information about all graphic data that needs to be registered is created in the intermediate data memory band of the external memory 18 is the same as the operation described in the first embodiment.
- control unit 11 instructs the intermediate data scanning unit 13 to start processing at a rate of once every four horizontal synchronization timings output from the display output unit 16 to the display device 19.
- the control unit 11 instructs the intermediate data scanning unit 13 to draw the uppermost four scan lines on the screen.
- the intermediate data scanning unit 13 receives an instruction from the control unit 11, the intermediate data scanning unit 13 reads the intermediate data from the intermediate data memory band of the external memory 18, refers to the drawing area information, and the graphic data is on the scan line for four lines to be processed. It is determined whether it is included in.
- a pointer to the graphic data and a conversion matrix are output to the graphic drawing unit 14 to instruct drawing.
- the graphic drawing unit 14 When the graphic drawing unit 14 receives an instruction from the intermediate data scanning unit 13, the graphic drawing unit 14 reads the graphic data from the graphic data memory band of the external memory 18, and performs a coordinate conversion process using the conversion matrix specified for the XY coordinates of the vertex or control point. Then, pixel data is generated for the four scan lines to be processed and drawn in the line buffer 15.
- the display output unit 16 switches the drawing buffer and the display buffer of the line buffer 15 having a double buffer configuration at a rate of once every four horizontal synchronization timings, and switches from the drawing buffer to the display buffer.
- the image is read from the display-side buffer, and transfer of four lines to the display device 19 is started.
- the control unit 11 instructs the intermediate data scanning unit 13 to draw the next four scan lines on the screen.
- the intermediate data is scanned to detect a graphic included in the target scan lines, and the graphic data is read out and drawn in the line buffer 15, and the line buffer
- the screen display is performed by outputting the 15 images to the display device 19.
- Embodiment 3 The first embodiment and the second embodiment are examples in which the line buffer 15 has a double buffer configuration of a drawing side buffer and a display side buffer.
- the configuration of the line buffer 15 is not limited to a double buffer. It is good also as a structure which switches and uses the buffer more than a surface. The operation in this case will be described below.
- the CPU 17 stores the graphic data and the drawing list in the graphic data memory band and the drawing list memory band of the external memory 18, respectively, and instructs the graphics drawing apparatus 10 to start drawing.
- the intermediate data generation unit 12 draws in one frame.
- the operation for creating the intermediate data in which information about all graphic data that needs to be registered is created in the intermediate data memory band of the external memory 18 is the same as the operation shown in the first and second embodiments.
- the control unit 11 starts processing in the intermediate data scanning unit 13 as shown in the first and second embodiments.
- An instruction is issued and the graphic drawing unit 14 generates an image in the line buffer 15.
- the display output unit 16 selects a buffer to be read at the timing of horizontal synchronization, reads an image, and starts transfer to the display device 19.
- the control unit 11 instructs the intermediate data scanning unit 13 to perform the next scan line drawing on the next surface of the line buffer 15. And give instructions. That is, in the case of the triple buffer configuration of three screens, the display output unit 16 issues an instruction to sequentially perform drawing on the remaining two buffer surfaces excluding the buffer surface being read. Similarly, in the case of a four-surface buffer configuration, the display output unit 16 issues an instruction to sequentially perform drawing on the remaining three-surface buffers excluding the buffer surface being read.
- the line buffer 15 is composed of a buffer of a plurality of three or more surfaces, and the content is obtained by sequentially drawing the remaining buffers excluding the buffer surface read for display output in advance. Is complicated and the drawing processing load on the line buffer 15 is high, there is an effect of reducing the possibility that the drawing processing will not be in time and the screen display becomes illegal.
- FIG. FIG. 15 is a block diagram showing a graphics drawing apparatus according to Embodiment 4 of the present invention.
- the intermediate data generation unit 12 in the first embodiment, the second embodiment, and the third embodiment is omitted, and the processing for creating the intermediate data is executed by software processing by the CPU 17.
- the CPU 17 performs the same processing as the intermediate data generation unit 12 in the first, second, and third embodiments, creates intermediate data from the drawing list and graphic data, and stores it in the external memory 18. To do.
- the CPU 17 instructs the graphics drawing apparatus 10 to start drawing. Thereby, the graphics drawing apparatus 10 starts processing for one frame.
- the intermediate data scanning unit 13 detects the graphic included in the scan line from the intermediate data in the external memory 18 for each scan line.
- the graphics pixel is generated by the graphics drawing unit from the graphics data in the external memory and drawn, the drawing image is held in the line buffer 15, and the drawing image stored in the line buffer 15 is output to the display device 19.
- the CPU 17 When changing the display contents, the CPU 17 creates new intermediate data and stores it in the external memory 18, and instructs the graphics drawing apparatus 10 to perform drawing using the new intermediate data.
- the graphics drawing apparatus can draw a figure by enlarging, reducing, rotating, translating, etc. according to a coordinate conversion instruction, and can reduce the memory bandwidth as compared with a conventional apparatus, and can publish and advertise. There is a possibility of being used for visual expression in media and contents such as printing and games.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Generation (AREA)
Abstract
Description
また、ダブルバッファ時のメモリアクセスを減らすために、帯域ごとに2つのバッファから選択して書込みおよび読み出しを行う方式が特開2009―15248号公報(特許文献1)に提案されている。
本発明は上記のような問題点を解決するためになされたもので、グラフィックスの描画および表示の過程において、外部メモリ上のフレームバッファを不要とし、使用メモリ帯域の少ないグラフィックス描画装置を得ることを目的とする。
図1は本発明の実施の形態1によるグラフィックス描画装置を示す構成図である。
図1において、10はグラフィックス描画装置、11は描画制御を行う制御部、12は描画リストまたは描画コマンドおよび図形データから中間データを生成する中間データ生成部、13は処理対象のスキャンラインに含まれる図形を検出する中間データ走査部、14は図形データからピクセルを生成して描画イメージを描画する図形描画部、15は1ライン分の描画イメージを保持するダブルバッファ構成のラインバッファ、16はラインバッファ15から描画イメージを読み出して出力する表示出力部、17はグラフィックス描画装置10へ指示を出すCPU(Central Processing Unit)、18は描画リスト、図形データおよび中間データを格納し保持するための外部メモリ、19は画面表示を行う表示装置である。
ここでは、例として図2に示す図形21、22、23、24、25、26をそれぞれ拡大、縮小や回転をして描画する動作について説明する。
まず、CPU17は、あらかじめベクトル図形またはビットマップ画像の図形データを外部メモリ18の図形データメモリ帯域へ格納しておく。
図3はベクトル図形データの構造の例を示したものである。ベクトル図形は図形輪郭を直線やベジェ曲線で構成したものであり、コマンド(MoveToやLineTo)と頂点または制御点のXY座標値で輪郭を定義する。また、図形の描画色を指定するデータも持つ。図4はビットマップ画像データの構造の例を示したものである。ビットマップ画像データは画像サイズと、各ピクセル毎のカラー値(RGBA値)により構成される。
まず、描画リストで指定された図形データを読出し、頂点または制御点のXY座標に対して、描画リストで指定された変換行列を使用して座標変換処理を行う。すなわち、図形21のベクトル図形データの頂点または制御点のXY座標に対し、変換行列(A1,B1,C1,D1,E1,F1)を使用して座標変換処理を行う。この際に、中間データ生成部12は、座標変換後のY座標の最小値および最大値を判定し、描画範囲情報として保持しておく。
そして、図形21の頂点または制御点の全てについての座標変換処理が終了したら、図形21へのポインタ、描画リストで指定された変換行列、および描画範囲情報(Y座標最小値、最大値)を中間データとして外部メモリ18の中間データメモリ帯域へ書き込む。
前記と同様に、中間データ走査部13は、外部メモリ18の中間データメモリ帯域から中間データを読み出し、描画領域情報を参照して図形データが処理対象のスキャンライン上に含まれるか否かを判定する。図10の例では、図形25が処理対象のスキャンラインに含まれるため、図形25について描画するよう図形描画部14に対して指示を出す。
そして、表示出力部16が、ラインバッファ15から最後のスキャンラインのイメージを読み出して表示装置19へ転送することにより、1フレーム分の画面表示が完了する。
実施の形態1は、ラインバッファ15を1ライン分のダブルバッファ構成とした例であるが、ラインバッファ15は複数ライン分のイメージを保持する構成としても良い。例として、4ライン分のイメージを保持する構成とした場合の動作を以下に説明する。図14はこの場合の描画と表示の処理を説明した図である。
実施の形態1および実施の形態2は、ラインバッファ15を描画側バッファと表示側バッファのダブルバッファ構成とした例であるが、ラインバッファ15の構成はダブルバッファに限定されるものではなく、3面以上のバッファを切り替えて使用する構成としても良い。この場合の動作を以下に説明する。
図15はこの発明の実施の形態4によるグラフィックス描画装置を示す構成図である。
本実施の形態は、実施の形態1、実施の形態2および実施の形態3における中間データ生成部12を省き、中間データを作成する処理をCPU17によるソフトウェア処理で実行する構成である。
描画実行時に、CPU17は実施の形態1、実施の形態2および実施の形態3における中間データ生成部12と同様の処理を行い、描画リストおよび図形データから中間データを作成し、外部メモリ18へ格納する。1フレーム分の中間データの作成が完了したら、CPU17はグラフィックス描画装置10に対して描画開始を指示する。これにより、グラフィックス描画装置10は、1フレーム分の処理を開始する。
Claims (7)
- グラフィックスの描画および画面表示を行うグラフィックス描画装置において、
描画される図形の図形データと描画内容を定義する描画リストが予め格納された外部メモリから、図形データと描画リストを読み出し、中間データを生成し、生成した中間データを上記外部メモリに格納する中間データ生成手段と、
上記外部メモリに格納された中間データから図形を検出する中間データ走査手段と、
この中間データ走査手段により検出された図形のピクセルを上記外部メモリに格納された図形データから生成して描画イメージの描画を行う図形描画手段と、
描画イメージの描画と描画された描画イメージの読み出しを交互に行うため上記図形描画手段で描画された描画イメージを保持する複数バッファ構成のバッファと、
このバッファに格納された描画イメージを表示装置で表示するため出力する表示出力手段と
を備えるグラフィックス描画装置。 - 中間データには描画される図形の図形データへのポインタと描画される図形の座標変換処理用の変換行列および描画される図形の描画領域情報を含む
請求項1記載のグラフィックス描画装置。 - 上記バッファは、描画イメージの描画用と描画された描画イメージの読み出し用のダブルバッファ構成とされ、上記中間データ走査はスキャンラインごとに、上記外部メモリに格納された中間データから該当スキャンラインに含まれる図形を検出する構成とされ、
上記図形描画手段はスキャンラインごとに、描画イメージの描画を行う構成とされ、
上記バッファの切り替え、および上記中間データ走査と上記図形描画手段によるスキャンラインごとの処理は、上記表示出力手段の画面表示出力の水平同期タイミングに従って実行する
請求項1または2記載のグラフィックス描画装置。 - 上記中間データ生成手段による中間データの生成処理は、処理が次のフレームに移行する垂直ブランク期間内に実行する
請求項1から3の何れか1項に記載のグラフィックス描画装置。 - 上記中間データ生成手段による中間データの生成処理と、上記中間データ走査手段、上記図形描画手段および上記表示出力手段による描画および表示の処理とは、1フレーム分ずらして実行される
請求項1から3の何れか1項に記載のグラフィックス描画装置。 - 上記中間データ生成手段による中間データの生成処理は、複数フレームに一度の頻度で実行する
請求項1から3の何れか1項に記載のグラフィックス描画装置。 - 上記中間データの生成処理は、CPUによるソフトウェア処理で実行する
請求項1から3の何れか1項に記載のグラフィックス描画装置。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/423,601 US20150187044A1 (en) | 2012-09-27 | 2013-09-25 | Graphics rendering device |
DE112013004757.8T DE112013004757T5 (de) | 2012-09-27 | 2013-09-25 | Grafik-Rendering-Gerät |
CN201380050266.0A CN104685543B (zh) | 2012-09-27 | 2013-09-25 | 图形描绘装置 |
JP2014538508A JP5823052B2 (ja) | 2012-09-27 | 2013-09-25 | グラフィックス描画装置 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012213533 | 2012-09-27 | ||
JP2012-213533 | 2012-09-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014050845A1 true WO2014050845A1 (ja) | 2014-04-03 |
Family
ID=50388242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2013/075809 WO2014050845A1 (ja) | 2012-09-27 | 2013-09-25 | グラフィックス描画装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20150187044A1 (ja) |
JP (1) | JP5823052B2 (ja) |
CN (1) | CN104685543B (ja) |
DE (1) | DE112013004757T5 (ja) |
WO (1) | WO2014050845A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017203675A1 (ja) * | 2016-05-27 | 2017-11-30 | 三菱電機株式会社 | グラフィックス描画装置、グラフィックス描画方法、表示システム、及びグラフィックス描画プログラム |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20170091832A (ko) * | 2016-02-01 | 2017-08-10 | 에스케이하이닉스 주식회사 | 메모리 시스템 및 메모리 시스템의 동작방법 |
JP6942964B2 (ja) * | 2017-01-17 | 2021-09-29 | カシオ計算機株式会社 | 図形描画方法、図形描画装置、及びプログラム |
JP7013294B2 (ja) * | 2018-03-19 | 2022-01-31 | キオクシア株式会社 | メモリシステム |
US11017748B2 (en) * | 2018-08-20 | 2021-05-25 | Red Hat, Inc. | Copy-on-write (COW) rendering of graphical object models |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07262390A (ja) * | 1994-03-18 | 1995-10-13 | Fuji Xerox Co Ltd | 字形情報処理方法及び装置 |
JP2000255125A (ja) * | 1999-03-11 | 2000-09-19 | Fuji Xerox Co Ltd | 印刷処理装置および印刷処理方法 |
JP2012032456A (ja) * | 2010-07-28 | 2012-02-16 | Yamaha Corp | 画像処理装置 |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0620690B1 (en) * | 1993-04-15 | 1999-01-27 | Matsushita Electric Industrial Co., Ltd. | Video signal encrypting apparatus |
US5859958A (en) * | 1995-11-14 | 1999-01-12 | Apple Computer, Inc. | Compact representation of object slices for rendering raster graphics |
JP3334661B2 (ja) * | 1999-02-24 | 2002-10-15 | 日本電気株式会社 | 画像形成装置及び方法 |
JP3604312B2 (ja) * | 1999-12-28 | 2004-12-22 | 株式会社スクウェア・エニックス | ビデオゲーム用のプログラムを記録したコンピュータ読み取り可能な記録媒体、ビデオゲームにおけるオブジェクト描画方法及びビデオゲーム装置 |
DE60127253T2 (de) * | 2000-06-08 | 2007-11-22 | Imagination Technologies Ltd., Kings Langley | Bildkachelung und -kompression für die 3D-Bilddarstellung |
US6636218B1 (en) * | 2000-06-30 | 2003-10-21 | Intel Corporation | Title-based digital differential analyzer rasterization |
US8840477B2 (en) * | 2002-12-10 | 2014-09-23 | Ol2, Inc. | System and method for improving the graphics performance of hosted applications |
AU2003900772A0 (en) * | 2003-02-21 | 2003-03-13 | Canon Kabushiki Kaisha | Reducing the number of compositing operations performed in a pixel sequential rendering system |
AU2003903448A0 (en) * | 2003-06-26 | 2003-07-17 | Canon Kabushiki Kaisha | A method for tracking depths in a scanline based raster image processor |
US7999830B1 (en) * | 2006-04-07 | 2011-08-16 | Dell Products L.P. | Rendering changed portions of composited images |
US20080055326A1 (en) * | 2006-09-05 | 2008-03-06 | Yun Du | Processing of Command Sub-Lists by Multiple Graphics Processing Units |
US20100020088A1 (en) * | 2007-02-28 | 2010-01-28 | Panasonic Corporation | Graphics rendering device and graphics rendering method |
US20100039562A1 (en) * | 2008-04-09 | 2010-02-18 | University Of Kentucky Research Foundation (Ukrf) | Source and output device-independent pixel compositor device adapted to incorporate the digital visual interface (DVI) |
JP5051087B2 (ja) * | 2008-09-30 | 2012-10-17 | ヤマハ株式会社 | 可逆圧縮符号化装置および可逆復号化装置 |
JP5523002B2 (ja) * | 2009-07-29 | 2014-06-18 | キヤノン株式会社 | 画像処理装置及び画像処理方法 |
EP2480964A1 (en) * | 2009-09-25 | 2012-08-01 | OCE-Technologies B.V. | Method of creating a printable raster image file |
-
2013
- 2013-09-25 DE DE112013004757.8T patent/DE112013004757T5/de not_active Withdrawn
- 2013-09-25 CN CN201380050266.0A patent/CN104685543B/zh active Active
- 2013-09-25 WO PCT/JP2013/075809 patent/WO2014050845A1/ja active Application Filing
- 2013-09-25 US US14/423,601 patent/US20150187044A1/en not_active Abandoned
- 2013-09-25 JP JP2014538508A patent/JP5823052B2/ja active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07262390A (ja) * | 1994-03-18 | 1995-10-13 | Fuji Xerox Co Ltd | 字形情報処理方法及び装置 |
JP2000255125A (ja) * | 1999-03-11 | 2000-09-19 | Fuji Xerox Co Ltd | 印刷処理装置および印刷処理方法 |
JP2012032456A (ja) * | 2010-07-28 | 2012-02-16 | Yamaha Corp | 画像処理装置 |
Non-Patent Citations (1)
Title |
---|
MASAKI HAMADA ET AL.: "An Optimization Method of Rendering for Graphics Hardware on Embedded Systems", PROCEEDINGS OF THE 2012 IEICE GENERAL CONFERENCE JOHO SYSTEM 2, 6 March 2012 (2012-03-06), pages 1 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017203675A1 (ja) * | 2016-05-27 | 2017-11-30 | 三菱電機株式会社 | グラフィックス描画装置、グラフィックス描画方法、表示システム、及びグラフィックス描画プログラム |
Also Published As
Publication number | Publication date |
---|---|
JPWO2014050845A1 (ja) | 2016-08-22 |
CN104685543A (zh) | 2015-06-03 |
US20150187044A1 (en) | 2015-07-02 |
CN104685543B (zh) | 2017-04-12 |
DE112013004757T5 (de) | 2015-08-27 |
JP5823052B2 (ja) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI602148B (zh) | 用於紋理映射至非正交網格的梯度調整 | |
US6587112B1 (en) | Window copy-swap using multi-buffer hardware support | |
JP5823052B2 (ja) | グラフィックス描画装置 | |
WO2006080115A1 (ja) | 描画方法、画像生成装置、および電子情報機器 | |
KR20160051154A (ko) | 렌더링 방법, 렌더링 장치 및 전자 장치 | |
US20140125685A1 (en) | Method and Apparatus for Displaying Images | |
JP4571437B2 (ja) | 解像度が異なる複数のウィンドウを表示するためのシステム、方法およびプログラム | |
US10783696B2 (en) | Gradient adjustment for texture mapping to non-orthonormal grid | |
JP5323251B2 (ja) | アニメーション表示装置 | |
JP5172640B2 (ja) | ベクトル図形描画装置 | |
JP5159949B2 (ja) | ベクトル図形描画装置 | |
JP2002519793A (ja) | グラフィックエレメントをレンダリング処理する方法及びシステム | |
WO2014087541A1 (ja) | 図形描画装置 | |
JP5744197B2 (ja) | ウィンドウ合成装置 | |
CN102214363B (zh) | 一种矢量图形移动过程中的绘制方法 | |
WO2021245875A1 (ja) | 画像合成装置及び画像合成方法 | |
WO2017203675A1 (ja) | グラフィックス描画装置、グラフィックス描画方法、表示システム、及びグラフィックス描画プログラム | |
JP4124015B2 (ja) | 画像表示装置 | |
JP3555940B2 (ja) | 画像処理装置及び画像処理方法 | |
JPH08235380A (ja) | 多面体表示方法および多面体表示装置 | |
WO2009107168A1 (ja) | 文字描画装置 | |
JP2008191317A (ja) | 画像処理装置、画像処理方法、画像処理プログラム、及び画像処理プログラムを記録した記録媒体、並びに画像表示装置 | |
JP2006227498A (ja) | 画像処理装置 | |
JP2002311943A (ja) | 画像表示装置 | |
JP2007264866A (ja) | グラフィックシステム、破線テクスチャ画像生成装置、及び、破線テクスチャ画像生成方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13840734 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2014538508 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14423601 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1120130047578 Country of ref document: DE Ref document number: 112013004757 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13840734 Country of ref document: EP Kind code of ref document: A1 |