[Mesa-dev] [PATCH v2 00/23] mesa: Some more KHR_no_error support patches

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Jun 5 21:43:48 UTC 2017


Hi,

Major changes from v2:
 - rework the blit framebuffer codepath
 - fix blit_framebuffer() when validation of buffers fail

Initial cover letter can be found here:
https://lists.freedesktop.org/archives/mesa-dev/2017-June/157553.html

Please, review!
Thanks.

Samuel Pitoiset (23):
  mesa: add vertex_array_vertex_buffers_err() helper
  mesa: add KHR_no_error support for glVertexArrayVertexBuffers()
  mesa: add KHR_no_error support for glBindVertexBuffers()
  mesa: add invalidate_buffer_subdata() helper
  mesa: add KHR_no_error support for glInvalidateBufferSubData()
  mesa: add KHR_no_error support for glInvalidateBufferData()
  mesa: add KHR_no_error support for glBindBuffer()
  mesa: make _mesa_blit_framebuffer() static
  mesa: add 'no_error' parameter to blit_framebuffer()
  mesa: add validate_color_buffer() helper
  mesa: add validate_stencil_buffer() helper
  mesa: add validate_depth_buffer() helper
  mesa: add KHR_no_error support for glBlitFramebuffer()
  mesa: add blit_named_framebuffer() helper
  mesa: add KHR_no_error support for glBlitNamedFramebuffer()
  mesa: rename prepare_target() to prepare_target_err()
  mesa: add prepare_target() helper
  mesa: add copy_image_subdata() helper
  mesa: add KHR_no_error support for glCopyImageSubData()
  mesa: rename texsubimage() to texsubimage_err()
  mesa: make _mesa_texture_sub_image() static
  mesa: add texsubimage() helper
  mesa: add KHR_no_error support for glTexSubImage*D()

 src/mapi/glapi/gen/ARB_copy_image.xml          |   2 +-
 src/mapi/glapi/gen/ARB_direct_state_access.xml |   2 +-
 src/mapi/glapi/gen/ARB_framebuffer_object.xml  |   2 +-
 src/mapi/glapi/gen/ARB_invalidate_subdata.xml  |   4 +-
 src/mapi/glapi/gen/ARB_multi_bind.xml          |   2 +-
 src/mapi/glapi/gen/gl_API.xml                  |   8 +-
 src/mesa/main/blit.c                           | 606 ++++++++++++++-----------
 src/mesa/main/blit.h                           |  21 +-
 src/mesa/main/bufferobj.c                      |  44 +-
 src/mesa/main/bufferobj.h                      |  11 +
 src/mesa/main/copyimage.c                      | 157 +++++--
 src/mesa/main/copyimage.h                      |   7 +
 src/mesa/main/teximage.c                       | 135 ++++--
 src/mesa/main/teximage.h                       |  18 +
 src/mesa/main/varray.c                         | 136 ++++--
 src/mesa/main/varray.h                         |  11 +
 16 files changed, 759 insertions(+), 407 deletions(-)

-- 
2.13.0



More information about the mesa-dev mailing list