Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 6bc2d84723399ac5fe6aa2ba2c0d0a370dbfa5ce..f9ec618996692697dc9b556337f6dd222cffa068 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; } |
@@ -140,6 +141,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. |