![background image](http://html.mh-extra.com/html/texas-instruments/tvp4020-permedia-2/tvp4020-permedia-2_reference-manual_1097169133.webp)
Graphics Programming
TVP4020
Programmers Reference Manual
124
// Set framebuffer to allow reads
// Not shown
ditherMode.UnitEnable = PERMEDIA_ENABLE
ditherMode.DitherEnable = PERMEDIA_ENABLE
ditherMode.ColorMode = PERMEDIA_COLOR_FORMAT_RGB_332
DitherMode(ditherMode)
// Load register
logicalOpMode.UnitEnable = PERMEDIA_ENABLE
logicalOpMode.LogicalOp = PERMEDIA_LOGICOP_COPY
LogicalOpMode(logicalOpMode)
// Load register
FBSoftwareWriteMask(0xFFFFFFE3)
5.15
Host Out Unit
The Host Out Unit controls which registers are available at the output
FIFO, gathers statistics about rendering operations (picking and extent
testing) and controls synchronization of P
ERMEDIA
with the host.
5.15.1
Filtering
Filtering controls the data made available at the output FIFO. There are
the following categories:
•
Depth, Stencil, Color: These are data values associated with a
fragment which has been read from the localbuffer or framebuffer, or
generated using the UpLoadData flag in the Framebuffer Write Unit.
This category is normally associated with uploading data to the host.
•
Synchronization: A single register, Sync which is used to synchronize
P
ERMEDIA
and flush the graphics pipeline.
•
Statistics: The registers associated with extent checking and picking.
The filtering is controlled by the FilterMode register which has 2 bit fields
for each category. These fields select whether the register tag and/or
register data, are passed to the output FIFO. The format of the
FilterMode register is shown in the table below.
Register Category
Tag
Control
Bit
Data
Control
Bit
Description
Reserved
0
1
Reserved
2
3
Depth
4
5
This is the data from image upload of the
Depth (Z) buffer.
Summary of Contents for TVP4020 PERMEDIA 2
Page 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Page 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Page 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Page 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Page 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Page 323: ...Index TVP4020 Programmers Reference Manual 314 ...