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

Side by Side Diff: core/cross/command_buffer/texture_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/stream_bank_cb.cc ('k') | gpu_plugin/gpu_processor.h » ('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 20 matching lines...) Expand all
31 31
32 32
33 // Implementations of the abstract Texture2D and TextureCUBE classes using 33 // Implementations of the abstract Texture2D and TextureCUBE classes using
34 // the OpenCB graphics API. 34 // the OpenCB graphics API.
35 35
36 #include "core/cross/error.h" 36 #include "core/cross/error.h"
37 #include "core/cross/types.h" 37 #include "core/cross/types.h"
38 #include "core/cross/command_buffer/renderer_cb.h" 38 #include "core/cross/command_buffer/renderer_cb.h"
39 #include "core/cross/command_buffer/texture_cb.h" 39 #include "core/cross/command_buffer/texture_cb.h"
40 40
41 #include "command_buffer/common/cross/cmd_buffer_format.h" 41 #include "command_buffer/common/cross/o3d_cmd_format.h"
42 #include "command_buffer/common/cross/resource.h" 42 #include "command_buffer/common/cross/resource.h"
43 #include "command_buffer/client/cross/o3d_cmd_helper.h" 43 #include "command_buffer/client/cross/o3d_cmd_helper.h"
44 #include "command_buffer/client/cross/fenced_allocator.h" 44 #include "command_buffer/client/cross/fenced_allocator.h"
45 45
46 namespace o3d { 46 namespace o3d {
47 47
48 using command_buffer::CommandBufferEntry; 48 using command_buffer::CommandBufferEntry;
49 using command_buffer::O3DCmdHelper; 49 using command_buffer::O3DCmdHelper;
50 using command_buffer::FencedAllocatorWrapper; 50 using command_buffer::FencedAllocatorWrapper;
51 using command_buffer::ResourceId; 51 using command_buffer::ResourceId;
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 face, 668 face,
669 this, 669 this,
670 renderer_)); 670 renderer_));
671 } 671 }
672 672
673 const Texture::RGBASwizzleIndices& TextureCUBECB::GetABGR32FSwizzleIndices() { 673 const Texture::RGBASwizzleIndices& TextureCUBECB::GetABGR32FSwizzleIndices() {
674 return g_cb_abgr32f_swizzle_indices; 674 return g_cb_abgr32f_swizzle_indices;
675 } 675 }
676 676
677 } // namespace o3d 677 } // namespace o3d
OLDNEW
« no previous file with comments | « core/cross/command_buffer/stream_bank_cb.cc ('k') | gpu_plugin/gpu_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698