diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:54:57 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:54:57 +0000 |
commit | bcb022cc3880f239eccc93c748e30c640787b0dc (patch) | |
tree | d74860b4309e5125509aa1a2c96dda827f2867bc /o3d/core | |
parent | 8b68b68ec27ff6e220d7bbcf2783933d05c4112e (diff) | |
download | chromium_src-bcb022cc3880f239eccc93c748e30c640787b0dc.zip chromium_src-bcb022cc3880f239eccc93c748e30c640787b0dc.tar.gz chromium_src-bcb022cc3880f239eccc93c748e30c640787b0dc.tar.bz2 |
Moved command_buffer and gpu_plugin code out of o3d namespace.
Changed header guard macros in preparation for move to Chrome gpu directory.
Added svn:eol LF property.
Review URL: http://codereview.chromium.org/375004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core')
-rw-r--r-- | o3d/core/cross/command_buffer/renderer_cb.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/o3d/core/cross/command_buffer/renderer_cb.h b/o3d/core/cross/command_buffer/renderer_cb.h index 76aad8b..59aca05 100644 --- a/o3d/core/cross/command_buffer/renderer_cb.h +++ b/o3d/core/cross/command_buffer/renderer_cb.h @@ -40,17 +40,19 @@ #include "core/cross/renderer.h" #include "command_buffer/common/cross/constants.h" #include "command_buffer/common/cross/resource.h" +#include "command_buffer/client/cross/fenced_allocator.h" #include "command_buffer/client/cross/id_allocator.h" #include "gpu_plugin/command_buffer.h" #include "gpu_plugin/np_utils/np_object_pointer.h" -namespace o3d { namespace command_buffer { class O3DCmdHelper; class BufferSyncInterface; class FencedAllocatorWrapper; } // namespace command_buffer +namespace o3d { + class Material; // TODO: change the Init API to not rely on direct HWND so we don't need @@ -60,8 +62,8 @@ class Win32CBServer; // This is the implementation of the Renderer interface for command buffers. class RendererCB : public Renderer { public: - typedef command_buffer::IdAllocator IdAllocator; - typedef command_buffer::FencedAllocatorWrapper FencedAllocatorWrapper; + typedef ::command_buffer::IdAllocator IdAllocator; + typedef ::command_buffer::FencedAllocatorWrapper FencedAllocatorWrapper; virtual ~RendererCB(); @@ -178,7 +180,7 @@ class RendererCB : public Renderer { // Overridden from Renderer. virtual const int* GetRGBAUByteNSwizzleTable(); - command_buffer::parse_error::ParseError GetParseError(); + ::command_buffer::parse_error::ParseError GetParseError(); protected: // Protected so that callers are forced to call the factory method. @@ -260,8 +262,8 @@ class RendererCB : public Renderer { void *transfer_shm_address_; NPP npp_; gpu_plugin::NPObjectPointer<NPObject> command_buffer_; - command_buffer::O3DCmdHelper *helper_; - FencedAllocatorWrapper *allocator_; + ::command_buffer::O3DCmdHelper *helper_; + ::command_buffer::FencedAllocatorWrapper *allocator_; IdAllocator vertex_buffer_ids_; IdAllocator index_buffer_ids_; |