[Mesa-dev] [PATCH] mesa, st/mesa: implement GL_RGB565 from ARB_ES2_compatibility

Marek Olšák maraeo at gmail.com
Thu Jul 12 11:12:48 PDT 2012


On Thu, Jul 12, 2012 at 6:42 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> On 07/12/2012 05:25 AM, Marek Olšák wrote:
>>
>> This was not implemented, because the spec was changed just recently.
>>
>> Everything has been in place already.
>>
>> Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565.
>
>
> Oh wow, I didn't realize this was missing.  These changes look good to me.
>
> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
>
> One question: should it be ctx->Extensions.ARB_ES2_compatibility || ctx->API
> == API_OPENGLES2?  I suspect most drivers that support ES2 will also support
> ARB_ES2_compatibility, so it shouldn't be a big deal in practice, but...

Frankly, I'm not sure. I usually try to stay of out ES2 matters. I'll
update the conditional as you say then.

Marek


More information about the mesa-dev mailing list