Searched refs:texObj (Results 1 - 25 of 159) sorted by relevance

1234567

/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dgenmipmap.c113 struct gl_texture_object *texObj, GLenum target,
120 if (texObj->Attrib.BaseLevel >= texObj->Attrib.MaxLevel) {
125 if (caller && texObj->Target == GL_TEXTURE_CUBE_MAP &&
126 !_mesa_cube_complete(texObj)) {
132 _mesa_lock_texture(ctx, texObj);
134 texObj->External = GL_FALSE;
136 srcImage = _mesa_select_tex_image(texObj, target, texObj->Attrib.BaseLevel);
139 _mesa_unlock_texture(ctx, texObj);
112 generate_texture_mipmap(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,const char * caller) argument
197 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); local in function:_mesa_GenerateMipmap_no_error
204 struct gl_texture_object *texObj; local in function:_mesa_GenerateMipmap
228 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); local in function:_mesa_GenerateTextureMipmap_no_error
233 validate_params_and_generate_mipmap(struct gl_texture_object * texObj,const char * caller) argument
253 struct gl_texture_object *texObj; local in function:_mesa_GenerateTextureMipmap
263 struct gl_texture_object *texObj; local in function:_mesa_GenerateTextureMipmapEXT
276 struct gl_texture_object *texObj; local in function:_mesa_GenerateMultiTexMipmapEXT
[all...]
H A Dtexparam.c153 struct gl_texture_object *texObj; local in function:get_texobj_by_name
155 texObj = _mesa_lookup_texture_err(ctx, texture, name);
156 if (!texObj)
159 if (!is_texparameteri_target_valid(texObj->Target)) {
164 return texObj;
226 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) argument
229 _mesa_dirty_texobj(ctx, texObj);
259 struct gl_texture_object *texObj,
264 if (texObj->HandleAllocated) {
279 if (!_mesa_target_allows_setting_sampler_parameters(texObj
258 set_tex_parameteri(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLint * params,bool dsa) argument
701 set_tex_parameterf(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLfloat * params,bool dsa) argument
861 _mesa_texture_parameterf(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,GLfloat param,bool dsa) argument
919 _mesa_texture_parameterfv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLfloat * params,bool dsa) argument
987 _mesa_texture_parameteri(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,GLint param,bool dsa) argument
1031 _mesa_texture_parameteriv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLint * params,bool dsa) argument
1073 _mesa_texture_parameterIiv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLint * params,bool dsa) argument
1102 _mesa_texture_parameterIuiv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLuint * params,bool dsa) argument
1134 struct gl_texture_object *texObj; local in function:_mesa_TexParameterf
1150 struct gl_texture_object *texObj; local in function:_mesa_TexParameterfv
1166 struct gl_texture_object *texObj; local in function:_mesa_TexParameteri
1182 struct gl_texture_object *texObj; local in function:_mesa_TexParameteriv
1203 struct gl_texture_object *texObj; local in function:_mesa_TexParameterIiv
1224 struct gl_texture_object *texObj; local in function:_mesa_TexParameterIuiv
1240 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterfvEXT
1259 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterfv
1272 struct gl_texture_object *texObj; local in function:_mesa_MultiTexParameterfvEXT
1293 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterfEXT
1313 struct gl_texture_object *texObj; local in function:_mesa_MultiTexParameterfEXT
1334 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterf
1347 struct gl_texture_object *texObj; local in function:_mesa_TextureParameteriEXT
1367 struct gl_texture_object *texObj; local in function:_mesa_MultiTexParameteriEXT
1388 struct gl_texture_object *texObj; local in function:_mesa_TextureParameteri
1402 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterivEXT
1422 struct gl_texture_object *texObj; local in function:_mesa_MultiTexParameterivEXT
1444 struct gl_texture_object *texObj; local in function:_mesa_TextureParameteriv
1458 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterIiv
1472 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterIivEXT
1487 struct gl_texture_object *texObj; local in function:_mesa_MultiTexParameterIivEXT
1503 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterIuiv
1517 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterIuivEXT
1532 struct gl_texture_object *texObj; local in function:_mesa_MultiTexParameterIuivEXT
1631 get_tex_level_parameter_image(struct gl_context * ctx,const struct gl_texture_object * texObj,GLenum target,GLint level,GLenum pname,GLint * params,bool dsa) argument
1837 get_tex_level_parameter_buffer(struct gl_context * ctx,const struct gl_texture_object * texObj,GLenum pname,GLint * params,bool dsa) argument
1996 get_tex_level_parameteriv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLenum pname,GLint * params,bool dsa) argument
2036 struct gl_texture_object *texObj; local in function:_mesa_GetTexLevelParameterfv
2057 struct gl_texture_object *texObj; local in function:_mesa_GetTexLevelParameteriv
2075 struct gl_texture_object *texObj; local in function:_mesa_GetTextureLevelParameterfv
2097 struct gl_texture_object *texObj; local in function:_mesa_GetTextureLevelParameterfvEXT
2119 struct gl_texture_object *texObj; local in function:_mesa_GetMultiTexLevelParameterfvEXT
2143 struct gl_texture_object *texObj; local in function:_mesa_GetTextureLevelParameteriv
2162 struct gl_texture_object *texObj; local in function:_mesa_GetTextureLevelParameterivEXT
2181 struct gl_texture_object *texObj; local in function:_mesa_GetMultiTexLevelParameterivEXT
2770 struct gl_texture_object *texObj; local in function:_mesa_GetTexParameterIiv
2788 struct gl_texture_object *texObj; local in function:_mesa_GetTexParameterIuiv
2804 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterfvEXT
2823 struct gl_texture_object *texObj; local in function:_mesa_GetMultiTexParameterfvEXT
2856 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterivEXT
2874 struct gl_texture_object *texObj; local in function:_mesa_GetMultiTexParameterivEXT
2907 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterIiv
2920 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterIivEXT
2936 struct gl_texture_object *texObj; local in function:_mesa_GetMultiTexParameterIivEXT
2952 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterIuiv
2966 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterIuivEXT
2981 struct gl_texture_object *texObj; local in function:_mesa_GetMultiTexParameterIuivEXT
[all...]
H A Dtexturebindless.c125 struct gl_texture_object *texObj = NULL; local in function:make_texture_handle_resident
140 _mesa_reference_texobj(&texObj, texHandleObj->texObj);
153 texObj = texHandleObj->texObj;
154 _mesa_reference_texobj(&texObj, NULL);
174 struct gl_texture_object *texObj = NULL; local in function:make_image_handle_resident
189 _mesa_reference_texobj(&texObj, imgHandleObj->imgObj.TexObj);
200 texObj = imgHandleObj->imgObj.TexObj;
201 _mesa_reference_texobj(&texObj, NUL
206 find_texhandleobj(struct gl_texture_object * texObj,struct gl_sampler_object * sampObj) argument
218 get_texture_handle(struct gl_context * ctx,struct gl_texture_object * texObj,struct gl_sampler_object * sampObj) argument
282 find_imghandleobj(struct gl_texture_object * texObj,GLint level,GLboolean layered,GLint layer,GLenum format) argument
297 get_image_handle(struct gl_context * ctx,struct gl_texture_object * texObj,GLint level,GLboolean layered,GLint layer,GLenum format) argument
412 _mesa_init_texture_handles(struct gl_texture_object * texObj) argument
419 _mesa_make_texture_handles_non_resident(struct gl_context * ctx,struct gl_texture_object * texObj) argument
442 _mesa_delete_texture_handles(struct gl_context * ctx,struct gl_texture_object * texObj) argument
485 struct gl_texture_object *texObj = (*texHandleObj)->texObj; local in function:_mesa_delete_sampler_handles
544 struct gl_texture_object *texObj; local in function:_mesa_GetTextureHandleARB_no_error
559 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetTextureHandleARB
612 struct gl_texture_object *texObj; local in function:_mesa_GetTextureSamplerHandleARB_no_error
630 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetTextureSamplerHandleARB
790 struct gl_texture_object *texObj; local in function:_mesa_GetImageHandleARB_no_error
806 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetImageHandleARB
[all...]
H A Dtexstorage.c127 struct gl_texture_object *texObj,
131 (texObj->Target == GL_TEXTURE_CUBE_MAP ||
132 texObj->Target == GL_PROXY_TEXTURE_CUBE_MAP)
133 ? GL_TEXTURE_CUBE_MAP_POSITIVE_X + face : texObj->Target;
134 return _mesa_get_tex_image(ctx, texObj, faceTarget, level);
141 struct gl_texture_object *texObj,
146 const GLenum target = texObj->Target;
155 get_tex_image(ctx, texObj, face, level);
181 struct gl_texture_object *texObj)
183 const GLenum target = texObj
126 get_tex_image(struct gl_context * ctx,struct gl_texture_object * texObj,GLuint face,GLuint level) argument
140 initialize_texture_fields(struct gl_context * ctx,struct gl_texture_object * texObj,GLint levels,GLsizei width,GLsizei height,GLsizei depth,GLenum internalFormat,mesa_format texFormat) argument
180 clear_texture_fields(struct gl_context * ctx,struct gl_texture_object * texObj) argument
208 update_fbo_texture(struct gl_context * ctx,struct gl_texture_object * texObj) argument
273 _mesa_AllocTextureStorage_sw(struct gl_context * ctx,struct gl_texture_object * texObj,GLsizei levels,GLsizei width,GLsizei height,GLsizei depth) argument
305 tex_storage_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLuint dims,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,bool dsa) argument
392 texture_storage(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLuint64 offset,bool dsa,bool no_error) argument
496 texture_storage_error(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,bool dsa) argument
508 texture_storage_no_error(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,bool dsa) argument
527 struct gl_texture_object *texObj; local in function:texstorage_error
570 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); local in function:texstorage_no_error
584 struct gl_texture_object *texObj; local in function:texturestorage_error
627 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); local in function:texturestorage_no_error
793 _mesa_texture_storage_memory(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLuint64 offset,bool dsa) argument
[all...]
H A Dmipmap.h36 struct gl_texture_object *texObj,
52 struct gl_texture_object *texObj,
57 struct gl_texture_object *texObj);
H A Dtexobj.h103 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument
108 (void) texObj;
112 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument
114 (void) texObj;
122 _mesa_is_texture_complete(const struct gl_texture_object *texObj, argument
126 struct gl_texture_image *img = texObj->Image[0][texObj->Attrib.BaseLevel];
148 (texObj->_IsIntegerFormat ||
149 (texObj->StencilSampling &&
159 if (texObj
[all...]
H A Dshaderimage.c561 set_image_binding(struct gl_image_unit *u, struct gl_texture_object *texObj, argument
570 if (texObj && _mesa_tex_target_is_layered(texObj->Target)) {
579 _mesa_reference_texobj(&u->TexObj, texObj);
583 bind_image_texture(struct gl_context *ctx, struct gl_texture_object *texObj, argument
594 set_image_binding(u, texObj, level, layered, layer, access, format);
602 struct gl_texture_object *texObj = NULL; local in function:_mesa_BindImageTexture_no_error
607 texObj = _mesa_lookup_texture(ctx, texture);
609 bind_image_texture(ctx, texObj, unit, level, layered, layer, access, format);
617 struct gl_texture_object *texObj local in function:_mesa_BindImageTexture
662 struct gl_texture_object *texObj = NULL; local in function:_mesa_BindImageTextureEXT
718 struct gl_texture_object *texObj = u->TexObj; local in function:bind_image_textures
[all...]
H A Dteximage.c361 * \param texObj texture unit.
368 _mesa_select_tex_image(const struct gl_texture_object *texObj, argument
373 assert(texObj);
377 return texObj->Image[face][level];
387 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, argument
392 if (!texObj)
395 texImage = _mesa_select_tex_image(texObj, target, level);
403 set_tex_image(texObj, target, level, texImage);
639 _mesa_get_texture_layers(const struct gl_texture_object *texObj, GLint level) argument
643 switch (texObj
1636 mutable_tex_object(struct gl_texture_object * texObj) argument
1823 texture_error_check(struct gl_context * ctx,GLuint dimensions,GLenum target,struct gl_texture_object * texObj,GLint level,GLint internalFormat,GLenum format,GLenum type,GLint width,GLint height,GLint depth,GLint border,const GLvoid * pixels) argument
2006 compressed_texture_error_check(struct gl_context * ctx,GLint dimensions,GLenum target,struct gl_texture_object * texObj,GLint level,GLenum internalFormat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLsizei imageSize,const GLvoid * data) argument
2164 texsubimage_error_check(struct gl_context * ctx,GLuint dimensions,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint width,GLint height,GLint depth,GLenum format,GLenum type,const GLvoid * pixels,const char * callerName) argument
2288 copytexture_error_check(struct gl_context * ctx,GLuint dimensions,GLenum target,struct gl_texture_object * texObj,GLint level,GLint internalFormat,GLint border) argument
2568 copytexsubimage_error_check(struct gl_context * ctx,GLuint dimensions,const struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint width,GLint height,const char * caller) argument
2692 struct gl_texture_object *texObj; member in struct:cb_info
2706 const struct gl_texture_object *texObj = info->texObj; local in function:check_rtt_cb
2742 _mesa_update_fbo_texture(struct gl_context * ctx,struct gl_texture_object * texObj,GLuint face,GLuint level) argument
2764 check_gen_mipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj,GLint level) argument
2830 _mesa_choose_texture_format(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLenum internalFormat,GLenum format,GLenum type) argument
2932 struct gl_texture_object *texObj; local in function:lookup_texture_ext_dsa
2977 teximage(struct gl_context * ctx,GLboolean compressed,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLenum format,GLenum type,GLsizei imageSize,const GLvoid * pixels,bool no_error) argument
3235 struct gl_texture_object* texObj; local in function:_mesa_TextureImage1DEXT
3251 struct gl_texture_object* texObj; local in function:_mesa_MultiTexImage1DEXT
3281 struct gl_texture_object* texObj; local in function:_mesa_TextureImage2DEXT
3298 struct gl_texture_object* texObj; local in function:_mesa_MultiTexImage2DEXT
3332 struct gl_texture_object* texObj; local in function:_mesa_TextureImage3DEXT
3350 struct gl_texture_object* texObj; local in function:_mesa_MultiTexImage3DEXT
3413 egl_image_target_texture(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLeglImageOES image,bool tex_storage,const char * caller) argument
3485 struct gl_texture_object *texObj; local in function:_mesa_EGLImageTargetTexture2DOES
3499 egl_image_target_texture_storage(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLeglImageOES image,const GLint * attrib_list,const char * caller) argument
3537 struct gl_texture_object *texObj; local in function:_mesa_EGLImageTargetTexStorageEXT
3555 struct gl_texture_object *texObj; local in function:_mesa_EGLImageTargetTextureStorageEXT
3579 texture_sub_image(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_texture_image * texImage,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const GLvoid * pixels) argument
3634 struct gl_texture_object *texObj; local in function:texsubimage_err
3678 struct gl_texture_object *texObj; local in function:texsubimage
3702 struct gl_texture_object *texObj; local in function:texturesubimage
3957 struct gl_texture_object *texObj; local in function:_mesa_MultiTexSubImage1DEXT
4018 struct gl_texture_object *texObj; local in function:_mesa_MultiTexSubImage2DEXT
4080 struct gl_texture_object *texObj; local in function:_mesa_MultiTexSubImage3DEXT
4211 copy_texture_sub_image(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height) argument
4258 copy_texture_sub_image_err(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height,const char * caller) argument
4289 copy_texture_sub_image_no_error(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height) argument
4311 copyteximage(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLint level,GLenum internalFormat,GLint x,GLint y,GLsizei width,GLsizei height,GLint border,bool no_error) argument
4480 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); local in function:copyteximage_err
4491 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); local in function:copyteximage_no_error
4516 struct gl_texture_object* texObj = local in function:_mesa_CopyTextureImage1DEXT
4533 struct gl_texture_object* texObj = local in function:_mesa_CopyMultiTexImage1DEXT
4564 struct gl_texture_object* texObj = local in function:_mesa_CopyTextureImage2DEXT
4581 struct gl_texture_object* texObj = local in function:_mesa_CopyMultiTexImage2DEXT
4618 struct gl_texture_object* texObj; local in function:_mesa_CopyTexSubImage1D
4645 struct gl_texture_object* texObj; local in function:_mesa_CopyTexSubImage2D
4672 struct gl_texture_object* texObj; local in function:_mesa_CopyTexSubImage3D
4698 struct gl_texture_object* texObj; local in function:_mesa_CopyTextureSubImage1D
4722 struct gl_texture_object* texObj; local in function:_mesa_CopyTextureSubImage1DEXT
4747 struct gl_texture_object* texObj; local in function:_mesa_CopyMultiTexSubImage1DEXT
4767 struct gl_texture_object* texObj; local in function:_mesa_CopyTextureSubImage2D
4792 struct gl_texture_object* texObj; local in function:_mesa_CopyTextureSubImage2DEXT
4817 struct gl_texture_object* texObj; local in function:_mesa_CopyMultiTexSubImage2DEXT
4836 struct gl_texture_object* texObj; local in function:_mesa_CopyTextureSubImage3D
4869 struct gl_texture_object* texObj; local in function:_mesa_CopyTextureSubImage3DEXT
4902 struct gl_texture_object* texObj; local in function:_mesa_CopyMultiTexSubImage3DEXT
4931 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); local in function:_mesa_CopyTexSubImage1D_no_error
4944 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); local in function:_mesa_CopyTexSubImage2D_no_error
4957 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); local in function:_mesa_CopyTexSubImage3D_no_error
4969 struct gl_texture_object* texObj = _mesa_lookup_texture(ctx, texture); local in function:_mesa_CopyTextureSubImage1D_no_error
4982 struct gl_texture_object* texObj = _mesa_lookup_texture(ctx, texture); local in function:_mesa_CopyTextureSubImage2D_no_error
4995 struct gl_texture_object* texObj = _mesa_lookup_texture(ctx, texture); local in function:_mesa_CopyTextureSubImage3D_no_error
5018 struct gl_texture_object *texObj = texImage->TexObject; local in function:check_clear_tex_image
5089 struct gl_texture_object *texObj; local in function:get_tex_obj_for_clear
5113 get_tex_images_for_clear(struct gl_context * ctx,const char * function,struct gl_texture_object * texObj,GLint level,struct gl_texture_image ** texImages) argument
5155 struct gl_texture_object *texObj; local in function:_mesa_ClearTexSubImage
5232 struct gl_texture_object *texObj; local in function:_mesa_ClearTexImage
5417 compressed_subtexture_error_check(struct gl_context * ctx,GLint dims,const struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const GLvoid * data,const char * callerName) argument
5526 struct gl_texture_object* texObj; local in function:_mesa_CompressedTextureImage1DEXT
5544 struct gl_texture_object* texObj; local in function:_mesa_CompressedMultiTexImage1DEXT
5576 struct gl_texture_object* texObj; local in function:_mesa_CompressedTextureImage2DEXT
5594 struct gl_texture_object* texObj; local in function:_mesa_CompressedMultiTexImage2DEXT
5626 struct gl_texture_object* texObj; local in function:_mesa_CompressedTextureImage3DEXT
5644 struct gl_texture_object* texObj; local in function:_mesa_CompressedMultiTexImage3DEXT
5699 compressed_texture_sub_image(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_texture_image * texImage,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const GLvoid * data) argument
5750 struct gl_texture_object *texObj = NULL; local in function:compressed_tex_sub_image
6338 texture_buffer_range(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum internalFormat,struct gl_buffer_object * bufObj,GLintptr offset,GLsizeiptr size,const char * caller) argument
6487 struct gl_texture_object *texObj; local in function:_mesa_TexBuffer
6519 struct gl_texture_object *texObj; local in function:_mesa_TexBufferRange
6566 struct gl_texture_object *texObj; local in function:_mesa_TextureBufferRangeEXT
6609 struct gl_texture_object *texObj; local in function:_mesa_TextureBuffer
6637 struct gl_texture_object *texObj; local in function:_mesa_TextureBufferEXT
6666 struct gl_texture_object *texObj; local in function:_mesa_MultiTexBufferEXT
6696 struct gl_texture_object *texObj; local in function:_mesa_TextureBufferRange
6772 texture_image_multisample(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLenum target,GLsizei samples,GLint internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations,GLboolean immutable,GLuint64 offset,const char * func) argument
6952 struct gl_texture_object *texObj; local in function:_mesa_TexImage2DMultisample
6972 struct gl_texture_object *texObj; local in function:_mesa_TexImage3DMultisample
7005 struct gl_texture_object *texObj; local in function:_mesa_TexStorage2DMultisample
7027 struct gl_texture_object *texObj; local in function:_mesa_TexStorage3DMultisample
7049 struct gl_texture_object *texObj; local in function:_mesa_TextureStorage2DMultisample
7072 struct gl_texture_object *texObj; local in function:_mesa_TextureStorage3DMultisample
7096 struct gl_texture_object *texObj; local in function:_mesa_TextureStorage2DMultisampleEXT
7119 struct gl_texture_object *texObj; local in function:_mesa_TextureStorage3DMultisampleEXT
7137 _mesa_texture_storage_ms_memory(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLenum target,GLsizei samples,GLenum internalFormat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedSampleLocations,GLuint64 offset,const char * func) argument
[all...]
H A Dtextureview.c306 struct gl_texture_object *texObj,
317 texObj->Target = target;
325 texImage = _mesa_get_tex_image(ctx, texObj, faceTarget, level);
344 texObj->Target = 0;
463 struct gl_texture_object *texObj,
469 texImage = _mesa_select_tex_image(texObj, target, 0);
488 texObj->Immutable = GL_TRUE;
489 texObj->External = GL_FALSE;
490 texObj->Attrib.ImmutableLevels = levels;
491 texObj
304 initialize_texture_fields(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj,GLint levels,GLsizei width,GLsizei height,GLsizei depth,GLenum internalFormat,mesa_format texFormat,GLuint numSamples,GLboolean fixedSampleLocations) argument
462 _mesa_set_texture_view_state(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLuint levels) argument
528 texture_view(struct gl_context * ctx,struct gl_texture_object * origTexObj,struct gl_texture_object * texObj,GLenum target,GLenum internalformat,GLuint minlevel,GLuint numlevels,GLuint minlayer,GLuint numlayers,bool no_error) argument
714 struct gl_texture_object *texObj; local in function:_mesa_TextureView_no_error
732 struct gl_texture_object *texObj; local in function:_mesa_TextureView
[all...]
H A Dtexgetimage.c894 select_tex_image(const struct gl_texture_object *texObj, GLenum target, argument
904 return _mesa_select_tex_image(texObj, target, level);
915 struct gl_texture_object *texObj,
996 texImage = select_tex_image(texObj, target, level, zoffset);
1211 struct gl_texture_object *texObj,
1220 if (texObj->Target == 0) {
1247 if (target == GL_TEXTURE_CUBE_MAP && !_mesa_cube_complete(texObj)) {
1263 struct gl_texture_object *texObj,
1271 assert(texObj);
1273 if (common_error_check(ctx, texObj, targe
914 dimensions_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,const char * caller) argument
1210 common_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLsizei bufSize,GLvoid * pixels,const char * caller) argument
1262 getteximage_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLsizei bufSize,GLvoid * pixels,const char * caller) argument
1304 gettexsubimage_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLsizei bufSize,GLvoid * pixels,const char * caller) argument
1347 get_texture_image_dims(const struct gl_texture_object * texObj,GLenum target,GLint level,GLsizei * width,GLsizei * height,GLsizei * depth) argument
1385 get_texture_image(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLint depth,GLenum format,GLenum type,GLvoid * pixels,const char * caller) argument
1449 _get_texture_image(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLenum format,GLenum type,GLsizei bufSize,GLvoid * pixels,const char * caller) argument
1521 struct gl_texture_object *texObj = local in function:_mesa_GetTextureImage
1544 struct gl_texture_object *texObj = local in function:_mesa_GetTextureImageEXT
1570 struct gl_texture_object *texObj = local in function:_mesa_GetMultiTexImageEXT
1609 struct gl_texture_object *texObj = local in function:_mesa_GetTextureSubImage
1666 getcompressedteximage_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLsizei bufSize,GLvoid * pixels,const char * caller) argument
1760 get_compressed_texture_image(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLint depth,GLvoid * pixels,const char * caller) argument
1832 struct gl_texture_object *texObj; local in function:_mesa_GetnCompressedTexImageARB
1862 struct gl_texture_object *texObj; local in function:_mesa_GetCompressedTexImage
1892 struct gl_texture_object* texObj; local in function:_mesa_GetCompressedTextureImageEXT
1919 struct gl_texture_object* texObj; local in function:_mesa_GetCompressedMultiTexImageEXT
1950 struct gl_texture_object *texObj = local in function:_mesa_GetCompressedTextureImage
1981 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetCompressedTextureSubImage
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dgenmipmap.c112 struct gl_texture_object *texObj, GLenum target,
120 if (texObj->BaseLevel >= texObj->MaxLevel) {
125 if (!no_error && texObj->Target == GL_TEXTURE_CUBE_MAP &&
126 !_mesa_cube_complete(texObj)) {
132 _mesa_lock_texture(ctx, texObj);
134 srcImage = _mesa_select_tex_image(texObj, target, texObj->BaseLevel);
137 _mesa_unlock_texture(ctx, texObj);
145 _mesa_unlock_texture(ctx, texObj);
111 generate_texture_mipmap(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,bool dsa,bool no_error) argument
172 generate_texture_mipmap_error(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,bool dsa) argument
180 generate_texture_mipmap_no_error(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,bool dsa) argument
197 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); local in function:_mesa_GenerateMipmap_no_error
204 struct gl_texture_object *texObj; local in function:_mesa_GenerateMipmap
228 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); local in function:_mesa_GenerateTextureMipmap_no_error
235 struct gl_texture_object *texObj; local in function:_mesa_GenerateTextureMipmap
[all...]
H A Dtexparam.c158 struct gl_texture_object *texObj; local in function:get_texobj_by_name
160 texObj = _mesa_lookup_texture_err(ctx, texture, name);
161 if (!texObj)
164 switch (texObj->Target) {
175 return texObj;
242 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) argument
245 _mesa_dirty_texobj(ctx, texObj);
269 struct gl_texture_object *texObj,
274 if (texObj->HandleAllocated) {
289 if (!_mesa_target_allows_setting_sampler_parameters(texObj
268 set_tex_parameteri(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLint * params,bool dsa) argument
664 set_tex_parameterf(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLfloat * params,bool dsa) argument
814 _mesa_texture_parameterf(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,GLfloat param,bool dsa) argument
871 _mesa_texture_parameterfv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLfloat * params,bool dsa) argument
938 _mesa_texture_parameteri(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,GLint param,bool dsa) argument
983 _mesa_texture_parameteriv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLint * params,bool dsa) argument
1026 _mesa_texture_parameterIiv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLint * params,bool dsa) argument
1054 _mesa_texture_parameterIuiv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum pname,const GLuint * params,bool dsa) argument
1085 struct gl_texture_object *texObj; local in function:_mesa_TexParameterf
1098 struct gl_texture_object *texObj; local in function:_mesa_TexParameterfv
1111 struct gl_texture_object *texObj; local in function:_mesa_TexParameteri
1124 struct gl_texture_object *texObj; local in function:_mesa_TexParameteriv
1142 struct gl_texture_object *texObj; local in function:_mesa_TexParameterIiv
1160 struct gl_texture_object *texObj; local in function:_mesa_TexParameterIuiv
1174 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterfv
1187 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterf
1200 struct gl_texture_object *texObj; local in function:_mesa_TextureParameteri
1214 struct gl_texture_object *texObj; local in function:_mesa_TextureParameteriv
1228 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterIiv
1241 struct gl_texture_object *texObj; local in function:_mesa_TextureParameterIuiv
1337 get_tex_level_parameter_image(struct gl_context * ctx,const struct gl_texture_object * texObj,GLenum target,GLint level,GLenum pname,GLint * params,bool dsa) argument
1543 get_tex_level_parameter_buffer(struct gl_context * ctx,const struct gl_texture_object * texObj,GLenum pname,GLint * params,bool dsa) argument
1702 get_tex_level_parameteriv(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLint level,GLenum pname,GLint * params,bool dsa) argument
1742 struct gl_texture_object *texObj; local in function:_mesa_GetTexLevelParameterfv
1763 struct gl_texture_object *texObj; local in function:_mesa_GetTexLevelParameteriv
1781 struct gl_texture_object *texObj; local in function:_mesa_GetTextureLevelParameterfv
1803 struct gl_texture_object *texObj; local in function:_mesa_GetTextureLevelParameteriv
2343 struct gl_texture_object *texObj; local in function:_mesa_GetTexParameterIiv
2358 struct gl_texture_object *texObj; local in function:_mesa_GetTexParameterIuiv
2398 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterIiv
2412 struct gl_texture_object *texObj; local in function:_mesa_GetTextureParameterIuiv
[all...]
H A Dtexturebindless.c124 struct gl_texture_object *texObj = NULL; local in function:make_texture_handle_resident
139 _mesa_reference_texobj(&texObj, texHandleObj->texObj);
152 texObj = texHandleObj->texObj;
153 _mesa_reference_texobj(&texObj, NULL);
173 struct gl_texture_object *texObj = NULL; local in function:make_image_handle_resident
188 _mesa_reference_texobj(&texObj, imgHandleObj->imgObj.TexObj);
199 texObj = imgHandleObj->imgObj.TexObj;
200 _mesa_reference_texobj(&texObj, NUL
205 find_texhandleobj(struct gl_texture_object * texObj,struct gl_sampler_object * sampObj) argument
217 get_texture_handle(struct gl_context * ctx,struct gl_texture_object * texObj,struct gl_sampler_object * sampObj) argument
281 find_imghandleobj(struct gl_texture_object * texObj,GLint level,GLboolean layered,GLint layer,GLenum format) argument
296 get_image_handle(struct gl_context * ctx,struct gl_texture_object * texObj,GLint level,GLboolean layered,GLint layer,GLenum format) argument
411 _mesa_init_texture_handles(struct gl_texture_object * texObj) argument
418 _mesa_make_texture_handles_non_resident(struct gl_context * ctx,struct gl_texture_object * texObj) argument
441 _mesa_delete_texture_handles(struct gl_context * ctx,struct gl_texture_object * texObj) argument
484 struct gl_texture_object *texObj = (*texHandleObj)->texObj; local in function:_mesa_delete_sampler_handles
543 struct gl_texture_object *texObj; local in function:_mesa_GetTextureHandleARB_no_error
557 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetTextureHandleARB
608 struct gl_texture_object *texObj; local in function:_mesa_GetTextureSamplerHandleARB_no_error
625 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetTextureSamplerHandleARB
783 struct gl_texture_object *texObj; local in function:_mesa_GetImageHandleARB_no_error
798 struct gl_texture_object *texObj = NULL; local in function:_mesa_GetImageHandleARB
[all...]
H A Dtexstorage.c127 struct gl_texture_object *texObj,
131 (texObj->Target == GL_TEXTURE_CUBE_MAP ||
132 texObj->Target == GL_PROXY_TEXTURE_CUBE_MAP)
133 ? GL_TEXTURE_CUBE_MAP_POSITIVE_X + face : texObj->Target;
134 return _mesa_get_tex_image(ctx, texObj, faceTarget, level);
141 struct gl_texture_object *texObj,
146 const GLenum target = texObj->Target;
155 get_tex_image(ctx, texObj, face, level);
181 struct gl_texture_object *texObj)
183 const GLenum target = texObj
126 get_tex_image(struct gl_context * ctx,struct gl_texture_object * texObj,GLuint face,GLuint level) argument
140 initialize_texture_fields(struct gl_context * ctx,struct gl_texture_object * texObj,GLint levels,GLsizei width,GLsizei height,GLsizei depth,GLenum internalFormat,mesa_format texFormat) argument
180 clear_texture_fields(struct gl_context * ctx,struct gl_texture_object * texObj) argument
208 update_fbo_texture(struct gl_context * ctx,struct gl_texture_object * texObj) argument
273 _mesa_AllocTextureStorage_sw(struct gl_context * ctx,struct gl_texture_object * texObj,GLsizei levels,GLsizei width,GLsizei height,GLsizei depth) argument
305 tex_storage_error_check(struct gl_context * ctx,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLuint dims,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,bool dsa) argument
392 texture_storage(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLuint64 offset,bool dsa,bool no_error) argument
496 texture_storage_error(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,bool dsa) argument
508 texture_storage_no_error(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,bool dsa) argument
527 struct gl_texture_object *texObj; local in function:texstorage_error
570 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); local in function:texstorage_no_error
584 struct gl_texture_object *texObj; local in function:texturestorage_error
627 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); local in function:texturestorage_no_error
807 _mesa_texture_storage_memory(struct gl_context * ctx,GLuint dims,struct gl_texture_object * texObj,struct gl_memory_object * memObj,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLuint64 offset,bool dsa) argument
[all...]
H A Dmipmap.h36 struct gl_texture_object *texObj,
52 struct gl_texture_object *texObj,
57 struct gl_texture_object *texObj);
H A Dtexobj.h101 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument
105 (void) texObj;
109 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument
111 (void) texObj;
118 _mesa_is_texture_complete(const struct gl_texture_object *texObj, argument
126 if ((texObj->_IsIntegerFormat ||
127 (texObj->StencilSampling &&
128 texObj->Image[0][texObj->BaseLevel]->_BaseFormat == GL_DEPTH_STENCIL)) &&
137 return texObj
[all...]
H A Dtextureview.c305 struct gl_texture_object *texObj,
316 texObj->Target = target;
324 texImage = _mesa_get_tex_image(ctx, texObj, faceTarget, level);
343 texObj->Target = 0;
462 struct gl_texture_object *texObj,
468 texImage = _mesa_select_tex_image(texObj, target, 0);
487 texObj->Immutable = GL_TRUE;
488 texObj->ImmutableLevels = levels;
489 texObj->MinLevel = 0;
490 texObj
303 initialize_texture_fields(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj,GLint levels,GLsizei width,GLsizei height,GLsizei depth,GLenum internalFormat,mesa_format texFormat,GLuint numSamples,GLboolean fixedSampleLocations) argument
461 _mesa_set_texture_view_state(struct gl_context * ctx,struct gl_texture_object * texObj,GLenum target,GLuint levels) argument
525 texture_view(struct gl_context * ctx,struct gl_texture_object * origTexObj,struct gl_texture_object * texObj,GLenum target,GLenum internalformat,GLuint minlevel,GLuint numlevels,GLuint minlayer,GLuint numlayers,bool no_error) argument
710 struct gl_texture_object *texObj; local in function:_mesa_TextureView_no_error
728 struct gl_texture_object *texObj; local in function:_mesa_TextureView
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_gen_mipmap.c54 struct gl_texture_object *texObj)
57 struct st_texture_object *stObj = st_texture_object(texObj);
58 struct pipe_resource *pt = st_get_texobj_resource(texObj);
59 uint baseLevel = texObj->Attrib.BaseLevel;
66 if (texObj->Immutable)
67 baseLevel += texObj->Attrib.MinLevel;
74 lastLevel = _mesa_compute_num_levels(ctx, texObj, target) - 1;
76 if (texObj->Immutable)
77 lastLevel += texObj->Attrib.MinLevel;
90 if (!texObj
53 st_generate_mipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj) argument
[all...]
H A Dst_gen_mipmap.h41 struct gl_texture_object *texObj);
H A Dst_cb_semaphoreobjects.c90 struct st_texture_object *texObj; local in function:st_server_wait_semaphore
120 texObj = st_texture_object(texObjs[i]);
121 if (texObj->pt)
122 pipe->flush_resource(pipe, texObj->pt);
139 struct st_texture_object *texObj; local in function:st_server_signal_semaphore
154 texObj = st_texture_object(texObjs[i]);
155 if (texObj->pt)
156 pipe->flush_resource(pipe, texObj->pt);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_gen_mipmap.c54 struct gl_texture_object *texObj)
57 struct st_texture_object *stObj = st_texture_object(texObj);
58 struct pipe_resource *pt = st_get_texobj_resource(texObj);
59 const uint baseLevel = texObj->BaseLevel;
71 lastLevel = _mesa_compute_num_levels(ctx, texObj, target) - 1;
84 if (!texObj->Immutable) {
85 const GLboolean genSave = texObj->GenerateMipmap;
90 texObj->GenerateMipmap = GL_TRUE;
92 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, lastLevel);
94 texObj
53 st_generate_mipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj) argument
[all...]
H A Dst_gen_mipmap.h41 struct gl_texture_object *texObj);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/
H A Dmeta_generate_mipmap.c59 struct gl_texture_object *texObj)
74 srcLevel = texObj->BaseLevel;
75 baseImage = _mesa_select_tex_image(texObj, target, srcLevel);
148 struct gl_texture_object *texObj)
152 const GLuint baseLevel = texObj->BaseLevel;
153 const GLuint maxLevel = texObj->MaxLevel;
154 const GLint maxLevelSave = texObj->MaxLevel;
155 const GLboolean genMipmapSave = texObj->GenerateMipmap;
170 if (fallback_required(ctx, target, texObj)) {
171 _mesa_generate_mipmap(ctx, target, texObj);
58 fallback_required(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj) argument
147 _mesa_meta_GenerateMipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/
H A Dmeta_generate_mipmap.c59 struct gl_texture_object *texObj)
74 srcLevel = texObj->Attrib.BaseLevel;
75 baseImage = _mesa_select_tex_image(texObj, target, srcLevel);
148 struct gl_texture_object *texObj)
152 const GLuint baseLevel = texObj->Attrib.BaseLevel;
153 const GLuint maxLevel = texObj->Attrib.MaxLevel;
154 const GLint maxLevelSave = texObj->Attrib.MaxLevel;
155 const GLboolean genMipmapSave = texObj->Attrib.GenerateMipmap;
170 if (fallback_required(ctx, target, texObj)) {
171 _mesa_generate_mipmap(ctx, target, texObj);
58 fallback_required(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj) argument
147 _mesa_meta_GenerateMipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * texObj) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dtexleak.c25 static GLuint *texObj; variable in typeref:typename:GLuint *
43 glBindTexture(GL_TEXTURE_2D, texObj[i]);
58 texObj = realloc(texObj, ++numTexObj * sizeof(*texObj));
61 glGenTextures(1, texObj + (numTexObj - 1));
63 glBindTexture(GL_TEXTURE_2D, texObj[numTexObj - 1]);

Completed in 21 milliseconds

1234567