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

Unified Diff: gpu/command_buffer/tests/gl_manager.h

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_manager.h
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h
index 285856a8e29193d2888f557b7b01d9214a803765..5dfd16abc0ff7ee5ece97229a7ec48852664cd43 100644
--- a/gpu/command_buffer/tests/gl_manager.h
+++ b/gpu/command_buffer/tests/gl_manager.h
@@ -23,8 +23,6 @@ class GLSurface;
namespace gpu {
class CommandBufferService;
-class GpuControlService;
-class GpuMemoryBufferFactory;
class GpuScheduler;
class TransferBuffer;
@@ -35,7 +33,6 @@ class MailboxManager;
class GLES2Decoder;
class GLES2CmdHelper;
class GLES2Implementation;
-class ImageFactory;
class ImageManager;
class ShareGroup;
@@ -59,10 +56,6 @@ class GLManager : private GpuControl {
bool lose_context_when_out_of_memory;
// Whether or not it's ok to lose the context.
bool context_lost_allowed;
- // Image manager to be used.
- gles2::ImageManager* image_manager;
- // GpuMemoryBuffer factory to be used.
- GpuMemoryBufferFactory* gpu_memory_buffer_factory;
};
GLManager();
virtual ~GLManager();
@@ -123,7 +116,6 @@ class GLManager : private GpuControl {
scoped_refptr<gles2::MailboxManager> mailbox_manager_;
scoped_refptr<gfx::GLShareGroup> share_group_;
scoped_ptr<CommandBufferService> command_buffer_;
- scoped_ptr<GpuControlService> gpu_control_service_;
scoped_ptr<gles2::GLES2Decoder> decoder_;
scoped_ptr<GpuScheduler> gpu_scheduler_;
scoped_refptr<gfx::GLSurface> surface_;
@@ -134,8 +126,7 @@ class GLManager : private GpuControl {
bool context_lost_allowed_;
// Client GpuControl implementation.
- GpuMemoryBufferFactory* gpu_memory_buffer_factory_;
- base::ScopedPtrHashMap<int32, gfx::GpuMemoryBuffer> memory_buffers_;
+ base::ScopedPtrHashMap<int32, gfx::GpuMemoryBuffer> gpu_memory_buffers_;
// Used on Android to virtualize GL for all contexts.
static int use_count_;
« no previous file with comments | « gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698