summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramVertex.h
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2009-07-28 12:02:16 -0700
committer Jason Sams <rjsams@android.com> 2009-07-28 12:02:16 -0700
commitb0ec1b46d6f5b5612e33fe43a828abea79b87a00 (patch)
tree3bf6193634273ec0cbf2e6a024f8afb315fb2f61 /libs/rs/rsProgramVertex.h
parent8af858e9b6577d074c5427e601b6418d288fdb9d (diff)
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
Diffstat (limited to 'libs/rs/rsProgramVertex.h')
-rw-r--r--libs/rs/rsProgramVertex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsProgramVertex.h b/libs/rs/rsProgramVertex.h
index ac15b70a7cb6..da5ed815514a 100644
--- a/libs/rs/rsProgramVertex.h
+++ b/libs/rs/rsProgramVertex.h
@@ -41,6 +41,10 @@ public:
void setTextureMatrixEnable(bool e) {mTextureMatrixEnable = e;}
void addLight(const Light *);
+ void setProjectionMatrix(const rsc_Matrix *) const;
+ void setModelviewMatrix(const rsc_Matrix *) const;
+ void setTextureMatrix(const rsc_Matrix *) const;
+
protected:
bool mDirty;
uint32_t mLightCount;