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

Unified Diff: content/test/data/gpu/pixel_canvas_display_linear-rgb.html

Issue 2708403003: Implement canvas color space IDL format for 2D canvas (Closed)
Patch Set: Addressing GPU pixel test failures Created 3 years, 10 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 | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-linear-rgb.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/gpu/pixel_canvas_display_linear-rgb.html
diff --git a/content/test/data/gpu/pixel_canvas_display_linear-rgb.html b/content/test/data/gpu/pixel_canvas_display_linear-rgb.html
index 363b1ef04c0f332c91ff618f5ce7c0ecf28cf936..9cae0de8d97d1b1ac7846653e607ad381db26aea 100644
--- a/content/test/data/gpu/pixel_canvas_display_linear-rgb.html
+++ b/content/test/data/gpu/pixel_canvas_display_linear-rgb.html
@@ -15,7 +15,7 @@ function main()
function draw()
{
- var ctx = document.getElementById("c").getContext("2d", {colorSpace:'linear-rgb'});
+ var ctx = document.getElementById("c").getContext("2d", {colorSpace:"srgb", pixelFormat: "float16"});
ctx.fillStyle = 'red';
ctx.fillRect(20,20,50,50);
ctx.fillStyle = 'green';
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-linear-rgb.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698