[Mesa-dev] [PATCH 0/7] Add ARB_texture_view

Chris Forbes chrisf at ijw.co.nz
Wed Nov 6 14:15:28 PST 2013


Patches 1-4, 6 are:

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

With the changes discussed for teximagemultisample and pulling the
view parameter setting out into a helper function, patch 5 is also:

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

On Wed, Nov 6, 2013 at 11:59 AM, Courtney Goeltzenleuchter
<courtney at lunarg.com> wrote:
> The following patches add the necessary functions to Mesa
> to support ARB_texture_view. These patches do not include
> the actual driver elements, just the device independent portion.
> This extension requires ARB_texture_storage.
>
> The extension supports one new API call, glTextureView and
> a handful of enums that have been added as queriable texture
> parameters.
>
> Adds one new driver entry point for the driver to
> map the view specified onto the origtexture given.
>
> Passes non-rendering ARB_texture_view piglit tests (recently added).
>
> Courtney Goeltzenleuchter (7):
>   mesa: Add API definitions for ARB_texture_view
>   mesa: Tracking for ARB_texture_view extension
>   mesa: update texture object for ARB_texture_view
>   mesa: ARB_texture_view get parameters
>   mesa: Update TexStorage to support ARB_texture_view
>   mesa: Add driver entry point for ARB_texture_view
>   mesa: Fill out ARB_texture_view entry points
>
>  src/mapi/glapi/gen/ARB_texture_view.xml |  23 ++
>  src/mapi/glapi/gen/Makefile.am          |   1 +
>  src/mapi/glapi/gen/gl_API.xml           |   6 +-
>  src/mapi/glapi/gen/gl_genexec.py        |   1 +
>  src/mesa/Makefile.sources               |   1 +
>  src/mesa/SConscript                     |   1 +
>  src/mesa/drivers/common/driverfuncs.c   |   3 +
>  src/mesa/main/dd.h                      |   5 +
>  src/mesa/main/extensions.c              |   1 +
>  src/mesa/main/mtypes.h                  |   6 +
>  src/mesa/main/tests/dispatch_sanity.cpp |   2 +-
>  src/mesa/main/texparam.c                |  60 ++-
>  src/mesa/main/texstorage.c              |  32 ++
>  src/mesa/main/textureview.c             | 621 ++++++++++++++++++++++++++++++++
>  src/mesa/main/textureview.h             |  39 ++
>  15 files changed, 796 insertions(+), 6 deletions(-)
>  create mode 100644 src/mapi/glapi/gen/ARB_texture_view.xml
>  create mode 100644 src/mesa/main/textureview.c
>  create mode 100644 src/mesa/main/textureview.h
>
> --
> 1.8.1.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list