cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_trace_implementation.h
blob18e6a793cfece04048b271987aca4cf2236771f9
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
3 // found in the LICENSE file.
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_
8 #include "gles2_impl_export.h"
9 #include "gpu/command_buffer/client/gles2_interface.h"
10 #include "gpu/command_buffer/common/compiler_specific.h"
12 namespace gpu {
13 namespace gles2 {
15 // GLES2TraceImplementation is calls TRACE for every GL call.
16 class GLES2_IMPL_EXPORT GLES2TraceImplementation : public GLES2Interface {
17 public:
18 explicit GLES2TraceImplementation(GLES2Interface* gl);
19 virtual ~GLES2TraceImplementation();
21 // 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 // this file instead of having to edit some template or the code generator.
24 #include "gpu/command_buffer/client/gles2_trace_implementation_autogen.h"
26 private:
27 GLES2Interface* gl_;
30 } // namespace gles2
31 } // namespace gpu
33 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_H_