summaryrefslogtreecommitdiffstats
path: root/mojo/public/gles2/gles2_interface.h
blob: 19b958ec112fc4879965469ae690edc746581afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_
#define MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_

#include <GLES2/gl2.h>

namespace mojo {

class GLES2Interface {
 public:
  virtual ~GLES2Interface() {}
#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
  virtual ReturnType Function PARAMETERS = 0;
#include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
#undef VISIT_GL_CALL
};

}  // namespace mojo

#endif  // MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_