diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-10-05 13:23:55 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-10-05 13:28:09 -0700 |
commit | 76322af2a6c109a79431f019dcef6e038c030686 (patch) | |
tree | 713cd5b099fc21a0f27e1f4f468c2f31e1bb6a24 /libs/rs/rsContext.h | |
parent | cd1b8d3665fcab89e28592838cfba1a09bc8202a (diff) | |
download | frameworks_base-76322af2a6c109a79431f019dcef6e038c030686.zip frameworks_base-76322af2a6c109a79431f019dcef6e038c030686.tar.gz frameworks_base-76322af2a6c109a79431f019dcef6e038c030686.tar.bz2 |
Adding average fps counter.
Removing rsLight from libRS
Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r-- | libs/rs/rsContext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index dabe196..8a8b8a8 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -30,7 +30,6 @@ #include "rsAllocation.h" #include "rsAdapter.h" #include "rsSampler.h" -#include "rsLight.h" #include "rsFont.h" #include "rsProgramFragment.h" #include "rsProgramStore.h" @@ -94,7 +93,6 @@ public: ProgramStoreState mStateFragmentStore; ProgramRasterState mStateRaster; ProgramVertexState mStateVertex; - LightState mStateLight; VertexArrayState mStateVertexArray; FontState mStateFont; @@ -296,6 +294,9 @@ private: uint32_t mTimeMSLastFrame; uint32_t mTimeMSLastScript; uint32_t mTimeMSLastSwap; + uint32_t mAverageFPSFrameCount; + uint64_t mAverageFPSStartTime; + uint32_t mAverageFPS; }; } |