summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsShaderCache.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-03-03 13:03:18 -0800
committerJason Sams <rjsams@android.com>2010-03-03 14:14:37 -0800
commit156cce698093023d9e79a4ff4fb96f4e4d3019db (patch)
treeff5ce34e453d2f475bcab35d29f5a7d00d53554d /libs/rs/rsShaderCache.h
parenta034cd3e15b6626be03e60f2d6a0f929dcb950d9 (diff)
downloadframeworks_base-156cce698093023d9e79a4ff4fb96f4e4d3019db.zip
frameworks_base-156cce698093023d9e79a4ff4fb96f4e4d3019db.tar.gz
frameworks_base-156cce698093023d9e79a4ff4fb96f4e4d3019db.tar.bz2
Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
Diffstat (limited to 'libs/rs/rsShaderCache.h')
-rw-r--r--libs/rs/rsShaderCache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsShaderCache.h b/libs/rs/rsShaderCache.h
index 7aa8183..df99ccc 100644
--- a/libs/rs/rsShaderCache.h
+++ b/libs/rs/rsShaderCache.h
@@ -56,6 +56,7 @@ protected:
int32_t mFragAttribSlots[Program::MAX_ATTRIBS];
int32_t mFragUniformSlots[Program::MAX_UNIFORMS];
bool mUserVertexProgram;
+ bool mIsValid;
} entry_t;
entry_t *mEntries;
entry_t *mCurrent;