Home
last modified time | relevance | path

Searched refs:valid_region (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dbuffer9.c170 u_box_1d(0, 0, &This->managed.valid_region); in NineBuffer9_ctor()
322 u_box_1d(0, 0, &This->managed.valid_region); /* systemmem dynamic */ in NineBuffer9_Lock()
576 struct pipe_box *valid_region = &This->managed.valid_region; in NineBuffer9_Upload() local
584 valid_region, in NineBuffer9_Upload()
603 if (box_upload.x > valid_region->x + valid_region->width && valid_region->width > 0) { in NineBuffer9_Upload()
604 … box_upload.width = box_upload.x + box_upload.width - (valid_region->x + valid_region->width); in NineBuffer9_Upload()
605 box_upload.x = valid_region->x + valid_region->width; in NineBuffer9_Upload()
606 } else if (box_upload.x + box_upload.width < valid_region->x && valid_region->width > 0) { in NineBuffer9_Upload()
607 box_upload.width = valid_region->x - box_upload.x; in NineBuffer9_Upload()
641 This, valid_region->x, valid_region->width, filled_region->x, filled_region->width, in NineBuffer9_Upload()
[all …]
Dbuffer9.h76 struct pipe_box valid_region; /* Region in the GPU buffer with valid content */ member