summaryrefslogtreecommitdiff
path: root/rsContext.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2015-05-07 15:20:05 -0700
committerJason Sams <jsams@google.com>2015-05-07 15:20:05 -0700
commitd97617a0a736b4dadcf978bfc1fa0aef0d4d50d3 (patch)
tree751ea9ffa6fd5d132a51d23b2592a432dfaecee2 /rsContext.cpp
parent4f8c2b8c519715b05812a1c5b4de0d138ab49dfb (diff)
downloadrs-d97617a0a736b4dadcf978bfc1fa0aef0d4d50d3.tar.gz
Add a way to link against different driver names.
The existing linker path hard-coded "-lRSDriver" into the command line, but this won't work for partner drivers that have a different implementation loaded. In order to still properly handle use of the CPU driver, this needs to change depending on whether we actually loaded an OVERRIDE_RS_DRIVER or not. bug 20894664 Change-Id: I0c4a4f12f5db819b234952bc8f364ac6300f147b
Diffstat (limited to 'rsContext.cpp')
-rw-r--r--rsContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsContext.cpp b/rsContext.cpp
index 0bf9d9df..29b4036f 100644
--- a/rsContext.cpp
+++ b/rsContext.cpp
@@ -517,6 +517,7 @@ bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) {
}
mHasSurface = false;
+ mDriverName = NULL;
timerInit();
timerSet(RS_TIMER_INTERNAL);