diff options
author | Daekwang Ryu <dkdk.ryu@samsung.com> | 2017-05-17 05:46:51 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-08-01 10:42:55 -0700 |
commit | cf818a84be26cd5e2f57cca4b4a8ae9d5b3715f4 (patch) | |
tree | 5ddd492300d3b9cc540bf82fa2086f0697fba77a /src/lib | |
parent | 1c5fa59ee87866ccecfd7529827211e9b3ebf388 (diff) |
evas_gl: implement EvasGL ES 3.2
add a wrapper function for glFramebufferTexture.
some bugs were fixed.
I tested on Ubuntu 14.04(x64) and nVidia 375 driver with VK-GL-CTS
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D4831
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/evas/Evas_GL.h | 273 |
1 files changed, 272 insertions, 1 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h index 4f67b1695f..d06e88a053 100644 --- a/src/lib/evas/Evas_GL.h +++ b/src/lib/evas/Evas_GL.h | |||
@@ -4781,7 +4781,220 @@ typedef struct __GLsync* GLsync; | |||
4781 | #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 | 4781 | #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 |
4782 | #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA | 4782 | #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA |
4783 | #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 | 4783 | #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 |
4784 | #endif | ||
4784 | 4785 | ||
4786 | /* OpenGLES 3.2 */ | ||
4787 | #ifndef __gl32_h_ | ||
4788 | #define __gl32_h_ 1 | ||
4789 | |||
4790 | typedef void (*GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); | ||
4791 | |||
4792 | #define GL_MULTISAMPLE_LINE_WIDTH_RANGE 0x9381 | ||
4793 | #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY 0x9382 | ||
4794 | #define GL_MULTIPLY 0x9294 | ||
4795 | #define GL_SCREEN 0x9295 | ||
4796 | #define GL_OVERLAY 0x9296 | ||
4797 | #define GL_DARKEN 0x9297 | ||
4798 | #define GL_LIGHTEN 0x9298 | ||
4799 | #define GL_COLORDODGE 0x9299 | ||
4800 | #define GL_COLORBURN 0x929A | ||
4801 | #define GL_HARDLIGHT 0x929B | ||
4802 | #define GL_SOFTLIGHT 0x929C | ||
4803 | #define GL_DIFFERENCE 0x929E | ||
4804 | #define GL_EXCLUSION 0x92A0 | ||
4805 | #define GL_HSL_HUE 0x92AD | ||
4806 | #define GL_HSL_SATURATION 0x92AE | ||
4807 | #define GL_HSL_COLOR 0x92AF | ||
4808 | #define GL_HSL_LUMINOSITY 0x92B0 | ||
4809 | #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 | ||
4810 | #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 | ||
4811 | #define GL_DEBUG_CALLBACK_FUNCTION 0x8244 | ||
4812 | #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 | ||
4813 | #define GL_DEBUG_SOURCE_API 0x8246 | ||
4814 | #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 | ||
4815 | #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 | ||
4816 | #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 | ||
4817 | #define GL_DEBUG_SOURCE_APPLICATION 0x824A | ||
4818 | #define GL_DEBUG_SOURCE_OTHER 0x824B | ||
4819 | #define GL_DEBUG_TYPE_ERROR 0x824C | ||
4820 | #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D | ||
4821 | #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E | ||
4822 | #define GL_DEBUG_TYPE_PORTABILITY 0x824F | ||
4823 | #define GL_DEBUG_TYPE_PERFORMANCE 0x8250 | ||
4824 | #define GL_DEBUG_TYPE_OTHER 0x8251 | ||
4825 | #define GL_DEBUG_TYPE_MARKER 0x8268 | ||
4826 | #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 | ||
4827 | #define GL_DEBUG_TYPE_POP_GROUP 0x826A | ||
4828 | #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B | ||
4829 | #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C | ||
4830 | #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D | ||
4831 | #define GL_BUFFER 0x82E0 | ||
4832 | #define GL_SHADER 0x82E1 | ||
4833 | #define GL_PROGRAM 0x82E2 | ||
4834 | #define GL_VERTEX_ARRAY 0x8074 | ||
4835 | #define GL_QUERY 0x82E3 | ||
4836 | #define GL_PROGRAM_PIPELINE 0x82E4 | ||
4837 | #define GL_SAMPLER 0x82E6 | ||
4838 | #define GL_MAX_LABEL_LENGTH 0x82E8 | ||
4839 | #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 | ||
4840 | #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 | ||
4841 | #define GL_DEBUG_LOGGED_MESSAGES 0x9145 | ||
4842 | #define GL_DEBUG_SEVERITY_HIGH 0x9146 | ||
4843 | #define GL_DEBUG_SEVERITY_MEDIUM 0x9147 | ||
4844 | #define GL_DEBUG_SEVERITY_LOW 0x9148 | ||
4845 | #define GL_DEBUG_OUTPUT 0x92E0 | ||
4846 | #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 | ||
4847 | #define GL_STACK_OVERFLOW 0x0503 | ||
4848 | #define GL_STACK_UNDERFLOW 0x0504 | ||
4849 | #define GL_GEOMETRY_SHADER 0x8DD9 | ||
4850 | #define GL_GEOMETRY_SHADER_BIT 0x00000004 | ||
4851 | #define GL_GEOMETRY_VERTICES_OUT 0x8916 | ||
4852 | #define GL_GEOMETRY_INPUT_TYPE 0x8917 | ||
4853 | #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 | ||
4854 | #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F | ||
4855 | #define GL_LAYER_PROVOKING_VERTEX 0x825E | ||
4856 | #define GL_LINES_ADJACENCY 0x000A | ||
4857 | #define GL_LINE_STRIP_ADJACENCY 0x000B | ||
4858 | #define GL_TRIANGLES_ADJACENCY 0x000C | ||
4859 | #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D | ||
4860 | #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF | ||
4861 | #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C | ||
4862 | #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 | ||
4863 | #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 | ||
4864 | #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 | ||
4865 | #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 | ||
4866 | #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 | ||
4867 | #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A | ||
4868 | #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 | ||
4869 | #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF | ||
4870 | #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 | ||
4871 | #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD | ||
4872 | #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 | ||
4873 | #define GL_FIRST_VERTEX_CONVENTION 0x8E4D | ||
4874 | #define GL_LAST_VERTEX_CONVENTION 0x8E4E | ||
4875 | #define GL_UNDEFINED_VERTEX 0x8260 | ||
4876 | #define GL_PRIMITIVES_GENERATED 0x8C87 | ||
4877 | #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 | ||
4878 | #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 | ||
4879 | #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 | ||
4880 | #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 | ||
4881 | #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 | ||
4882 | #define GL_PRIMITIVE_BOUNDING_BOX 0x92BE | ||
4883 | #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 | ||
4884 | #define GL_CONTEXT_FLAGS 0x821E | ||
4885 | #define GL_LOSE_CONTEXT_ON_RESET 0x8252 | ||
4886 | #define GL_GUILTY_CONTEXT_RESET 0x8253 | ||
4887 | #define GL_INNOCENT_CONTEXT_RESET 0x8254 | ||
4888 | #define GL_UNKNOWN_CONTEXT_RESET 0x8255 | ||
4889 | #define GL_RESET_NOTIFICATION_STRATEGY 0x8256 | ||
4890 | #define GL_NO_RESET_NOTIFICATION 0x8261 | ||
4891 | #define GL_CONTEXT_LOST 0x0507 | ||
4892 | #define GL_SAMPLE_SHADING 0x8C36 | ||
4893 | #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 | ||
4894 | #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B | ||
4895 | #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C | ||
4896 | #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D | ||
4897 | #define GL_PATCHES 0x000E | ||
4898 | #define GL_PATCH_VERTICES 0x8E72 | ||
4899 | #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 | ||
4900 | #define GL_TESS_GEN_MODE 0x8E76 | ||
4901 | #define GL_TESS_GEN_SPACING 0x8E77 | ||
4902 | #define GL_TESS_GEN_VERTEX_ORDER 0x8E78 | ||
4903 | #define GL_TESS_GEN_POINT_MODE 0x8E79 | ||
4904 | #define GL_ISOLINES 0x8E7A | ||
4905 | #define GL_QUADS 0x0007 | ||
4906 | #define GL_FRACTIONAL_ODD 0x8E7B | ||
4907 | #define GL_FRACTIONAL_EVEN 0x8E7C | ||
4908 | #define GL_MAX_PATCH_VERTICES 0x8E7D | ||
4909 | #define GL_MAX_TESS_GEN_LEVEL 0x8E7E | ||
4910 | #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F | ||
4911 | #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 | ||
4912 | #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 | ||
4913 | #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 | ||
4914 | #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 | ||
4915 | #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 | ||
4916 | #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 | ||
4917 | #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 | ||
4918 | #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 | ||
4919 | #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A | ||
4920 | #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C | ||
4921 | #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D | ||
4922 | #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E | ||
4923 | #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F | ||
4924 | #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD | ||
4925 | #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE | ||
4926 | #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 | ||
4927 | #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 | ||
4928 | #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB | ||
4929 | #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC | ||
4930 | #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 | ||
4931 | #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 | ||
4932 | #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 | ||
4933 | #define GL_IS_PER_PATCH 0x92E7 | ||
4934 | #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 | ||
4935 | #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 | ||
4936 | #define GL_TESS_CONTROL_SHADER 0x8E88 | ||
4937 | #define GL_TESS_EVALUATION_SHADER 0x8E87 | ||
4938 | #define GL_TESS_CONTROL_SHADER_BIT 0x00000008 | ||
4939 | #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 | ||
4940 | #define GL_TEXTURE_BORDER_COLOR 0x1004 | ||
4941 | #define GL_CLAMP_TO_BORDER 0x812D | ||
4942 | #define GL_TEXTURE_BUFFER 0x8C2A | ||
4943 | #define GL_TEXTURE_BUFFER_BINDING 0x8C2A | ||
4944 | #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B | ||
4945 | #define GL_TEXTURE_BINDING_BUFFER 0x8C2C | ||
4946 | #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D | ||
4947 | #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F | ||
4948 | #define GL_SAMPLER_BUFFER 0x8DC2 | ||
4949 | #define GL_INT_SAMPLER_BUFFER 0x8DD0 | ||
4950 | #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 | ||
4951 | #define GL_IMAGE_BUFFER 0x9051 | ||
4952 | #define GL_INT_IMAGE_BUFFER 0x905C | ||
4953 | #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 | ||
4954 | #define GL_TEXTURE_BUFFER_OFFSET 0x919D | ||
4955 | #define GL_TEXTURE_BUFFER_SIZE 0x919E | ||
4956 | #define GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0 | ||
4957 | #define GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1 | ||
4958 | #define GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2 | ||
4959 | #define GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3 | ||
4960 | #define GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4 | ||
4961 | #define GL_COMPRESSED_RGBA_ASTC_8x5 0x93B5 | ||
4962 | #define GL_COMPRESSED_RGBA_ASTC_8x6 0x93B6 | ||
4963 | #define GL_COMPRESSED_RGBA_ASTC_8x8 0x93B7 | ||
4964 | #define GL_COMPRESSED_RGBA_ASTC_10x5 0x93B8 | ||
4965 | #define GL_COMPRESSED_RGBA_ASTC_10x6 0x93B9 | ||
4966 | #define GL_COMPRESSED_RGBA_ASTC_10x8 0x93BA | ||
4967 | #define GL_COMPRESSED_RGBA_ASTC_10x10 0x93BB | ||
4968 | #define GL_COMPRESSED_RGBA_ASTC_12x10 0x93BC | ||
4969 | #define GL_COMPRESSED_RGBA_ASTC_12x12 0x93BD | ||
4970 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 0x93D0 | ||
4971 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 0x93D1 | ||
4972 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 0x93D2 | ||
4973 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 0x93D3 | ||
4974 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 0x93D4 | ||
4975 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 0x93D5 | ||
4976 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 0x93D6 | ||
4977 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 0x93D7 | ||
4978 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 0x93D8 | ||
4979 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 0x93D9 | ||
4980 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 0x93DA | ||
4981 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 0x93DB | ||
4982 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 0x93DC | ||
4983 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 0x93DD | ||
4984 | #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 | ||
4985 | #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A | ||
4986 | #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C | ||
4987 | #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D | ||
4988 | #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E | ||
4989 | #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F | ||
4990 | #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 | ||
4991 | #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F | ||
4992 | #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A | ||
4993 | #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 | ||
4994 | #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 | ||
4995 | #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B | ||
4996 | #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C | ||
4997 | #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D | ||
4785 | #endif | 4998 | #endif |
4786 | 4999 | ||
4787 | /* | 5000 | /* |
@@ -4927,8 +5140,9 @@ typedef unsigned long long EvasGLTime; | |||
4927 | * Version 3: [version 2] + Wayland extensions | 5140 | * Version 3: [version 2] + Wayland extensions |
4928 | * Version 4: [version 3] + GLES3.0 + GLES3.0 extensions | 5141 | * Version 4: [version 3] + GLES3.0 + GLES3.0 extensions |
4929 | * Version 5: [version 4] + GLES3.1 | 5142 | * Version 5: [version 4] + GLES3.1 |
5143 | * Version 6: [version 5] + GLES3.2 | ||
4930 | */ | 5144 | */ |
4931 | #define EVAS_GL_API_VERSION 5 | 5145 | #define EVAS_GL_API_VERSION 6 |
4932 | 5146 | ||
4933 | /** | 5147 | /** |
4934 | * @brief The Evas GL API | 5148 | * @brief The Evas GL API |
@@ -5855,6 +6069,63 @@ EvasGLImage *img = glapi->evasglCreateImageForContext | |||
5855 | void (*glVertexBindingDivisor) (GLuint bindingindex, GLuint divisor); | 6069 | void (*glVertexBindingDivisor) (GLuint bindingindex, GLuint divisor); |
5856 | /** @} */ | 6070 | /** @} */ |
5857 | 6071 | ||
6072 | /** | ||
6073 | * @anchor gles3.2 | ||
6074 | * @name OpenGL-ES 3.2. | ||
6075 | * | ||
6076 | * Evas_GL_API version 6. | ||
6077 | * | ||
6078 | * The following functions are supported in all OpenGL-ES 3.2 contexts. | ||
6079 | * @{ | ||
6080 | */ | ||
6081 | /* This defines shows that Evas_GL_API supports GLES3.2 APIs */ | ||
6082 | void (*glBlendBarrier) (void); | ||
6083 | void (*glCopyImageSubData) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); | ||
6084 | void (*glDebugMessageControl) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
6085 | void (*glDebugMessageInsert) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
6086 | void (*glDebugMessageCallback) (GLDEBUGPROC callback, const void *userParam); | ||
6087 | GLuint (*glGetDebugMessageLog) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
6088 | void (*glPushDebugGroup) (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
6089 | void (*glPopDebugGroup) (void); | ||
6090 | void (*glObjectLabel) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
6091 | void (*glGetObjectLabel) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
6092 | void (*glObjectPtrLabel) (const void *ptr, GLsizei length, const GLchar *label); | ||
6093 | void (*glGetObjectPtrLabel) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
6094 | //void (*glGetPointerv) (GLenum pname, void **params); | ||
6095 | void (*glEnablei) (GLenum target, GLuint index); | ||
6096 | void (*glDisablei) (GLenum target, GLuint index); | ||
6097 | void (*glBlendEquationi) (GLuint buf, GLenum mode); | ||
6098 | void (*glBlendEquationSeparatei) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); | ||
6099 | void (*glBlendFunci) (GLuint buf, GLenum src, GLenum dst); | ||
6100 | void (*glBlendFuncSeparatei) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | ||
6101 | void (*glColorMaski) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); | ||
6102 | GLboolean (*glIsEnabledi) (GLenum target, GLuint index); | ||
6103 | void (*glDrawElementsBaseVertex) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); | ||
6104 | void (*glDrawRangeElementsBaseVertex) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); | ||
6105 | void (*glDrawElementsInstancedBaseVertex) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); | ||
6106 | void (*glFramebufferTexture) (GLenum target, GLenum attachment, GLuint texture, GLint level); | ||
6107 | void (*glPrimitiveBoundingBox) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); | ||
6108 | GLenum (*glGetGraphicsResetStatus) (void); | ||
6109 | void (*glReadnPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
6110 | void (*glGetnUniformfv) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
6111 | void (*glGetnUniformiv) (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
6112 | void (*glGetnUniformuiv) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); | ||
6113 | void (*glMinSampleShading) (GLfloat value); | ||
6114 | void (*glPatchParameteri) (GLenum pname, GLint value); | ||
6115 | void (*glTexParameterIiv) (GLenum target, GLenum pname, const GLint *params); | ||
6116 | void (*glTexParameterIuiv) (GLenum target, GLenum pname, const GLuint *params); | ||
6117 | void (*glGetTexParameterIiv) (GLenum target, GLenum pname, GLint *params); | ||
6118 | void (*glGetTexParameterIuiv) (GLenum target, GLenum pname, GLuint *params); | ||
6119 | void (*glSamplerParameterIiv) (GLuint sampler, GLenum pname, const GLint *param); | ||
6120 | void (*glSamplerParameterIuiv) (GLuint sampler, GLenum pname, const GLuint *param); | ||
6121 | void (*glGetSamplerParameterIiv) (GLuint sampler, GLenum pname, GLint *params); | ||
6122 | void (*glGetSamplerParameterIuiv) (GLuint sampler, GLenum pname, GLuint *params); | ||
6123 | void (*glTexBuffer) (GLenum target, GLenum internalformat, GLuint buffer); | ||
6124 | void (*glTexBufferRange) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); | ||
6125 | void (*glTexStorage3DMultisample) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); | ||
6126 | |||
6127 | /** @} */ | ||
6128 | |||
5858 | /* Future calls will be added down here for expansion, when adding | 6129 | /* Future calls will be added down here for expansion, when adding |
5859 | * new APIs here, please bump the struct version number (together with | 6130 | * new APIs here, please bump the struct version number (together with |
5860 | * the EFL version bump). | 6131 | * the EFL version bump). |