Home
last modified time | relevance | path

Searched refs:layer_offset (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_surface.c148 unsigned int layer_offset = layer * surf->surf.ts_layer_stride; in etna_create_surface() local
149 assert(layer_offset < surf->surf.ts_size); in etna_create_surface()
151 surf->surf.ts_offset += layer_offset; in etna_create_surface()
152 surf->surf.ts_size -= layer_offset; in etna_create_surface()
/external/freetype/src/sfnt/
Dttcolr.c94 FT_ULong base_glyph_offset, layer_offset; in tt_face_load_colr() local
130 layer_offset = FT_NEXT_ULONG( p ); in tt_face_load_colr()
133 if ( layer_offset >= table_size ) in tt_face_load_colr()
135 if ( colr->num_layers * LAYER_SIZE > table_size - layer_offset ) in tt_face_load_colr()
139 colr->layers = (FT_Byte*)( table + layer_offset ); in tt_face_load_colr()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c474 uint32_t layer_offset = v3dv_layer_offset(image, mip_level, layer); in emit_image_load() local
488 load.address = v3dv_cl_address(image->mem->bo, layer_offset); in emit_image_load()
557 uint32_t layer_offset = v3dv_layer_offset(image, mip_level, layer); in emit_image_store() local
567 store.address = v3dv_cl_address(image->mem->bo, layer_offset); in emit_image_store()
613 uint32_t layer_offset, in emit_copy_layer_to_buffer_per_tile_list() argument
626 layer_offset < region->imageSubresource.layerCount) || in emit_copy_layer_to_buffer_per_tile_list()
627 layer_offset < image->extent.depth); in emit_copy_layer_to_buffer_per_tile_list()
630 region->imageSubresource.baseArrayLayer + layer_offset : in emit_copy_layer_to_buffer_per_tile_list()
631 region->imageOffset.z + layer_offset; in emit_copy_layer_to_buffer_per_tile_list()
668 height * buffer_stride * layer_offset; in emit_copy_layer_to_buffer_per_tile_list()
[all …]
Dv3dv_meta_clear.c1197 uint32_t layer_offset = v3dv_layer_offset(image, in emit_tlb_clear_store() local
1203 store.address = v3dv_cl_address(image->mem->bo, layer_offset); in emit_tlb_clear_store()
Dv3dv_cmd_buffer.c1468 uint32_t layer_offset = v3dv_layer_offset(image, in cmd_buffer_render_pass_emit_load() local
1474 load.address = v3dv_cl_address(image->mem->bo, layer_offset); in cmd_buffer_render_pass_emit_load()
1604 uint32_t layer_offset = v3dv_layer_offset(image, in cmd_buffer_render_pass_emit_store() local
1610 store.address = v3dv_cl_address(image->mem->bo, layer_offset); in cmd_buffer_render_pass_emit_store()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.h57 int32_t layer_offset; member
Dst_pbo.c100 addr->constants.layer_offset = 0; in st_pbo_addresses_setup()
480 nir_ssa_def *layer_offset = nir_load_var(&b, layer_offset_var); in create_fs() local
482 src_layer = nir_iadd(&b, layer, layer_offset); in create_fs()
Dst_cb_readpixels.c182 addr.constants.layer_offset = surface->u.tex.first_layer; in try_pbo_readpixels()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_rcl.c67 uint32_t layer_offset = in load_general() local
72 load.address = cl_address(rsc->bo, layer_offset); in load_general()
133 uint32_t layer_offset = in store_general() local
138 store.address = cl_address(rsc->bo, layer_offset); in store_general()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c38 layer_offset(struct pipe_resource *pt, unsigned level, unsigned layer) in layer_offset() function
114 rect->offset = layer_offset(pt, level, z); in define_rect()
574 ns->offset = layer_offset(pt, ps->u.tex.level, ps->u.tex.first_layer); in nv30_miptree_surface_new()
/external/virglrenderer/src/
Dvrend_renderer.h284 uint32_t layer_offset, uint32_t level_size,
Dvrend_decode.c1259 uint32_t layer_offset = get_buf_entry(buf, VIRGL_SET_SHADER_IMAGE_LAYER_OFFSET(i)); in vrend_decode_set_shader_images() local
1263 layer_offset, level_size, handle); in vrend_decode_set_shader_images()
Dvrend_renderer.c3076 uint32_t layer_offset, uint32_t level_size, in vrend_set_single_image_view() argument
3094 iview->u.buf.offset = layer_offset; in vrend_set_single_image_view()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp2031 size_t layer_offset = 0; in sample_image_pixel_float_offset() local
2037 layer_offset = slice_pitch_lod * (size_t)array_index; in sample_image_pixel_float_offset()
2043 layer_offset = slice_pitch_lod * (size_t)array_index; in sample_image_pixel_float_offset()
2075 char *imgPtr = ((char *)imageData) + layer_offset; in sample_image_pixel_float_offset()
/external/deqp/external/openglcts/modules/gl/
Dgl4cCopyImageTests.cpp3191 const GLuint layer_offset = lay * req_memory_per_layer; in prepareSrcPxls() local
3193 GLubyte* layer = ((GLubyte*)level) + layer_offset; in prepareSrcPxls()
4026 const GLuint layer_offset = layer * layer_size; in prepareSrcPxls() local
4028 GLubyte* layer_data = out_pixels + layer_offset; in prepareSrcPxls()
Dgl4cShaderImageLoadStoreTests.cpp7689 const GLuint layer_offset = layer_size * layer; in CreateRGBA8SourceTexture() local
7695 const GLuint line_offset = y * edge * n_components + layer_offset; in CreateRGBA8SourceTexture()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp1685 const glw::GLuint layer_offset = layer * n_faces * n_components_per_face; in verifyResultImage() local
1689 const glw::GLuint face_offset = face * n_components_per_face + layer_offset; in verifyResultImage()