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

Side by Side Diff: LayoutTests/fast/canvas/pixelated-image.html

Issue 562583002: Implement image-rendering:pixelated for accelerated 2D canvases. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Set GL_NEAREST on the texture, invalidate the ImageBuffer and reconstruct the TextureMailbox when f… Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 img {
4 width: 1000px;
5 height: 1000px;
6 image-rendering: pixelated;
7 transform: translateZ(0);
8 }
9 </style>
10 <body>
11 <img src="resources/dice_alpha.png">
12 </body>
13 <script>
14 // Ignore the render tree.
15 if (window.testRunner)
16 window.testRunner.dumpAsTextWithPixelResults();
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698