Lines Matching refs:texrec

1047     TextureRec* texrec = getTextureRec(texture);  in bindTexture()  local
1048 if (!texrec) { in bindTexture()
1049 texrec = addTextureRec(texture, target); in bindTexture()
1052 if (texture && target != texrec->target && in bindTexture()
1054 texrec->target != GL_TEXTURE_EXTERNAL_OES)) { in bindTexture()
1055 …ERATION: target 0x%x texrectarget 0x%x texture %u", __FUNCTION__, target, texrec->target, texture); in bindTexture()
1090 TextureRec* texrec = getTextureRec(texture); in setBoundEGLImage() local
1091 if (!texrec) return; in setBoundEGLImage()
1092 texrec->boundEGLImage = true; in setBoundEGLImage()
1121 TextureRec* texrec = getTextureRec(texture); in setBoundTextureInternalFormat() local
1122 if (!texrec) return; in setBoundTextureInternalFormat()
1123 texrec->internalformat = internalformat; in setBoundTextureInternalFormat()
1128 TextureRec* texrec = getTextureRec(texture); in setBoundTextureFormat() local
1129 if (!texrec) return; in setBoundTextureFormat()
1130 texrec->format = format; in setBoundTextureFormat()
1135 TextureRec* texrec = getTextureRec(texture); in setBoundTextureType() local
1136 if (!texrec) return; in setBoundTextureType()
1137 texrec->type = type; in setBoundTextureType()
1142 TextureRec* texrec = getTextureRec(texture); in setBoundTextureDims() local
1143 if (!texrec) { in setBoundTextureDims()
1154 texrec->dims->widths[curr_level] = curr_width; in setBoundTextureDims()
1155 texrec->dims->heights[curr_level] = curr_height; in setBoundTextureDims()
1156 texrec->dims->depths[curr_level] = curr_depth; in setBoundTextureDims()
1172 texrec->dims->widths[level] = width; in setBoundTextureDims()
1173 texrec->dims->heights[level] = height; in setBoundTextureDims()
1174 texrec->dims->depths[level] = depth; in setBoundTextureDims()
1180 TextureRec* texrec = getTextureRec(texture); in setBoundTextureSamples() local
1181 if (!texrec) return; in setBoundTextureSamples()
1182 texrec->multisamples = samples; in setBoundTextureSamples()
1187 TextureRec* texrec = getTextureRec(texture); in setBoundTextureImmutableFormat() local
1188 if (!texrec) return; in setBoundTextureImmutableFormat()
1189 texrec->immutable = true; in setBoundTextureImmutableFormat()
1194 TextureRec* texrec = getTextureRec(texture); in isBoundTextureImmutableFormat() local
1195 if (!texrec) return false; in isBoundTextureImmutableFormat()
1196 return texrec->immutable; in isBoundTextureImmutableFormat()
1292 TextureRec* texrec; in deleteTextures() local
1294 texrec = getTextureRec(*texture); in deleteTextures()
1295 if (texrec && texrec->dims) { in deleteTextures()
1296 delete texrec->dims; in deleteTextures()
1298 if (texrec) { in deleteTextures()
1300 delete texrec; in deleteTextures()
1433 TextureRec* texrec = getTextureRec(tex_name); in queryTexInternalFormat() local
1434 if (!texrec) return -1; in queryTexInternalFormat()
1435 return texrec->internalformat; in queryTexInternalFormat()
1439 TextureRec* texrec = getTextureRec(tex_name); in queryTexWidth() local
1440 if (!texrec) { in queryTexWidth()
1443 return texrec->dims->widths[level]; in queryTexWidth()
1447 TextureRec* texrec = getTextureRec(tex_name); in queryTexHeight() local
1448 if (!texrec) return 0; in queryTexHeight()
1449 return texrec->dims->heights[level]; in queryTexHeight()
1453 TextureRec* texrec = getTextureRec(tex_name); in queryTexDepth() local
1454 if (!texrec) return 0; in queryTexDepth()
1455 return texrec->dims->depths[level]; in queryTexDepth()
1459 TextureRec* texrec = getTextureRec(tex_name); in queryTexEGLImageBacked() local
1460 if (!texrec) return false; in queryTexEGLImageBacked()
1461 return texrec->boundEGLImage; in queryTexEGLImageBacked()
1465 TextureRec* texrec = getTextureRec(tex_name); in queryTexFormat() local
1466 if (!texrec) return -1; in queryTexFormat()
1467 return texrec->format; in queryTexFormat()
1471 TextureRec* texrec = getTextureRec(tex_name); in queryTexType() local
1472 if (!texrec) return -1; in queryTexType()
1473 return texrec->type; in queryTexType()
1477 TextureRec* texrec = getTextureRec(tex_name); in queryTexSamples() local
1478 if (!texrec) return 0; in queryTexSamples()
1479 return texrec->multisamples; in queryTexSamples()
1483 TextureRec* texrec = getTextureRec(tex_name); in queryTexLastBoundTarget() local
1484 if (!texrec) return GL_NONE; in queryTexLastBoundTarget()
1485 return texrec->target; in queryTexLastBoundTarget()