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

Unified Diff: cc/playback/display_list_recording_source.h

Issue 1361663003: Revert of Cache gpu suitability in DisplayItemList, remove SetUnsuitable...ForTesting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/playback/display_item_list.cc ('k') | cc/playback/display_list_recording_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/display_list_recording_source.h
diff --git a/cc/playback/display_list_recording_source.h b/cc/playback/display_list_recording_source.h
index 912d9363a99cbdaa25774400785ba4406e630580..5824b103804d7ed03ce56296687dcf4e0ae4bf6d 100644
--- a/cc/playback/display_list_recording_source.h
+++ b/cc/playback/display_list_recording_source.h
@@ -33,6 +33,7 @@
void SetBackgroundColor(SkColor background_color) override;
void SetRequiresClear(bool requires_clear) override;
bool IsSuitableForGpuRasterization() const override;
+ void SetUnsuitableForGpuRasterizationForTesting() override;
// Returns true if the new recorded viewport exposes enough new area to be
// worth re-recording.
static bool ExposesEnoughNewArea(
@@ -65,6 +66,8 @@
void DetermineIfSolidColor();
+ bool is_suitable_for_gpu_rasterization_;
+
DISALLOW_COPY_AND_ASSIGN(DisplayListRecordingSource);
};
« no previous file with comments | « cc/playback/display_item_list.cc ('k') | cc/playback/display_list_recording_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698