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

Unified Diff: cc/surfaces/display.h

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/proto/renderer_settings.proto ('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 dcd91fdcf42fc8acddef30d70df61445f4631e1b..c9778ddb0590ab6e4aa1673dc56635ff48e0b0b1 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -18,6 +18,7 @@
#include "cc/surfaces/surface_id.h"
#include "cc/surfaces/surface_manager.h"
#include "cc/surfaces/surfaces_export.h"
+#include "gpu/command_buffer/common/texture_in_use_response.h"
#include "ui/events/latency_info.h"
namespace gpu {
@@ -86,6 +87,8 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override;
void DidSwapBuffers() override;
void DidSwapBuffersComplete() override;
+ void DidReceiveTextureInUseResponses(
+ const gpu::TextureInUseResponses& responses) override;
void ReclaimResources(const CompositorFrameAck* ack) override;
void DidLoseOutputSurface() override;
void SetExternalTilePriorityConstraints(
« no previous file with comments | « cc/proto/renderer_settings.proto ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698