Support for cubemaps.
Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
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 @@
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 @@
private:
void init(Context *rsc, const Type *);
-
+ void upload2DTexture(bool isFirstUpload);
+ void uploadCubeTexture(bool isFirstUpload);
};
}