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

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

Issue 15938002: Get rid of the relative paths in command_buffer client/common (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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>
11 #include <queue> 11 #include <queue>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "../client/buffer_tracker.h"
18 #include "../client/client_context_state.h"
19 #include "../client/gles2_cmd_helper.h"
20 #include "../client/gles2_interface.h"
21 #include "../client/gpu_memory_buffer_tracker.h"
22 #include "../client/image_factory.h"
23 #include "../client/query_tracker.h"
24 #include "../client/ref_counted.h"
25 #include "../client/ring_buffer.h"
26 #include "../client/share_group.h"
27 #include "../common/compiler_specific.h"
28 #include "../common/debug_marker_manager.h"
29 #include "../common/gles2_cmd_utils.h"
30 #include "gles2_impl_export.h" 17 #include "gles2_impl_export.h"
18 #include "gpu/command_buffer/client/buffer_tracker.h"
19 #include "gpu/command_buffer/client/client_context_state.h"
20 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
21 #include "gpu/command_buffer/client/gles2_interface.h"
22 #include "gpu/command_buffer/client/gpu_memory_buffer_tracker.h"
23 #include "gpu/command_buffer/client/image_factory.h"
24 #include "gpu/command_buffer/client/query_tracker.h"
25 #include "gpu/command_buffer/client/ref_counted.h"
26 #include "gpu/command_buffer/client/ring_buffer.h"
27 #include "gpu/command_buffer/client/share_group.h"
28 #include "gpu/command_buffer/common/compiler_specific.h"
29 #include "gpu/command_buffer/common/debug_marker_manager.h"
30 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
31 31
32 #if !defined(NDEBUG) && !defined(__native_client__) && !defined(GLES2_CONFORMANC E_TESTS) // NOLINT 32 #if !defined(NDEBUG) && !defined(__native_client__) && !defined(GLES2_CONFORMANC E_TESTS) // NOLINT
33 #if defined(GLES2_INLINE_OPTIMIZATION) 33 #if defined(GLES2_INLINE_OPTIMIZATION)
34 // TODO(gman): Replace with macros that work with inline optmization. 34 // TODO(gman): Replace with macros that work with inline optmization.
35 #define GPU_CLIENT_SINGLE_THREAD_CHECK() 35 #define GPU_CLIENT_SINGLE_THREAD_CHECK()
36 #define GPU_CLIENT_LOG(args) 36 #define GPU_CLIENT_LOG(args)
37 #define GPU_CLIENT_LOG_CODE_BLOCK(code) 37 #define GPU_CLIENT_LOG_CODE_BLOCK(code)
38 #define GPU_CLIENT_DCHECK_CODE_BLOCK(code) 38 #define GPU_CLIENT_DCHECK_CODE_BLOCK(code)
39 #else 39 #else
40 #include "base/logging.h" 40 #include "base/logging.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // The GLES2CmdHelper being used by this GLES2Implementation. You can use 190 // The GLES2CmdHelper being used by this GLES2Implementation. You can use
191 // this to issue cmds at a lower level for certain kinds of optimization. 191 // this to issue cmds at a lower level for certain kinds of optimization.
192 GLES2CmdHelper* helper() const; 192 GLES2CmdHelper* helper() const;
193 193
194 // Gets client side generated errors. 194 // Gets client side generated errors.
195 GLenum GetClientSideGLError(); 195 GLenum GetClientSideGLError();
196 196
197 // Include the auto-generated part of this class. We split this because 197 // Include the auto-generated part of this class. We split this because
198 // it means we can easily edit the non-auto generated parts right here in 198 // it means we can easily edit the non-auto generated parts right here in
199 // this file instead of having to edit some template or the code generator. 199 // this file instead of having to edit some template or the code generator.
200 #include "../client/gles2_implementation_autogen.h" 200 #include "gpu/command_buffer/client/gles2_implementation_autogen.h"
201 201
202 virtual void DisableVertexAttribArray(GLuint index) OVERRIDE; 202 virtual void DisableVertexAttribArray(GLuint index) OVERRIDE;
203 virtual void EnableVertexAttribArray(GLuint index) OVERRIDE; 203 virtual void EnableVertexAttribArray(GLuint index) OVERRIDE;
204 virtual void GetVertexAttribfv( 204 virtual void GetVertexAttribfv(
205 GLuint index, GLenum pname, GLfloat* params) OVERRIDE; 205 GLuint index, GLenum pname, GLfloat* params) OVERRIDE;
206 virtual void GetVertexAttribiv( 206 virtual void GetVertexAttribiv(
207 GLuint index, GLenum pname, GLint* params) OVERRIDE; 207 GLuint index, GLenum pname, GLint* params) OVERRIDE;
208 208
209 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); 209 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result);
210 GLint GetAttribLocationHelper(GLuint program, const char* name); 210 GLint GetAttribLocationHelper(GLuint program, const char* name);
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 707
708 inline bool GLES2Implementation::GetTexParameterivHelper( 708 inline bool GLES2Implementation::GetTexParameterivHelper(
709 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 709 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
710 return false; 710 return false;
711 } 711 }
712 712
713 } // namespace gles2 713 } // namespace gles2
714 } // namespace gpu 714 } // namespace gpu
715 715
716 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 716 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698