summaryrefslogtreecommitdiffstats
path: root/o3d/core
diff options
context:
space:
mode:
authorapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 18:33:08 +0000
committerapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 18:33:08 +0000
commit6e8abf638e8bec81426f651b3e85a258f476f43a (patch)
tree6301f059616590e37d91eaf69bec685044b7fdf0 /o3d/core
parent1c8ba9c3a84724d3116a50cd96431c8bc6d9e848 (diff)
downloadchromium_src-6e8abf638e8bec81426f651b3e85a258f476f43a.zip
chromium_src-6e8abf638e8bec81426f651b3e85a258f476f43a.tar.gz
chromium_src-6e8abf638e8bec81426f651b3e85a258f476f43a.tar.bz2
Reorganized command buffer and GPU plugin code into following structure:
gpu/gpu.gyp gpu/command_buffer/... gpu/gpu_plugin/... gpu/np_utils/... And fixed up paths and header sentry macros. Also merged command_buffer.gyp into gpu.gyp. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core')
-rw-r--r--o3d/core/core.gyp8
-rw-r--r--o3d/core/cross/command_buffer/buffer_cb.cc4
-rw-r--r--o3d/core/cross/command_buffer/display_window_cb.h4
-rw-r--r--o3d/core/cross/command_buffer/effect_cb.cc8
-rw-r--r--o3d/core/cross/command_buffer/effect_cb.h2
-rw-r--r--o3d/core/cross/command_buffer/param_cache_cb.cc4
-rw-r--r--o3d/core/cross/command_buffer/primitive_cb.cc4
-rw-r--r--o3d/core/cross/command_buffer/primitive_cb.h2
-rw-r--r--o3d/core/cross/command_buffer/render_surface_cb.cc2
-rw-r--r--o3d/core/cross/command_buffer/render_surface_cb.h2
-rw-r--r--o3d/core/cross/command_buffer/renderer_cb.cc16
-rw-r--r--o3d/core/cross/command_buffer/renderer_cb.h12
-rw-r--r--o3d/core/cross/command_buffer/sampler_cb.cc4
-rw-r--r--o3d/core/cross/command_buffer/sampler_cb.h2
-rw-r--r--o3d/core/cross/command_buffer/states_cb.cc2
-rw-r--r--o3d/core/cross/command_buffer/states_cb.h4
-rw-r--r--o3d/core/cross/command_buffer/stream_bank_cb.cc4
-rw-r--r--o3d/core/cross/command_buffer/stream_bank_cb.h2
-rw-r--r--o3d/core/cross/command_buffer/texture_cb.cc8
-rw-r--r--o3d/core/cross/command_buffer/texture_cb.h2
20 files changed, 48 insertions, 48 deletions
diff --git a/o3d/core/core.gyp b/o3d/core/core.gyp
index cd2a8d9..1f3afa8 100644
--- a/o3d/core/core.gyp
+++ b/o3d/core/core.gyp
@@ -398,8 +398,8 @@
['renderer == "cb"',
{
'dependencies': [
- '../command_buffer/command_buffer.gyp:command_buffer_client',
- '../gpu_plugin/gpu_plugin.gyp:np_utils',
+ '../gpu/gpu.gyp:command_buffer_client',
+ '../gpu/gpu.gyp:np_utils',
],
'sources': [
'cross/command_buffer/buffer_cb.cc',
@@ -430,11 +430,11 @@
['renderer == "cb" and cb_service != "remote"',
{
'dependencies': [
- '../command_buffer/command_buffer.gyp:command_buffer_service',
+ '../gpu/gpu.gyp:command_buffer_service',
# These dependencies are only needed for RendererCBLocal. They can
# be removed when RendererCBLocal is not needed.
- '../gpu_plugin/gpu_plugin.gyp:command_buffer',
+ '../gpu/gpu.gyp:command_buffer',
],
},
],
diff --git a/o3d/core/cross/command_buffer/buffer_cb.cc b/o3d/core/cross/command_buffer/buffer_cb.cc
index d2ee8dc..301dfa7 100644
--- a/o3d/core/cross/command_buffer/buffer_cb.cc
+++ b/o3d/core/cross/command_buffer/buffer_cb.cc
@@ -34,8 +34,8 @@
#include "core/cross/precompile.h"
#include "core/cross/command_buffer/buffer_cb.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
-#include "command_buffer/client/fenced_allocator.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/client/fenced_allocator.h"
namespace o3d {
using command_buffer::CommandBufferEntry;
diff --git a/o3d/core/cross/command_buffer/display_window_cb.h b/o3d/core/cross/command_buffer/display_window_cb.h
index 06b494e..74486bf 100644
--- a/o3d/core/cross/command_buffer/display_window_cb.h
+++ b/o3d/core/cross/command_buffer/display_window_cb.h
@@ -34,8 +34,8 @@
#define O3D_CORE_WIN_DISPLAY_WINDOW_CB_H_
#include "core/cross/display_window.h"
-#include "gpu_plugin/command_buffer.h"
-#include "gpu_plugin/np_utils/np_object_pointer.h"
+#include "gpu/gpu_plugin/command_buffer.h"
+#include "gpu/np_utils/np_object_pointer.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/effect_cb.cc b/o3d/core/cross/command_buffer/effect_cb.cc
index a3b5e66..9e860dd 100644
--- a/o3d/core/cross/command_buffer/effect_cb.cc
+++ b/o3d/core/cross/command_buffer/effect_cb.cc
@@ -37,10 +37,10 @@
#include "core/cross/semantic_manager.h"
#include "core/cross/service_locator.h"
#include "core/cross/command_buffer/effect_cb.h"
-#include "command_buffer/common/constants.h"
-#include "command_buffer/common/o3d_cmd_format.h"
-#include "command_buffer/client/fenced_allocator.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/common/constants.h"
+#include "gpu/command_buffer/common/o3d_cmd_format.h"
+#include "gpu/command_buffer/client/fenced_allocator.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/effect_cb.h b/o3d/core/cross/command_buffer/effect_cb.h
index d193b55..21b4d7c 100644
--- a/o3d/core/cross/command_buffer/effect_cb.h
+++ b/o3d/core/cross/command_buffer/effect_cb.h
@@ -38,7 +38,7 @@
#include <vector>
#include "core/cross/effect.h"
#include "core/cross/command_buffer/renderer_cb.h"
-#include "command_buffer/client/effect_helper.h"
+#include "gpu/command_buffer/client/effect_helper.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/param_cache_cb.cc b/o3d/core/cross/command_buffer/param_cache_cb.cc
index b850ffb..5c5f64e 100644
--- a/o3d/core/cross/command_buffer/param_cache_cb.cc
+++ b/o3d/core/cross/command_buffer/param_cache_cb.cc
@@ -39,8 +39,8 @@
#include "core/cross/command_buffer/effect_cb.h"
#include "core/cross/command_buffer/param_cache_cb.h"
#include "core/cross/command_buffer/sampler_cb.h"
-#include "command_buffer/common/o3d_cmd_format.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/common/o3d_cmd_format.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/primitive_cb.cc b/o3d/core/cross/command_buffer/primitive_cb.cc
index 68d5bbc..f97039a 100644
--- a/o3d/core/cross/command_buffer/primitive_cb.cc
+++ b/o3d/core/cross/command_buffer/primitive_cb.cc
@@ -40,8 +40,8 @@
#include "core/cross/command_buffer/effect_cb.h"
#include "core/cross/command_buffer/stream_bank_cb.h"
#include "core/cross/error.h"
-#include "command_buffer/common/gapi_interface.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/common/gapi_interface.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
// TODO: add unit tests.
diff --git a/o3d/core/cross/command_buffer/primitive_cb.h b/o3d/core/cross/command_buffer/primitive_cb.h
index 3484a1d..955150c 100644
--- a/o3d/core/cross/command_buffer/primitive_cb.h
+++ b/o3d/core/cross/command_buffer/primitive_cb.h
@@ -37,7 +37,7 @@
#include "core/cross/precompile.h"
#include "core/cross/primitive.h"
-#include "command_buffer/common/resource.h"
+#include "gpu/command_buffer/common/resource.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/render_surface_cb.cc b/o3d/core/cross/command_buffer/render_surface_cb.cc
index 773f07c..83ebce4 100644
--- a/o3d/core/cross/command_buffer/render_surface_cb.cc
+++ b/o3d/core/cross/command_buffer/render_surface_cb.cc
@@ -31,7 +31,7 @@
#include "core/cross/command_buffer/render_surface_cb.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/render_surface_cb.h b/o3d/core/cross/command_buffer/render_surface_cb.h
index 81dccb8..3028b6f 100644
--- a/o3d/core/cross/command_buffer/render_surface_cb.h
+++ b/o3d/core/cross/command_buffer/render_surface_cb.h
@@ -38,7 +38,7 @@
#include "core/cross/render_surface.h"
#include "core/cross/command_buffer/renderer_cb.h"
-#include "command_buffer/common/resource.h"
+#include "gpu/command_buffer/common/resource.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/renderer_cb.cc b/o3d/core/cross/command_buffer/renderer_cb.cc
index f4bb89d..a6a07d8 100644
--- a/o3d/core/cross/command_buffer/renderer_cb.cc
+++ b/o3d/core/cross/command_buffer/renderer_cb.cc
@@ -34,9 +34,9 @@
#include "core/cross/precompile.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
-#include "command_buffer/client/fenced_allocator.h"
-#include "command_buffer/common/gapi_interface.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/client/fenced_allocator.h"
+#include "gpu/command_buffer/common/gapi_interface.h"
#include "core/cross/command_buffer/buffer_cb.h"
#include "core/cross/command_buffer/effect_cb.h"
#include "core/cross/command_buffer/param_cache_cb.h"
@@ -49,13 +49,13 @@
#include "core/cross/command_buffer/texture_cb.h"
#include "core/cross/command_buffer/display_window_cb.h"
#include "core/cross/renderer_platform.h"
-#include "gpu_plugin/command_buffer.h"
-#include "gpu_plugin/gpu_processor.h"
-#include "gpu_plugin/np_utils/np_browser.h"
-#include "gpu_plugin/np_utils/np_utils.h"
+#include "gpu/gpu_plugin/command_buffer.h"
+#include "gpu/gpu_plugin/gpu_processor.h"
+#include "gpu/np_utils/np_browser.h"
+#include "gpu/np_utils/np_utils.h"
#if !defined(CB_SERVICE_REMOTE)
-#include "gpu_plugin/gpu_processor.h"
+#include "gpu/gpu_plugin/gpu_processor.h"
#endif
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/renderer_cb.h b/o3d/core/cross/command_buffer/renderer_cb.h
index a424922..9168bb5 100644
--- a/o3d/core/cross/command_buffer/renderer_cb.h
+++ b/o3d/core/cross/command_buffer/renderer_cb.h
@@ -39,12 +39,12 @@
#include "core/cross/precompile.h"
#include <vector>
#include "core/cross/renderer.h"
-#include "command_buffer/common/constants.h"
-#include "command_buffer/common/resource.h"
-#include "command_buffer/client/fenced_allocator.h"
-#include "command_buffer/client/id_allocator.h"
-#include "gpu_plugin/command_buffer.h"
-#include "gpu_plugin/np_utils/np_object_pointer.h"
+#include "gpu/command_buffer/common/constants.h"
+#include "gpu/command_buffer/common/resource.h"
+#include "gpu/command_buffer/client/fenced_allocator.h"
+#include "gpu/command_buffer/client/id_allocator.h"
+#include "gpu/gpu_plugin/command_buffer.h"
+#include "gpu/np_utils/np_object_pointer.h"
namespace command_buffer {
class O3DCmdHelper;
diff --git a/o3d/core/cross/command_buffer/sampler_cb.cc b/o3d/core/cross/command_buffer/sampler_cb.cc
index 32bccba..887b9ad 100644
--- a/o3d/core/cross/command_buffer/sampler_cb.cc
+++ b/o3d/core/cross/command_buffer/sampler_cb.cc
@@ -36,8 +36,8 @@
#include "core/cross/error.h"
#include "core/cross/command_buffer/sampler_cb.h"
#include "core/cross/command_buffer/renderer_cb.h"
-#include "command_buffer/common/o3d_cmd_format.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/common/o3d_cmd_format.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/sampler_cb.h b/o3d/core/cross/command_buffer/sampler_cb.h
index 3543436..25892d55 100644
--- a/o3d/core/cross/command_buffer/sampler_cb.h
+++ b/o3d/core/cross/command_buffer/sampler_cb.h
@@ -38,7 +38,7 @@
#include "core/cross/precompile.h"
#include "core/cross/sampler.h"
-#include "command_buffer/common/resource.h"
+#include "gpu/command_buffer/common/resource.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/states_cb.cc b/o3d/core/cross/command_buffer/states_cb.cc
index 6903107..8572827d 100644
--- a/o3d/core/cross/command_buffer/states_cb.cc
+++ b/o3d/core/cross/command_buffer/states_cb.cc
@@ -37,7 +37,7 @@
#include "core/cross/state.h"
#include "core/cross/command_buffer/renderer_cb.h"
#include "core/cross/command_buffer/states_cb.h"
-#include "command_buffer/common/gapi_interface.h"
+#include "gpu/command_buffer/common/gapi_interface.h"
namespace o3d {
using command_buffer::CommandBufferEntry;
diff --git a/o3d/core/cross/command_buffer/states_cb.h b/o3d/core/cross/command_buffer/states_cb.h
index 0b8e1cf..0732978 100644
--- a/o3d/core/cross/command_buffer/states_cb.h
+++ b/o3d/core/cross/command_buffer/states_cb.h
@@ -37,8 +37,8 @@
#define O3D_CORE_CROSS_COMMAND_BUFFER_STATES_CB_H_
#include "core/cross/command_buffer/renderer_cb.h"
-#include "command_buffer/common/o3d_cmd_format.h"
-#include "command_buffer/client/cmd_buffer_helper.h"
+#include "gpu/command_buffer/common/o3d_cmd_format.h"
+#include "gpu/command_buffer/client/cmd_buffer_helper.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/stream_bank_cb.cc b/o3d/core/cross/command_buffer/stream_bank_cb.cc
index c10e256..d7aebf4 100644
--- a/o3d/core/cross/command_buffer/stream_bank_cb.cc
+++ b/o3d/core/cross/command_buffer/stream_bank_cb.cc
@@ -39,8 +39,8 @@
#include "core/cross/command_buffer/buffer_cb.h"
#include "core/cross/command_buffer/effect_cb.h"
#include "core/cross/command_buffer/stream_bank_cb.h"
-#include "command_buffer/common/gapi_interface.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/common/gapi_interface.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
// TODO: add unit tests.
diff --git a/o3d/core/cross/command_buffer/stream_bank_cb.h b/o3d/core/cross/command_buffer/stream_bank_cb.h
index bef497e..4f0656c 100644
--- a/o3d/core/cross/command_buffer/stream_bank_cb.h
+++ b/o3d/core/cross/command_buffer/stream_bank_cb.h
@@ -37,7 +37,7 @@
#include "core/cross/precompile.h"
#include "core/cross/stream_bank.h"
-#include "command_buffer/common/resource.h"
+#include "gpu/command_buffer/common/resource.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/texture_cb.cc b/o3d/core/cross/command_buffer/texture_cb.cc
index 31c1c15..8793339 100644
--- a/o3d/core/cross/command_buffer/texture_cb.cc
+++ b/o3d/core/cross/command_buffer/texture_cb.cc
@@ -38,10 +38,10 @@
#include "core/cross/command_buffer/renderer_cb.h"
#include "core/cross/command_buffer/texture_cb.h"
-#include "command_buffer/common/o3d_cmd_format.h"
-#include "command_buffer/common/resource.h"
-#include "command_buffer/client/o3d_cmd_helper.h"
-#include "command_buffer/client/fenced_allocator.h"
+#include "gpu/command_buffer/common/o3d_cmd_format.h"
+#include "gpu/command_buffer/common/resource.h"
+#include "gpu/command_buffer/client/o3d_cmd_helper.h"
+#include "gpu/command_buffer/client/fenced_allocator.h"
namespace o3d {
diff --git a/o3d/core/cross/command_buffer/texture_cb.h b/o3d/core/cross/command_buffer/texture_cb.h
index 6fd21da..9e37023 100644
--- a/o3d/core/cross/command_buffer/texture_cb.h
+++ b/o3d/core/cross/command_buffer/texture_cb.h
@@ -39,7 +39,7 @@
#include "core/cross/bitmap.h"
#include "core/cross/texture.h"
#include "core/cross/types.h"
-#include "command_buffer/common/resource.h"
+#include "gpu/command_buffer/common/resource.h"
#include "core/cross/command_buffer/render_surface_cb.h"
namespace o3d {