Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: src/gpu/effects/GrBicubicEffect.cpp

Issue 37003005: use the supplied matrix instead of the texture w/h div for the bicubic GPU effect (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add option to clippedbitmap to demonstrate bug this fixes Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/clippedbitmapshaders.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrBicubicEffect.cpp
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp
index 25a15916de74712d949413ce703637d3f372091a..568311b3ca6694a8eebedb0abde2fff094e5f0e1 100644
--- a/src/gpu/effects/GrBicubicEffect.cpp
+++ b/src/gpu/effects/GrBicubicEffect.cpp
@@ -116,7 +116,7 @@ GrBicubicEffect::GrBicubicEffect(GrTexture* texture,
const SkMatrix &matrix,
const GrTextureParams &params,
GrCoordSet coordSet)
- : INHERITED(texture, MakeDivByTextureWHMatrix(texture), params, coordSet) {
+ : INHERITED(texture, matrix, params, coordSet) {
for (int y = 0; y < 4; y++) {
for (int x = 0; x < 4; x++) {
// Convert from row-major scalars to column-major floats.
« no previous file with comments | « gm/clippedbitmapshaders.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698