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

Side by Side Diff: cc/playback/display_list_recording_source.h

Issue 1552693002: Add paint testing mode subsequence_caching_disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RemoveSyncPaint
Patch Set: Rebase on origin/master Created 4 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 unified diff | Download patch
« no previous file with comments | « cc/layers/content_layer_client.h ('k') | cc/playback/display_list_recording_source.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_ 5 #ifndef CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_
6 #define CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_ 6 #define CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 class CC_EXPORT DisplayListRecordingSource { 29 class CC_EXPORT DisplayListRecordingSource {
30 public: 30 public:
31 // TODO(schenney) Remove RECORD_WITH_SK_NULL_CANVAS when we no longer 31 // TODO(schenney) Remove RECORD_WITH_SK_NULL_CANVAS when we no longer
32 // support a non-Slimming Paint path. 32 // support a non-Slimming Paint path.
33 enum RecordingMode { 33 enum RecordingMode {
34 RECORD_NORMALLY, 34 RECORD_NORMALLY,
35 RECORD_WITH_SK_NULL_CANVAS, 35 RECORD_WITH_SK_NULL_CANVAS,
36 RECORD_WITH_PAINTING_DISABLED, 36 RECORD_WITH_PAINTING_DISABLED,
37 RECORD_WITH_CACHING_DISABLED, 37 RECORD_WITH_CACHING_DISABLED,
38 RECORD_WITH_CONSTRUCTION_DISABLED, 38 RECORD_WITH_CONSTRUCTION_DISABLED,
39 RECORD_WITH_SUBSEQUENCE_CACHING_DISABLED,
39 RECORDING_MODE_COUNT, // Must be the last entry. 40 RECORDING_MODE_COUNT, // Must be the last entry.
40 }; 41 };
41 42
42 DisplayListRecordingSource(); 43 DisplayListRecordingSource();
43 virtual ~DisplayListRecordingSource(); 44 virtual ~DisplayListRecordingSource();
44 45
45 void ToProtobuf(proto::DisplayListRecordingSource* proto) const; 46 void ToProtobuf(proto::DisplayListRecordingSource* proto) const;
46 void FromProtobuf(const proto::DisplayListRecordingSource& proto); 47 void FromProtobuf(const proto::DisplayListRecordingSource& proto);
47 48
48 bool UpdateAndExpandInvalidation(ContentLayerClient* painter, 49 bool UpdateAndExpandInvalidation(ContentLayerClient* painter,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 friend class DisplayListRasterSource; 91 friend class DisplayListRasterSource;
91 92
92 void DetermineIfSolidColor(); 93 void DetermineIfSolidColor();
93 94
94 DISALLOW_COPY_AND_ASSIGN(DisplayListRecordingSource); 95 DISALLOW_COPY_AND_ASSIGN(DisplayListRecordingSource);
95 }; 96 };
96 97
97 } // namespace cc 98 } // namespace cc
98 99
99 #endif // CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_ 100 #endif // CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/layers/content_layer_client.h ('k') | cc/playback/display_list_recording_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698