[Mesa-dev] [PATCH 1/5] Add GL API support for ARB_copy_image

Ilia Mirkin imirkin at alum.mit.edu
Thu Jul 31 11:38:24 PDT 2014


On Thu, Jul 31, 2014 at 2:27 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> This adds the API entrypoint, error checking logic, and a driver hook for
> the ARB_copy_image extension.
>
> Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
> ---
>  src/mapi/glapi/gen/ARB_copy_image.xml |  28 +++
>  src/mapi/glapi/gen/gl_API.xml         |   2 +-
>  src/mapi/glapi/gen/gl_genexec.py      |   1 +
>  src/mesa/Makefile.sources             |   1 +
>  src/mesa/main/copyimage.c             | 341 ++++++++++++++++++++++++++++++++++
>  src/mesa/main/copyimage.h             |  49 +++++
>  src/mesa/main/dd.h                    |  16 ++
>  src/mesa/main/extensions.c            |   1 +
>  src/mesa/main/mtypes.h                |   1 +
>  src/mesa/main/textureview.c           |  34 ++--
>  src/mesa/main/textureview.h           |   4 +
>  11 files changed, 458 insertions(+), 20 deletions(-)
>  create mode 100644 src/mapi/glapi/gen/ARB_copy_image.xml
>  create mode 100644 src/mesa/main/copyimage.c
>  create mode 100644 src/mesa/main/copyimage.h
>
> diff --git a/src/mapi/glapi/gen/ARB_copy_image.xml b/src/mapi/glapi/gen/ARB_copy_image.xml
> new file mode 100644
> index 0000000..64ad0a5
> --- /dev/null
> +++ b/src/mapi/glapi/gen/ARB_copy_image.xml
> @@ -0,0 +1,28 @@
> +<?xml version="1.0"?>
> +<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
> +
> +<OpenGLAPI>
> +
> +<category name="GL_ARB_copy_texture" number="123">

copy_image, of course?

Also you need to add this file to the API_XML list in
src/mapi/glapi/gen/Makefile.am


More information about the mesa-dev mailing list