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

Side by Side Diff: core/cross/command_buffer/param_cache_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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « core/cross/command_buffer/effect_cb.cc ('k') | core/cross/command_buffer/primitive_cb.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 21 matching lines...) Expand all
32 32
33 // This file contains the implementation of the ParamCacheCB class. 33 // This file contains the implementation of the ParamCacheCB class.
34 34
35 #include "core/cross/precompile.h" 35 #include "core/cross/precompile.h"
36 #include "core/cross/draw_element.h" 36 #include "core/cross/draw_element.h"
37 #include "core/cross/element.h" 37 #include "core/cross/element.h"
38 #include "core/cross/semantic_manager.h" 38 #include "core/cross/semantic_manager.h"
39 #include "core/cross/command_buffer/effect_cb.h" 39 #include "core/cross/command_buffer/effect_cb.h"
40 #include "core/cross/command_buffer/param_cache_cb.h" 40 #include "core/cross/command_buffer/param_cache_cb.h"
41 #include "core/cross/command_buffer/sampler_cb.h" 41 #include "core/cross/command_buffer/sampler_cb.h"
42 #include "command_buffer/common/cross/cmd_buffer_format.h" 42 #include "command_buffer/common/cross/o3d_cmd_format.h"
43 #include "command_buffer/client/cross/o3d_cmd_helper.h" 43 #include "command_buffer/client/cross/o3d_cmd_helper.h"
44 44
45 namespace o3d { 45 namespace o3d {
46 46
47 using command_buffer::CommandBufferEntry; 47 using command_buffer::CommandBufferEntry;
48 using command_buffer::O3DCmdHelper; 48 using command_buffer::O3DCmdHelper;
49 using command_buffer::EffectHelper; 49 using command_buffer::EffectHelper;
50 using command_buffer::ResourceId; 50 using command_buffer::ResourceId;
51 namespace effect_param = command_buffer::effect_param; 51 namespace effect_param = command_buffer::effect_param;
52 52
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 handlers_.clear(); 277 handlers_.clear();
278 } 278 }
279 279
280 void ParamCacheCB::RunHandlers(O3DCmdHelper* helper) { 280 void ParamCacheCB::RunHandlers(O3DCmdHelper* helper) {
281 for (unsigned int i = 0; i < handlers_.size(); ++i) { 281 for (unsigned int i = 0; i < handlers_.size(); ++i) {
282 handlers_[i]->SetValue(helper); 282 handlers_[i]->SetValue(helper);
283 } 283 }
284 } 284 }
285 285
286 } // namespace o3d 286 } // namespace o3d
OLDNEW
« no previous file with comments | « core/cross/command_buffer/effect_cb.cc ('k') | core/cross/command_buffer/primitive_cb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698