Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/vesa-depth32/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


produce correct color channel descriptor for 32 bit depth
vesa modes. the vesa bios omits reserved byte pos/mask
in the mode info for 32 bit, resulting in a r8g8b8 channel
descriptor that doesnt add up in length to 32 bit depth.
this patch will produce the correct x8r8g8b8 channel by
assigning the unmasked part (not used by any rgb component)
of a pixel word to the x channel.
it also doesnt assume any channel ordering and should work
for all rgb modes (16/24/32).

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].