[Mesa-dev] [Bug 84566] Unify the format conversion code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 16 11:19:20 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84566

--- Comment #26 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Iago Toral from comment #24)
> Jason, what do you think we should do for GL_COLOR_INDEX + GL_BITMAP?
> 
> Currently this is handled as a special case in the texstore.c ubyte path
> (store_ubyte_texture), specifically, the special case handles extracting
> indexed color data so that the incoming pixels can be represented as an RGBA
> image, then do the conversion from RGBA to dst normally.
> 
> We do not have a Mesa format for this combination.
> 
> I think we have two options:
> 1) I guess we could create a mesa_format, detect this case specifically in
> the master function and handle it there.
> 2) The other option would be to let clients deal with it. That would involve
> letting them transform it to RGBA before they call the master function.
> 
> What do you think?

Option 2.  Mesa internally hasn't supported color index in a long time, let's
not add it back.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141016/194f4679/attachment.html>


More information about the mesa-dev mailing list