Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/nine/
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 …]
Dcubetexture9.c160 This->dirty_rect[i].width = EdgeLength; in NineCubeTexture9_ctor()
161 This->dirty_rect[i].height = EdgeLength; in NineCubeTexture9_ctor()
162 This->dirty_rect[i].depth = 1; in NineCubeTexture9_ctor()
286 &This->dirty_rect[FaceType]); in NineCubeTexture9_AddDirtyRect()
288 if (This->dirty_rect[FaceType].width == 0) { in NineCubeTexture9_AddDirtyRect()
289 rect_to_pipe_box_clamp(&This->dirty_rect[FaceType], pDirtyRect); in NineCubeTexture9_AddDirtyRect()
293 u_box_union_2d(&This->dirty_rect[FaceType], &This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
296 (void) u_box_clip_2d(&This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
297 &This->dirty_rect[FaceType], in NineCubeTexture9_AddDirtyRect()
Dtexture9.c210 This->dirty_rect.width = Width; in NineTexture9_ctor()
211 This->dirty_rect.height = Height; in NineTexture9_ctor()
212 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.c364 RECT dirty_rect; in NineSurface9_AddDirtyRect() local
376 dirty_rect.left = box->x << This->level_actual; in NineSurface9_AddDirtyRect()
377 dirty_rect.right = dirty_rect.left + (box->width << This->level_actual); in NineSurface9_AddDirtyRect()
378 dirty_rect.top = box->y << This->level_actual; in NineSurface9_AddDirtyRect()
379 dirty_rect.bottom = dirty_rect.top + (box->height << This->level_actual); in NineSurface9_AddDirtyRect()
385 NineTexture9_AddDirtyRect(tex, &dirty_rect); in NineSurface9_AddDirtyRect()
390 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.c1454 if (src->dirty_rect.width == 0) in NineDevice9_UpdateTexture()
1457 pipe_box_to_rect(&rect, &src->dirty_rect); in NineDevice9_UpdateTexture()
1472 u_box_origin_2d(0, 0, &src->dirty_rect); in NineDevice9_UpdateTexture()
1481 if (src->dirty_rect[z].width == 0) in NineDevice9_UpdateTexture()
1484 pipe_box_to_rect(&rect, &src->dirty_rect[z]); in NineDevice9_UpdateTexture()
1499 u_box_origin_2d(0, 0, &src->dirty_rect[z]); in NineDevice9_UpdateTexture()