/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_gen_mipmap.c | 121 struct gl_texture_object *texObj, 127 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->BaseLevel); 129 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; 130 numLevels = MIN2(numLevels, texObj->MaxLevel + 1); 142 struct gl_texture_object *texObj) 145 struct st_texture_object *stObj = st_texture_object(texObj); 146 struct pipe_resource *pt = st_get_texobj_resource(texObj); 147 const uint baseLevel = texObj->BaseLevel; 159 lastLevel = compute_num_levels(ctx, texObj, target) - 1 [all...] |
st_gen_mipmap.h | 49 struct gl_texture_object *texObj);
|
st_cb_eglimage.c | 30 #include "main/texobj.h" 101 struct gl_texture_object *texObj, 116 stObj = st_texture_object(texObj); 121 _mesa_clear_texture_object(ctx, texObj); 140 _mesa_dirty_texobj(ctx, texObj, GL_TRUE); 145 struct gl_texture_object *texObj, 156 st_bind_surface(ctx, target, texObj, texImage, ps);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 121 struct gl_texture_object *texObj, 127 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->BaseLevel); 129 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; 130 numLevels = MIN2(numLevels, texObj->MaxLevel + 1); 142 struct gl_texture_object *texObj) 145 struct st_texture_object *stObj = st_texture_object(texObj); 146 struct pipe_resource *pt = st_get_texobj_resource(texObj); 147 const uint baseLevel = texObj->BaseLevel; 159 lastLevel = compute_num_levels(ctx, texObj, target) - 1 [all...] |
st_gen_mipmap.h | 49 struct gl_texture_object *texObj);
|
st_cb_eglimage.c | 30 #include "main/texobj.h" 101 struct gl_texture_object *texObj, 116 stObj = st_texture_object(texObj); 121 _mesa_clear_texture_object(ctx, texObj); 140 _mesa_dirty_texobj(ctx, texObj, GL_TRUE); 145 struct gl_texture_object *texObj, 156 st_bind_surface(ctx, target, texObj, texImage, ps);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texparam.c | 44 #include "main/texobj.h" 241 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) 244 _mesa_dirty_texobj(ctx, texObj, GL_TRUE); 254 struct gl_texture_object *texObj, 259 if (texObj->Sampler.MinFilter == params[0]) 265 texObj->Sampler.MinFilter = params[0]; 271 if (texObj->Target != GL_TEXTURE_RECTANGLE_NV && 272 texObj->Target != GL_TEXTURE_EXTERNAL_OES) { 274 texObj->Sampler.MinFilter = params[0]; 284 if (texObj->Sampler.MagFilter == params[0] [all...] |
texstorage.c | 39 #include "texobj.h" 126 struct gl_texture_object *texObj, 131 const GLenum target = texObj->Target; 142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, 152 _mesa_get_tex_image(ctx, texObj, faceTarget, level); 171 if (!_mesa_is_proxy_texture(texObj->Target)) { 173 if (!ctx->Driver.AllocTextureStorage(ctx, texObj, levels, 182 struct gl_texture_image *texImage = texObj->Image[face][level]; 197 texObj->Immutable = GL_TRUE; 208 struct gl_texture_object *texObj) [all...] |
texobj.h | 2 * \file texobj.h 94 _mesa_is_texture_complete(const struct gl_texture_object *texObj, 97 if (texObj->_IsIntegerFormat && 106 return texObj->_MipmapComplete; 108 return texObj->_BaseComplete; 117 _mesa_cube_complete(const struct gl_texture_object *texObj); 120 _mesa_dirty_texobj(struct gl_context *ctx, struct gl_texture_object *texObj,
|
mipmap.h | 46 struct gl_texture_object *texObj, GLuint level, 52 struct gl_texture_object *texObj);
|
texobj.c | 2 * \file texobj.c 42 #include "texobj.h" 195 * \param texObj the texture object to delete. 199 struct gl_texture_object *texObj) 206 texObj->Target = 0x99; 211 if (texObj->Image[face][i]) { 212 ctx->Driver.DeleteTextureImage(ctx, texObj->Image[face][i]); 217 _mesa_reference_buffer_object(ctx, &texObj->BufferObject, NULL); 220 _glthread_DESTROY_MUTEX(texObj->Mutex); 223 free(texObj); [all...] |
/external/mesa3d/src/mesa/main/ |
texparam.c | 44 #include "main/texobj.h" 241 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) 244 _mesa_dirty_texobj(ctx, texObj, GL_TRUE); 254 struct gl_texture_object *texObj, 259 if (texObj->Sampler.MinFilter == params[0]) 265 texObj->Sampler.MinFilter = params[0]; 271 if (texObj->Target != GL_TEXTURE_RECTANGLE_NV && 272 texObj->Target != GL_TEXTURE_EXTERNAL_OES) { 274 texObj->Sampler.MinFilter = params[0]; 284 if (texObj->Sampler.MagFilter == params[0] [all...] |
texstorage.c | 39 #include "texobj.h" 126 struct gl_texture_object *texObj, 131 const GLenum target = texObj->Target; 142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, 152 _mesa_get_tex_image(ctx, texObj, faceTarget, level); 171 if (!_mesa_is_proxy_texture(texObj->Target)) { 173 if (!ctx->Driver.AllocTextureStorage(ctx, texObj, levels, 182 struct gl_texture_image *texImage = texObj->Image[face][level]; 197 texObj->Immutable = GL_TRUE; 208 struct gl_texture_object *texObj) [all...] |
texobj.h | 2 * \file texobj.h 94 _mesa_is_texture_complete(const struct gl_texture_object *texObj, 97 if (texObj->_IsIntegerFormat && 106 return texObj->_MipmapComplete; 108 return texObj->_BaseComplete; 117 _mesa_cube_complete(const struct gl_texture_object *texObj); 120 _mesa_dirty_texobj(struct gl_context *ctx, struct gl_texture_object *texObj,
|
mipmap.h | 46 struct gl_texture_object *texObj, GLuint level, 52 struct gl_texture_object *texObj);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_texture.h | 54 struct gl_texture_object *texObj); 57 void radeon_swrast_map_texture_images(struct gl_context *ctx, struct gl_texture_object *texObj); 58 void radeon_swrast_unmap_texture_images(struct gl_context *ctx, struct gl_texture_object *texObj); 82 struct gl_texture_object *texObj,
|
radeon_mipmap_tree.c | 36 #include "main/texobj.h" 321 static GLboolean radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj) 327 if (texObj->BaseLevel < mt->baseLevel) 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; 331 firstImage = texObj->Image[0][texObj->BaseLevel]; 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); 335 fprintf(stderr, "Checking if miptree %p matches texObj %p\n", mt, texObj); [all...] |
radeon_texture.c | 42 #include "main/texobj.h" 52 struct gl_texture_object *texObj, 56 struct gl_texture_object *texObj, 110 struct gl_texture_object *texobj = timage->TexObject; local 115 switch (texobj->Target) { 124 teximage_assign_miptree(rmesa, texobj, timage); 547 struct gl_texture_object *texObj, 550 radeonTexObj *t = radeon_tex_obj(texObj); 557 texObj, 561 "%s: texObj %p, texImage %p, [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_texture.h | 54 struct gl_texture_object *texObj); 57 void radeon_swrast_map_texture_images(struct gl_context *ctx, struct gl_texture_object *texObj); 58 void radeon_swrast_unmap_texture_images(struct gl_context *ctx, struct gl_texture_object *texObj); 82 struct gl_texture_object *texObj,
|
radeon_mipmap_tree.c | 36 #include "main/texobj.h" 321 static GLboolean radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj) 327 if (texObj->BaseLevel < mt->baseLevel) 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; 331 firstImage = texObj->Image[0][texObj->BaseLevel]; 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); 335 fprintf(stderr, "Checking if miptree %p matches texObj %p\n", mt, texObj); [all...] |
radeon_texture.c | 42 #include "main/texobj.h" 52 struct gl_texture_object *texObj, 56 struct gl_texture_object *texObj, 110 struct gl_texture_object *texobj = timage->TexObject; local 115 switch (texobj->Target) { 124 teximage_assign_miptree(rmesa, texobj, timage); 547 struct gl_texture_object *texObj, 550 radeonTexObj *t = radeon_tex_obj(texObj); 557 texObj, 561 "%s: texObj %p, texImage %p, [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texture.c | 32 #include "main/texobj.h" 248 _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); 254 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 255 struct gl_texture_image *texImage = texObj->Image[face][level]; 269 _swrast_unmap_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); 275 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 276 struct gl_texture_image *texImage = texObj->Image[face][level]; 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 32 #include "main/texobj.h" 248 _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); 254 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 255 struct gl_texture_image *texImage = texObj->Image[face][level]; 269 _swrast_unmap_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); 275 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 276 struct gl_texture_image *texImage = texObj->Image[face][level]; 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_span.c | 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 160 intel_tex_unmap_images(intel, intel_texture_object(texObj)); 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 192 intel_tex_map_images(intel, intel_texture_object(texObj), 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 212 intel_tex_unmap_images(intel, intel_texture_object(texObj));
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_span.c | 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 160 intel_tex_unmap_images(intel, intel_texture_object(texObj)); 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 192 intel_tex_map_images(intel, intel_texture_object(texObj), 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 212 intel_tex_unmap_images(intel, intel_texture_object(texObj));
|