summaryrefslogtreecommitdiff
path: root/src/mapi
AgeCommit message (Collapse)AuthorFilesLines
2017-06-18mesa: add KHR_no_error support for glMake{Image,Texture}Handle*ResidentARB()Samuel Pitoiset1-4/+4
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-18mesa: add KHR_no_error support for glIs{Image,Texture}HandleResidentARB()Samuel Pitoiset1-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-14Fix khrplatform.h not installed if EGL is disabled.Eric Le Bihan1-0/+3
KHR/khrplatform.h is required by the EGL, GLES and VG headers, but is only installed if Mesa3d is compiled with EGL support. This patch installs this header file unconditionally. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77240 Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-06-14mesa: add support for unsigned 64-bit vertex attributesSamuel Pitoiset1-0/+3
This adds support in the VBO and array code to handle unsigned 64-bit vertex attributes as specified by ARB_bindless_texture. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-06-14mapi: add GL_ARB_bindless_texture entry pointsSamuel Pitoiset4-1/+105
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-06-07mesa: add KHR_no_error support for glTexSubImage*D()Samuel Pitoiset1-3/+3
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glCopyImageSubData()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glBlitFramebuffer()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glBindBuffer()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glInvalidateBufferData()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glInvalidateBufferSubData()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glBindVertexBuffers()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glVertexArrayVertexBuffers()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07mesa: add KHR_no_error support for glScissor*()Samuel Pitoiset2-4/+4
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-07glthread: remove extra _mesa_glthread_finish() from generated codeTimothy Arceri1-1/+1
The other user of print_sync_dispatch() was ending up with code that looked like: _mesa_glthread_finish(ctx); _mesa_glthread_restore_dispatch(ctx); _mesa_glthread_finish(ctx); Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-30mesa: add KHR_no_error support for glBindBufferRange()Timothy Arceri1-1/+1
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
2017-05-30mesa: add KHR_no_error support for glVertexArrayVertexBuffer()Timothy Arceri1-1/+1
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
2017-05-30mesa: add KHR_no_error support for glBindVertexBuffer()Timothy Arceri1-1/+1
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
2017-05-29mesa: add KHR_no_error support for glBindImageTextures()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-05-29mesa: add KHR_no_error support for glBindImageTexture()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-05-29mesa: add KHR_no_error support for glActiveTexture()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2017-05-23mesa: Remove GL_APPLE_vertex_array_object stubsIan Romanick1-4/+4
Mark the functions 'exec="skip"' in the XML instead. libGL will still have the functions, but the driver won't try to use them. I verified that this commit works with piglit's 'object-namespace-pollution glClear vertex-array' on x64 with a driver built from mesa-12.0.3 tag. In fairness, this test also works with a libGL built from 7927d03. I believe it continues to work because on non-Windows platforms we generate some extra, dummy dispatch functions that can be used when a driver requests a function unknown to libGL. This was done to provide some "forward" compatibility with drivers that need more functions. This doesn't work on Windows because the Windows calling convention is for the callee to clean up the stack. That's the theory anyway. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-05-22mesa: add APPLE_vertex_array_object stubsTimothy Arceri4-1/+31
APPLE_vertex_array_object support was removed in 7927d0378fc7. However it turns out we can't remove the functions because this can cause issues when libglapi is used together with DRI drivers built prior to said commit Fixes: 7927d0378fc ("mesa: drop APPLE_vertex_array_object support") Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-05-17mesa: add KHR_no_error support for glDispatchCompute*()Timothy Arceri2-3/+3
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glBlendEquationSeparateiARB()Timothy Arceri1-1/+1
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glBlendFunc*iARB()Timothy Arceri1-2/+2
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glBufferSubData()Timothy Arceri1-1/+2
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glNamedBufferSubData()Timothy Arceri1-1/+1
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glBufferStorage()Timothy Arceri1-1/+1
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glNamedBufferStorage()Timothy Arceri1-1/+1
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glCompressedTex*SubImage3D()Timothy Arceri2-2/+3
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glCompressedTex*SubImage2D()Timothy Arceri2-2/+3
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for CompressedTex*SubImage1D()Timothy Arceri2-2/+2
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for NamedFramebufferTextureTimothy Arceri1-1/+1
V3: use frame_buffer_texture() helper Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for FramebufferTextureTimothy Arceri1-1/+1
V3: use the frame_buffer_texture() helper Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for NamedFramebufferTextureLayerTimothy Arceri1-1/+1
v3: use frame_buffer_texture_layer() helper Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for FramebufferTextureLayerTimothy Arceri1-1/+1
V3: use frame_buffer_texture_layer() helper Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-17mesa: add KHR_no_error support for glUseProgramTimothy Arceri1-1/+1
V3: use always_inline attribute (Suggested by Nicolai) Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-11mesa: add KHR_no_error support for FramebufferTexture*D functionsTimothy Arceri1-3/+3
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-11mesa: add KHR_no_error support for glBindProgramPipeline()Timothy Arceri1-1/+1
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-11mesa: add KHR_no_error support for glActiveShaderProgram()Timothy Arceri1-1/+1
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-11mesa: add KHR_no_error support for glUseProgramStages()Timothy Arceri1-1/+1
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-07mesa: add KHR_no_error support to copy buffer subdata functionsTimothy Arceri2-2/+2
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-07mesa: add KHR_no_error support for flush mapped buffer functionsTimothy Arceri2-2/+2
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-07mesa: add KHR_no_error support for unmap buffer functionsTimothy Arceri2-2/+2
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-07mesa: add KHR_no_error support for some map buffer functionsTimothy Arceri3-4/+4
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-05-04mapi_abi.py: remove no longer used --mode optionEmil Velikov5-13/+8
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-05-04mapy_abi.py: remove dead output_for_app generatorEmil Velikov1-48/+0
Used by the OpenVG codebase. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-05-04mapi: replace mapi_table abstractionEmil Velikov7-28/+25
Replace all instances of mapi_table with the actual struct _glapi_table. The former may have been needed when the OpenVG was around. But since that one is long gone, there' no point in having the current confusing mix of the two. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-05-04gl_table.py: always regenerate the complete struct _glapi_tableEmil Velikov1-6/+0
Currently we would generate a partial one as we do non-shared glapi. At the same time since it's local, we don't care that much if we have a few extra bytes of space in the table. Drop the guard, which allows us to simplify both build system and code. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>