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

Unified Diff: content/common/gpu/gpu_channel_manager.h

Issue 10534173: GPU Program Caching (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Patch Created 8 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: content/common/gpu/gpu_channel_manager.h
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
index 735895e23675efbf9290eb1bf1527c24da10586d..ec519ccd5546100856dfa79b6a2a3642e3c0ece3 100644
--- a/content/common/gpu/gpu_channel_manager.h
+++ b/content/common/gpu/gpu_channel_manager.h
@@ -8,6 +8,7 @@
#include "base/hash_tables.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop_proxy.h"
#include "build/build_config.h"
@@ -15,6 +16,7 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
#include "ui/gfx/native_widget_types.h"
+#include "gpu/command_buffer/service/program_cache.h"
greggman 2012/06/26 23:00:27 forward declare instead?
dmurph 2012/07/04 00:01:29 Done.
namespace base {
class WaitableEvent;
@@ -117,6 +119,7 @@ class GpuChannelManager : public IPC::Listener,
GpuMemoryManager gpu_memory_manager_;
GpuWatchdog* watchdog_;
scoped_refptr<SyncPointManager> sync_point_manager_;
+ scoped_ptr<gpu::gles2::ProgramCache> program_cache_;
DISALLOW_COPY_AND_ASSIGN(GpuChannelManager);
};

Powered by Google App Engine
This is Rietveld 408576698