Re: [Mesa-dev] [PATCH v2 1/6] mesa: wire up InvalidateFramebuffer

2018-12-13 Thread Brian Paul
On 12/12/2018 08:48 AM, Rob Clark wrote: > And before someone actually starts implementing DiscardFramebuffer() > lets rework the interface to something that is actually usable. > > Signed-off-by: Rob Clark > Reviewed-by: Ian Romanick > --- > src/mesa/main/dd.h | 5 ++- > src/mesa/main

Re: [Mesa-dev] [PATCH v2 1/6] mesa: wire up InvalidateFramebuffer

2018-12-12 Thread Frank Richter
Hello, On 12.12.18 16:48, Rob Clark wrote: diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 23e49396199..442435655fa 100644 @@ -4695,14 +4754,23 @@ _mesa_InvalidateNamedFramebufferSubData(GLuint framebuffer, invalidate_framebuffer_storage(ctx, fb, numAttachments, attac

[Mesa-dev] [PATCH v2 1/6] mesa: wire up InvalidateFramebuffer

2018-12-12 Thread Rob Clark
And before someone actually starts implementing DiscardFramebuffer() lets rework the interface to something that is actually usable. Signed-off-by: Rob Clark Reviewed-by: Ian Romanick --- src/mesa/main/dd.h | 5 ++- src/mesa/main/fbobject.c | 77 +---