summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-08-01 15:02:34 -0700
committerStephen Hines <srhines@google.com>2011-08-03 18:46:56 -0700
commit4382467a80dd12c6362d57edca7f2367f7ae877c (patch)
treef91d338f48444ccb373040ba356910c3fc52c8df /libs/rs/rsContext.h
parent00451ed2d1f21945766bc0c59e762ef39cb391b8 (diff)
downloadframeworks_base-4382467a80dd12c6362d57edca7f2367f7ae877c.zip
frameworks_base-4382467a80dd12c6362d57edca7f2367f7ae877c.tar.gz
frameworks_base-4382467a80dd12c6362d57edca7f2367f7ae877c.tar.bz2
Start using bcinfo components within librs.
BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 309fe95..3c7a3d2 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -199,9 +199,13 @@ public:
uint32_t getDPI() const {return mDPI;}
void setDPI(uint32_t dpi) {mDPI = dpi;}
+ uint32_t getTargetSdkVersion() const {return mTargetSdkVersion;}
+ void setTargetSdkVersion(uint32_t sdkVer) {mTargetSdkVersion = sdkVer;}
+
Device *mDev;
protected:
+ uint32_t mTargetSdkVersion;
uint32_t mDPI;
uint32_t mWidth;
uint32_t mHeight;