Changes between Initial Version and Version 1 of Ticket #16847, comment 8


Ignore:
Timestamp:
Mar 15, 2021, 5:02:25 PM (4 years ago)
Author:
X512

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16847, comment 8

    initial v1  
    11>  Maybe one of the calculations in RasBuf32 breaks on different colorspaces?
    22
    3 Well, it is called RasBuf32, so it is true. Maybe color bit count conversion will be needed for non-32 bit framebuffer. After my changes Mesa renders directly to BBitmap instead of using additional 32 bit buffer and copying it to BBitmap.
     3Well, it is called RasBuf32, so it is true. But it can be easily adjusted for same source and destination color space that is 8 bit or higher (1, 2, 4 bit color will need adding bit offset because pointer can't point to bits). Maybe color bit count conversion will be needed for non-32 bit framebuffer. After my changes Mesa renders directly to BBitmap instead of using additional 32 bit buffer and copying it to BBitmap.