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

Side by Side Diff: cc/trees/layer_tree_host_pixeltest_blending.cc

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ensure screen device profiles are matrix Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/trees/layer_tree_host_pixeltest_masks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include "cc/layers/picture_image_layer.h" 7 #include "cc/layers/picture_image_layer.h"
8 #include "cc/layers/solid_color_layer.h" 8 #include "cc/layers/solid_color_layer.h"
9 #include "cc/test/layer_tree_pixel_resource_test.h" 9 #include "cc/test/layer_tree_pixel_resource_test.h"
10 #include "cc/test/pixel_comparator.h" 10 #include "cc/test/pixel_comparator.h"
11 #include "third_party/skia/include/core/SkColorFilter.h"
11 #include "third_party/skia/include/core/SkImage.h" 12 #include "third_party/skia/include/core/SkImage.h"
12 #include "third_party/skia/include/core/SkSurface.h" 13 #include "third_party/skia/include/core/SkSurface.h"
13 14
14 #if !defined(OS_ANDROID) 15 #if !defined(OS_ANDROID)
15 16
16 namespace cc { 17 namespace cc {
17 namespace { 18 namespace {
18 19
19 SkXfermode::Mode const kBlendModes[] = { 20 SkXfermode::Mode const kBlendModes[] = {
20 SkXfermode::kSrcOver_Mode, SkXfermode::kScreen_Mode, 21 SkXfermode::kSrcOver_Mode, SkXfermode::kScreen_Mode,
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 RunBlendingWithRenderPass( 499 RunBlendingWithRenderPass(
499 GL_ZERO_COPY_RECT_DRAW, 500 GL_ZERO_COPY_RECT_DRAW,
500 FILE_PATH_LITERAL("blending_render_pass_mask.png"), 501 FILE_PATH_LITERAL("blending_render_pass_mask.png"),
501 kUseMasks | kUseAntialiasing | kUseColorMatrix | kForceShaders); 502 kUseMasks | kUseAntialiasing | kUseColorMatrix | kForceShaders);
502 } 503 }
503 504
504 } // namespace 505 } // namespace
505 } // namespace cc 506 } // namespace cc
506 507
507 #endif // OS_ANDROID 508 #endif // OS_ANDROID
OLDNEW
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/trees/layer_tree_host_pixeltest_masks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698