summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-08-17 18:35:48 -0700
committerJason Sams <rjsams@android.com>2009-08-17 18:35:48 -0700
commitbc948dedcee57a66fe2cb38d4c79d04a10c7efb3 (patch)
tree67ca3813ac7fb72126c28d26b54b968071c91465 /libs/rs/rsContext.h
parent334ea0c98f051b5a6b85bc616c93304651854298 (diff)
downloadframeworks_base-bc948dedcee57a66fe2cb38d4c79d04a10c7efb3.zip
frameworks_base-bc948dedcee57a66fe2cb38d4c79d04a10c7efb3.tar.gz
frameworks_base-bc948dedcee57a66fe2cb38d4c79d04a10c7efb3.tar.bz2
Remove global IO context and integrate it into the RS context.
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 60a526b..3d17298 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -21,6 +21,7 @@
#include <ui/Surface.h>
+#include "rsThreadIO.h"
#include "rsType.h"
#include "rsMatrix.h"
#include "rsAllocation.h"
@@ -115,6 +116,9 @@ public:
uint32_t getWidth() const {return mWidth;}
uint32_t getHeight() const {return mHeight;}
+
+ ThreadIO mIO;
+
protected:
Device *mDev;