summaryrefslogtreecommitdiffstats
path: root/libs/rs/driver/rsdGL.h
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-05-17 12:32:47 -0700
committerAlex Sakhartchouk <alexst@google.com>2011-05-17 16:42:24 -0700
commit6c72eec06e69559b4d990777c7b280aa81586797 (patch)
tree7190db025c961273573e8faa05d1a3c22ec834ba /libs/rs/driver/rsdGL.h
parent51c07e717b4416dd338b0add3a3c94d1137366af (diff)
downloadframeworks_base-6c72eec06e69559b4d990777c7b280aa81586797.zip
frameworks_base-6c72eec06e69559b4d990777c7b280aa81586797.tar.gz
frameworks_base-6c72eec06e69559b4d990777c7b280aa81586797.tar.bz2
Preparing libRS for for compilation on host.
Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
Diffstat (limited to 'libs/rs/driver/rsdGL.h')
-rw-r--r--libs/rs/driver/rsdGL.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/rs/driver/rsdGL.h b/libs/rs/driver/rsdGL.h
index 90cbe04..01c8438 100644
--- a/libs/rs/driver/rsdGL.h
+++ b/libs/rs/driver/rsdGL.h
@@ -18,6 +18,7 @@
#define RSD_GL_H
#include <rs_hal.h>
+#include <EGL/egl.h>
class RsdShaderCache;
class RsdVertexArrayState;
@@ -74,7 +75,7 @@ typedef struct RsdGLRec {
bool rsdGLInit(const android::renderscript::Context *rsc);
void rsdGLShutdown(const android::renderscript::Context *rsc);
bool rsdGLSetSurface(const android::renderscript::Context *rsc,
- uint32_t w, uint32_t h, ANativeWindow *sur);
+ uint32_t w, uint32_t h, RsNativeWindow sur);
void rsdGLSwap(const android::renderscript::Context *rsc);
void rsdGLCheckError(const android::renderscript::Context *rsc,
const char *msg, bool isFatal = false);