• Home
  • Raw
  • Download

Lines Matching refs:getExtensions

118                    context->getExtensions().textureFloatOES ||  in ValidReadPixelsTypeEnum()
119 context->getExtensions().colorBufferHalfFloat; in ValidReadPixelsTypeEnum()
123 context->getExtensions().textureHalfFloat; in ValidReadPixelsTypeEnum()
126 return context->getExtensions().colorBufferHalfFloat; in ValidReadPixelsTypeEnum()
154 return context->getExtensions().sRGB; in ValidReadPixelsFormatEnum()
157 return context->getExtensions().readFormatBGRA; in ValidReadPixelsFormatEnum()
168 bool supportsReadDepthNV = (context->getExtensions().readDepthNV && (info->depthBits > 0) && in ValidReadPixelsUnsignedNormalizedDepthType()
185 return context->getExtensions().readDepthNV && (type == GL_FLOAT) && in ValidReadPixelsFloatDepthType()
186 context->getExtensions().depthBufferFloat2NV && (info->componentCount == 1); in ValidReadPixelsFloatDepthType()
203 (context->getExtensions().textureNorm16 && (type == GL_UNSIGNED_SHORT) && in ValidReadPixelsFormatType()
206 return context->getExtensions().readFormatBGRA && (type == GL_UNSIGNED_BYTE); in ValidReadPixelsFormatType()
208 return context->getExtensions().readStencilNV && (type == GL_UNSIGNED_BYTE); in ValidReadPixelsFormatType()
216 (context->getExtensions().textureNorm16 && format == GL_RGBA && in ValidReadPixelsFormatType()
252 if (!context->getExtensions().textureBorderClampAny() && in ValidateTextureWrapModeValue()
371 if (!context->getExtensions().textureSRGBDecode) in ValidateTextureSRGBDecodeValue()
394 if (!context->getExtensions().textureSRGBOverride) in ValidateTextureSRGBOverrideValue()
416 if (!context->getExtensions().textureFilterAnisotropic) in ValidateTextureMaxAnisotropyExtensionEnabled()
432 GLfloat largest = context->getExtensions().maxTextureAnisotropy; in ValidateTextureMaxAnisotropyValue()
623 return context->getExtensions().textureRectangle; in ValidTextureTarget()
627 context->getExtensions().texture3DOES); in ValidTextureTarget()
634 context->getExtensions().textureMultisample); in ValidTextureTarget()
636 return context->getExtensions().textureStorageMultisample2DArrayOES; in ValidTextureTarget()
640 context->getExtensions().textureCubeMapArrayAny()); in ValidTextureTarget()
643 return context->getExtensions().webglVideoTexture; in ValidTextureTarget()
647 context->getExtensions().textureBufferAny()); in ValidTextureTarget()
663 return context->getExtensions().textureRectangle; in ValidTexture2DTarget()
680 context->getExtensions().textureCubeMapArrayAny()); in ValidTexture3DTarget()
692 (context->getExtensions().eglImageExternalOES || in ValidTextureExternalTarget()
693 context->getExtensions().eglStreamConsumerExternalNV); in ValidTextureExternalTarget()
719 return context->getExtensions().textureRectangle; in ValidTexture2DDestinationTarget()
721 return context->getExtensions().webglVideoTexture; in ValidTexture2DDestinationTarget()
733 if ((!context->getExtensions().geometryShaderAny() || in ValidateTransformFeedbackPrimitiveMode()
734 !context->getExtensions().tessellationShaderEXT) && in ValidateTransformFeedbackPrimitiveMode()
902 context->getExtensions().textureCubeMapArrayAny()); in ValidTexLevelDestinationTarget()
904 return context->getExtensions().textureRectangle; in ValidTexLevelDestinationTarget()
906 return context->getExtensions().textureStorageMultisample2DArrayOES; in ValidTexLevelDestinationTarget()
909 context->getExtensions().textureBufferAny()); in ValidTexLevelDestinationTarget()
928 return (context->getExtensions().framebufferBlitAny() || in ValidFramebufferTarget()
989 context->getExtensions().textureNPOTOES || context->getClientVersion() >= Version(3, 0); in ValidImageSizeParameters()
1159 if (context->getExtensions().webglCompatibility && in ValidImageDataSize()
1193 context->getExtensions().occlusionQueryBoolean; in ValidQueryType()
1197 return context->getExtensions().disjointTimerQuery; in ValidQueryType()
1199 return context->getExtensions().syncQuery; in ValidQueryType()
1202 context->getExtensions().geometryShaderAny(); in ValidQueryType()
1215 ASSERT(context->getExtensions().webglCompatibility); in ValidateWebGLVertexAttribPointer()
1310 if (context->getClientMajorVersion() < 3 && !context->getExtensions().drawBuffers) in ValidateAttachmentTarget()
1334 if (!context->getExtensions().webglCompatibility && in ValidateAttachmentTarget()
1506 const Extensions &extensions = context->getExtensions(); in ValidateBlitFramebufferParameters()
1577 if (context->getExtensions().webglCompatibility && in ValidateBlitFramebufferParameters()
1629 if (context->getExtensions().webglCompatibility && *readBuffer == *drawBuffer) in ValidateBlitFramebufferParameters()
1834 format.filterSupport(context->getClientVersion(), context->getExtensions()) && in ValidateGenerateMipmapBase()
1835 format.textureAttachmentSupport(context->getClientVersion(), context->getExtensions()); in ValidateGenerateMipmapBase()
1859 if (context->getClientVersion() < Version(3, 0) && !context->getExtensions().textureNPOTOES && in ValidateGenerateMipmapBase()
1876 if (context->getExtensions().webglCompatibility && in ValidateGenerateMipmapBase()
1989 if (!context->getExtensions().occlusionQueryBoolean && in ValidateGenQueriesEXT()
1990 !context->getExtensions().disjointTimerQuery) in ValidateGenQueriesEXT()
2001 if (!context->getExtensions().occlusionQueryBoolean && in ValidateDeleteQueriesEXT()
2002 !context->getExtensions().disjointTimerQuery) in ValidateDeleteQueriesEXT()
2013 if (!context->getExtensions().occlusionQueryBoolean && in ValidateIsQueryEXT()
2014 !context->getExtensions().disjointTimerQuery) in ValidateIsQueryEXT()
2079 if (!context->getExtensions().occlusionQueryBoolean && in ValidateBeginQueryEXT()
2080 !context->getExtensions().disjointTimerQuery && !context->getExtensions().syncQuery) in ValidateBeginQueryEXT()
2110 if (!context->getExtensions().occlusionQueryBoolean && in ValidateEndQueryEXT()
2111 !context->getExtensions().disjointTimerQuery && !context->getExtensions().syncQuery) in ValidateEndQueryEXT()
2122 if (!context->getExtensions().disjointTimerQuery) in ValidateQueryCounterEXT()
2177 if (!context->getExtensions().disjointTimerQuery || in ValidateGetQueryivBase()
2203 if (!context->getExtensions().occlusionQueryBoolean && in ValidateGetQueryivEXT()
2204 !context->getExtensions().disjointTimerQuery && !context->getExtensions().syncQuery) in ValidateGetQueryivEXT()
2301 if (!context->getExtensions().disjointTimerQuery) in ValidateGetQueryObjectivEXT()
2316 if (!context->getExtensions().disjointTimerQuery) in ValidateGetQueryObjectivRobustANGLE()
2349 if (!context->getExtensions().disjointTimerQuery && in ValidateGetQueryObjectuivEXT()
2350 !context->getExtensions().occlusionQueryBoolean && !context->getExtensions().syncQuery) in ValidateGetQueryObjectuivEXT()
2365 if (!context->getExtensions().disjointTimerQuery && in ValidateGetQueryObjectuivRobustANGLE()
2366 !context->getExtensions().occlusionQueryBoolean && !context->getExtensions().syncQuery) in ValidateGetQueryObjectuivRobustANGLE()
2399 if (!context->getExtensions().disjointTimerQuery) in ValidateGetQueryObjecti64vEXT()
2414 if (!context->getExtensions().disjointTimerQuery) in ValidateGetQueryObjecti64vRobustANGLE()
2447 if (!context->getExtensions().disjointTimerQuery) in ValidateGetQueryObjectui64vEXT()
2462 if (!context->getExtensions().disjointTimerQuery) in ValidateGetQueryObjectui64vRobustANGLE()
2672 if (!context->getExtensions().textureStorageMultisample2DArrayOES) in ValidateStateQuery()
2679 if (!context->getExtensions().textureRectangle) in ValidateStateQuery()
2686 if (!context->getExtensions().eglStreamConsumerExternalNV && in ValidateStateQuery()
2687 !context->getExtensions().eglImageExternalOES) in ValidateStateQuery()
2698 !context->getExtensions().textureBufferAny()) in ValidateStateQuery()
3622 if (!formatInfo.textureSupport(context->getClientVersion(), context->getExtensions())) in ValidateCopyTexImageParametersBase()
3643 if (context->getExtensions().webglCompatibility) in ValidateCopyTexImageParametersBase()
3717 const Extensions &extensions = context->getExtensions(); in ValidateDrawStates()
3990 const Extensions &extensions = context->getExtensions(); in RecordDrawModeError()
4070 if (!context->getExtensions().instancedArraysANGLE) in ValidateDrawArraysInstancedANGLE()
4090 if (!context->getExtensions().instancedArraysEXT) in ValidateDrawArraysInstancedEXT()
4112 if (!context->getExtensions().geometryShaderAny() && context->getClientVersion() < ES_3_2) in ValidateDrawElementsStates()
4126 if (context->getExtensions().webglCompatibility) in ValidateDrawElementsStates()
4147 context->getExtensions().webglCompatibility) in ValidateDrawElementsStates()
4163 if (!context->getExtensions().instancedArraysANGLE) in ValidateDrawElementsInstancedANGLE()
4184 if (!context->getExtensions().instancedArraysEXT) in ValidateDrawElementsInstancedEXT()
4467 if (!context->getExtensions().debugMarker) in ValidateInsertEventMarkerEXT()
4491 if (!context->getExtensions().debugMarker) in ValidatePushGroupMarkerEXT()
4517 if (!context->getExtensions().eglImageOES && !context->getExtensions().eglImageExternalOES) in ValidateEGLImageTargetTexture2DOES()
4526 if (!context->getExtensions().eglImageOES) in ValidateEGLImageTargetTexture2DOES()
4533 if (!context->getExtensions().eglImageArray) in ValidateEGLImageTargetTexture2DOES()
4540 if (!context->getExtensions().eglImageExternalOES) in ValidateEGLImageTargetTexture2DOES()
4593 if (!context->getExtensions().eglImageOES) in ValidateEGLImageTargetRenderbufferStorageOES()
5010 if (!context->getExtensions().robustClientMemory) in ValidateRobustEntryPoint()
5061 !(context->getExtensions().multiview || context->getExtensions().multiview2)) in ValidateGetFramebufferAttachmentParameterivBase()
5069 if (!context->getExtensions().multisampledRenderToTexture) in ValidateGetFramebufferAttachmentParameterivBase()
5077 if (clientVersion < 3 && !context->getExtensions().sRGB) in ValidateGetFramebufferAttachmentParameterivBase()
5100 if (!context->getExtensions().geometryShaderAny() && in ValidateGetFramebufferAttachmentParameterivBase()
5140 if ((clientVersion < 3 && !context->getExtensions().drawBuffers) || in ValidateGetFramebufferAttachmentParameterivBase()
5406 if (context->getExtensions().parallelShaderCompile && pname == GL_COMPLETION_STATUS_KHR) in ValidateGetProgramivBase()
5442 !context->getExtensions().getProgramBinaryOES) in ValidateGetProgramivBase()
5498 if (!context->getExtensions().geometryShaderAny() && in ValidateGetProgramivBase()
5523 if (!context->getExtensions().parallelShaderCompile) in ValidateGetProgramivBase()
5534 if (!context->getExtensions().tessellationShaderEXT && in ValidateGetProgramivBase()
6169 const Extensions &extensions = context->getExtensions(); in ValidateGetBufferParameterBase()
6214 if (!context->getExtensions().memorySize) in ValidateGetBufferParameterBase()
6222 if (!context->getExtensions().robustResourceInitialization) in ValidateGetBufferParameterBase()
6281 if (!context->getExtensions().framebufferMultisample) in ValidateGetRenderbufferParameterivBase()
6289 if (!context->getExtensions().memorySize) in ValidateGetRenderbufferParameterivBase()
6298 if (!context->getExtensions().getImageANGLE) in ValidateGetRenderbufferParameterivBase()
6306 if (!context->getExtensions().robustResourceInitialization) in ValidateGetRenderbufferParameterivBase()
6340 if (context->getExtensions().parallelShaderCompile && pname == GL_COMPLETION_STATUS_KHR) in ValidateGetShaderivBase()
6367 if (!context->getExtensions().translatedShaderSource) in ValidateGetShaderivBase()
6375 if (!context->getExtensions().parallelShaderCompile) in ValidateGetShaderivBase()
6433 if (!context->getExtensions().textureUsage) in ValidateGetTexParameterBase()
6448 if (context->getClientMajorVersion() < 3 && !context->getExtensions().textureStorage) in ValidateGetTexParameterBase()
6474 if (context->getClientMajorVersion() < 3 && !context->getExtensions().shadowSamplersEXT) in ValidateGetTexParameterBase()
6482 if (!context->getExtensions().textureSRGBDecode) in ValidateGetTexParameterBase()
6510 if (!context->getExtensions().memorySize) in ValidateGetTexParameterBase()
6518 if (!context->getExtensions().textureBorderClampOES && in ValidateGetTexParameterBase()
6527 if (!context->getExtensions().textureExternalUpdateANGLE) in ValidateGetTexParameterBase()
6536 if (!context->getExtensions().getImageANGLE) in ValidateGetTexParameterBase()
6544 if (!context->getExtensions().robustResourceInitialization) in ValidateGetTexParameterBase()
6614 !context->getExtensions().instancedArraysAny()) in ValidateGetVertexAttribBase()
6678 if (context->getExtensions().webglCompatibility && pixelPackBuffer != nullptr && in ValidatePixelPack()
6732 if (context->getExtensions().webglCompatibility) in ValidatePixelPack()
6838 if (context->getExtensions().webglCompatibility) in ValidateReadPixelsBase()
6995 !(pname == GL_TEXTURE_WRAP_R && context->getExtensions().texture3DOES)) in ValidateTexParameterBase()
7001 !context->getExtensions().eglImageExternalEssl3OES) in ValidateTexParameterBase()
7006 if (target == TextureType::VideoImage && !context->getExtensions().webglVideoTexture) in ValidateTexParameterBase()
7051 !context->getExtensions().eglImageExternalWrapModesEXT) || in ValidateTexParameterBase()
7079 if (!context->getExtensions().textureUsage) in ValidateTexParameterBase()
7234 if (!context->getExtensions().textureBorderClampOES && in ValidateTexParameterBase()
7248 if (!context->getExtensions().robustResourceInitialization) in ValidateTexParameterBase()
7446 if (!context->getExtensions().textureBorderClampOES && in ValidateSamplerParameterBase()
7529 if (!context->getExtensions().textureSRGBDecode) in ValidateGetSamplerParameterBase()
7537 if (!context->getExtensions().textureBorderClampOES && in ValidateGetSamplerParameterBase()
7589 !context->getExtensions().textureMultisample) in ValidateGetInternalFormativBase()
7597 if (!context->getExtensions().textureStorageMultisample2DArrayOES) in ValidateGetInternalFormativBase()
7799 if (!context->getExtensions().robustResourceInitialization) in ValidateGetTexLevelParameterBase()
7811 !context->getExtensions().textureBufferAny()) in ValidateGetTexLevelParameterBase()
7886 if (!context->getExtensions().loseContextCHROMIUM) in ValidateLoseContextCHROMIUM()
7928 if (!context->getExtensions().textureExternalUpdateANGLE) in ValidateTexImage2DExternalANGLE()
7965 if (!context->getExtensions().textureExternalUpdateANGLE) in ValidateInvalidateTextureANGLE()