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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 10568003: Add support for GL_CHROMIUM_consistent_uniform_locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months 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
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698