Lines Matching refs:glesMajorVersion

333     int glesMajorVersion = ctx->majorVersion();  in bufferTarget()  local
346 return glesMajorVersion >= 3; in bufferTarget()
352 return glesMajorVersion >= 3 && glesMinorVersion >= 1; in bufferTarget()
361 int glesMajorVersion = ctx->majorVersion(); in bufferParam() local
370 return glesMajorVersion >= 3; in bufferParam()
377 int glesMajorVersion = ctx->majorVersion(); in bufferUsage() local
389 return glesMajorVersion >= 3; in bufferUsage()
395 int glesMajorVersion = ctx->majorVersion(); in pixelStoreParam() local
408 return glesMajorVersion >= 3; in pixelStoreParam()
434 int glesMajorVersion = ctx->majorVersion(); in rboFormat() local
467 return glesMajorVersion >= 3; in rboFormat()
483 return glesMajorVersion >= 3 && ctx->hasExtension("GL_EXT_color_buffer_float"); in rboFormat()
485 return glesMajorVersion >= 3 && ctx->hasExtension("GL_EXT_color_buffer_half_float"); in rboFormat()
509 int glesMajorVersion = ctx->majorVersion(); in framebufferTarget() local
515 return glesMajorVersion >= 3; in framebufferTarget()
521 int glesMajorVersion = ctx->majorVersion(); in framebufferAttachment() local
543 return glesMajorVersion >= 3; in framebufferAttachment()
598 int glesMajorVersion = ctx->majorVersion(); in vertexAttribType() local
618 retval = glesMajorVersion >= 3; in vertexAttribType()
658 int glesMajorVersion = ctx->majorVersion(); in textureTarget() local
673 return glesMajorVersion >= 3; in textureTarget()
675 return glesMajorVersion >= 3 && glesMinorVersion >= 1; in textureTarget()
685 int glesMajorVersion = ctx->majorVersion(); in textureParams() local
707 return glesMajorVersion >= 3; in textureParams()
709 return glesMajorVersion >= 3 && glesMinorVersion >= 1; in textureParams()
864 int glesMajorVersion = ctx->majorVersion(); in supportedCompressedFormat() local
869 return glesMajorVersion > 1 && ctx->hasExtension("GL_KHR_texture_compression_astc_ldr"); \ in supportedCompressedFormat()
873 return glesMajorVersion > 1 && ctx->hasExtension("GL_EXT_texture_compression_bptc"); \ in supportedCompressedFormat()
877 return glesMajorVersion > 1 && ctx->hasExtension("GL_EXT_texture_compression_s3tc"); \ in supportedCompressedFormat()
881 …return glesMajorVersion > 1 && ctx->hasExtension("GL_EXT_texture_compression_s3tc") && ctx->hasExt… in supportedCompressedFormat()
885 return glesMajorVersion > 1 && ctx->hasExtension("GL_EXT_texture_compression_rgtc"); \ in supportedCompressedFormat()
890 if (glesMajorVersion < maj) return false; \ in supportedCompressedFormat()
1014 int glesMajorVersion = ctx->majorVersion(); in colorRenderableFormat() local
1052 return glesMajorVersion >= 3 && ctx->hasExtension("GL_EXT_color_buffer_float"); in colorRenderableFormat()
1055 return glesMajorVersion >= 3 && ctx->hasExtension("GL_EXT_color_buffer_half_float"); in colorRenderableFormat()
1139 int glesMajorVersion = ctx->majorVersion(); in pixelType() local
1140 if (glesMajorVersion < 3) { in pixelType()
1163 return glesMajorVersion >= 3; in pixelType()
1172 int glesMajorVersion = ctx->majorVersion(); in pixelFormat() local
1173 if (glesMajorVersion < 3) { in pixelFormat()
1197 return glesMajorVersion >= 3; in pixelFormat()
1232 int glesMajorVersion = ctx->majorVersion(); in pixelSizedFormat() local
1237 if (glesMajorVersion < 3) { in pixelSizedFormat()
1309 int glesMajorVersion = ctx->majorVersion(); in shaderType() local
1316 return glesMajorVersion >= 3 && glesMinorVersion >= 1; in shaderType()
1322 int glesMajorVersion = ctx->majorVersion(); in internalFormatTarget() local
1328 return glesMajorVersion >= 3 && glesMinorVersion >= 1; in internalFormatTarget()