summaryrefslogtreecommitdiff
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 03e65f1f0f2b..caf9728284a4 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -41,11 +41,12 @@
#include "rsgApiStructs.h"
#include "rsLocklessFifo.h"
-#include <ui/egl/android_natives.h>
// ---------------------------------------------------------------------------
namespace android {
+class Surface;
+
namespace renderscript {
class Context
@@ -98,7 +99,7 @@ public:
void pause();
void resume();
- void setSurface(uint32_t w, uint32_t h, android_native_window_t *sur);
+ void setSurface(uint32_t w, uint32_t h, Surface *sur);
void setPriority(int32_t p);
void assignName(ObjectBase *obj, const char *name, uint32_t len);
@@ -238,7 +239,7 @@ private:
static void * threadProc(void *);
- android_native_window_t *mWndSurface;
+ Surface *mWndSurface;
Vector<ObjectBase *> mNames;