Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 879f29733ce3740da39d09985dcd335d1757539f..d09fab4c615c6ac6838b430ab5d318561c6edb6c 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -17,6 +17,7 @@ |
#include "cc/output/overlay_candidate_validator.h" |
#include "cc/output/software_output_device.h" |
#include "cc/output/vulkan_context_provider.h" |
+#include "gpu/command_buffer/common/texture_in_use_response.h" |
namespace base { class SingleThreadTaskRunner; } |
@@ -137,6 +138,12 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider { |
virtual void SwapBuffers(CompositorFrame* frame) = 0; |
virtual void OnSwapBuffersComplete(); |
+ // Called by subclasses after receiving a response from the gpu process to a |
+ // query about whether a given set of textures is still in use by the OS |
+ // compositor. |
+ void DidReceiveTextureInUseResponses( |
+ const gpu::TextureInUseResponses& responses); |
+ |
bool HasClient() { return !!client_; } |
// Get the class capable of informing cc of hardware overlay capability. |