| 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 14 matching lines...) Expand all Loading... |
| 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #ifndef O3D_COMMAND_BUFFER_SERVICE_CROSS_COMMON_DECODER_H_ | 32 #ifndef O3D_COMMAND_BUFFER_SERVICE_CROSS_COMMON_DECODER_H_ |
| 33 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_COMMON_DECODER_H_ | 33 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_COMMON_DECODER_H_ |
| 34 | 34 |
| 35 #include "core/cross/types.h" | |
| 36 #include "command_buffer/service/cross/cmd_parser.h" | 35 #include "command_buffer/service/cross/cmd_parser.h" |
| 37 | 36 |
| 38 namespace o3d { | 37 namespace o3d { |
| 39 namespace command_buffer { | 38 namespace command_buffer { |
| 40 | 39 |
| 41 class CommandBufferEngine; | 40 class CommandBufferEngine; |
| 42 | 41 |
| 43 // This class is a helper base class for implementing the common parts of the | 42 // This class is a helper base class for implementing the common parts of the |
| 44 // o3d/gl2 command buffer decoder. | 43 // o3d/gl2 command buffer decoder. |
| 45 class CommonDecoder : public AsyncAPIInterface { | 44 class CommonDecoder : public AsyncAPIInterface { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 #undef COMMON_COMMAND_BUFFER_CMD_OP | 100 #undef COMMON_COMMAND_BUFFER_CMD_OP |
| 102 | 101 |
| 103 CommandBufferEngine* engine_; | 102 CommandBufferEngine* engine_; |
| 104 }; | 103 }; |
| 105 | 104 |
| 106 } // namespace command_buffer | 105 } // namespace command_buffer |
| 107 } // namespace o3d | 106 } // namespace o3d |
| 108 | 107 |
| 109 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_COMMON_DECODER_H_ | 108 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_COMMON_DECODER_H_ |
| 110 | 109 |
| OLD | NEW |