![]() |
|Download Files|
![]() ![]() ![]() ![]() ![]() Next: 4.2 Whole Framebuffer Operations Up: 4.1 Per-Fragment Operations Previous: 4.1.7 Dithering
4.1.8 Logical Operation
The logical operation is selected by op is a symbolic constant; the possible constants and corresponding operations are enumerated in Table 4.3. In this table, s is the value of the incoming fragment and d is the value stored in the framebuffer. The numeric values assigned to the symbolic constants are the same as those assigned to the corresponding symbolic values in the X window system.
Logical operations are performed independently for each color index buffer that is selected for writing, or for each red, green, blue, and alpha value of each color buffer that is selected for writing. The required state is an integer indicating the logical operation, and two bits indicating whether the logical operation is enabled or disabled. The initial state is for the logic operation to be given by COPY, and to be disabled.
![]() ![]() ![]() ![]() ![]() Next: 4.2 Whole Framebuffer Operations Up: 4.1 Per-Fragment Operations Previous: 4.1.7 Dithering David Blythe Sat Mar 29 02:23:21 PST 1997
|