Re: [Mesa-dev] [PATCH 1/3] main/framebuffer: refactor _mesa_get_color_read_format/type

2017-02-03 Thread Anuj Phogat
On Thu, Feb 2, 2017 at 10:51 AM, Alejandro Piñeiro wrote: > Current implementation returns the value for the currently bound read > framebuffer. GetNamedFramebufferParameteriv allows to get it for any > given framebuffer. GetFramebufferParameteriv would be also interested >

[Mesa-dev] [PATCH 1/3] main/framebuffer: refactor _mesa_get_color_read_format/type

2017-02-02 Thread Alejandro Piñeiro
Current implementation returns the value for the currently bound read framebuffer. GetNamedFramebufferParameteriv allows to get it for any given framebuffer. GetFramebufferParameteriv would be also interested on that method It was refactored by allowing to pass a given framebuffer. If NULL is