OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 #define GPU_CLIENT_DCHECK(v) DCHECK(v) | 68 #define GPU_CLIENT_DCHECK(v) DCHECK(v) |
69 #else | 69 #else |
70 #define GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(v) ASSERT(v) | 70 #define GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(v) ASSERT(v) |
71 #define GPU_CLIENT_DCHECK(v) ASSERT(v) | 71 #define GPU_CLIENT_DCHECK(v) ASSERT(v) |
72 #endif | 72 #endif |
73 | 73 |
74 #define GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION(type, ptr) \ | 74 #define GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION(type, ptr) \ |
75 GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(ptr && \ | 75 GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(ptr && \ |
76 (ptr[0] == static_cast<type>(0) || ptr[0] == static_cast<type>(-1))); | 76 (ptr[0] == static_cast<type>(0) || ptr[0] == static_cast<type>(-1))); |
77 | 77 |
| 78 struct GLUniformDefinitionCHROMIUM; |
| 79 |
78 namespace gpu { | 80 namespace gpu { |
79 | 81 |
80 class MappedMemoryManager; | 82 class MappedMemoryManager; |
81 class ScopedTransferBufferPtr; | 83 class ScopedTransferBufferPtr; |
82 class TransferBufferInterface; | 84 class TransferBufferInterface; |
83 | 85 |
84 namespace gles2 { | 86 namespace gles2 { |
85 | 87 |
86 class ClientSideBufferHelper; | 88 class ClientSideBufferHelper; |
87 | 89 |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 | 599 |
598 inline bool GLES2Implementation::GetTexParameterivHelper( | 600 inline bool GLES2Implementation::GetTexParameterivHelper( |
599 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 601 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
600 return false; | 602 return false; |
601 } | 603 } |
602 | 604 |
603 } // namespace gles2 | 605 } // namespace gles2 |
604 } // namespace gpu | 606 } // namespace gpu |
605 | 607 |
606 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 608 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |