[Mesa-dev] [PATCH] mesa: move GL_APPLE_object_purgeable functions to new file

Kenneth Graunke kenneth at whitecape.org
Fri Sep 18 11:19:25 PDT 2015


On Tuesday, September 15, 2015 09:23:59 PM Brian Paul wrote:
> Move this code out of bufferobj.c since it's not strongly connected to
> buffer objects.
> ---
>  src/mapi/glapi/gen/gl_genexec.py |   1 +
>  src/mesa/Makefile.sources        |   2 +
>  src/mesa/main/bufferobj.c        | 378 -----------------------------------
>  src/mesa/main/bufferobj.h        |  10 -
>  src/mesa/main/objectpurge.c      | 416 +++++++++++++++++++++++++++++++++++++++
>  src/mesa/main/objectpurge.h      |  42 ++++
>  6 files changed, 461 insertions(+), 388 deletions(-)
>  create mode 100644 src/mesa/main/objectpurge.c
>  create mode 100644 src/mesa/main/objectpurge.h

Nice - a while back I split the i965 code for this out of
intel_buffer_objects.c into brw_object_purgeable.c.  It's nice to have
the core buffer object functionality separate.

Acked-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150918/8a6286d5/attachment.sig>


More information about the mesa-dev mailing list