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

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: Compile errors. 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
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index c0c8b14e007ae0348be81093d9053f5f96c194c9..3238d80ba5aed268af6aafc3627eef438310a5a2 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -355,6 +355,12 @@ void Display::DidSwapBuffersComplete() {
renderer_->SwapBuffersComplete();
}
+void Display::DidReceiveTextureInUseResponses(
+ const gpu::TextureInUseResponses& responses) {
+ if (renderer_)
+ renderer_->DidReceiveTextureInUseResponses(responses);
+}
+
void Display::SetBeginFrameSource(BeginFrameSource* source) {
// It's expected that there's only a single source from the
// BrowserCompositorOutputSurface that corresponds to vsync. The BFS is

Powered by Google App Engine
This is Rietveld 408576698