Rendering Reference Data - Hitachi HD64411 Q2 User Manual

Quick 2d graphics renderer
Table of Contents

Advertisement

LSB
0
16 bits
0
H'40000
1
H'40020
.
.
.
.
Y
7
H'400EF
.
.
.
.
255
H'43FEF
Figure 4-7
Relationship between Binary Work Coordinates and Addresses
4 . 3 . 2

Rendering Reference Data

Q2 drawing operations can be broadly divided into those that reference the transfer source and those
that do not. Drawing commands that reference the transfer source are POLYGON4A,
POLYGON4B, PLINE, and RPLINE. Drawing commands that do not reference the transfer source
are POLYGON4C, LINE, RLINE, FTRAP, RFTRAP, CLRW, LINEW, and RLINEW.
With drawing operations that reference the transfer source, there are two reference data formats:
multi-valued source data and binary source data.
Of the commands that do not reference the transfer source, POLYGON4C, LINE, RLINE, LINEW,
and RLINEW reference the specified color data.
With POLYGON4 commands, it is possible to reference a combination of multi-valued source data
and binary source data, binary source data and binary work data, or specified color data and binary
work data (figure 4-8).
MSB
X
16 bits
......
......
H'40001
......
H'40021
.
.
.
.
......
H'400E1
.
.
.
.
......
H'43FE1
511
16 bits
H'4001F
H'4003F
.
1 line
.
H'400FF
.
.
H'43FFF
Equivalent
to 32 work
coordinate
lines
67

Advertisement

Table of Contents
loading

Table of Contents