![background image](http://html.mh-extra.com/html/texas-instruments/tvp4020-permedia-2/tvp4020-permedia-2_reference-manual_1097169085.webp)
Graphics Programming
TVP4020
Programmers Reference Manual
76
0
8
16
24
31
Reserved
Depth Width
Stencil Width
Figure 5.14
LBReadFormat / LBWriteFormat Register
LBWriteMode is a single bit register. When the least significant bit is set,
writes to the localbuffer are enabled.
LBSourceOffset holds a 24 bit 2's complement value used in copy
operations.
LBWindowBase updates the base address of the localbuffer.
The relative positions of the depth and stencil fields within the localbuffer
are fixed. If a Stencil field is defined then it occupies bit 15. The depth
field always commences at bit 0.
5.5.5
Localbuffer Example
The following is an example of a rendering operation with localbuffer
read and write. P
ERMEDIA
is configured with a 16 bit localbuffer such that
15 bits are used for depth and 1 bit for stencil with a screen size of
800x600.
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 ...