diff options
author | Jason Sams <jsams@google.com> | 2015-05-18 17:28:59 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2015-05-18 17:29:39 -0700 |
commit | 8ce12815675bfaeb2768959b092d6db293ba36c5 (patch) | |
tree | 7834665d5480538a3bfdf0a02ed937a5b7b23516 /rs_hal.h | |
parent | 902077a7b2db5b34560289e28fed0fab36ef4e6c (diff) | |
download | rs-8ce12815675bfaeb2768959b092d6db293ba36c5.tar.gz |
Notify drivers when user get a pointer to allocation
Requested by vendor for driver bring-up.
bug 20894664
Change-Id: I7a1540236e557ef42ffde1c832b5d5ef36b91c96
Diffstat (limited to 'rs_hal.h')
-rw-r--r-- | rs_hal.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -275,6 +275,10 @@ typedef struct { void (*updateCachedObject)(const Context *rsc, const Allocation *alloc, rs_allocation *obj); void (*adapterOffset)(const Context *rsc, const Allocation *alloc); + + void (*getPointer)(const Context *rsc, const Allocation *alloc, + uint32_t lod, RsAllocationCubemapFace face, + uint32_t z, uint32_t array); } allocation; struct { @@ -402,6 +406,7 @@ enum RsHalInitEnums { RS_HAL_ALLOCATION_UPDATE_CACHED_OBJECT = 2024, RS_HAL_ALLOCATION_ADAPTER_OFFSET = 2025, RS_HAL_ALLOCATION_INIT_OEM = 2026, + RS_HAL_ALLOCATION_GET_POINTER = 2027, RS_HAL_SAMPLER_INIT = 3000, RS_HAL_SAMPLER_DESTROY = 3001, |