| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |