Lines Matching refs:es2
40 namespace es2 namespace
58 using namespace es2;
64 auto context = es2::getContext(); in ActiveTexture()
68 if(texture < GL_TEXTURE0 || texture > GL_TEXTURE0 + es2::MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in ActiveTexture()
81 auto context = es2::getContext(); in AttachShader()
85 es2::Program *programObject = context->getProgram(program); in AttachShader()
86 es2::Shader *shaderObject = context->getShader(shader); in AttachShader()
137 auto context = es2::getContext(); in BeginQueryEXT()
149 if(index >= es2::MAX_VERTEX_ATTRIBS) in BindAttribLocation()
154 auto context = es2::getContext(); in BindAttribLocation()
158 es2::Program *programObject = context->getProgram(program); in BindAttribLocation()
185 auto context = es2::getContext(); in BindBuffer()
230 auto context = es2::getContext(); in BindFramebuffer()
255 auto context = es2::getContext(); in BindRenderbuffer()
271 auto context = es2::getContext(); in BindTexture()
275 es2::Texture *textureObject = context->getTexture(texture); in BindTexture()
313 auto context = es2::getContext(); in BlendColor()
317 …context->setBlendColor(es2::clamp01(red), es2::clamp01(green), es2::clamp01(blue), es2::clamp01(al… in BlendColor()
349 auto context = es2::getContext(); in BlendEquationSeparate()
457 auto context = es2::getContext(); in BlendFuncSeparate()
499 auto context = es2::getContext(); in BufferData()
503 es2::Buffer *buffer = nullptr; in BufferData()
532 auto context = es2::getContext(); in BufferSubData()
536 es2::Buffer *buffer = nullptr; in BufferSubData()
572 auto context = es2::getContext(); in CheckFramebufferStatus()
576 es2::Framebuffer *framebuffer = nullptr; in CheckFramebufferStatus()
606 auto context = es2::getContext(); in Clear()
619 auto context = es2::getContext(); in ClearColor()
631 auto context = es2::getContext(); in ClearDepthf()
643 auto context = es2::getContext(); in ClearStencil()
656 auto context = es2::getContext(); in ColorMask()
668 auto context = es2::getContext(); in CompileShader()
672 es2::Shader *shaderObject = context->getShader(shader); in CompileShader()
712 auto context = es2::getContext(); in CompressedTexImage2D()
716 if(level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in CompressedTexImage2D()
724 if(width > (es2::IMPLEMENTATION_MAX_TEXTURE_SIZE >> level) || in CompressedTexImage2D()
725 height > (es2::IMPLEMENTATION_MAX_TEXTURE_SIZE >> level)) in CompressedTexImage2D()
741 if(width > (es2::IMPLEMENTATION_MAX_CUBE_MAP_TEXTURE_SIZE >> level) || in CompressedTexImage2D()
742 height > (es2::IMPLEMENTATION_MAX_CUBE_MAP_TEXTURE_SIZE >> level)) in CompressedTexImage2D()
765 es2::Texture2D *texture = context->getTexture2D(target); in CompressedTexImage2D()
774 else if(es2::IsCubemapTextureTarget(target)) in CompressedTexImage2D()
776 es2::TextureCubeMap *texture = context->getTextureCubeMap(); in CompressedTexImage2D()
797 if(!es2::IsTextureTarget(target)) in CompressedTexSubImage2D()
802 if(level < 0 || level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in CompressedTexSubImage2D()
822 auto context = es2::getContext(); in CompressedTexSubImage2D()
840 es2::Texture2D *texture = context->getTexture2D(target); in CompressedTexSubImage2D()
850 else if(es2::IsCubemapTextureTarget(target)) in CompressedTexSubImage2D()
852 es2::TextureCubeMap *texture = context->getTextureCubeMap(); in CompressedTexSubImage2D()
882 auto context = es2::getContext(); in CopyTexImage2D()
895 if(width > (es2::IMPLEMENTATION_MAX_TEXTURE_SIZE >> level) || in CopyTexImage2D()
896 height > (es2::IMPLEMENTATION_MAX_TEXTURE_SIZE >> level)) in CopyTexImage2D()
912 if(width > (es2::IMPLEMENTATION_MAX_CUBE_MAP_TEXTURE_SIZE >> level) || in CopyTexImage2D()
913 height > (es2::IMPLEMENTATION_MAX_CUBE_MAP_TEXTURE_SIZE >> level)) in CopyTexImage2D()
922 es2::Framebuffer *framebuffer = context->getReadFramebuffer(); in CopyTexImage2D()
929 es2::Renderbuffer *source = framebuffer->getReadColorbuffer(); in CopyTexImage2D()
990 es2::Texture2D *texture = context->getTexture2D(target); in CopyTexImage2D()
999 else if(es2::IsCubemapTextureTarget(target)) in CopyTexImage2D()
1001 es2::TextureCubeMap *texture = context->getTextureCubeMap(); in CopyTexImage2D()
1020 if(!es2::IsTextureTarget(target)) in CopyTexSubImage2D()
1025 if(level < 0 || level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in CopyTexSubImage2D()
1040 auto context = es2::getContext(); in CopyTexSubImage2D()
1044 es2::Framebuffer *framebuffer = context->getReadFramebuffer(); in CopyTexSubImage2D()
1051 es2::Renderbuffer *source = framebuffer->getReadColorbuffer(); in CopyTexSubImage2D()
1058 es2::Texture *texture = nullptr; in CopyTexSubImage2D()
1064 else if(es2::IsCubemapTextureTarget(target)) in CopyTexSubImage2D()
1084 auto context = es2::getContext(); in CreateProgram()
1098 auto context = es2::getContext(); in CreateShader()
1125 auto context = es2::getContext(); in CullFace()
1147 auto context = es2::getContext(); in DeleteBuffers()
1167 auto context = es2::getContext(); in DeleteFencesNV()
1187 auto context = es2::getContext(); in DeleteFramebuffers()
1210 auto context = es2::getContext(); in DeleteProgram()
1239 auto context = es2::getContext(); in DeleteQueriesEXT()
1259 auto context = es2::getContext(); in DeleteRenderbuffers()
1279 auto context = es2::getContext(); in DeleteShader()
1308 auto context = es2::getContext(); in DeleteTextures()
1341 auto context = es2::getContext(); in DepthFunc()
1353 auto context = es2::getContext(); in DepthMask()
1365 auto context = es2::getContext(); in DepthRangef()
1377 auto context = es2::getContext(); in DetachShader()
1382 es2::Program *programObject = context->getProgram(program); in DetachShader()
1383 es2::Shader *shaderObject = context->getShader(shader); in DetachShader()
1387 es2::Shader *shaderByProgramHandle; in DetachShader()
1401 es2::Program *programByShaderHandle = context->getProgram(shader); in DetachShader()
1423 auto context = es2::getContext(); in Disable()
1450 if(index >= es2::MAX_VERTEX_ATTRIBS) in DisableVertexAttribArray()
1455 auto context = es2::getContext(); in DisableVertexAttribArray()
1486 auto context = es2::getContext(); in DrawArrays()
1490 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in DrawArrays()
1524 auto context = es2::getContext(); in DrawElements()
1528 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in DrawElements()
1572 auto context = es2::getContext(); in DrawArraysInstancedEXT()
1576 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in DrawArraysInstancedEXT()
1620 auto context = es2::getContext(); in DrawElementsInstancedEXT()
1624 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in DrawElementsInstancedEXT()
1638 auto context = es2::getContext(); in VertexAttribDivisorEXT()
1642 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttribDivisorEXT()
1675 auto context = es2::getContext(); in DrawArraysInstancedANGLE()
1684 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in DrawArraysInstancedANGLE()
1728 auto context = es2::getContext(); in DrawElementsInstancedANGLE()
1737 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in DrawElementsInstancedANGLE()
1751 auto context = es2::getContext(); in VertexAttribDivisorANGLE()
1768 auto context = es2::getContext(); in Enable()
1795 if(index >= es2::MAX_VERTEX_ATTRIBS) in EnableVertexAttribArray()
1800 auto context = es2::getContext(); in EnableVertexAttribArray()
1821 auto context = es2::getContext(); in EndQueryEXT()
1833 auto context = es2::getContext(); in FinishFenceNV()
1837 es2::Fence *fenceObject = context->getFence(fence); in FinishFenceNV()
1852 auto context = es2::getContext(); in Finish()
1864 auto context = es2::getContext(); in Flush()
1883 auto context = es2::getContext(); in FramebufferRenderbuffer()
1887 es2::Framebuffer *framebuffer = nullptr; in FramebufferRenderbuffer()
1956 auto context = es2::getContext(); in FramebufferTexture2D()
1966 es2::Texture *tex = context->getTexture(texture); in FramebufferTexture2D()
2007 if((level < 0) || (level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS)) in FramebufferTexture2D()
2018 es2::Framebuffer *framebuffer = nullptr; in FramebufferTexture2D()
2070 auto context = es2::getContext(); in FrontFace()
2092 auto context = es2::getContext(); in GenBuffers()
2107 auto context = es2::getContext(); in GenerateMipmap()
2111 es2::Texture *texture = nullptr; in GenerateMipmap()
2160 auto context = es2::getContext(); in GenFencesNV()
2180 auto context = es2::getContext(); in GenFramebuffers()
2200 auto context = es2::getContext(); in GenQueriesEXT()
2220 auto context = es2::getContext(); in GenRenderbuffers()
2240 auto context = es2::getContext(); in GenTextures()
2262 auto context = es2::getContext(); in GetActiveAttrib()
2266 es2::Program *programObject = context->getProgram(program); in GetActiveAttrib()
2300 auto context = es2::getContext(); in GetActiveUniform()
2304 es2::Program *programObject = context->getProgram(program); in GetActiveUniform()
2337 auto context = es2::getContext(); in GetAttachedShaders()
2341 es2::Program *programObject = context->getProgram(program); in GetAttachedShaders()
2363 auto context = es2::getContext(); in GetAttribLocation()
2367 es2::Program *programObject = context->getProgram(program); in GetAttribLocation()
2396 auto context = es2::getContext(); in GetBooleanv()
2452 auto context = es2::getContext(); in GetBufferParameteriv()
2456 es2::Buffer *buffer; in GetBufferParameteriv()
2498 auto context = es2::getContext(); in GetError()
2512 auto context = es2::getContext(); in GetFenceivNV()
2516 es2::Fence *fenceObject = context->getFence(fence); in GetFenceivNV()
2531 auto context = es2::getContext(); in GetFloatv()
2585 auto context = es2::getContext(); in GetFramebufferAttachmentParameteriv()
2646 es2::Framebuffer *framebuffer = context->getFramebuffer(framebufferName); in GetFramebufferAttachmentParameteriv()
2709 else if(es2::IsTextureTarget(attachmentType)) in GetFramebufferAttachmentParameteriv()
2745 if(es2::IsCubemapTextureTarget(attachmentType)) in GetFramebufferAttachmentParameteriv()
2831 auto context = es2::getContext(); in GetIntegerv()
2843 case GL_MAX_TEXTURE_SIZE: *params = es2::IMPLEMENTATION_MAX_TEXTURE_SIZE; return; in GetIntegerv()
2844 case GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS: *params = es2::MAX_VERTEX_TEXTURE_IMAGE_UNITS; return; in GetIntegerv()
2845 case GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: *params = es2::MAX_COMBINED_TEXTURE_IMAGE_UNITS; return; in GetIntegerv()
2848 params[0] = (GLint)es2::ALIASED_LINE_WIDTH_RANGE_MIN; in GetIntegerv()
2849 params[1] = (GLint)es2::ALIASED_LINE_WIDTH_RANGE_MAX; in GetIntegerv()
2909 auto context = es2::getContext(); in GetProgramiv()
2913 es2::Program *programObject = context->getProgram(program); in GetProgramiv()
2993 auto context = es2::getContext(); in GetProgramInfoLog()
2997 es2::Program *programObject = context->getProgram(program); in GetProgramInfoLog()
3027 auto context = es2::getContext(); in GetQueryivEXT()
3048 auto context = es2::getContext(); in GetQueryObjectuivEXT()
3052 es2::Query *queryObject = context->getQuery(name); in GetQueryObjectuivEXT()
3082 auto context = es2::getContext(); in GetRenderbufferParameteriv()
3096 es2::Renderbuffer *renderbuffer = context->getRenderbuffer(context->getRenderbufferName()); in GetRenderbufferParameteriv()
3125 auto context = es2::getContext(); in GetShaderiv()
3129 es2::Shader *shaderObject = context->getShader(shader); in GetShaderiv()
3176 auto context = es2::getContext(); in GetShaderInfoLog()
3180 es2::Shader *shaderObject = context->getShader(shader); in GetShaderInfoLog()
3245 auto context = es2::getContext(); in GetShaderSource()
3249 es2::Shader *shaderObject = context->getShader(shader); in GetShaderSource()
3283 auto context = es2::getContext(); in GetString()
3295 auto context = es2::getContext(); in GetTexParameterfv()
3299 es2::Texture *texture; in GetTexParameterfv()
3382 auto context = es2::getContext(); in GetTexParameteriv()
3386 es2::Texture *texture; in GetTexParameteriv()
3475 auto context = es2::getContext(); in GetnUniformfvEXT()
3479 es2::Program *programObject = context->getProgram(program); in GetnUniformfvEXT()
3509 auto context = es2::getContext(); in GetUniformfv()
3513 es2::Program *programObject = context->getProgram(program); in GetUniformfv()
3549 auto context = es2::getContext(); in GetnUniformivEXT()
3553 es2::Program *programObject = context->getProgram(program); in GetnUniformivEXT()
3583 auto context = es2::getContext(); in GetUniformiv()
3587 es2::Program *programObject = context->getProgram(program); in GetUniformiv()
3617 auto context = es2::getContext(); in GetUniformLocation()
3626 es2::Program *programObject = context->getProgram(program); in GetUniformLocation()
3655 auto context = es2::getContext(); in GetVertexAttribfv()
3659 if(index >= es2::MAX_VERTEX_ATTRIBS) in GetVertexAttribfv()
3664 const es2::VertexAttribute &attribState = context->getVertexAttribState(index); in GetVertexAttribfv()
3708 auto context = es2::getContext(); in GetVertexAttribiv()
3712 if(index >= es2::MAX_VERTEX_ATTRIBS) in GetVertexAttribiv()
3717 const es2::VertexAttribute &attribState = context->getVertexAttribState(index); in GetVertexAttribiv()
3762 auto context = es2::getContext(); in GetVertexAttribPointerv()
3766 if(index >= es2::MAX_VERTEX_ATTRIBS) in GetVertexAttribPointerv()
3794 auto context = es2::getContext(); in Hint()
3819 auto context = es2::getContext(); in IsBuffer()
3823 es2::Buffer *bufferObject = context->getBuffer(buffer); in IsBuffer()
3838 auto context = es2::getContext(); in IsEnabled()
3867 auto context = es2::getContext(); in IsFenceNV()
3871 es2::Fence *fenceObject = context->getFence(fence); in IsFenceNV()
3888 auto context = es2::getContext(); in IsFramebuffer()
3892 es2::Framebuffer *framebufferObject = context->getFramebuffer(framebuffer); in IsFramebuffer()
3907 auto context = es2::getContext(); in IsProgram()
3911 es2::Program *programObject = context->getProgram(program); in IsProgram()
3931 auto context = es2::getContext(); in IsQueryEXT()
3935 es2::Query *queryObject = context->getQuery(name); in IsQueryEXT()
3950 auto context = es2::getContext(); in IsRenderbuffer()
3954 es2::Renderbuffer *renderbufferObject = context->getRenderbuffer(renderbuffer); in IsRenderbuffer()
3969 auto context = es2::getContext(); in IsShader()
3973 es2::Shader *shaderObject = context->getShader(shader); in IsShader()
3988 auto context = es2::getContext(); in IsTexture()
3992 es2::Texture *textureObject = context->getTexture(texture); in IsTexture()
4012 auto context = es2::getContext(); in LineWidth()
4024 auto context = es2::getContext(); in LinkProgram()
4028 es2::Program *programObject = context->getProgram(program); in LinkProgram()
4044 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in LinkProgram()
4059 auto context = es2::getContext(); in PixelStorei()
4145 auto context = es2::getContext(); in PolygonOffset()
4165 auto context = es2::getContext(); in ReadnPixelsEXT()
4184 auto context = es2::getContext(); in ReadPixels()
4196 es2::Shader::releaseCompiler(); in ReleaseShaderCompiler()
4213 width > es2::IMPLEMENTATION_MAX_RENDERBUFFER_SIZE || in RenderbufferStorageMultisample()
4214 height > es2::IMPLEMENTATION_MAX_RENDERBUFFER_SIZE) in RenderbufferStorageMultisample()
4219 if(samples > es2::IMPLEMENTATION_MAX_SAMPLES || in RenderbufferStorageMultisample()
4225 auto context = es2::getContext(); in RenderbufferStorageMultisample()
4237 context->setRenderbufferStorage(new es2::Colorbuffer(width, height, internalformat, samples)); in RenderbufferStorageMultisample()
4241 …context->setRenderbufferStorage(new es2::DepthStencilbuffer(width, height, internalformat, samples… in RenderbufferStorageMultisample()
4245 context->setRenderbufferStorage(new es2::Depthbuffer(width, height, internalformat, samples)); in RenderbufferStorageMultisample()
4249 context->setRenderbufferStorage(new es2::Stencilbuffer(width, height, samples)); in RenderbufferStorageMultisample()
4269 auto context = es2::getContext(); in SampleCoverage()
4273 context->setSampleCoverageParams(es2::clamp01(value), invert != GL_FALSE); in SampleCoverage()
4286 auto context = es2::getContext(); in SetFenceNV()
4290 es2::Fence *fenceObject = context->getFence(fence); in SetFenceNV()
4310 auto context = es2::getContext(); in Scissor()
4338 auto context = es2::getContext(); in ShaderSource()
4342 es2::Shader *shaderObject = context->getShader(shader); in ShaderSource()
4389 auto context = es2::getContext(); in StencilFuncSeparate()
4424 auto context = es2::getContext(); in StencilMaskSeparate()
4505 auto context = es2::getContext(); in StencilOpSeparate()
4530 auto context = es2::getContext(); in TestFenceNV()
4534 es2::Fence *fenceObject = context->getFence(fence); in TestFenceNV()
4559 auto context = es2::getContext(); in TexImage2D()
4590 if(width > (es2::IMPLEMENTATION_MAX_TEXTURE_SIZE >> level) || in TexImage2D()
4591 height > (es2::IMPLEMENTATION_MAX_TEXTURE_SIZE >> level)) in TexImage2D()
4607 if(width > (es2::IMPLEMENTATION_MAX_CUBE_MAP_TEXTURE_SIZE >> level) || in TexImage2D()
4608 height > (es2::IMPLEMENTATION_MAX_CUBE_MAP_TEXTURE_SIZE >> level)) in TexImage2D()
4627 es2::Texture2D *texture = context->getTexture2D(target); in TexImage2D()
4638 es2::TextureCubeMap *texture = context->getTextureCubeMap(); in TexImage2D()
4654 auto context = es2::getContext(); in TexParameterf()
4658 es2::Texture *texture; in TexParameterf()
4785 auto context = es2::getContext(); in TexParameteri()
4789 es2::Texture *texture; in TexParameteri()
4924 if(!es2::IsTextureTarget(target)) in TexSubImage2D()
4929 if(level < 0 || level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in TexSubImage2D()
4944 auto context = es2::getContext(); in TexSubImage2D()
4950 es2::Texture2D *texture = context->getTexture2D(target); in TexSubImage2D()
4966 else if(es2::IsCubemapTextureTarget(target)) in TexSubImage2D()
4968 es2::TextureCubeMap *texture = context->getTextureCubeMap(); in TexSubImage2D()
4997 auto context = es2::getContext(); in Uniform1fv()
5001 es2::Program *program = context->getCurrentProgram(); in Uniform1fv()
5034 auto context = es2::getContext(); in Uniform1iv()
5038 es2::Program *program = context->getCurrentProgram(); in Uniform1iv()
5071 auto context = es2::getContext(); in Uniform2fv()
5075 es2::Program *program = context->getCurrentProgram(); in Uniform2fv()
5110 auto context = es2::getContext(); in Uniform2iv()
5114 es2::Program *program = context->getCurrentProgram(); in Uniform2iv()
5149 auto context = es2::getContext(); in Uniform3fv()
5153 es2::Program *program = context->getCurrentProgram(); in Uniform3fv()
5188 auto context = es2::getContext(); in Uniform3iv()
5192 es2::Program *program = context->getCurrentProgram(); in Uniform3iv()
5227 auto context = es2::getContext(); in Uniform4fv()
5231 es2::Program *program = context->getCurrentProgram(); in Uniform4fv()
5266 auto context = es2::getContext(); in Uniform4iv()
5270 es2::Program *program = context->getCurrentProgram(); in Uniform4iv()
5306 auto context = es2::getContext(); in UniformMatrix2fv()
5310 es2::Program *program = context->getCurrentProgram(); in UniformMatrix2fv()
5339 auto context = es2::getContext(); in UniformMatrix3fv()
5343 es2::Program *program = context->getCurrentProgram(); in UniformMatrix3fv()
5372 auto context = es2::getContext(); in UniformMatrix4fv()
5376 es2::Program *program = context->getCurrentProgram(); in UniformMatrix4fv()
5399 auto context = es2::getContext(); in UseProgram()
5403 es2::TransformFeedback* transformFeedback = context->getTransformFeedback(); in UseProgram()
5409 es2::Program *programObject = context->getProgram(program); in UseProgram()
5436 auto context = es2::getContext(); in ValidateProgram()
5440 es2::Program *programObject = context->getProgram(program); in ValidateProgram()
5462 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib1f()
5467 auto context = es2::getContext(); in VertexAttrib1f()
5480 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib1fv()
5485 auto context = es2::getContext(); in VertexAttrib1fv()
5498 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib2f()
5503 auto context = es2::getContext(); in VertexAttrib2f()
5516 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib2fv()
5521 auto context = es2::getContext(); in VertexAttrib2fv()
5534 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib3f()
5539 auto context = es2::getContext(); in VertexAttrib3f()
5552 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib3fv()
5557 auto context = es2::getContext(); in VertexAttrib3fv()
5570 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib4f()
5575 auto context = es2::getContext(); in VertexAttrib4f()
5588 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttrib4fv()
5593 auto context = es2::getContext(); in VertexAttrib4fv()
5607 if(index >= es2::MAX_VERTEX_ATTRIBS) in VertexAttribPointer()
5646 auto context = es2::getContext(); in VertexAttribPointer()
5650 es2::VertexArray* vertexArray = context->getCurrentVertexArray(); in VertexAttribPointer()
5671 auto context = es2::getContext(); in Viewport()
5699 auto context = es2::getContext(); in BlitFramebufferSW()
5765 if((level < 0) || (level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS)) in TexImage3DOES()
5770 const GLsizei maxSize3D = es2::IMPLEMENTATION_MAX_3D_TEXTURE_SIZE >> level; in TexImage3DOES()
5781 auto context = es2::getContext(); in TexImage3DOES()
5785 es2::Texture3D *texture = context->getTexture3D(); in TexImage3DOES()
5818 if((level < 0) || (level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS)) in TexSubImage3DOES()
5828 auto context = es2::getContext(); in TexSubImage3DOES()
5832 es2::Texture3D *texture = context->getTexture3D(); in TexSubImage3DOES()
5864 if((level < 0) || (level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS)) in CopyTexSubImage3DOES()
5869 auto context = es2::getContext(); in CopyTexSubImage3DOES()
5873 es2::Framebuffer *framebuffer = context->getReadFramebuffer(); in CopyTexSubImage3DOES()
5880 es2::Renderbuffer *source = framebuffer->getReadColorbuffer(); in CopyTexSubImage3DOES()
5887 es2::Texture3D *texture = context->getTexture3D(); in CopyTexSubImage3DOES()
5913 if((level < 0) || (level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS)) in CompressedTexImage3DOES()
5918 const GLsizei maxSize3D = es2::IMPLEMENTATION_MAX_3D_TEXTURE_SIZE >> level; in CompressedTexImage3DOES()
5934 auto context = es2::getContext(); in CompressedTexImage3DOES()
5938 es2::Texture3D *texture = context->getTexture3D(); in CompressedTexImage3DOES()
5971 if(level < 0 || level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in CompressedTexSubImage3DOES()
5991 auto context = es2::getContext(); in CompressedTexSubImage3DOES()
5995 es2::Texture3D *texture = context->getTexture3D(); in CompressedTexSubImage3DOES()
6022 auto context = es2::getContext(); in FramebufferTexture3DOES()
6032 es2::Texture *tex = context->getTexture(texture); in FramebufferTexture3DOES()
6051 if((level < 0) || (level >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS)) in FramebufferTexture3DOES()
6062 es2::Framebuffer *framebuffer = nullptr; in FramebufferTexture3DOES()
6120 auto context = es2::getContext(); in EGLImageTargetTexture2DOES()
6124 es2::Texture2D *texture = context->getTexture2D(target); in EGLImageTargetTexture2DOES()
6233 auto context = es2::getContext(); in DrawBuffersEXT()