diff options
Diffstat (limited to 'libs/hwui/Program.h')
| -rw-r--r-- | libs/hwui/Program.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h index 5981662..afc6f3d 100644 --- a/libs/hwui/Program.h +++ b/libs/hwui/Program.h @@ -70,6 +70,13 @@ public: } /** + * Indicates whether this program was correctly compiled and linked. + */ + inline bool isInitialized() const { + return mInitialized; + } + + /** * Binds the program with the specified projection, modelView and * transform matrices. */ @@ -126,6 +133,7 @@ private: KeyedVector<const char*, int> uniforms; bool mUse; + bool mInitialized; }; // class Program }; // namespace uirenderer |
