summaryrefslogtreecommitdiffstats
path: root/rs_hal.h
diff options
context:
space:
mode:
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rs_hal.h b/rs_hal.h
index b4070ac1..77c2d261 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -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,