e483cb9a3add01dc552bd2a42763aff4be5808fc |
|
13-Jun-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
glsl: reuse main extension table to appropriately restrict extensions Previously we were only restricting based on ES/non-ES-ness and whether the overall enable bit had been flipped on. However we have been adding more fine-grained restrictions, such as based on compat profiles, as well as specific ES versions. Most of the time this doesn't matter, but it can create awkward situations and duplication of logic. Here we separate the main extension table into a separate object file, linked to the glsl compiler, which makes use of it with a custom function which takes the ES-ness of the shader into account (thus allowing desktop shaders to properly use ES extensions that would otherwise have been disallowed.) We can also now use this logic to generate #define's for all supported extensions automatically, removing the duplicate (and often inaccurate) list in glcpp. The effect of this change should be nil in most cases. However in some situations, extensions like GL_ARB_gpu_shader5 which were formerly available in compat contexts on the GLSL side of things will now become inaccessible. This regresses two ES CTS tests: ES3-CTS.shaders.shader_integer_mix.define ES31-CTS.shader_integer_mix.define however that is due to them using #version 100 instead of 300 es. As the extension is only defined for ES3, I believe this is the correct behavior. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v2) v2 -> v3: integrate glcpp defines into the same mechanism
/external/mesa3d/src/mesa/main/extensions.h
|
f93c22109e281ee927c3bb349b94a43fd47ed9ad |
|
10-Jun-2016 |
Jose Fonseca <jfonseca@vmware.com> |
mesa: Wrap extensions.h declarations with extern "C". This should fix the MSVC linker failures that arose with commit 5e2d25894b962aae9158261897e13843377e3b95. Trivial.
/external/mesa3d/src/mesa/main/extensions.h
|
f876346cdd2e5d0357ed260eec642beaaa389948 |
|
09-Dec-2015 |
Andreas Boll <andreas.boll.dev@gmail.com> |
mesa: Fix a typo in a comment s/suports/supports/ Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
2de2e1702b4fab73b1f577fa4a21b7bd0a7040dd |
|
12-Nov-2015 |
Brian Paul <brianp@vmware.com> |
mesa: fix MSVC build break in extensions.h Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/src/mesa/main/extensions.h
|
a16ffb743ced9fde80b2485dfc2d86ae74e86f25 |
|
15-Oct-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa: In helpers, only check driver capability for meta Make API context and version checks done by the helper functions pass unconditionally while meta is in progress. This transparently makes extension checks solely dependent on struct gl_extensions while in meta. v2: Use an 8-bit data type instead of a GLuint Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/main/extensions.h
|
5645770742d21b0a2ae0fe3ecce135933cd9b4fc |
|
26-Oct-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa/extensions: Prefix global struct and extension type Rename the following types and variables: * struct extension -> struct mesa_extension, like the mesa_format type. * extension_table -> _mesa_extension_table, like the _mesa_extension_override_{enables,disables} structs. Suggested-by: Marek Olšák <marek.olsak@amd.com> Suggested-by: Chad Versace <chad.versace@intel.com> Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/main/extensions.h
|
ab129a44ae3a7515eb4642c068299673c890fb73 |
|
18-Sep-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa: Generate a helper function for each extension Generate functions which determine if an extension is supported in the current context. Initially, enums were going to be explicitly used with _mesa_extension_supported(). The idea to embed the function and enums into generated helper functions was suggested by Kristian Høgsberg. For performance, the function body no longer uses _mesa_extension_supported() and, as suggested by Chad Versace, the functions are also declared static inline. v2: Place function qualifiers on separate line (Chad) v3: Move function curly brace to new line (Chad) Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/main/extensions.h
|
858452e54242011d77e4d0364ff05497795c3c4f |
|
03-Aug-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: make _mesa_init_extensions context-independent Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/extensions.h
|
f5ca8c19727c76256785e1a9f44da058fdcfe891 |
|
08-Jun-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
main/extensions: Add early extension override structures During the early one_time_init phase of context creation, we initialize two global gl_extensions structures. We read the MESA_EXTENSION_OVERRIDE environment variable, and store positive and negative overrides in two structures: * struct gl_extensions _mesa_extension_override_enables * struct gl_extensions _mesa_extension_override_disables These are filled before the driver initializes extensions and constants, therefore the driver can make adjustments based on the desired overrides. This can be useful during development of a new extension where the extension is only partially ready. The driver can't actually advertise support for the extension, but if it sees that the override is set for the extension, then it can expose more supported parts of the extension, such as upgrading context constants. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/extensions.h
|
34e8905077b7a930457098ac0e0a5ea251e5944c |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove _mesa_{enable, disable}_extension and _mesa_extension_is_enabled They're not used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
b0d755f00bd5a5f06dbeb9cefc69f6a3186ff39d |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove _mesa_enable_._._extensions functions After the preceeding commits, they are not used. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 |
|
05-Jun-2013 |
Rico Schüller <kgbricola@web.de> |
mesa: remove outdated version lines in comments Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Restore 78-column wrapping of license text in C-style comments. The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
dd404bc94f78a1766527becee03f8ef6ae3a799b |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text. Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/extensions.h
|
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove #include "mfeatures.h" from numerous source files None of the remaining FEATURE_x symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/extensions.h
|
99940eef48980b795b10e43ac388b7435b8defbc |
|
23-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove #if _HAVE_FULL_GL checks This is basically more of the "remove FEATURE_x" clean-up. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/extensions.h
|
636dd621311d8f57645b4f86339d2c59a46bebe2 |
|
08-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused _mesa_enable_imaging_extensions function The last user of this function was driInitExtensions, and that function was removed in a previous commit. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/extensions.h
|
962967d080a1859bafc843ebdf374bcdfcff9271 |
|
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in extensions.h.
/external/mesa3d/src/mesa/main/extensions.h
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/extensions.h
|
56bdaca03e2289f56d1c88668d0a0f1dbd5abeca |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_get_enabled_extension() function
/external/mesa3d/src/mesa/main/extensions.h
|
802b80893943cf129039a37fb2afe26444b09332 |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL3 GL_NUM_EXTENSIONS query
/external/mesa3d/src/mesa/main/extensions.h
|
8d214bc8044e5027e3fa9302b259d0c557270b00 |
|
03-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/extensions.h
|
53f82c5aadbb15585754bfacf3237093eccdb2ce |
|
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/main/extensions.h
|
6dc85575000127630489b407c50a4b3ea87c9acb |
|
17-Jul-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/main/extensions.h
|
de4f460e20cf76ece883530ffe3f82a0afc817f3 |
|
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplify extension string handling.
/external/mesa3d/src/mesa/main/extensions.h
|
9ac51f57efe07ed43a1e4224a7f5daddec401b36 |
|
05-Jun-2003 |
Ian Romanick <idr@us.ibm.com> |
Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
/external/mesa3d/src/mesa/main/extensions.h
|
487047c06040112e1a2648982e378e0cca4874b8 |
|
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
prep for OpenGL 1.4 feature set
/external/mesa3d/src/mesa/main/extensions.h
|
e4276667dafc8de0c6e64af8300fc7598437de6e |
|
15-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
/external/mesa3d/src/mesa/main/extensions.h
|
22144ab7552f0799bcfca506bf4ffa7f70a06649 |
|
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/extensions.h
|
6975540db26309cdfa8f27b3b6dadf3dbf4a1746 |
|
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Disable most extensions by default. Drivers should enable them as needed. Renamed gl_*() functions as _mesa_*().
/external/mesa3d/src/mesa/main/extensions.h
|
5e3bc0c2a2bcdf59949410f94c9b705fc1281ce8 |
|
22-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h Mesa/src/extensions.c Mesa/src/extensions.h Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h Mesa/src/swrast_setup/ss_context.h Mesa/src/swrast_setup/ss_triangle.c Mesa/src/swrast_setup/ss_triangle.h Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h Mesa/src/tnl/tnl.h Added Files: Mesa/src/mtypes.h Removed Files: Mesa/src/types.h Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while compiling on a VMS system. ----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/extensions.h
|
5a9026c65d260dc185e072163999f5d810015108 |
|
17-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor header file changes to silence warnings. Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
/external/mesa3d/src/mesa/main/extensions.h
|
a96308c37db0bc0086a017d318bc3504aa5f0b1a |
|
30-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Replace the flags Mesa was using for ctx->NewState with a new set based on the GL attribute groups. Introduced constants describing the circumstances under which some key derived values can change: _SWRAST_NEW_RASTERMASK -- ctx->RasterMask _SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle function _DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps These are helpful in deciding whether you need to recalculate state if your recalculation involves reference to a derived value.
/external/mesa3d/src/mesa/main/extensions.h
|
7a7ca3f345361d26a56de767fc63a1f2d2934ea8 |
|
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
/external/mesa3d/src/mesa/main/extensions.h
|
aaeea91bd045f5693d822085adf5322b022bd092 |
|
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed gl_get_proc_address()
/external/mesa3d/src/mesa/main/extensions.h
|
a087e348ab534a8293c0dc1eb7fda8794326259d |
|
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added gl_extension_is_enabled()
/external/mesa3d/src/mesa/main/extensions.h
|
b80429e49ef62686792e2f95c8f52b5e6c8a59a9 |
|
16-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_EXT_get_proc_address
/external/mesa3d/src/mesa/main/extensions.h
|
485f04074151686fa24d40e3eeb83029d3d8c425 |
|
08-Oct-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed includes & added a few hooks for the DRI.
/external/mesa3d/src/mesa/main/extensions.h
|
c5d7d70be8bc9a32db95c861ec25c368f3aee84f |
|
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_get_proc_address clean-up
/external/mesa3d/src/mesa/main/extensions.h
|
585a68c82b9d87ea094143e91fab722070b3dc73 |
|
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_get_proc_address
/external/mesa3d/src/mesa/main/extensions.h
|
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c |
|
19-Aug-1999 |
jtg <jtg> |
Initial revision
/external/mesa3d/src/mesa/main/extensions.h
|