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

Side by Side Diff: cc/proto/display_item.proto

Issue 2090203002: Remove antialiasing from views bounds rects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: std::max is bad apparently Created 4 years, 6 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/playback/largest_display_item.cc ('k') | ui/compositor/clip_recorder.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 import "skregion.proto"; 7 import "skregion.proto";
8 import "skrrect.proto"; 8 import "skrrect.proto";
9 import "skxfermode.proto"; 9 import "skxfermode.proto";
10 import "rect.proto"; 10 import "rect.proto";
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 optional ClipPathDisplayItem clip_path_item = 1001; 49 optional ClipPathDisplayItem clip_path_item = 1001;
50 optional CompositingDisplayItem compositing_item = 1002; 50 optional CompositingDisplayItem compositing_item = 1002;
51 optional DrawingDisplayItem drawing_item = 1003; 51 optional DrawingDisplayItem drawing_item = 1003;
52 optional FilterDisplayItem filter_item = 1004; 52 optional FilterDisplayItem filter_item = 1004;
53 optional FloatClipDisplayItem float_clip_item = 1005; 53 optional FloatClipDisplayItem float_clip_item = 1005;
54 optional TransformDisplayItem transform_item = 1006; 54 optional TransformDisplayItem transform_item = 1006;
55 } 55 }
56 56
57 message ClipDisplayItem { 57 message ClipDisplayItem {
58 optional cc.proto.Rect clip_rect = 1; 58 optional cc.proto.Rect clip_rect = 1;
59
60 repeated cc.proto.SkRRect rounded_rects = 2; 59 repeated cc.proto.SkRRect rounded_rects = 2;
60 optional bool antialias = 3;
61 } 61 }
62 62
63 message ClipPathDisplayItem { 63 message ClipPathDisplayItem {
64 optional cc.proto.SkRegion.Op clip_op = 1; 64 optional cc.proto.SkRegion.Op clip_op = 1;
65 optional bool antialias = 2; 65 optional bool antialias = 2;
66 optional bytes clip_path = 3; /* SkPath */ 66 optional bytes clip_path = 3; /* SkPath */
67 } 67 }
68 68
69 message CompositingDisplayItem { 69 message CompositingDisplayItem {
70 optional uint32 alpha = 1; 70 optional uint32 alpha = 1;
(...skipping 13 matching lines...) Expand all
84 // TODO(dtrainor): Support FilterOperations. 84 // TODO(dtrainor): Support FilterOperations.
85 } 85 }
86 86
87 message FloatClipDisplayItem { 87 message FloatClipDisplayItem {
88 optional cc.proto.RectF clip_rect = 1; 88 optional cc.proto.RectF clip_rect = 1;
89 } 89 }
90 90
91 message TransformDisplayItem { 91 message TransformDisplayItem {
92 optional cc.proto.Transform transform = 1; 92 optional cc.proto.Transform transform = 1;
93 } 93 }
OLDNEW
« no previous file with comments | « cc/playback/largest_display_item.cc ('k') | ui/compositor/clip_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698