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

Samuel Pitoiset samuel.pitoiset at gmail.com
Thu Jun 1 13:04:49 UTC 2017


Hi,

Found after profiling "Dawn Of War 3" with Sysprof. This series should
save few CPU cycles for this not yet released game.

Please review,
Thanks!

Samuel Pitoiset (21):
  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 validate_stencil_buffer() helper
  mesa: add validate_depth_buffer() helper
  mesa: add validate_color_buffer() helper
  mesa: add 'no_error' parameter to blit_framebuffer()
  mesa: add KHR_no_error support for glBlitFramebuffer()
  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: 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 |   4 +-
 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                           | 585 ++++++++++++++-----------
 src/mesa/main/blit.h                           |  21 +-
 src/mesa/main/bufferobj.c                      |  44 +-
 src/mesa/main/bufferobj.h                      |  11 +
 src/mesa/main/copyimage.c                      | 159 +++++--
 src/mesa/main/copyimage.h                      |   7 +
 src/mesa/main/teximage.c                       |  95 +++-
 src/mesa/main/teximage.h                       |  18 +
 src/mesa/main/varray.c                         | 136 ++++--
 src/mesa/main/varray.h                         |  11 +
 16 files changed, 717 insertions(+), 392 deletions(-)

-- 
2.13.0



More information about the mesa-dev mailing list