Searched refs:tex_obj (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_tex_subimage.c | 79 struct gl_texture_object *tex_obj; in create_texture_for_pbo() local 138 tex_obj = _mesa_lookup_texture(ctx, *tmp_tex); in create_texture_for_pbo() 139 _mesa_initialize_texture_object(ctx, tex_obj, *tmp_tex, GL_TEXTURE_2D); in create_texture_for_pbo() 141 tex_obj->Immutable = GL_TRUE; in create_texture_for_pbo() 143 tex_obj->NumLayers = 1; in create_texture_for_pbo() 154 tex_image = _mesa_get_tex_image(ctx, tex_obj, tex_obj->Target, 0); in create_texture_for_pbo() 159 if (!ctx->Driver.SetTextureStorageForBufferObject(ctx, tex_obj, in create_texture_for_pbo()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 230 struct intel_texture_object *tex_obj; in intel_update_state() local 254 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); in intel_update_state() 255 if (!tex_obj || !tex_obj->mt) in intel_update_state() 257 if (intel_miptree_sample_with_hiz(brw, tex_obj->mt)) in intel_update_state() 258 intel_miptree_all_slices_resolve_hiz(brw, tex_obj->mt); in intel_update_state() 260 intel_miptree_all_slices_resolve_depth(brw, tex_obj->mt); in intel_update_state() 264 const int flags = intel_texture_view_requires_resolve(brw, tex_obj) ? in intel_update_state() 266 intel_miptree_all_slices_resolve_color(brw, tex_obj->mt, flags); in intel_update_state() 267 brw_render_cache_set_check_flush(brw, tex_obj->mt->bo); in intel_update_state() 269 if (tex_obj->base.StencilSampling || in intel_update_state() [all …]
|
D | intel_tex.c | 305 struct gl_texture_object *tex_obj, in intel_set_texture_storage_for_buffer_object() argument 312 struct intel_texture_object *intel_texobj = intel_texture_object(tex_obj); in intel_set_texture_storage_for_buffer_object() 313 struct gl_texture_image *image = tex_obj->Image[0][0]; in intel_set_texture_storage_for_buffer_object()
|
/external/vulkan-validation-layers/demos/ |
D | cube.cpp | 1835 void prepare_texture_image(const char *filename, texture_object *tex_obj, in prepare_texture_image() 1845 tex_obj->tex_width = tex_width; in prepare_texture_image() 1846 tex_obj->tex_height = tex_height; in prepare_texture_image() 1864 device.createImage(&image_create_info, nullptr, &tex_obj->image); in prepare_texture_image() 1868 device.getImageMemoryRequirements(tex_obj->image, &mem_reqs); in prepare_texture_image() 1870 tex_obj->mem_alloc.setAllocationSize(mem_reqs.size); in prepare_texture_image() 1871 tex_obj->mem_alloc.setMemoryTypeIndex(0); in prepare_texture_image() 1875 &tex_obj->mem_alloc.memoryTypeIndex); in prepare_texture_image() 1878 result = device.allocateMemory(&tex_obj->mem_alloc, nullptr, in prepare_texture_image() 1879 &(tex_obj->mem)); in prepare_texture_image() [all …]
|
D | cube.c | 1229 struct texture_object *tex_obj, in demo_prepare_texture_image() argument 1243 tex_obj->tex_width = tex_width; in demo_prepare_texture_image() 1244 tex_obj->tex_height = tex_height; in demo_prepare_texture_image() 1264 vkCreateImage(demo->device, &image_create_info, NULL, &tex_obj->image); in demo_prepare_texture_image() 1267 vkGetImageMemoryRequirements(demo->device, tex_obj->image, &mem_reqs); in demo_prepare_texture_image() 1269 tex_obj->mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in demo_prepare_texture_image() 1270 tex_obj->mem_alloc.pNext = NULL; in demo_prepare_texture_image() 1271 tex_obj->mem_alloc.allocationSize = mem_reqs.size; in demo_prepare_texture_image() 1272 tex_obj->mem_alloc.memoryTypeIndex = 0; in demo_prepare_texture_image() 1276 &tex_obj->mem_alloc.memoryTypeIndex); in demo_prepare_texture_image() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | formatquery.c | 1432 struct gl_texture_object *tex_obj = _mesa_new_texture_object(ctx, 0, target); in _mesa_GetInternalformativ() local 1433 buffer[0] = tex_obj->ImageFormatCompatibilityType; in _mesa_GetInternalformativ() 1434 _mesa_delete_texture_object(ctx, tex_obj); in _mesa_GetInternalformativ()
|