projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ff227
)
fix concat order for local matrices
author
reed
<reed@google.com>
Wed, 6 Aug 2014 19:43:09 +0000
(12:43 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 6 Aug 2014 19:43:09 +0000
(12:43 -0700)
BUG=skia:
R=bsalomon@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/
446013004
src/core/SkLocalMatrixShader.cpp
patch
|
blob
|
history
diff --git
a/src/core/SkLocalMatrixShader.cpp
b/src/core/SkLocalMatrixShader.cpp
index c77f38d6d68bcf53d6a230bce164d3f8a32a6ce3..e5d92484700bbf593ab4e1f7119bc15045e72b98 100644
(file)
--- a/
src/core/SkLocalMatrixShader.cpp
+++ b/
src/core/SkLocalMatrixShader.cpp
@@
-27,7
+27,7
@@
SkShader::Context* SkLocalMatrixShader::onCreateContext(const ContextRec& rec,
ContextRec newRec(rec);
SkMatrix tmp;
if (rec.fLocalMatrix) {
- tmp.setConcat(
this->getLocalMatrix(), *rec.fLocalMatrix
);
+ tmp.setConcat(
*rec.fLocalMatrix, this->getLocalMatrix()
);
newRec.fLocalMatrix = &tmp;
} else {
newRec.fLocalMatrix = &this->getLocalMatrix();