English
Language : 

MB86296 Datasheet, PDF (123/352 Pages) Fujitsu Component Limited. – PCI Graphics Controller Specification
FUJITSU LIMITED PRELIMINARY AND CONFIDENTIAL
10.5.3 Logic operation
This mode executes a logic operation between the pixel to be drawn and the one already drawn in
frame buffer and itsresult is drawn. Alpha blending cannot be used when this function is specified.
Type
ID
Operation Type
ID
Operation
CLEAR
0000 0
AND
0001 S & D
COPY
0011 S
OR
0111 S | D
NOP
0101 D
NAND
1110 ! (S & D)
SET
1111 1
NOR
1000 ! (S | D)
COPY INVERTED 1100 !S
XOR
0110 S xor D
INVERT
1010 !D
EQUIV
1001 ! (S xor D)
AND REVERSE
0010 S & !D
AND INVERTED 0100 !S & D
OR REVERSE
1011 S | !D
OR INVERTED 1101 !S | D
10.5.4 Hidden plane management
CORAL supports the Z buffer for hidden plane management.
This function compares the Z value of a new pixel to be drawn and the existing Z value in the Z buffer.
Display/not display is switched according to the Z-compare mode setting. Define the Z-buffer access
options in the ZWRITEMASK mode.
The Z compare operation type is determined by the Z compare mode.
Either 16 or 8 bits can be selected for the Z-value.
ZWRITEMASK
Z Compare mode
NEVER
ALWAYS
LESS
LEQUAL
EQUAL
GEQUAL
GREATER
NOTEQUAL
1 Compare Z values, no Z value write overwrite
0 Compare Z values, Z value write
Code Condition
000 Never draw
001 Always draw
010 Draw if pixel Z value < current Z buffer value
011 Draw if pixel Z value ≤ current Z buffer value
100 Draw if pixel Z value = current Z buffer value
101 Draw if pixel Z value ≥ current Z buffer value
110 Draw if pixel Z value > current Z buffer value
111 Draw if pixel Z value ! = current Z buffer value
MB86296S <Coral-PA>
113
Specification Manual Rev0.1