Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_interface_stub.h
blob589a79cb17a7b46535a02a071744b6f6ce2218a2
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
3 // found in the LICENSE file.
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_
8 #include "gpu/command_buffer/client/gles2_interface.h"
10 namespace gpu {
11 namespace gles2 {
13 // This class a stub to help with mocks for the GLES2Interface class.
14 class GLES2InterfaceStub : public GLES2Interface {
15 public:
16 GLES2InterfaceStub();
17 ~GLES2InterfaceStub() override;
19 // Include the auto-generated part of this class. We split this because
20 // it means we can easily edit the non-auto generated parts right here in
21 // this file instead of having to edit some template or the code generator.
22 #include "gpu/command_buffer/client/gles2_interface_stub_autogen.h"
25 } // namespace gles2
26 } // namespace gpu
28 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_