[Mesa-dev] [PATCH 1/2] mesa: invalidate framebuffer if internal format of renderbuffer is changed

Marek Olšák maraeo at gmail.com
Mon Mar 7 11:01:34 PST 2011


A new patch is attached.

Marek

On Mon, Mar 7, 2011 at 4:16 PM, Brian Paul <brianp at vmware.com> wrote:

> On 03/05/2011 09:26 PM, Marek Olšák wrote:
>
>> RenderTexture doesn't have to be called in invalidate_rb, I guess.
>> ---
>>
>
> The patch looks good but there's one simple optimization that could be
> made.  If glRenderBufferStorage() is called with a new width/height but the
> internalFormat stays the same, we wouldn't have to invalidate the parent
> FBO(s).
>
> I think changing the size of a renderbuffer would be more common than
> channging its format.
>
> -Brian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110307/c910f262/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mesa-invalidate-framebuffer-if-internal-format-of-re.patch
Type: application/pgp-keys
Size: 3091 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110307/c910f262/attachment.key>


More information about the mesa-dev mailing list