Add flags word to context initialization.

bug 10427951

Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
diff --git a/cpp/rsCppStructs.h b/cpp/rsCppStructs.h
index 9ec8076..f8a14ed 100644
--- a/cpp/rsCppStructs.h
+++ b/cpp/rsCppStructs.h
@@ -59,13 +59,20 @@
      RS_YUV_MAX = 3
  };
 
+ enum RSInitFlags {
+     RS_INIT_SYNCHRONOUS = 1,
+     RS_INIT_LOW_LATENCY = 2,
+     RS_INIT_MAX = 4
+ };
+
+
  class RS : public android::RSC::LightRefBase<RS> {
 
  public:
     RS();
     virtual ~RS();
 
-    bool init(bool forceCpu = false, bool synchronous = false);
+    bool init(uint32_t flags);
 
     void setErrorHandler(ErrorHandlerFunc_t func);
     ErrorHandlerFunc_t getErrorHandler() { return mErrorFunc; }
@@ -86,7 +93,7 @@
     static bool usingNative;
     static bool initDispatch(int targetApi);
 
-    bool init(int targetApi, bool forceCpu, bool synchronous);
+    bool init(int targetApi, uint32_t flags);
     static void * threadProc(void *);
 
     static bool gInitialized;