diff options
author | Jason Sams <jsams@google.com> | 2015-03-11 15:22:38 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2015-03-11 15:23:08 -0700 |
commit | 0ca7cbaea8d5cf18f25d1148be75fbb6e2d86c62 (patch) | |
tree | e9300e4eaf2c12acdb593f7b6182cd60f6676593 /rsContext.h | |
parent | d38f6e8c15dbb1f5a507955ab3fd0a1e15b35fca (diff) | |
download | rs-0ca7cbaea8d5cf18f25d1148be75fbb6e2d86c62.tar.gz |
Refactor hal loading
This CL make the loading of RS drivers more robust by
looking up entry points in place of a structure of entry points.
It also adds framework for a version handshake.
Change-Id: Iae46bf0171785c0ca1048223816b6efc60c337ad
Diffstat (limited to 'rsContext.h')
-rw-r--r-- | rsContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsContext.h b/rsContext.h index 3084a9a2..459550cf 100644 --- a/rsContext.h +++ b/rsContext.h @@ -37,7 +37,6 @@ #ifndef RS_COMPATIBILITY_LIB #include "rsFont.h" -#include "rsPath.h" #include "rsProgramFragment.h" #include "rsProgramStore.h" #include "rsProgramRaster.h" @@ -300,7 +299,8 @@ private: uint32_t runRootScript(); - static bool loadRuntime(const char* filename, Context* rsc); + bool loadRuntime(const char* filename); + bool loadDriver(bool forceDefault); static void * threadProc(void *); static void * helperThreadProc(void *); |