From 67f2e442a31b8395e3c1951f8e91139ec7f2be99 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Thu, 18 Nov 2010 15:22:43 -0800 Subject: Support for cubemaps. Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee --- libs/rs/rsAllocation.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/rs/rsAllocation.h') diff --git a/libs/rs/rsAllocation.h b/libs/rs/rsAllocation.h index f9a0fc9..5b432f2 100644 --- a/libs/rs/rsAllocation.h +++ b/libs/rs/rsAllocation.h @@ -48,6 +48,8 @@ public: void uploadToTexture(const Context *rsc); uint32_t getTextureID() const {return mTextureID;} + uint32_t getGLTarget() const; + void deferedUploadToBufferObject(const Context *rsc); void uploadToBufferObject(const Context *rsc); uint32_t getBufferObjectID() const {return mBufferID;} @@ -134,7 +136,8 @@ protected: private: void init(Context *rsc, const Type *); - + void upload2DTexture(bool isFirstUpload); + void uploadCubeTexture(bool isFirstUpload); }; } -- cgit v1.1