diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 20:58:33 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 20:58:33 +0000 |
commit | 251f39e2e355634857ff4e67d8a7b4b85124de73 (patch) | |
tree | 25b5ce068b6349bdee282d17be5dcd3408d704ce /gpu/command_buffer/service/gpu_processor.h | |
parent | 7fbb264f4a87ba3c93a74c4412a599c3bbb3a4f6 (diff) | |
download | chromium_src-251f39e2e355634857ff4e67d8a7b4b85124de73.zip chromium_src-251f39e2e355634857ff4e67d8a7b4b85124de73.tar.gz chromium_src-251f39e2e355634857ff4e67d8a7b4b85124de73.tar.bz2 |
Moved GLContext class to gfx/gl.
Now it can be used by code outside of the gpu project, for example AcceleratedSurface.
TEST=trybots
BUG=none
Review URL: http://codereview.chromium.org/1694003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gpu_processor.h')
-rw-r--r-- | gpu/command_buffer/service/gpu_processor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gpu/command_buffer/service/gpu_processor.h b/gpu/command_buffer/service/gpu_processor.h index eb2d52b..47164cd 100644 --- a/gpu/command_buffer/service/gpu_processor.h +++ b/gpu/command_buffer/service/gpu_processor.h @@ -23,9 +23,11 @@ #include "app/surface/accelerated_surface_mac.h" #endif -namespace gpu { - +namespace gfx { class GLContext; +} + +namespace gpu { // This class processes commands in a command buffer. It is event driven and // posts tasks to the current message loop to do additional work. @@ -99,7 +101,7 @@ class GPUProcessor : public CommandBufferEngine { gles2::ContextGroup group_; scoped_ptr<gles2::GLES2Decoder> decoder_; scoped_ptr<CommandParser> parser_; - scoped_ptr<GLContext> context_; + scoped_ptr<gfx::GLContext> context_; #if defined(OS_MACOSX) && !defined(UNIT_TEST) scoped_ptr<AcceleratedSurface> surface_; |