Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/nine/
Dbasetexture9.c257 tex->dirty_rect.x, tex->dirty_rect.y, in NineBaseTexture9_UploadSelf()
258 tex->dirty_rect.width, tex->dirty_rect.height); in NineBaseTexture9_UploadSelf()
263 if (tex->dirty_rect.width) { in NineBaseTexture9_UploadSelf()
265 u_box_minify_2d(&box, &tex->dirty_rect, l); in NineBaseTexture9_UploadSelf()
268 memset(&tex->dirty_rect, 0, sizeof(tex->dirty_rect)); in NineBaseTexture9_UploadSelf()
269 tex->dirty_rect.depth = 1; in NineBaseTexture9_UploadSelf()
281 tex->dirty_rect[z].x, tex->dirty_rect[z].y, in NineBaseTexture9_UploadSelf()
282 tex->dirty_rect[z].width, tex->dirty_rect[z].height); in NineBaseTexture9_UploadSelf()
284 if (tex->dirty_rect[z].width) { in NineBaseTexture9_UploadSelf()
286 u_box_minify_2d(&box, &tex->dirty_rect[z], l); in NineBaseTexture9_UploadSelf()
[all …]
Dcubetexture9.c164 This->dirty_rect[i].width = EdgeLength; in NineCubeTexture9_ctor()
165 This->dirty_rect[i].height = EdgeLength; in NineCubeTexture9_ctor()
166 This->dirty_rect[i].depth = 1; in NineCubeTexture9_ctor()
290 &This->dirty_rect[FaceType]); in NineCubeTexture9_AddDirtyRect()
292 if (This->dirty_rect[FaceType].width == 0) { in NineCubeTexture9_AddDirtyRect()
293 rect_to_pipe_box_clamp(&This->dirty_rect[FaceType], pDirtyRect); in NineCubeTexture9_AddDirtyRect()
297 u_box_union_2d(&This->dirty_rect[FaceType], &This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
300 (void) u_box_clip_2d(&This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
301 &This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
Dtexture9.c209 This->dirty_rect.width = Width; in NineTexture9_ctor()
210 This->dirty_rect.height = Height; in NineTexture9_ctor()
211 This->dirty_rect.depth = 1; /* widht == 0 means empty, depth stays 1 */ in NineTexture9_ctor()
331 This->base.base.info.height0, &This->dirty_rect); in NineTexture9_AddDirtyRect()
333 if (This->dirty_rect.width == 0) { in NineTexture9_AddDirtyRect()
334 rect_to_pipe_box_clamp(&This->dirty_rect, pDirtyRect); in NineTexture9_AddDirtyRect()
338 u_box_union_2d(&This->dirty_rect, &This->dirty_rect, &box); in NineTexture9_AddDirtyRect()
340 (void) u_box_clip_2d(&This->dirty_rect, &This->dirty_rect, in NineTexture9_AddDirtyRect()
Dsurface9.c385 RECT dirty_rect; in NineSurface9_AddDirtyRect() local
397 dirty_rect.left = box->x << This->level_actual; in NineSurface9_AddDirtyRect()
398 dirty_rect.right = dirty_rect.left + (box->width << This->level_actual); in NineSurface9_AddDirtyRect()
399 dirty_rect.top = box->y << This->level_actual; in NineSurface9_AddDirtyRect()
400 dirty_rect.bottom = dirty_rect.top + (box->height << This->level_actual); in NineSurface9_AddDirtyRect()
406 NineTexture9_AddDirtyRect(tex, &dirty_rect); in NineSurface9_AddDirtyRect()
411 NineCubeTexture9_AddDirtyRect(ctex, This->layer, &dirty_rect); in NineSurface9_AddDirtyRect()
Dtexture9.h34 struct pipe_box dirty_rect; /* covers all mip levels */ member
Dcubetexture9.h34 struct pipe_box dirty_rect[6]; /* covers all mip levels */ member
Ddevice9.c1554 if (src->dirty_rect.width == 0) in NineDevice9_UpdateTexture()
1557 pipe_box_to_rect(&rect, &src->dirty_rect); in NineDevice9_UpdateTexture()
1572 u_box_origin_2d(0, 0, &src->dirty_rect); in NineDevice9_UpdateTexture()
1581 if (src->dirty_rect[z].width == 0) in NineDevice9_UpdateTexture()
1584 pipe_box_to_rect(&rect, &src->dirty_rect[z]); in NineDevice9_UpdateTexture()
1599 u_box_origin_2d(0, 0, &src->dirty_rect[z]); in NineDevice9_UpdateTexture()
/third_party/skia/src/codec/
DSkWuffsCodec.cpp669 wuffs_base__rect_ie_u32 dirty_rect = fDecoders[WhichDecoder::kIncrDecode]->frame_dirty_rect(); in onIncrementalDecodeTwoPass() local
670 if (!dirty_rect.is_empty()) { in onIncrementalDecodeTwoPass()
679 uint8_t* s = pixels.ptr + (dirty_rect.min_incl_y * pixels.stride) + in onIncrementalDecodeTwoPass()
680 (dirty_rect.min_incl_x * src_bytes_per_pixel); in onIncrementalDecodeTwoPass()
688 getInfo().makeWH(dirty_rect.width(), dirty_rect.height()).makeAlphaType(alphaType); in onIncrementalDecodeTwoPass()
705 SkMatrix translate = SkMatrix::Translate(dirty_rect.min_incl_x, dirty_rect.min_incl_y); in onIncrementalDecodeTwoPass()