Searched refs:slice (Results 1 - 25 of 241) sorted by relevance

12345678910

/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmifillarc.h115 #define miFillSliceUpper(slice) \
116 ((y >= slice.min_top_y) && (y <= slice.max_top_y))
118 #define miFillSliceLower(slice) \
119 ((y >= slice.min_bot_y) && (y <= slice.max_bot_y))
121 #define MIARCSLICEUPPER(xl,xr,slice,slw) \
124 if (slice.edge1_top && (slice.edge1.x < xr)) \
125 xr = slice
[all...]
H A Dmifillarc.c308 miFillArcSliceSetup(xArc *arc, miArcSliceRec *slice, GCPtr pGC) argument
328 slice->min_top_y = 0;
329 slice->max_top_y = arc->height >> 1;
330 slice->min_bot_y = 1 - (arc->height & 1);
331 slice->max_bot_y = slice->max_top_y - 1;
332 slice->flip_top = FALSE;
333 slice->flip_bot = FALSE;
336 slice->edge1_top = (angle1 < HALFCIRCLE);
337 slice
651 miArcSliceRec slice; local in function:miFillArcSliceI
715 miArcSliceRec slice; local in function:miFillArcSliceD
[all...]
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmifillarc.h114 #define miFillSliceUpper(slice) \
115 ((y >= slice.min_top_y) && (y <= slice.max_top_y))
117 #define miFillSliceLower(slice) \
118 ((y >= slice.min_bot_y) && (y <= slice.max_bot_y))
120 #define MIARCSLICEUPPER(xl,xr,slice,slw) \
123 if (slice.edge1_top && (slice.edge1.x < xr)) \
124 xr = slice
[all...]
H A Dmifillarc.c280 miFillArcSliceSetup(xArc * arc, miArcSliceRec * slice, GCPtr pGC) argument
299 slice->min_top_y = 0;
300 slice->max_top_y = arc->height >> 1;
301 slice->min_bot_y = 1 - (arc->height & 1);
302 slice->max_bot_y = slice->max_top_y - 1;
303 slice->flip_top = FALSE;
304 slice->flip_bot = FALSE;
306 slice->edge1_top = (angle1 < HALFCIRCLE);
307 slice
556 miArcSliceRec slice; local in function:miFillArcSliceI
600 miArcSliceRec slice; local in function:miFillArcSliceD
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_resource.c41 struct fdl_slice *slice = fd_resource_slice(rsc, level); local in function:fd2_setup_slices
49 slice->offset = size;
50 slice->size0 = align(pitch * nblocksy, 4096);
52 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_resource.c58 /* in layer_first layout, the level (slice) contains just one
66 struct fd_resource_slice *slice = fd_resource_slice(rsc, level); local in function:setup_slices
89 slice->pitch =
92 slice->pitch = align(width, pitchalign);
94 slice->offset = size;
95 blocks = util_format_get_nblocks(format, slice->pitch, aligned_height);
106 slice->size0 = align(blocks * rsc->cpp, alignment);
108 slice->size0 = align(blocks * rsc->cpp, alignment);
110 slice->size0 = rsc->slices[level - 1].size0;
116 level, slice
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
H A DxaaFillArc.c120 miArcSliceRec slice; local in function:XAAFillArcSliceSolid
127 miFillArcSliceSetup(arc, &slice, pGC);
130 if (slice.flip_top || slice.flip_bot)
136 slice.edge1.x += pDraw->x;
137 slice.edge2.x += pDraw->x;
142 MIARCSLICESTEP(slice.edge1);
143 MIARCSLICESTEP(slice.edge2);
144 if (miFillSliceUpper(slice))
147 MIARCSLICEUPPER(xl, xr, slice, sl
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_resource.c40 struct fd_resource_slice *slice = fd_resource_slice(rsc, level); local in function:fd2_setup_slices
64 slice->pitch = width;
65 slice->offset = size;
70 slice->size0 = align(blocks * rsc->cpp, 4096);
72 size += slice->size0 * depth * prsc->array_size;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_resource.c39 /* in layer_first layout, the level (slice) contains just one
58 struct fdl_slice *slice = fd_resource_slice(rsc, level); local in function:fd4_setup_slices
62 slice->offset = size;
71 slice->size0 = fd_resource_slice(rsc, level - 1)->size0;
73 slice->size0 = align(nblocksy * pitch, alignment);
75 size += slice->size0 * depth * layers_in_level;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dintel_tex_copy.c48 GLint xoffset, GLint yoffset, GLint slice,
56 if (brw_blorp_copytexsubimage(brw, rb, texImage, slice, x, y,
63 xoffset, yoffset, slice,
46 intelCopyTexSubImage(struct gl_context * ctx,GLuint dims,struct gl_texture_image * texImage,GLint xoffset,GLint yoffset,GLint slice,struct gl_renderbuffer * rb,GLint x,GLint y,GLsizei width,GLsizei height) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_tex_copy.c48 GLint xoffset, GLint yoffset, GLint slice,
56 if (brw_blorp_copytexsubimage(brw, rb, texImage, slice, x, y,
63 xoffset, yoffset, slice,
46 brw_copytexsubimage(struct gl_context * ctx,GLuint dims,struct gl_texture_image * texImage,GLint xoffset,GLint yoffset,GLint slice,struct gl_renderbuffer * rb,GLint x,GLint y,GLsizei width,GLsizei height) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_resource.c43 struct fdl_slice *slice = fd_resource_slice(rsc, level); local in function:setup_slices
54 slice->offset = size;
64 slice->size0 = align(nblocksy * pitch, alignment);
66 slice->size0 = align(nblocksy * pitch, alignment);
68 slice->size0 = fd_resource_slice(rsc, level - 1)->size0;
70 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size;
/xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/
H A Dfd5_layout.c52 /* in layer_first layout, the level (slice) contains just one
64 struct fdl_slice *slice = &layout->slices[level]; local in function:fdl5_layout
84 slice->offset = layout->size;
96 slice->size0 = align(nblocksy * pitch, alignment);
98 slice->size0 = align(nblocksy * pitch, alignment);
100 slice->size0 = layout->slices[level - 1].size0;
102 layout->size += slice->size0 * u_minify(depth0, level) * layers_in_level;
H A Dfreedreno_layout.c62 struct fdl_slice *slice = &layout->slices[level]; local in function:fdl_dump_layout
72 slice->size0, ubwc_slice->size0,
73 slice->size0 / fdl_pitch(layout, level), slice->offset,
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_texture.c101 struct pan_image_slice_layout *slice,
108 slice->crc.stride = tile_count_x * CHECKSUM_BYTES_PER_TILE;
110 return slice->crc.stride * tile_count_y;
198 struct pan_image_slice_layout *slice = &layout->slices[l]; local in function:pan_image_layout_init
216 slice->offset = offset;
232 slice->line_stride = stride;
233 slice->row_stride = stride * (tile_h >> tile_shift);
235 unsigned slice_one_size = slice->line_stride * effective_height;
239 slice->afbc.header_size =
243 slice
100 panfrost_compute_checksum_size(struct pan_image_slice_layout * slice,unsigned width,unsigned height) argument
318 const struct pan_image_slice_layout *slice = &iview->image->layout.slices[level]; local in function:pan_iview_get_surface
560 const struct pan_image_slice_layout *slice = &layout->slices[l]; local in function:panfrost_get_surface_strides
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_tex_copy.c51 GLint dstx, GLint dsty, GLint slice,
71 intelImage->base.Base.Face + slice,
84 GLint xoffset, GLint yoffset, GLint slice,
94 xoffset, yoffset, slice,
102 xoffset, yoffset, slice,
49 intel_copy_texsubimage(struct intel_context * intel,struct intel_texture_image * intelImage,GLint dstx,GLint dsty,GLint slice,struct intel_renderbuffer * irb,GLint x,GLint y,GLsizei width,GLsizei height) argument
82 intelCopyTexSubImage(struct gl_context * ctx,GLuint dims,struct gl_texture_image * texImage,GLint xoffset,GLint yoffset,GLint slice,struct gl_renderbuffer * rb,GLint x,GLint y,GLsizei width,GLsizei height) argument
H A Dintel_mipmap_tree.c385 free((*mt)->level[i].slice);
465 assert(mt->level[level].slice == NULL);
467 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice));
468 mt->level[level].slice[0].x_offset = mt->level[level].level_x;
469 mt->level[level].slice[0].y_offset = mt->level[level].level_y;
483 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x;
484 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y;
488 mt->level[level].slice[img].x_offset,
489 mt->level[level].slice[im
493 intel_miptree_get_image_offset(struct intel_mipmap_tree * mt,GLuint level,GLuint slice,GLuint * x,GLuint * y) argument
514 intel_miptree_get_tile_offsets(struct intel_mipmap_tree * mt,GLuint level,GLuint slice,uint32_t * tile_x,uint32_t * tile_y) argument
533 intel_miptree_copy_slice_sw(struct intel_context * intel,struct intel_mipmap_tree * dst_mt,struct intel_mipmap_tree * src_mt,int level,int slice,int width,int height) argument
594 int slice; local in function:intel_miptree_copy_slice
654 for (int slice = 0; slice < depth; slice++) { local in function:intel_miptree_copy_teximage
691 intel_miptree_map_gtt(struct intel_context * intel,struct intel_mipmap_tree * mt,struct intel_miptree_map * map,unsigned int level,unsigned int slice) argument
739 intel_miptree_map_blit(struct intel_context * intel,struct intel_mipmap_tree * mt,struct intel_miptree_map * map,unsigned int level,unsigned int slice) argument
782 intel_miptree_unmap_blit(struct intel_context * intel,struct intel_mipmap_tree * mt,struct intel_miptree_map * map,unsigned int level,unsigned int slice) argument
810 intel_miptree_attach_map(struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice,unsigned int x,unsigned int y,unsigned int w,unsigned int h,GLbitfield mode) argument
840 intel_miptree_release_map(struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice) argument
852 intel_miptree_map(struct intel_context * intel,struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice,unsigned int x,unsigned int y,unsigned int w,unsigned int h,GLbitfield mode,void ** out_ptr,int * out_stride) argument
890 intel_miptree_unmap(struct intel_context * intel,struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice) argument
[all...]
H A Dintel_tex.c130 GLuint slice,
143 /* intel_miptree_map operates on a unified "slice" number that references the
147 slice = tex_image->Face;
149 intel_miptree_map(intel, mt, tex_image->Level, slice, x, y, w, h, mode,
155 struct gl_texture_image *tex_image, GLuint slice)
162 slice = tex_image->Face;
164 intel_miptree_unmap(intel, mt, tex_image->Level, slice);
128 intel_map_texture_image(struct gl_context * ctx,struct gl_texture_image * tex_image,GLuint slice,GLuint x,GLuint y,GLuint w,GLuint h,GLbitfield mode,GLubyte ** map,GLint * stride) argument
154 intel_unmap_texture_image(struct gl_context * ctx,struct gl_texture_image * tex_image,GLuint slice) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_tex_copy.c51 GLint dstx, GLint dsty, GLint slice,
71 intelImage->base.Base.Face + slice,
84 GLint xoffset, GLint yoffset, GLint slice,
94 xoffset, yoffset, slice,
102 xoffset, yoffset, slice,
49 intel_copy_texsubimage(struct intel_context * intel,struct intel_texture_image * intelImage,GLint dstx,GLint dsty,GLint slice,struct intel_renderbuffer * irb,GLint x,GLint y,GLsizei width,GLsizei height) argument
82 intelCopyTexSubImage(struct gl_context * ctx,GLuint dims,struct gl_texture_image * texImage,GLint xoffset,GLint yoffset,GLint slice,struct gl_renderbuffer * rb,GLint x,GLint y,GLsizei width,GLsizei height) argument
H A Dintel_mipmap_tree.c385 free((*mt)->level[i].slice);
465 assert(mt->level[level].slice == NULL);
467 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice));
468 mt->level[level].slice[0].x_offset = mt->level[level].level_x;
469 mt->level[level].slice[0].y_offset = mt->level[level].level_y;
483 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x;
484 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y;
488 mt->level[level].slice[img].x_offset,
489 mt->level[level].slice[im
493 intel_miptree_get_image_offset(struct intel_mipmap_tree * mt,GLuint level,GLuint slice,GLuint * x,GLuint * y) argument
514 intel_miptree_get_tile_offsets(struct intel_mipmap_tree * mt,GLuint level,GLuint slice,uint32_t * tile_x,uint32_t * tile_y) argument
533 intel_miptree_copy_slice_sw(struct intel_context * intel,struct intel_mipmap_tree * dst_mt,struct intel_mipmap_tree * src_mt,int level,int slice,int width,int height) argument
594 int slice; local in function:intel_miptree_copy_slice
654 for (int slice = 0; slice < depth; slice++) { local in function:intel_miptree_copy_teximage
691 intel_miptree_map_gtt(struct intel_context * intel,struct intel_mipmap_tree * mt,struct intel_miptree_map * map,unsigned int level,unsigned int slice) argument
739 intel_miptree_map_blit(struct intel_context * intel,struct intel_mipmap_tree * mt,struct intel_miptree_map * map,unsigned int level,unsigned int slice) argument
782 intel_miptree_unmap_blit(struct intel_context * intel,struct intel_mipmap_tree * mt,struct intel_miptree_map * map,unsigned int level,unsigned int slice) argument
810 intel_miptree_attach_map(struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice,unsigned int x,unsigned int y,unsigned int w,unsigned int h,GLbitfield mode) argument
840 intel_miptree_release_map(struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice) argument
852 intel_miptree_map(struct intel_context * intel,struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice,unsigned int x,unsigned int y,unsigned int w,unsigned int h,GLbitfield mode,void ** out_ptr,int * out_stride) argument
890 intel_miptree_unmap(struct intel_context * intel,struct intel_mipmap_tree * mt,unsigned int level,unsigned int slice) argument
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di965_hwmc.h23 struct drm_memory_block slice; member in struct:i965_xvmc_context
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_resource.c70 struct v3d_resource_slice *slice = &rsc->slices[i]; local in function:v3d_debug_resource_layout
72 int level_width = slice->stride / rsc->cpp;
73 int level_height = slice->padded_height;
83 i, tiling_descriptions[slice->tiling],
90 slice->stride,
91 rsc->bo->offset + slice->offset);
122 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level]; local in function:v3d_resource_transfer_unmap
131 slice->stride,
136 slice->tiling, rsc->cpp,
137 slice
293 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_resource_transfer_map
351 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_texture_subdata
563 struct v3d_resource_slice *slice = &rsc->slices[i]; local in function:v3d_setup_slices
696 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_layer_offset
880 struct v3d_resource_slice *slice = &rsc->slices[0]; local in function:v3d_resource_from_handle
1058 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_create_surface
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_resource.c72 struct v3d_resource_slice *slice = &rsc->slices[i]; local in function:v3d_debug_resource_layout
74 int level_width = slice->stride / rsc->cpp;
75 int level_height = slice->padded_height;
85 i, tiling_descriptions[slice->tiling],
92 slice->stride,
93 rsc->bo->offset + slice->offset);
124 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level]; local in function:v3d_resource_transfer_unmap
133 slice->stride,
138 slice->tiling, rsc->cpp,
139 slice
263 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_resource_transfer_map
321 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_texture_subdata
503 struct v3d_resource_slice *slice = &rsc->slices[i]; local in function:v3d_setup_slices
636 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_layer_offset
820 struct v3d_resource_slice *slice = &rsc->slices[0]; local in function:v3d_resource_from_handle
981 struct v3d_resource_slice *slice = &rsc->slices[level]; local in function:v3d_create_surface
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_resource.c73 /* in layer_first layout, the level (slice) contains just one
87 struct fd_resource_slice *slice = fd_resource_slice(rsc, level); local in function:setup_slices
121 slice->pitch =
124 slice->pitch = align(width, pitchalign);
126 slice->offset = size;
127 blocks = util_format_get_nblocks(format, slice->pitch, aligned_height);
137 slice->size0 = align(blocks * rsc->cpp, alignment);
139 slice->size0 = rsc->slices[level - 1].size0;
142 slice->size0 = align(blocks * rsc->cpp, alignment);
145 size += slice
[all...]
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_image.c112 struct v3d_resource_slice *slice = &image->slices[i]; local in function:v3d_setup_slices
137 slice->tiling = V3D_TILING_RASTER;
143 slice->tiling = V3D_TILING_LINEARTILE;
147 slice->tiling = V3D_TILING_UBLINEAR_1_COLUMN;
151 slice->tiling = V3D_TILING_UBLINEAR_2_COLUMN;
161 slice->ub_pad = v3d_get_ub_pad(image->cpp, level_height);
162 level_height += slice->ub_pad * uif_block_h;
170 slice->tiling = V3D_TILING_UIF_XOR;
172 slice->tiling = V3D_TILING_UIF_NO_XOR;
177 slice
238 const struct v3d_resource_slice *slice = &image->slices[level]; local in function:v3dv_layer_offset
401 const struct v3d_resource_slice *slice = local in function:v3dv_GetImageSubresourceLayout
[all...]

Completed in 20 milliseconds

12345678910