27 GRAPHICS ENGINE (GE)
27-16
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
MESH_CW[1:0]
0x0
0x1
0x3
M
E
S
H
_R
W
[1
:0
]
0x0
0x1
0x3
n
Mesh color Original color of the object to be drawn
3.5.1 List of Mesh Patterns
Figure 27.
The mesh color should be set to MESH_COL[15:0]/GE_MESH register. A color within the effective range
for the bpp mode (set using DISP_BPP[2:0]/GE_DISP_CFG register) can only be specified.
Note: Be sure to avoid setting both the mesh color and transparent color to the same. To produce a
similar effect, specify the drawing color as the transparent color.
The mesh pattern is generated relative to the work area origin (0, 0). Therefore, a continuous mesh pattern
will be generated even if two or more objects with mesh specified overlap one another.
Note that the work area origin (0, 0) is expressed by physical coordinates (before VRAM rotation), not logi-
cal coordinates (after VRAM rotation).
Work area
3.5.2 Mesh Effect Applied to Multiple Objects
Figure 27.
Rewrite
(Write Effect Setting[2:0] bits = 0x3)
Reads the work area data to be rewritten with the drawing command and performs color conversion via the
palette selected by the Palette Select[1:0] bits. Then writes the converted data back to the work area. The
palette only affects the color in the area to be rewritten.
The drawing color, which is specified in the color parameters in the command or determined by other draw-
ing effects than palette, is ignored. However, if the color depth, which is ignored in the rewrite processing,
exceeds the current bpp mode, a color depth over error will be generated.
Palette conversion
The GE includes three palettes for changing the color of drawing objects before writing to the work area. Set
the Palette Select[1:0] bits to select the palette to be used. When the Palette Select[1:0] bits are set to 0x0, no
palette is used and the original color data is written to the work area through the writing effect specified.