Re: [Mesa-dev] [PATCH 5/5] meta: Add a meta implementation of GL_ARB_clear_texture

2014-07-02 Thread Neil Roberts
Ian Romanick writes: > Every driver in Mesa supports GL_EXT_framebuffer_object and > GL_EXT_framebuffer_blit. […] > > So, I don't think this check adds any value. Ok. >> + /* This probably won't work with images that have a border */ >> + if (texImage->Border != 0) >> + return false; >

Re: [Mesa-dev] [PATCH 5/5] meta: Add a meta implementation of GL_ARB_clear_texture

2014-07-02 Thread Pohjolainen, Topi
On Sat, Jun 14, 2014 at 01:59:31AM +0100, Neil Roberts wrote: > Adds an implementation of the ClearTexSubImage driver entry point that tries > to set up an FBO to render to the texture and then calls glClear with a > scissor to perform the actual clear. If an FBO can't be created for the > texture

Re: [Mesa-dev] [PATCH 5/5] meta: Add a meta implementation of GL_ARB_clear_texture

2014-06-30 Thread Ian Romanick
On 06/13/2014 05:59 PM, Neil Roberts wrote: > Adds an implementation of the ClearTexSubImage driver entry point that tries > to set up an FBO to render to the texture and then calls glClear with a > scissor to perform the actual clear. If an FBO can't be created for the > texture then it will fall

[Mesa-dev] [PATCH 5/5] meta: Add a meta implementation of GL_ARB_clear_texture

2014-06-13 Thread Neil Roberts
Adds an implementation of the ClearTexSubImage driver entry point that tries to set up an FBO to render to the texture and then calls glClear with a scissor to perform the actual clear. If an FBO can't be created for the texture then it will fall back to using _mesa_store_ClearTexSubImage. --- src