Home | History | Annotate | Download | only in main

Lines Matching refs:texture

51  * Check if a coordinate wrap mode is supported for the texture target.
118 * Get current texture object for given target.
130 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) {
150 * Get current texture object for given name.
156 get_texobj_by_name(struct gl_context *ctx, GLuint texture, const char *name)
160 texObj = _mesa_lookup_texture_err(ctx, texture, name);
224 * This is called just prior to changing any texture object state which
225 * will not affect texture completeness.
235 * This is called just prior to changing any texture object state which
236 * could affect texture completeness (texture base level, max level).
238 * state flag and then mark the texture object as 'incomplete' so that any
239 * per-texture derived state gets recomputed.
264 * Set an integer-valued texture parameter
279 * functions defined in terms of these, if the texture object to be
280 * modified is referenced by one or more texture or image handles."
283 "glTex%sParameter(immutable texture)", suffix);
379 /* Section 8.10 (Texture Parameters) of the OpenGL 4.5 Core Profile spec
387 * Note that section 3.8.8 (Texture Parameters) of the OpenGL 3.3 Core
433 * passed the call to TexStorage* for the texture object.
660 * Set a float-valued texture parameter
675 * functions defined in terms of these, if the texture object to be
676 * modified is referenced by one or more texture or image handles."
679 "glTex%sParameter(immutable texture)", suffix);
1034 "glTextureParameterIiv(immutable texture)");
1039 _mesa_error(ctx, GL_INVALID_ENUM, "glTextureParameterIiv(texture)");
1062 "glTextureParameterIuiv(immutable texture)");
1067 _mesa_error(ctx, GL_INVALID_ENUM, "glTextureParameterIuiv(texture)");
1136 * integer-valued texture border color (for integer-valued textures).
1154 * uint-valued texture border color (for integer-valued textures).
1172 _mesa_TextureParameterfv(GLuint texture, GLenum pname, const GLfloat *params)
1177 texObj = get_texobj_by_name(ctx, texture, "glTextureParameterfv");
1185 _mesa_TextureParameterf(GLuint texture, GLenum pname, GLfloat param)
1190 texObj = get_texobj_by_name(ctx, texture, "glTextureParameterf");
1198 _mesa_TextureParameteri(GLuint texture, GLenum pname, GLint param)
1203 texObj = get_texobj_by_name(ctx, texture, "glTextureParameteri");
1211 _mesa_TextureParameteriv(GLuint texture, GLenum pname,
1217 texObj = get_texobj_by_name(ctx, texture, "glTextureParameteriv");
1226 _mesa_TextureParameterIiv(GLuint texture, GLenum pname, const GLint *params)
1231 texObj = get_texobj_by_name(ctx, texture, "glTextureParameterIiv");
1239 _mesa_TextureParameterIuiv(GLuint texture, GLenum pname, const GLuint *params)
1244 texObj = get_texobj_by_name(ctx, texture, "glTextureParameterIuiv");
1277 * "(7) Do buffer textures support texture parameters (TexParameter) or
1288 * "target may also be TEXTURE_BUFFER, indicating the texture buffer."
1322 * (30.10.2014) Section 8.11 Texture Queries says:
1323 * "For GetTextureLevelParameter* only, texture may also be a cube
1324 * map texture object. In this case the query is always performed
1350 /* In case of undefined texture image return the default values.
1535 * Handle a glGetTexLevelParamteriv() call for a texture buffer.
1552 /* undefined texture buffer object */
1707 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) {
1710 "current unit >= max combined texture units)", suffix);
1773 _mesa_GetTextureLevelParameterfv(GLuint texture, GLint level,
1780 texObj = _mesa_lookup_texture_err(ctx, texture,
1795 _mesa_GetTextureLevelParameteriv(GLuint texture, GLint level,
1801 texObj = _mesa_lookup_texture_err(ctx, texture,
2366 _mesa_GetTextureParameterfv(GLuint texture, GLenum pname, GLfloat *params)
2371 obj = get_texobj_by_name(ctx, texture, "glGetTextureParameterfv");
2379 _mesa_GetTextureParameteriv(GLuint texture, GLenum pname, GLint *params)
2384 obj = get_texobj_by_name(ctx, texture, "glGetTextureParameteriv");
2392 _mesa_GetTextureParameterIiv(GLuint texture, GLenum pname, GLint *params)
2397 texObj = get_texobj_by_name(ctx, texture, "glGetTextureParameterIiv");
2406 _mesa_GetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint *params)
2411 texObj = get_texobj_by_name(ctx, texture, "glGetTextureParameterIuiv");