summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-09-03 15:43:13 -0700
committerJason Sams <rjsams@android.com>2009-09-03 15:43:13 -0700
commit2525a815220652b37e2e390fe8c62394a6d0e574 (patch)
treebe26549baa696d9beb89c8188ab16c13f26a5548 /libs/rs/rsContext.h
parent1c1ffa0cab8b56274970736d7f3b8c00c01c3d2b (diff)
downloadframeworks_base-2525a815220652b37e2e390fe8c62394a6d0e574.zip
frameworks_base-2525a815220652b37e2e390fe8c62394a6d0e574.tar.gz
frameworks_base-2525a815220652b37e2e390fe8c62394a6d0e574.tar.bz2
Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index c58a88c..634416b 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -131,6 +131,7 @@ public:
void timerReset();
void timerSet(Timers);
void timerPrint();
+ void timerFrame();
bool checkVersion1_1() const {return (mGL.mMajorVersion > 1) || (mGL.mMinorVersion >= 1); }
bool checkVersion2_0() const {return mGL.mMajorVersion >= 2; }
@@ -202,6 +203,8 @@ private:
uint64_t mTimers[_RS_TIMER_TOTAL];
Timers mTimerActive;
uint64_t mTimeLast;
+ uint64_t mTimeFrame;
+ uint64_t mTimeLastFrame;
};