Home
last modified time | relevance | path

Searched refs:region (Results 1 – 13 of 13) sorted by relevance

/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp105 GrallocRegion* region = reinterpret_cast<GrallocRegion*>( in lock_region_for_handle() local
107 if (!region) { in lock_region_for_handle()
108 region = new GrallocRegion; in lock_region_for_handle()
109 hashmapPut(hash, strdup(region_name), region); in lock_region_for_handle()
111 return region; in lock_region_for_handle()
188 GrallocRegion* region = lock_region_for_handle(hnd, name_buf); in reference_region() local
189 if (!region->base_) { in reference_region()
194 unlock_region(region); in reference_region()
204 region->base_ = mappedAddress; in reference_region()
207 name_buf, hnd, hnd->fd, region->base_, in reference_region()
[all …]
/device/linaro/hikey/gralloc960/
Dgralloc_buffer_priv.h143 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_write() local
148 memcpy(&region->crop_top, val, sizeof(int) * 4); in gralloc_buffer_attr_write()
153 region->use_yuv_transform = *val; in gralloc_buffer_attr_write()
158 region->use_sparse_alloc = *val; in gralloc_buffer_attr_write()
163 memcpy(&region->hdr_info, val, sizeof(mali_hdr_info)); in gralloc_buffer_attr_write()
184 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_read() local
189 memcpy(val, &region->crop_top, sizeof(int) * 4); in gralloc_buffer_attr_read()
194 *val = region->use_yuv_transform; in gralloc_buffer_attr_read()
199 *val = region->use_sparse_alloc; in gralloc_buffer_attr_read()
204 memcpy(val, &region->hdr_info, sizeof(mali_hdr_info)); in gralloc_buffer_attr_read()
Dgralloc_buffer_priv.cpp84 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_allocate() local
/device/amlogic/yukawa/hal/gralloc/
Dgralloc_buffer_priv.h142 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_write() local
147 memcpy(&region->crop_top, val, sizeof(int) * 4); in gralloc_buffer_attr_write()
152 region->use_yuv_transform = *val; in gralloc_buffer_attr_write()
157 region->use_sparse_alloc = *val; in gralloc_buffer_attr_write()
178 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_read() local
183 memcpy(val, &region->crop_top, sizeof(int) * 4); in gralloc_buffer_attr_read()
188 *val = region->use_yuv_transform; in gralloc_buffer_attr_read()
193 *val = region->use_sparse_alloc; in gralloc_buffer_attr_read()
Dgralloc_buffer_priv.cpp84 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_allocate() local
/device/google/cuttlefish/host/libs/wayland/
Dwayland_compositor.cpp49 Surface::Region* region = GetUserData<Surface::Region>(region_resource); in region_add() local
50 region->x = x; in region_add()
51 region->y = y; in region_add()
52 region->w = w; in region_add()
53 region->h = h; in region_add()
121 Surface::Region* region = GetUserData<Surface::Region>(region_resource); in surface_set_opaque_region() local
123 surface->SetRegion(*region); in surface_set_opaque_region()
209 std::unique_ptr<Surface::Region> region(new Surface::Region()); in compositor_create_region() local
215 region.release(), in compositor_create_region()
Dwayland_surface.cpp24 void Surface::SetRegion(const Region& region) { in SetRegion() argument
26 state_.region = region; in SetRegion()
49 CHECK(buffer_w == state_.region.w); in Commit()
51 CHECK(buffer_h == state_.region.h); in Commit()
Dwayland_surface.h48 void SetRegion(const Region& region);
76 Region region; member
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include/
Dgoldfish_address_space_host.impl132 ALOGD("%s: Ask to claim region [0x%llx 0x%llx]\n", __func__,
146 ALOGE("%s: failed to claim shared region. Error: %d\n", __func__, claimRes);
341 ALOGE("%s: failed to claim shared region. Error: %d\n", __func__, claimRes);
Dgoldfish_address_space_android.impl216 ALOGD("%s: Ask to claim region [0x%llx 0x%llx]\n", __func__,
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b071region�pd_dump.c:ADSP:Failed to update tcb dump size to user PD����pd_dump.c:ADSP:PD dump could no…
Dadsp.b1333 …capi_v2_lib_mem_mapper: Insufficient memory to allocate to shared memory region struct. It require…
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp3002 goldfish_dma_context region; in s_glMapBufferRange() local
3007 if (goldfish_dma_create_region(aligned_length, &region)) { in s_glMapBufferRange()
3012 if (!goldfish_dma_map(&region)) { in s_glMapBufferRange()
3017 buf->m_guest_paddr = goldfish_dma_guest_paddr(&region); in s_glMapBufferRange()
3018 buf->dma_buffer.reset(&region); in s_glMapBufferRange()