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

Unified Diff: gpu/ipc/in_process_command_buffer.h

Issue 2814583002: Service/ClientDiscardableManager (Closed)
Patch Set: rebase Created 3 years, 7 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 | « gpu/gles2_conform_support/egl/context.cc ('k') | gpu/ipc/in_process_command_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/in_process_command_buffer.h
diff --git a/gpu/ipc/in_process_command_buffer.h b/gpu/ipc/in_process_command_buffer.h
index 72ca12db6f20a3b0319d09e0e8fccae93bc0d16a..166739dac6244a45610dea0494fe5790cce2ca26 100644
--- a/gpu/ipc/in_process_command_buffer.h
+++ b/gpu/ipc/in_process_command_buffer.h
@@ -52,6 +52,7 @@ class Size;
namespace gpu {
+class ServiceDiscardableManager;
class SyncPointClientState;
class SyncPointOrderData;
class SyncPointManager;
@@ -201,6 +202,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer,
scoped_refptr<gl::GLShareGroup> share_group();
scoped_refptr<gles2::MailboxManager> mailbox_manager();
gpu::gles2::ProgramCache* program_cache();
+ ServiceDiscardableManager* discardable_manager();
virtual bool BlockThreadOnWaitSyncToken() const = 0;
protected:
@@ -211,6 +213,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer,
std::unique_ptr<gpu::gles2::ProgramCache> program_cache_;
// No-op default initialization is used in in-process mode.
GpuProcessActivityFlags activity_flags_;
+ std::unique_ptr<ServiceDiscardableManager> discardable_manager_;
};
private:
« no previous file with comments | « gpu/gles2_conform_support/egl/context.cc ('k') | gpu/ipc/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698