![Texas Instruments TVP4020 PERMEDIA 2 Скачать руководство пользователя страница 63](http://html.mh-extra.com/html/texas-instruments/tvp4020-permedia-2/tvp4020-permedia-2_reference-manual_1097169063.webp)
Graphics Programming
TVP4020
Programmers Reference Manual
54
5.3.6
Block Write Operation
P
ERMEDIA
supports SGRAM block writes with block sizes of 32 pixels.
Any screen aligned trapezoid can be filled using block writes, not just
rectangles. The SGRAM hardware writemasks can be used in
conjunction with block writes.
The use of block writes is enabled by setting the FastFillEnable field in
the Render command register.
Note only the Rasterizer and Framebuffer Write units are involved in
block filling. The other units will ignore block write fragments, so it is not
necessary to disable them.
5.3.7
Sub Pixel Precision and Correction
As the Rasterizer has fractional precision of 15 bits in X and Y, and the
maximum screen width is 2048 pixels wide a number of bits, called
subpixel precision bits, are available. The extra bits are required for a
number of reasons:
•
when using an accumulation buffer (where scans are rendered multiple
times with jittered input vertices)
•
for correct interpolation of parameters to give high quality shading as
described below
P
ERMEDIA
supports subpixel correction of interpolated values when
rendering trapezoids. Subpixel correction ensures that all interpolated
parameters associated with a fragment (color, depth, fog, texture) are
correctly sampled at the fragment's center. This correction is required to
ensure consistent shading of objects made from many primitives. It
should generally be enabled for all rendering which uses interpolated
parameters.
5.3.8
Bitmaps
A Bitmap primitive is a trapezoid or line of ones and zeros which control
which fragments are generated by the Rasterizer. Only fragments where
the corresponding Bitmap bit is set are submitted for drawing. The
normal use for this is in drawing characters, although the mechanism is
available for all primitives. The Bitmap data is packed contiguously into
32 bit words so that rows are packed adjacent to each other. Bits in the
mask word are by default used from the least significant end towards the
most significant end and are applied to pixels in the order they are
generated in. The relationship between bits in the mask and the
scanning order is shown in Fig. Figure 5.6.
Instead of rejecting fragments which fail the bitmask, they may be set to
the background color. This is controlled by the RasterizerMode register.
Содержание TVP4020 PERMEDIA 2
Страница 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Страница 47: ...Memory I O and Organization TVP4020 Programmers Reference Manual 38 Texture address TextureBaseAddress T W S ...
Страница 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Страница 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Страница 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Страница 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Страница 323: ...Index TVP4020 Programmers Reference Manual 314 ...