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

Unified Diff: PerformanceTests/Canvas/drawimage-not-pixelaligned.html

Issue 210043004: Draw thin slices of an image w/ anti-aliasing for 2D <canvas> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Clarifications. Created 6 years, 9 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 | « LayoutTests/canvas/thin-drawImages-expected.txt ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Canvas/drawimage-not-pixelaligned.html
diff --git a/PerformanceTests/Canvas/drawimage.html b/PerformanceTests/Canvas/drawimage-not-pixelaligned.html
similarity index 90%
copy from PerformanceTests/Canvas/drawimage.html
copy to PerformanceTests/Canvas/drawimage-not-pixelaligned.html
index c9d44920e99385a44f6e12afa3895a2e0ff5659a..277d8dec0a956de80245264779c5bec8f0c8db23 100644
--- a/PerformanceTests/Canvas/drawimage.html
+++ b/PerformanceTests/Canvas/drawimage-not-pixelaligned.html
@@ -16,7 +16,7 @@ target.height = source.height;
var context = target.getContext("2d")
PerfTestRunner.measureRunsPerSecond({run: function() {
- context.drawImage(source, 0, 0);
+ context.drawImage(source, 10.5, 10.5, 200, 200);
}});
</script>
</body>
« no previous file with comments | « LayoutTests/canvas/thin-drawImages-expected.txt ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698