| /xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/ |
| fbbitmap.c | 28 static Bool region_grow(RegionPtr region) 34 if (!region->data) { 35 region->data = malloc(RegionSizeof(n)); 36 if (!region->data) 37 return RegionBreak(region); 38 region->data->numRects = 1; 39 *RegionBoxptr(region) = region->extents; 40 } else if (!region->data->size) { 41 region->data = malloc(RegionSizeof(n)) 92 register RegionPtr region; local [all...] |
| fbclip.c | 54 fbClipBoxes(const RegionRec *region, const BoxRec *box, const BoxRec **end) 58 DBG(("%s: box=(%d, %d),(%d, %d); region=(%d, %d),(%d, %d) x %ld\n", 61 region->extents.x1, region->extents.y1, 62 region->extents.x2, region->extents.y2, 63 region->data ? region->data->numRects : 1)); 65 if (box->x1 >= region->extents.x2 || box->x2 <= region->extents.x1 | [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/ |
| fbbitmap.c | 28 static Bool region_grow(RegionPtr region) 34 if (!region->data) { 35 region->data = malloc(RegionSizeof(n)); 36 if (!region->data) 37 return RegionBreak(region); 38 region->data->numRects = 1; 39 *RegionBoxptr(region) = region->extents; 40 } else if (!region->data->size) { 41 region->data = malloc(RegionSizeof(n)) 92 register RegionPtr region; local [all...] |
| fbclip.c | 54 fbClipBoxes(const RegionRec *region, const BoxRec *box, const BoxRec **end) 58 DBG(("%s: box=(%d, %d),(%d, %d); region=(%d, %d),(%d, %d) x %ld\n", 61 region->extents.x1, region->extents.y1, 62 region->extents.x2, region->extents.y2, 63 region->data ? region->data->numRects : 1)); 65 if (box->x1 >= region->extents.x2 || box->x2 <= region->extents.x1 | [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| intel_regions.c | 61 struct intel_region *region; local 63 region = calloc(sizeof(*region), 1); 64 if (region == NULL) 65 return region; 67 region->cpp = cpp; 68 region->width = width; 69 region->height = height; 70 region->pitch = pitch; 71 region->refcount = 1 88 struct intel_region *region; local 128 struct intel_region *region; local 163 struct intel_region *region; local 208 struct intel_region *region = *region_handle; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| intel_regions.c | 113 struct intel_region *region; local 115 region = calloc(sizeof(*region), 1); 116 if (region == NULL) 117 return region; 119 region->cpp = cpp; 120 region->width = width; 121 region->height = height; 122 region->pitch = pitch; 123 region->refcount = 1 140 struct intel_region *region; local 180 struct intel_region *region; local 215 struct intel_region *region; local 260 struct intel_region *region = *region_handle; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| nine_memory_helper.c | 77 * One allocation is given one page-aligned region inside a memfd file. 150 struct nine_memfd_file_region *region; /* Corresponding file memory region. Max 1 allocation per region */ member in struct:nine_memfd_allocation 227 struct nine_memfd_file_region *region; local 232 LIST_FOR_EACH_ENTRY(region, &memfd_file->free_regions, list) { 234 region->offset, region->size, region->map, 235 region->num_locks, region->num_weak_unlocks, (int)region->zero_filled) 407 struct nine_memfd_file_region *region = slab_alloc_st(&allocator->allocation_pool); local 427 struct nine_memfd_file_region *region, *best_region, *new_region; local 482 struct nine_memfd_file_region *region = nine_get_memfd_region_backing(allocation); local 513 struct nine_memfd_file_region *region = nine_get_memfd_region_backing(allocation); local 583 struct nine_memfd_file_region *region, *ptr; local 693 struct nine_memfd_file_region *region; local 772 struct nine_memfd_file_region *region = new_allocation->memory.memfd.region; local 826 struct nine_memfd_file_region *region = nine_get_memfd_region_backing(allocation); local 864 struct nine_memfd_file_region *region; local 905 struct nine_memfd_file_region *region; local 925 struct nine_memfd_file_region *region; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| zink_blit.c | 63 VkImageResolve region = {0}; local 65 region.srcSubresource.aspectMask = src->aspect; 66 region.srcSubresource.mipLevel = info->src.level; 67 region.srcOffset.x = info->src.box.x; 68 region.srcOffset.y = info->src.box.y; 71 region.srcOffset.z = 0; 72 region.srcSubresource.baseArrayLayer = info->src.box.z; 73 region.srcSubresource.layerCount = info->src.box.depth; 76 region.srcOffset.z = info->src.box.z; 77 region.srcSubresource.baseArrayLayer = 0 171 VkImageBlit region = {0}; local [all...] |
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| glamor_compositerects.c | 50 _pixman_region_init_clipped_rectangles(pixman_region16_t * region, 88 ret = pixman_region_init_rects(region, boxes, j); 93 DEBUGF("%s: nrects=%d, region=(%d, %d), (%d, %d) x %d\n", 95 region->extents.x1, region->extents.y1, 96 region->extents.x2, region->extents.y2, j); 108 pixman_region16_t region; local 184 if (!_pixman_region_init_clipped_rectangles(®ion, 190 DEBUGF("%s: allocation failed for region\n", __FUNCTION__) [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_composite.c | 64 region_is_singular(pixman_region16_t *region) 66 return region->data == NULL; 70 region_is_empty(pixman_region16_t *region) 72 return region->data && region->data->numRects == 0; 76 clip_to_dst(pixman_region16_t *region, 81 DBG(("%s: region: %dx[(%d, %d), (%d, %d)], clip: %dx[(%d, %d), (%d, %d)]\n", 83 pixman_region_n_rects(region), 84 region->extents.x1, region->extents.y1 653 RegionRec region; local 794 pixman_region16_t region; local [all...] |
| sna_damage.c | 44 * mode globally and when that mode switches perform the update of the region 70 const RegionRec *region) 75 if (region == NULL) 78 n = region_num_rects(region); 85 region->extents.x1, region->extents.y1, 86 region->extents.x2, region->extents.y2); 92 region->extents.x1, region->extents.y1 217 pixman_region16_t *region = &damage->region; local 1218 pixman_region16_t region; local [all...] |
| /xsrc/external/mit/xf86-video-qxl/dist/src/uxa/ |
| uxa-damage.h | 2 uxa_damage_composite (RegionPtr region, 16 uxa_damage_glyphs (RegionPtr region, 28 uxa_damage_add_traps (RegionPtr region, 36 uxa_damage_fill_spans (RegionPtr region, 45 uxa_damage_set_spans (RegionPtr region, 55 uxa_damage_put_image (RegionPtr region, 68 uxa_damage_copy_area(RegionPtr region, 80 uxa_damage_copy_plane (RegionPtr region, 93 uxa_damage_poly_point (RegionPtr region, 101 uxa_damage_poly_lines (RegionPtr region, [all...] |
| /xsrc/external/mit/pixman/dist/pixman/ |
| pixman-region.c | 73 /* not a region */ 94 _pixman_log_error (FUNC, "Malformed region " # reg); \ 119 pixman_break (region_type_t *region); 122 * The functions in this file implement the Region abstraction used extensively 123 * throughout the X11 sample server. A Region is simply a set of disjoint 127 * A Region is implemented as a "y-x-banded" array of rectangles. This array 160 * Adam de Boor wrote most of the original region code. Joel McCormack 166 * while re-merging the server and client region code into libpixregion. 218 #define RECTALLOC_BAIL(region, n, bail) \ 221 if (!(region)->data || 1359 region_type_t region; local 1377 region_type_t region; local 1399 region_type_t region; local 1426 region_type_t region; local [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| region-contains-test.c | 6 make_random_region (pixman_region32_t *region) 10 pixman_region32_init (region); 23 pixman_region32_union_rect (region, region, x, y, w, h); 34 random_coord (pixman_region32_t *region, pixman_bool_t x) 42 bb = pixman_region32_rectangles (region, &n_boxes); 50 b = pixman_region32_extents (region); 111 pixman_region32_t region; local 116 make_random_region (®ion); 118 box.x1 = random_coord (®ion, TRUE) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_meta_copy.c | 128 const VkBufferImageCopy2KHR *region) 162 const VkOffset3D img_offset_el = meta_region_offset_el(image, ®ion->imageOffset); 164 .width = region->bufferRowLength ? region->bufferRowLength : region->imageExtent.width, 165 .height = region->bufferImageHeight ? region->bufferImageHeight : region->imageExtent.height, 170 const VkExtent3D img_extent_el = meta_region_extent_el(image, image->type, ®ion->imageExtent); 178 image, layout, ®ion->imageSubresource, region->imageSubresource.aspectMask) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/ |
| transfer.cpp | 40 pitch(const vector_t ®ion, vector_t pitch) { 42 map(multiplies(), region, pitch))) { 53 /// Size of a region in bytes. 56 size(const vector_t &pitch, const vector_t ®ion) { 57 if (any_of(is_zero(), region)) 60 return dot(pitch, region - vector_t{ 0, 1, 1 }); 80 const vector_t &pitch, const vector_t ®ion) { 84 // The region must fit within the specified pitch, 85 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) 89 if (dot(pitch, origin) + size(pitch, region) > mem.size() 255 src_pitch[0] * region[0]); local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_composite.c | 64 region_is_singular(pixman_region16_t *region) 66 return region->data == NULL; 70 region_is_empty(pixman_region16_t *region) 72 return region->data && region->data->numRects == 0; 76 clip_to_dst(pixman_region16_t *region, 81 DBG(("%s: region: %dx[(%d, %d), (%d, %d)], clip: %dx[(%d, %d), (%d, %d)]\n", 83 pixman_region_n_rects(region), 84 region->extents.x1, region->extents.y1 655 RegionRec region; local 798 pixman_region16_t region; local [all...] |
| sna_damage.c | 44 * mode globally and when that mode switches perform the update of the region 70 const RegionRec *region) 75 if (region == NULL) 78 n = region_num_rects(region); 85 region->extents.x1, region->extents.y1, 86 region->extents.x2, region->extents.y2); 92 region->extents.x1, region->extents.y1 217 pixman_region16_t *region = &damage->region; local 1218 pixman_region16_t region; local [all...] |
| sna_damage.h | 10 pixman_region16_t region; member in struct:sna_damage 28 #define DAMAGE_REGION(ptr) (&DAMAGE_PTR(ptr)->region) 63 RegionPtr region); 65 RegionPtr region) 68 *damage = _sna_damage_add(*damage, region); 72 RegionPtr region, 76 if (region->data == NULL && 77 region->extents.x2 - region->extents.x1 >= pixmap->drawable.width && 78 region->extents.y2 - region->extents.y1 >= pixmap->drawable.height) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| panvk_vX_meta_blit.c | 151 const VkImageBlit *region = &pRegions[i]; local 156 .level = region->srcSubresource.mipLevel, 158 region->srcOffsets[0].x, 159 region->srcOffsets[0].y, 160 region->srcOffsets[0].z, 161 region->srcSubresource.baseArrayLayer, 164 region->srcOffsets[1].x, 165 region->srcOffsets[1].y, 166 region->srcOffsets[1].z, 167 region->srcSubresource.baseArrayLayer + region->srcSubresource.layerCount - 1 [all...] |
| /xsrc/external/mit/libXfixes/dist/src/ |
| Region.c | 35 XserverRegion region; local 42 region = XAllocID (dpy); 43 req->region = (CARD32) region; 50 return region; 58 XserverRegion region; local 65 region = XAllocID (dpy); 66 req->region = (CARD32) region; 70 return region; 78 XserverRegion region; local 99 XserverRegion region; local 119 XserverRegion region; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/svga/drm/ |
| vmw_screen_ioctl.c | 73 vmw_region_size(struct vmw_region *region) 75 return region->size; 218 struct vmw_region *region = NULL; local 224 region = CALLOC_STRUCT(vmw_region); 225 if (!region) 316 region->handle = rep->buffer_handle; 317 region->map_handle = rep->buffer_map_handle; 318 region->drm_fd = vws->ioctl.drm_fd; 319 region->size = rep->backup_size; 320 *p_region = region; 411 struct vmw_region *region = NULL; local 610 struct vmw_region *region; local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/ |
| Canvas.h | 52 Region region; member in struct:_CanvasExposeDataRec
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/ |
| transfer.cpp | 45 pitch(const vector_t ®ion, vector_t pitch) { 47 map(multiplies(), region, pitch))) { 58 /// Size of a region in bytes. 61 size(const vector_t &pitch, const vector_t ®ion) { 62 if (any_of(is_zero(), region)) 65 return dot(pitch, region - vector_t{ 0, 1, 1 }); 85 const vector_t &pitch, const vector_t ®ion) { 89 // The region must fit within the specified pitch, 90 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) 94 if (dot(pitch, origin) + size(pitch, region) > mem.size() [all...] |
| /xsrc/external/mit/libpciaccess/dist/src/ |
| common_io.c | 76 struct pci_mem_region *region = &(dev->regions[bar]); local 77 if (!region->is_IO) 80 if (base < region->base_addr || base > (region->base_addr+region->size)) 83 if ((base + size) > (region->base_addr + region->size))
|