diff options
author | 2011-02-17 16:43:10 +0000 | |
---|---|---|
committer | 2011-02-17 16:43:10 +0000 | |
commit | c6cf72381b212eb21e61d5c5e14247b483a77753 (patch) | |
tree | 766c1b8279c387b424bb8ac5c60004610c74ab9e /gpu/src/GrDrawTarget.cpp | |
parent | dbbdad70511472d40ffb358750c53ae7891f3881 (diff) |
Hide alloc size vs content size below API
Remove old gl shaders class
Move texture matrix to sampler class
git-svn-id: http://skia.googlecode.com/svn/trunk@808 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrDrawTarget.cpp')
-rw-r--r-- | gpu/src/GrDrawTarget.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/gpu/src/GrDrawTarget.cpp b/gpu/src/GrDrawTarget.cpp index 06e5ab8b3f..63e59c4831 100644 --- a/gpu/src/GrDrawTarget.cpp +++ b/gpu/src/GrDrawTarget.cpp @@ -331,7 +331,7 @@ void GrDrawTarget::setViewMatrix(const GrMatrix& m) { fCurrDrawState.fViewMatrix = m; } -void GrDrawTarget::concatViewMatrix(const GrMatrix& matrix) { +void GrDrawTarget::preConcatViewMatrix(const GrMatrix& matrix) { fCurrDrawState.fViewMatrix.preConcat(matrix); } @@ -358,21 +358,6 @@ void GrDrawTarget::setSamplerState(int stage, const GrSamplerState& state) { fCurrDrawState.fSamplerStates[stage] = state; } -void GrDrawTarget::setTextureMatrix(int stage, const GrMatrix& m) { - GrAssert(stage >= 0 && stage < kNumStages); - fCurrDrawState.fTextureMatrices[stage] = m; -} - -void GrDrawTarget::concatTextureMatrix(int stage, const GrMatrix& m) { - GrAssert(stage >= 0 && stage < kNumStages); - fCurrDrawState.fTextureMatrices[stage].preConcat(m); -} - -const GrMatrix& GrDrawTarget::getTextureMatrix(int stage) const { - GrAssert(stage >= 0 && stage < kNumStages); - return fCurrDrawState.fTextureMatrices[stage]; -} - void GrDrawTarget::setStencilPass(StencilPass pass) { fCurrDrawState.fStencilPass = pass; } |