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

Unified Diff: core/cross/command_buffer/renderer_cb.cc

Issue 332036: move all O3D specific command buffer stuff to command_buffer::o3d... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 2 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 | « core/cross/command_buffer/primitive_cb.cc ('k') | core/cross/command_buffer/sampler_cb.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/command_buffer/renderer_cb.cc
===================================================================
--- core/cross/command_buffer/renderer_cb.cc (revision 30103)
+++ core/cross/command_buffer/renderer_cb.cc (working copy)
@@ -56,7 +56,7 @@
#include "gpu_plugin/system_services/shared_memory.h"
namespace o3d {
-using command_buffer::GAPIInterface;
+using command_buffer::o3d::GAPIInterface;
using command_buffer::O3DCmdHelper;
using gpu_plugin::CommandBuffer;
using gpu_plugin::GPUProcessor;
@@ -131,9 +131,9 @@
bool depth_flag,
int stencil,
bool stencil_flag) {
- uint32 buffers = (color_flag ? command_buffer::kColor : 0) |
- (depth_flag ? command_buffer::kDepth : 0) |
- (stencil_flag ? command_buffer::kStencil : 0);
+ uint32 buffers = (color_flag ? command_buffer::o3d::kColor : 0) |
+ (depth_flag ? command_buffer::o3d::kDepth : 0) |
+ (stencil_flag ? command_buffer::o3d::kStencil : 0);
helper_->Clear(buffers, color[0], color[1], color[2], color[3],
depth, stencil);
}
« no previous file with comments | « core/cross/command_buffer/primitive_cb.cc ('k') | core/cross/command_buffer/sampler_cb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698