diff options
author | Jason Sams <jsams@google.com> | 2015-05-11 15:02:50 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2015-05-11 15:02:50 -0700 |
commit | f82b626e0479ce4a23ebff1fc088e073dcabaa30 (patch) | |
tree | 791670c30202628658777ad2c88f5e9831021f7c /rs_hal.h | |
parent | 6063b3ef8f88f5b4f29994b58ef0c883c4bea066 (diff) | |
download | rs-f82b626e0479ce4a23ebff1fc088e073dcabaa30.tar.gz |
Add USAGE_OEM
Allow OEMs to pass data from other HW blocks via internal
extension.
Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
Diffstat (limited to 'rs_hal.h')
-rw-r--r-- | rs_hal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -190,6 +190,7 @@ typedef struct { struct { bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); + bool (*initOem)(const Context *rsc, Allocation *alloc, bool forceZero, void *usrPtr); bool (*initAdapter)(const Context *rsc, Allocation *alloc); void (*destroy)(const Context *rsc, Allocation *alloc); uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); @@ -400,6 +401,7 @@ enum RsHalInitEnums { RS_HAL_ALLOCATION_GENERATE_MIPMAPS = 2023, RS_HAL_ALLOCATION_UPDATE_CACHED_OBJECT = 2024, RS_HAL_ALLOCATION_ADAPTER_OFFSET = 2025, + RS_HAL_ALLOCATION_INIT_OEM = 2026, RS_HAL_SAMPLER_INIT = 3000, RS_HAL_SAMPLER_DESTROY = 3001, |