Home
last modified time | relevance | path

Searched refs:dirty_rect (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/frontends/nine/
Dcubetexture9.c161 This->dirty_rect[i].width = EdgeLength; in NineCubeTexture9_ctor()
162 This->dirty_rect[i].height = EdgeLength; in NineCubeTexture9_ctor()
163 This->dirty_rect[i].depth = 1; in NineCubeTexture9_ctor()
287 &This->dirty_rect[FaceType]); in NineCubeTexture9_AddDirtyRect()
289 if (This->dirty_rect[FaceType].width == 0) { in NineCubeTexture9_AddDirtyRect()
290 rect_to_pipe_box_clamp(&This->dirty_rect[FaceType], pDirtyRect); in NineCubeTexture9_AddDirtyRect()
294 u_box_union_2d(&This->dirty_rect[FaceType], &This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
297 (void) u_box_clip_2d(&This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
298 &This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
Dbasetexture9.c262 tex->dirty_rect.x, tex->dirty_rect.y, in NineBaseTexture9_UploadSelf()
263 tex->dirty_rect.width, tex->dirty_rect.height); in NineBaseTexture9_UploadSelf()
268 if (tex->dirty_rect.width) { in NineBaseTexture9_UploadSelf()
270 u_box_minify_2d(&box, &tex->dirty_rect, l); in NineBaseTexture9_UploadSelf()
273 memset(&tex->dirty_rect, 0, sizeof(tex->dirty_rect)); in NineBaseTexture9_UploadSelf()
274 tex->dirty_rect.depth = 1; in NineBaseTexture9_UploadSelf()
286 tex->dirty_rect[z].x, tex->dirty_rect[z].y, in NineBaseTexture9_UploadSelf()
287 tex->dirty_rect[z].width, tex->dirty_rect[z].height); in NineBaseTexture9_UploadSelf()
289 if (tex->dirty_rect[z].width) { in NineBaseTexture9_UploadSelf()
291 u_box_minify_2d(&box, &tex->dirty_rect[z], l); in NineBaseTexture9_UploadSelf()
[all …]
Dtexture9.c211 This->dirty_rect.width = Width; in NineTexture9_ctor()
212 This->dirty_rect.height = Height; in NineTexture9_ctor()
213 This->dirty_rect.depth = 1; /* widht == 0 means empty, depth stays 1 */ in NineTexture9_ctor()
332 This->base.base.info.height0, &This->dirty_rect); in NineTexture9_AddDirtyRect()
334 if (This->dirty_rect.width == 0) { in NineTexture9_AddDirtyRect()
335 rect_to_pipe_box_clamp(&This->dirty_rect, pDirtyRect); in NineTexture9_AddDirtyRect()
339 u_box_union_2d(&This->dirty_rect, &This->dirty_rect, &box); in NineTexture9_AddDirtyRect()
341 (void) u_box_clip_2d(&This->dirty_rect, &This->dirty_rect, in NineTexture9_AddDirtyRect()
Dsurface9.c371 RECT dirty_rect; in NineSurface9_AddDirtyRect() local
383 dirty_rect.left = box->x << This->level_actual; in NineSurface9_AddDirtyRect()
384 dirty_rect.right = dirty_rect.left + (box->width << This->level_actual); in NineSurface9_AddDirtyRect()
385 dirty_rect.top = box->y << This->level_actual; in NineSurface9_AddDirtyRect()
386 dirty_rect.bottom = dirty_rect.top + (box->height << This->level_actual); in NineSurface9_AddDirtyRect()
392 NineTexture9_AddDirtyRect(tex, &dirty_rect); in NineSurface9_AddDirtyRect()
397 NineCubeTexture9_AddDirtyRect(ctex, This->layer, &dirty_rect); in NineSurface9_AddDirtyRect()
Dtexture9.h33 struct pipe_box dirty_rect; /* covers all mip levels */ member
Dcubetexture9.h33 struct pipe_box dirty_rect[6]; /* covers all mip levels */ member
Ddevice9.c1508 if (src->dirty_rect.width == 0) in NineDevice9_UpdateTexture()
1511 pipe_box_to_rect(&rect, &src->dirty_rect); in NineDevice9_UpdateTexture()
1526 u_box_origin_2d(0, 0, &src->dirty_rect); in NineDevice9_UpdateTexture()
1535 if (src->dirty_rect[z].width == 0) in NineDevice9_UpdateTexture()
1538 pipe_box_to_rect(&rect, &src->dirty_rect[z]); in NineDevice9_UpdateTexture()
1553 u_box_origin_2d(0, 0, &src->dirty_rect[z]); in NineDevice9_UpdateTexture()
/external/skia/src/codec/
DSkWuffsCodec.cpp665 wuffs_base__rect_ie_u32 dirty_rect = fDecoders[WhichDecoder::kIncrDecode]->frame_dirty_rect(); in onIncrementalDecodeTwoPass() local
666 if (!dirty_rect.is_empty()) { in onIncrementalDecodeTwoPass()
675 uint8_t* s = pixels.ptr + (dirty_rect.min_incl_y * pixels.stride) + in onIncrementalDecodeTwoPass()
676 (dirty_rect.min_incl_x * src_bytes_per_pixel); in onIncrementalDecodeTwoPass()
684 getInfo().makeWH(dirty_rect.width(), dirty_rect.height()).makeAlphaType(alphaType); in onIncrementalDecodeTwoPass()
701 SkMatrix translate = SkMatrix::Translate(dirty_rect.min_incl_x, dirty_rect.min_incl_y); in onIncrementalDecodeTwoPass()
/external/skqp/src/codec/
DSkWuffsCodec.cpp506 wuffs_base__rect_ie_u32 dirty_rect = fDecoder->frame_dirty_rect(); in onIncrementalDecode() local
507 if (!dirty_rect.is_empty()) { in onIncrementalDecode()
524 for (uint32_t y = dirty_rect.min_incl_y; y < dirty_rect.max_excl_y; y++) { in onIncrementalDecode()