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

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

Issue 54463007: Expose GLES2Interface to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « gpu/command_buffer/client/gles2_interface_stub.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_TRACE_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "gles2_impl_export.h" 9 #include "gles2_impl_export.h"
10 #include "gpu/command_buffer/client/gles2_interface.h" 10 #include "gpu/command_buffer/client/gles2_interface.h"
11 11
12 namespace gpu { 12 namespace gpu {
13 namespace gles2 { 13 namespace gles2 {
14 14
15 // GLES2TraceImplementation is calls TRACE for every GL call. 15 // GLES2TraceImplementation is calls TRACE for every GL call.
16 class GLES2_IMPL_EXPORT GLES2TraceImplementation : public GLES2Interface { 16 class GLES2_IMPL_EXPORT GLES2TraceImplementation
17 : NON_EXPORTED_BASE(public GLES2Interface) {
17 public: 18 public:
18 explicit GLES2TraceImplementation(GLES2Interface* gl); 19 explicit GLES2TraceImplementation(GLES2Interface* gl);
19 virtual ~GLES2TraceImplementation(); 20 virtual ~GLES2TraceImplementation();
20 21
21 // Include the auto-generated part of this class. We split this because 22 // Include the auto-generated part of this class. We split this because
22 // it means we can easily edit the non-auto generated parts right here in 23 // it means we can easily edit the non-auto generated parts right here in
23 // this file instead of having to edit some template or the code generator. 24 // this file instead of having to edit some template or the code generator.
24 #include "gpu/command_buffer/client/gles2_trace_implementation_autogen.h" 25 #include "gpu/command_buffer/client/gles2_trace_implementation_autogen.h"
25 26
26 private: 27 private:
27 GLES2Interface* gl_; 28 GLES2Interface* gl_;
28 }; 29 };
29 30
30 } // namespace gles2 31 } // namespace gles2
31 } // namespace gpu 32 } // namespace gpu
32 33
33 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_ 34 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_
34 35
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_interface_stub.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698