Pass context creation flags to driver init.
Change-Id: I08806939c0fdaf87ff234a78f7f309d0d0dc548c
diff --git a/rsContext.cpp b/rsContext.cpp
index 878daa1..9af9f6e 100644
--- a/rsContext.cpp
+++ b/rsContext.cpp
@@ -531,6 +531,7 @@
rsc->mSynchronous = true;
}
rsc->mContextType = ct;
+ rsc->mHal.flags = flags;
if (!rsc->initContext(dev, sc)) {
delete rsc;
diff --git a/rsContext.h b/rsContext.h
index e6c94ec..b382358 100644
--- a/rsContext.h
+++ b/rsContext.h
@@ -80,6 +80,7 @@
void * drv;
RsdHalFunctions funcs;
+ uint32_t flags;
};
Hal mHal;