- 23 May, 2016 1 commit
-
-
Kenneth Graunke authored
Technically, this was introduced with GL 4.4. However, I believe it was intended to be retroactive. As far as I know, AMD has never supported primitive restart with patches, while NVidia and Intel do. This necessitated the need for a query which would allow applications to figure out whether this was usable or not. I decided to expose it everywhere ARB_tessellation_shader is exposed. (It's also in both OES and EXT_tessellation_shader.) Enable this for i965 and Gallium drivers which expose the capability. v2: Fix a bug in the state_tracker code (caught by Ilia Mirkin). Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=10364Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 17 May, 2016 6 commits
-
-
Adam Jackson authored
Otherwise the instances in the extension XML override the core definitions, and we stop knowing their sizes in indirect_size_get.c Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Squashes the one remaining warning in the xserver build. v2: Also clean up some non-standard whitespace (Ian Romanick) Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
v2: Use == not is for equality testing (Dylan Baker) Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
We're about to update the generator scripts to use these, easier not to vary between client and server. Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
- 13 May, 2016 1 commit
-
-
Tobias Klausmann authored
Signed-off-by:
Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> Reviewed-by:
Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by:
Kristian Høgsberg <krh@bitplanet.net> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 04 May, 2016 1 commit
-
-
Brian Paul authored
The function returns GLuint, not GLfloat values. v2: also fix the OES function Cc: "11.2" <mesa-stable@lists.freedesktop.org> Reviewed-by:
Charmaine Lee <charmainel@vmware.com> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu>
-
- 03 May, 2016 1 commit
-
-
Anuj Phogat authored
Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 04 Apr, 2016 2 commits
-
-
Ilia Mirkin authored
This extension is identical to ARB_base_instance. Reuse the same entrypoints. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Ilia Mirkin authored
The extension spec was extended to also support ES. This functionality is provided all the way back to ES 1.0. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
- 01 Apr, 2016 1 commit
-
-
Ilia Mirkin authored
This is the same ext as ARB_draw_buffers_blend (plus some core functionality that already exists). Add the alias entrypoints. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
- 31 Mar, 2016 3 commits
-
-
Ilia Mirkin authored
The extension is identical to GL_OES_copy_image. But dEQP has tests that want the EXT variant. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 29 Mar, 2016 3 commits
-
-
Adam Jackson authored
A modest size savings: text data bss dec hex filename 264143 15608 232 279983 445af libglx.so.before 254303 15608 232 270143 41f3f libglx.so.after Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Ilia Mirkin authored
Allow ES 3.1 contexts to access the texture buffer functionality. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 28 Mar, 2016 4 commits
-
-
Adam Jackson authored
Meaning, always rebuild them when asked instead of bothering to look at timestamps (and then wondering why nothing happened when you said make). Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Broken by: commit 9ace0b54 Author: Dylan Baker <baker.dylan.c@gmail.com> Date: Wed May 20 15:49:11 2015 -0700 glapi: glX_proto_size.py: use argparse instead of getopt Which changed most, but not all, callers to use --header-tag instead of -h. Reviewed-by:
Dylan Baker <baker.dylan.c@gmail.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
- 09 Mar, 2016 1 commit
-
-
Emil Velikov authored
A commit earlier this year reworked out python scripts to use a separate file for these. Followed by removing support from the parser, and removing all of the offset tags. Seems like we either missed a few, or people added them by mistake. Either way let's nuke the ones that are still around. Cc: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
- 03 Mar, 2016 1 commit
-
-
Alejandro Piñeiro authored
Equivalent to commit bda540 (that added GL_ARB_internalformat_query) v2: include the new xml to to API_XML list at Makefile.am (Emil Velikov) Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
- 22 Feb, 2016 2 commits
-
-
Ilia Mirkin authored
This extension is identical to GL_OES_texture_border_clamp. But dEQP has tests that want the EXT variant. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com>
-
Ilia Mirkin authored
Only minor differences to the existing ARB_texture_border_clamp support. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com>
-
- 08 Feb, 2016 1 commit
-
-
Brian Paul authored
The errors.c file had grown quite large so split off this extension code into its own file. This involved making a handful of functions non-static. Acked-by:
Timothy Arceri <timothy.arceri@collabora.com>
-
- 05 Feb, 2016 3 commits
-
-
Marek Olšák authored
v2: rebase Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Marek Olšák authored
v2: implement eviction queries properly add gl_memory_info structure Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Rafal Mielniczuk authored
Signed-off-by:
Rafal Mielniczuk <rafal.mielniczuk2@gmail.com> [imirkin: move definition to gl_API.xml as it is very short] Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 22 Jan, 2016 1 commit
-
-
Marta Löfstedt authored
Add xml definitions for the GL_OES_geometry_shader extension and expose the extension for OpenGL ES 3.1. Signed-off-by:
Marta Lofstedt <marta.lofstedt@linux.intel.com> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 21 Jan, 2016 3 commits
-
-
Rob Clark authored
Signed-off-by:
Rob Clark <robclark@freedesktop.org> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Andreas Boll authored
Removes the public symbol _glapi_create_table_from_handle from libGL.so.1.2.0 on all platforms except Darwin. Since the symbol is not used on other platforms it makes sense to build glapi_gentable.c only on Darwin. As a side effect it accelerates the build a bit and reduces the size of libGL.so.1.2.0 as follows: size lib/libGL.so.1.2.0 on my system shows text data bss dec hex filename 469211 21848 2720 493779 788d3 lib/libGL.so.1.2.0 before 420988 11240 2720 434948 6a304 lib/libGL.so.1.2.0 after A little bit of history: _glapi_create_table_from_handle was introduced in commit 85937f4c Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Thu Jun 9 16:59:49 2011 -0700 glapi: Add API that can create a _glapi_table from a dlfcn handle Example usage: void *handle = dlopen(opengl_library_path, RTLD_LOCAL); struct _glapi_table *disp = _glapi_create_table_from_handle(handle, "gl"); Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com> and the only user in mesa was added in commit f35913b9 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Thu Jun 9 17:29:51 2011 -0700 apple: Use _glapi_create_table_from_handle to initialize our dispatch table Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com> gl_gentable.py was also used for XQuartz in xserver 1.11 - 1.14. v2: Fix typos in commit message Add missing XORG_GLAPI_OUTPUTS += \ into src/mapi/glapi/gen/Makefile.am Add glapi_gentable.c to EXTRA_DIST for inclusion in the release tarball v3: Fix commit message: s/gl_gentable.c/glapi_gentable.c/ Reported-by:
Arlie Davis <arlied@google.com> Cc: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by:
Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
Arlie Davis authored
This patch significantly reduces the size of the libGL.so binary. It does not change the (externally visible) behavior of libGL.so at all. gl_gentable.py generates a function, _glapi_create_table_from_handle. This function allocates a large dispatch table, consisting of 1300 or so function pointers, and fills this dispatch table by doing symbol lookups on a given shared library. Previously, gl_gentable.py would generate a single, very large _glapi_create_table_from_handle function, with a short cluster of lines for each entry point (function). The idiom it generates was a NULL check, a call to snprintf, a call to dlsym / GetProcAddress, and then a store into the dispatch table. Since this function processes a large number of entry points, this code is duplicated many times over. We can encode the same information much more compactly, by using a lookup table. The previous total size of _glapi_create_table_from_handle on x64 was 125848 bytes. By using a lookup table, the size of _glapi_create_table_from_handle (and the related lookup tables) is reduced to 10840 bytes. In other words, this enormous function is reduced by 91%. The size of the entire libGL.so binary (measured when stripped) itself drops by 15%. So the purpose of this change is to reduce the binary size, which frees up disk space, memory, etc. size lib/libGL.so.1.2.0 on my system shows (Andreas) text data bss dec hex filename 565947 11256 2720 579923 8d953 lib/libGL.so.1.2.0 before 469211 21848 2720 493779 788d3 lib/libGL.so.1.2.0 after v2: Incorporate Matt's feedback. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> Tested-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> Signed-off-by:
Andreas Boll <andreas.boll.dev@gmail.com>
-
- 07 Jan, 2016 1 commit
-
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 03 Dec, 2015 2 commits
-
-
Emil Velikov authored
The extension requires (cough implements) GetPointervKHR (alias of GetPointerv) which in itself is available for ES 1.1 enabled mesa. Anyone willing to fish around and implement it for ES 1.0 is more than welcome to revert this commit. Until then lets restrict things. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93048Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by:
Timothy Arceri <timothy.arceri@collabora.com>
-
Emil Velikov authored
The KHR_debug extension implements this. Strictly speaking it could be used with ES 1.0, although as the original function is available on ES 1.1, I'm inclined to lift the KHR_debug requirement to ES 1.1. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93048Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by:
Timothy Arceri <timothy.arceri@collabora.com>
-
- 02 Dec, 2015 1 commit
-
-
Jose Fonseca authored
Reviewed-by:
Matt Turner <mattst88@gmail.com> Acked-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 01 Dec, 2015 1 commit
-
-
Brian Paul authored
String literals cannot exceed 65535 characters for MSVC. Instead of emiting a string, emit an array of characters. v2: fix indentation and add comment in the gl_enums.py file about this ugliness. Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-