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

Unified Diff: cc/surfaces/display.cc

Issue 2061993003: Pass responsibility for IOSurface-texture reuse to the gpu process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp85_query_in_use
Patch Set: Rebase. Created 4 years, 6 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 f109a97c057f9842231511db51ce19ce62945c93..29559f6b97ccda25b51bcaab3aff1a87c37c713b 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -340,6 +340,12 @@ void Display::CommitVSyncParameters(base::TimeTicks timebase,
NOTREACHED();
}
+void Display::DidReceiveTextureInUseResponses(
+ const gpu::TextureInUseResponses& responses) {
+ if (renderer_)
+ renderer_->DidReceiveTextureInUseResponses(responses);
+}
+
void Display::SetBeginFrameSource(BeginFrameSource* source) {
// The BeginFrameSource is set from the constructor, it doesn't come
// from the OutputSurface for the Display.
« 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