[Mesa-dev] [PATCH 0/3] gallium: add ARB_clear_texture infrastructure

Ilia Mirkin imirkin at alum.mit.edu
Mon Nov 9 10:40:19 PST 2015


This is basically a resend of a series I wrote over a year ago. I
don't remember what we hated about it last time, but I'm tempted not
to look. This seems pretty reasonably to me now.

A refactoring opportunity exists to remove ->clear_render_target and
->clear_depth_stencil, but... that can be done later.

Note that for nvc0 I still have to keep separate paths for
color/stencil, which is a bit unfortunate, but the hardware complains
otherwise.

Ilia Mirkin (3):
  gallium: add PIPE_CAP_CLEAR_TEXTURE and clear_texture prototype
  st/mesa: implement ARB_clear_texture
  nvc0: add ARB_clear_texture support

 docs/GL3.txt                                     |  2 +-
 docs/relnotes/11.1.0.html                        |  1 +
 src/gallium/docs/source/context.rst              |  4 ++
 src/gallium/docs/source/screen.rst               |  2 +
 src/gallium/drivers/freedreno/freedreno_screen.c |  1 +
 src/gallium/drivers/i915/i915_screen.c           |  1 +
 src/gallium/drivers/ilo/ilo_screen.c             |  1 +
 src/gallium/drivers/llvmpipe/lp_screen.c         |  1 +
 src/gallium/drivers/nouveau/nv30/nv30_screen.c   |  1 +
 src/gallium/drivers/nouveau/nv50/nv50_screen.c   |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c   |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_surface.c  | 82 ++++++++++++++++++++++++
 src/gallium/drivers/r300/r300_screen.c           |  1 +
 src/gallium/drivers/r600/r600_pipe.c             |  1 +
 src/gallium/drivers/radeonsi/si_pipe.c           |  1 +
 src/gallium/drivers/softpipe/sp_screen.c         |  1 +
 src/gallium/drivers/svga/svga_screen.c           |  1 +
 src/gallium/drivers/vc4/vc4_screen.c             |  1 +
 src/gallium/drivers/virgl/virgl_screen.c         |  1 +
 src/gallium/include/pipe/p_context.h             | 10 +++
 src/gallium/include/pipe/p_defines.h             |  1 +
 src/mesa/state_tracker/st_cb_texture.c           | 29 +++++++++
 src/mesa/state_tracker/st_extensions.c           |  1 +
 23 files changed, 145 insertions(+), 1 deletion(-)

-- 
2.4.10



More information about the mesa-dev mailing list