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

Unified Diff: cc/surfaces/display.cc

Issue 2465093002: cc: Add OutputSurface state snapshots.
Patch Set: rebase 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/surfaces/display.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 2e283749536e076f21fdbb64b06885ee12272aae..62f14f04171bca08e5ccd2e04c98ac58efa23582 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -232,6 +232,12 @@ void Display::DidLoseContextProvider() {
client_->DisplayOutputSurfaceLost();
}
+void Display::ReadbackSwappedOverlayTextures(
+ std::vector<SkBitmap>* bitmaps,
+ const base::Callback<void(bool)>& callback) {
+ renderer_->ReadbackSwappedOverlayTextures(bitmaps, callback);
+}
+
bool Display::DrawAndSwap() {
TRACE_EVENT0("cc", "Display::DrawAndSwap");
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698