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

Unified Diff: cc/proto/display_item.proto

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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 | « cc/proto/compositor_message.proto ('k') | cc/proto/gfx_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/display_item.proto
diff --git a/cc/proto/display_item.proto b/cc/proto/display_item.proto
deleted file mode 100644
index d5582031d9251038170f14253bbea6c4cd4871bf..0000000000000000000000000000000000000000
--- a/cc/proto/display_item.proto
+++ /dev/null
@@ -1,97 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-syntax = "proto2";
-
-import "skclipop.proto";
-import "skrrect.proto";
-import "skxfermode.proto";
-import "rect.proto";
-import "rectf.proto";
-import "transform.proto";
-
-option optimize_for = LITE_RUNTIME;
-
-package cc.proto;
-
-message DisplayItemListSettings {
- optional bool use_cached_picture = 1;
-}
-
-message DisplayItemList {
- repeated DisplayItem items = 1;
- optional DisplayItemListSettings settings = 3;
- repeated cc.proto.Rect visual_rects = 4;
-}
-
-message DisplayItem {
- enum Type {
- Type_Clip = 1;
- Type_EndClip = 2;
- Type_ClipPath = 3;
- Type_EndClipPath = 4;
- Type_Compositing = 5;
- Type_EndCompositing = 6;
- Type_Drawing = 7;
- Type_Filter = 8;
- Type_EndFilter = 9;
- Type_FloatClip = 10;
- Type_EndFloatClip = 11;
- Type_Transform = 12;
- Type_EndTransform = 13;
- }
-
- optional Type type = 1;
-
- // Unique DisplayItem types. |type| determines which one (if any) is valid.
- optional ClipDisplayItem clip_item = 1000;
- optional ClipPathDisplayItem clip_path_item = 1001;
- optional CompositingDisplayItem compositing_item = 1002;
- optional DrawingDisplayItem drawing_item = 1003;
- optional FilterDisplayItem filter_item = 1004;
- optional FloatClipDisplayItem float_clip_item = 1005;
- optional TransformDisplayItem transform_item = 1006;
-}
-
-message ClipDisplayItem {
- optional cc.proto.Rect clip_rect = 1;
- repeated cc.proto.SkRRect rounded_rects = 2;
- optional bool antialias = 3;
-}
-
-message ClipPathDisplayItem {
- optional cc.proto.SkClipOp.Op clip_op = 1;
- optional bool antialias = 2;
- optional bytes clip_path = 3; /* SkPath */
-}
-
-message CompositingDisplayItem {
- optional uint32 alpha = 1;
- optional cc.proto.SkXfermode.Mode mode = 2;
- optional cc.proto.RectF bounds = 3;
- optional bytes color_filter = 4; /* SkColorFilter */
- optional bool lcd_text_requires_opaque_layer = 5;
-}
-
-message SkPictureID {
- optional uint32 unique_id = 1;
-}
-
-message DrawingDisplayItem {
- optional SkPictureID id = 1;
-}
-
-message FilterDisplayItem {
- optional cc.proto.RectF bounds = 1;
-
- // TODO(dtrainor): Support FilterOperations.
-}
-
-message FloatClipDisplayItem {
- optional cc.proto.RectF clip_rect = 1;
-}
-
-message TransformDisplayItem {
- optional cc.proto.Transform transform = 1;
-}
« no previous file with comments | « cc/proto/compositor_message.proto ('k') | cc/proto/gfx_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698