summaryrefslogtreecommitdiff
path: root/src/mapi
AgeCommit message (Collapse)AuthorFilesLines
2017-06-29mesa: add KHR_no_error support for glBlendFunc*()Timothy Arceri1-2/+2
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-29mesa: add KHR_no_error support for glBindFragDataLocation*()Timothy Arceri2-2/+2
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-29mesa: add KHR_no_error support for glGetUniformLocation()Timothy Arceri1-1/+1
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-29mesa: add KHR_no_error support for glDisableVertexA*A*()Timothy Arceri2-2/+2
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-29mesa: add KHR_no_error support for glEnableVertexA*A*()Timothy Arceri2-2/+2
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-29mesa: add KHR_no_error support for glLogicOp()Timothy Arceri1-1/+1
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-29mesa: add KHR_no_error support for glPixelStore*()Timothy Arceri1-2/+2
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-28mesa: add KHR_no_error support for glClear()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glBindAttribLocation()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for gl*ReadBuffer()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glVertex*AttribBinding()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glShaderStorageBlockBinding()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glUniformBlockBinding()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glFenceSync()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glClientWaitSync()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glCheckFramebufferStatus()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for gl*Renderbuffers()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for gl*ProgramPipelines()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for gl*Samplers()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for gl*Textures()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for gl*Buffers()Samuel Pitoiset2-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glBindTextureUnit()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glDepthRangeIndexed()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glDepthFunc()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glFrontFace()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glCullFace()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glCreateShader() and ↵Samuel Pitoiset1-2/+2
glCreateShaderObjectARB() Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mesa: add KHR_no_error support for glAttachShader() and glAttachObjectARB()Samuel Pitoiset1-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-28mapi: Enable assembly language API acceleration for PPC64LE (V2)Ben Crocker4-2/+374
Implement assembly language API acceleration for PPC64LE, analogous to long-standing implementations for X86 and X86-64. See also similar implementation in libglvnd. Tested with Piglit. Signed-off-by: Ben Crocker <bcrocker@redhat.com> Acked-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2017-06-27mesa: add KHR_no_error support for glCopyTexImage*D()Timothy Arceri1-2/+2
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-27mesa: add KHR_no_error support for glCopyTex{ture}SubImage*D()Timothy Arceri2-6/+6
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-27mesa: add KHR_no_error support for gl{Compressed}TexImage*D()Timothy Arceri1-6/+8
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-06-26glapi: Fix -Wduplicate-decl-specifier due to double-constChad Versace1-4/+12
Fix all lines in src/mesa/main/marshal_generated.c that declare double-const variables. Below is all such lines, with duplicates removed: $ grep 'const const' marshal_generated.c | sort -u const const GLboolean * pointer = cmd->pointer; const const GLvoid * indices = cmd->indices; const const GLvoid * pointer = cmd->pointer; Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-06-26mesa/glthread: remove HAVE_PTHREAD guardsMarek Olšák1-4/+1
we are switching to util_queue. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-26mesa/marshal: add custom marshalling for glNamedBuffer(Sub)DataGrigori Goronzy1-2/+2
These entry points are used by Alien Isolation and caused synchronization with glthread. The async marshalling implementation is similar to glBuffer(Sub)Data. However unlike Buffer(Sub)Data we don't need to worry about EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, as this isn't applicable to these DSA variants. Results in an approximately 6x drop in glthread synchronizations and a ~30% FPS jump in Alien Isolation (Medium preset, Athlon 860K, RX 480). Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-23mesa: add KHR_no_error support for glViewport()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-23mesa: add KHR_no_error support for glViewportArrayv()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-23mesa: add KHR_no_error support for glViewportIndexed*()Samuel Pitoiset1-2/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-23mesa: add KHR_no_error support for glClipControl()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-21mesa: add KHR_no_error support for glStencilOp()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-21mesa: add KHR_no_error support for glStencilFunc()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-21mesa: add KHR_no_error support for glStencilOpSeparate()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-21mesa: add KHR_no_error support for glStencilMaskSeparate()Samuel Pitoiset1-1/+1
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2017-06-21mesa: add KHR_no_error support for glStencilFuncSeparate()Samuel Pitoiset1-1/+1
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 glGetImageHandleARB()Samuel Pitoiset1-1/+1
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 glGetTexture*HandleARB()Samuel Pitoiset1-2/+2
It would be nice to have a no_error path for _mesa_test_texobj_completeness() because this function doesn't only test if the texture is complete. Anyway, that seems enough for now and a bunch of checks are skipped with this patch. 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 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>