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

Unified Diff: cc/surfaces/display.h

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/output/output_surface_client.h ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index a93f31794274e261bf3d6cf1e00ca00ed97c996a..ea0ff185e955d4e5088ef85e5aa9e9d5caa1c7c9 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -83,6 +83,9 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
void DidReceiveSwapBuffersAck() override;
void DidReceiveTextureInUseResponses(
const gpu::TextureInUseResponses& responses) override;
+ void ReadbackSwappedOverlayTextures(
+ std::vector<SkBitmap>* bitmaps,
+ const base::Callback<void(bool)>& callback) override;
// SurfaceObserver implementation.
void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override;
« no previous file with comments | « cc/output/output_surface_client.h ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698