mesa/src/mapi
Marek Olšák 11ebb03c26 mesa: implement GL_AMD_pinned_memory
It's not possible to query the current buffer binding, because the extension
doesn't define GL_..._BUFFER__BINDING_AMD.

Drivers should check the target parameter of Drivers.BufferData. If it's
equal to GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, the memory should be pinned.
That's all there is to it.

A piglit test is on the piglit mailing list.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
2015-02-17 17:31:48 +01:00
..
es1api mapi: Inline es1api/Makefile. 2014-08-18 18:25:02 -07:00
es2api mapi: Inline es2api/Makefile. 2014-08-18 18:25:29 -07:00
glapi mesa: implement GL_AMD_pinned_memory 2015-02-17 17:31:48 +01:00
shared-glapi mapi: add glapi-test and shared-glapi-test to .gitignore 2014-12-16 13:51:09 +02:00
vgapi mesa: Add scons files to distribution. 2014-12-12 12:11:50 -08:00
.gitignore mapi: add glapi-test and shared-glapi-test to .gitignore 2014-12-16 13:51:09 +02:00
Android.mk build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
entry.c glapi: rename u_current dispatch table functions 2014-03-06 07:47:12 -07:00
entry.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86-64_tls.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86_tls.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86_tsd.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
Makefile.am mapi: Build with subdir-objects. 2015-01-23 14:28:44 -08:00
Makefile.sources mapi: Build with subdir-objects. 2015-01-23 14:28:44 -08:00
mapi.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
mapi.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
mapi_abi.py mapi_abi: Make ES1 and ES2 static_dispatch=false functions hidden 2014-03-31 14:47:00 -07:00
mapi_glapi.c glapi: restore _glthread_GetID() function 2014-03-14 12:12:07 -06:00
mapi_tmp.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
stub.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
stub.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.c mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
u_compiler.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_current.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
u_current.h glapi: rename u_current dispatch table functions 2014-03-06 07:47:12 -07:00
u_execmem.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
u_execmem.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_macros.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_thread.h glapi: use 'Mesa' in error messages 2014-03-07 09:04:01 -07:00