[Mesa-dev] [PATCH] mesa: Loosen glBlitFramebuffer restrictions on depthstencil buffers (v2)

Henri Verbeet hverbeet at gmail.com
Fri Jan 20 03:45:19 PST 2012


On 20 January 2012 03:24, Eric Anholt <eric at anholt.net> wrote:
>> So is it also allowed to blit from S8Z24 to Z24S8 ? Could we also allow
>> to blit from RGBA8 to BGRA8 then, please ?
>
> That's already allowed.
>
Yeah, but not for multisampled framebuffers, unless RGBA8 and BGRA8
are considered identical (ARB_fbo):

    If SAMPLE_BUFFERS for either the read framebuffer or
    draw framebuffer is greater than zero, no copy is performed and an
    INVALID_OPERATION error is generated if the dimensions of the source
    and destination rectangles provided to BlitFramebuffer are not
    identical, or if the formats of the read and draw framebuffers are
    not identical.


More information about the mesa-dev mailing list