summaryrefslogtreecommitdiff
path: root/rsProgramVertex.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-07-28 12:02:16 -0700
committerJason Sams <rjsams@android.com>2009-07-28 12:02:16 -0700
commitc9d43db4d216b01b13aebfdb31d5615909591b33 (patch)
tree9ee46dee265ddee2a10c624e10ee6f2a50a8c2df /rsProgramVertex.h
parent5e172b0817603d4ef0d7e80221a2cc4ecea1fb1b (diff)
downloadrs-c9d43db4d216b01b13aebfdb31d5615909591b33.tar.gz
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 'rsProgramVertex.h')
-rw-r--r--rsProgramVertex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rsProgramVertex.h b/rsProgramVertex.h
index ac15b70a..da5ed815 100644
--- a/rsProgramVertex.h
+++ b/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;