[Mesa-dev] [PATCH 0/6] Add support for GL_NV_fill_rectangle

Lyude Paul lyude at redhat.com
Thu Mar 23 18:45:25 UTC 2017


On Thu, 2017-03-23 at 14:22 -0400, Alex Deucher wrote:
> On Thu, Mar 23, 2017 at 2:18 PM, Marek Olšák <maraeo at gmail.com>
> wrote:
> > Is there any user of this extension?
> 
> Based on the spec, it seems like it would be useful for glamor.  No
> idea is anyone has code to use it yet.
Actually me, robclark and airlied were talking specifically about using
this for glamor and trying to implement it on other platforms using
rectangular primitives. No idea if that'll work (especially since I'm
new here), but it sounds promising enough to try :).

Once I get this patch series upstream I'll probably look into writing
an implementation for softpipe and some other drivers
> 
> Alex
> 
> > 
> > Marek
> > 
> > On Thu, Mar 23, 2017 at 4:27 PM, Lyude <lyude at redhat.com> wrote:
> > > This adds basic support for GL_NV_fill_rectangle in Gallium,
> > > along with
> > > enabling it for the GM200+ in nouveau. It should be noted this
> > > only
> > > implements the OpenGL 4.3 bits, since we don't have the features
> > > required
> > > yet to add this for OpenGLES.
> > > 
> > > Lyude (6):
> > >   glapi: Add GL_NV_fill_rectangle
> > >   gallium: Add a cap to check if the driver supports
> > > fill_rectangle
> > >   mesa: Add support for GL_NV_fill_rectangle
> > >   gallium/auxiliary: Add NV_fill_rectangle to pipe state
> > >   mesa/st: Add support for NV_fill_rectangle
> > >   nvc0: Add support for NV_fill_rectangle for the GM200+
> > > 
> > >  src/gallium/docs/source/screen.rst               |  4 ++++
> > >  src/gallium/drivers/i915/i915_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_3d.xml.h   |  3 +++
> > >  src/gallium/drivers/nouveau/nvc0/nvc0_screen.c   |  2 ++
> > >  src/gallium/drivers/nouveau/nvc0/nvc0_state.c    |  4 ++++
> > >  src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h |  2 +-
> > >  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/include/pipe/p_defines.h             |  2 ++
> > >  src/gallium/include/pipe/p_state.h               |  4 ++--
> > >  src/mapi/glapi/gen/gl_API.xml                    |  4 ++++
> > >  src/mesa/main/api_validate.c                     | 13
> > > +++++++++++++
> > >  src/mesa/main/extensions_table.h                 |  1 +
> > >  src/mesa/main/mtypes.h                           |  1 +
> > >  src/mesa/main/polygon.c                          | 15
> > > +++++++++++++--
> > >  src/mesa/state_tracker/st_atom_rasterizer.c      |  2 ++
> > >  src/mesa/state_tracker/st_extensions.c           |  1 +
> > >  24 files changed, 63 insertions(+), 5 deletions(-)
> > > 
> > > --
> > > 2.9.3
> > > 
> > > _______________________________________________
> > > mesa-dev mailing list
> > > mesa-dev at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> > 
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list