[Drive] Handle error cases earlier in FakeDriveService
[chromium-blink-merge.git] / mojo / public / gles2 / gles2_interface.h
blob19b958ec112fc4879965469ae690edc746581afb
1 // Copyright 2014 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 MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
6 #define MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
8 #include <GLES2/gl2.h>
10 namespace mojo {
12 class GLES2Interface {
13 public:
14 virtual ~GLES2Interface() {}
15 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
16 virtual ReturnType Function PARAMETERS = 0;
17 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
18 #undef VISIT_GL_CALL
21 } // namespace mojo
23 #endif // MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_