| Index: mojo/public/c/gles2/chromium_texture_mailbox.h
|
| diff --git a/mojo/public/c/gles2/chromium_texture_mailbox.h b/mojo/public/c/gles2/chromium_texture_mailbox.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..177ebbb3d4d8ff0d69a77972a173d2d550e8af36
|
| --- /dev/null
|
| +++ b/mojo/public/c/gles2/chromium_texture_mailbox.h
|
| @@ -0,0 +1,30 @@
|
| +// 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_C_GLES2_CHROMIUM_TEXTURE_MAILBOX_H_
|
| +#define MOJO_PUBLIC_C_GLES2_CHROMIUM_TEXTURE_MAILBOX_H_
|
| +
|
| +// Note: This header should be compilable as C.
|
| +
|
| +#include <stdint.h>
|
| +#include <GLES2/gl2.h>
|
| +
|
| +#include "mojo/public/c/gles2/gles2_export.h"
|
| +#include "mojo/public/c/gles2/gles2_types.h"
|
| +#include "mojo/public/c/system/types.h"
|
| +
|
| +#ifdef __cplusplus
|
| +extern "C" {
|
| +#endif
|
| +
|
| +#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
|
| + MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS;
|
| +#include "mojo/public/c/gles2/gles2_call_visitor_chromium_texture_mailbox_autogen.h"
|
| +#undef VISIT_GL_CALL
|
| +
|
| +#ifdef __cplusplus
|
| +} // extern "C"
|
| +#endif
|
| +
|
| +#endif // MOJO_PUBLIC_C_GLES2_CHROMIUM_TEXTURE_MAILBOX_H_
|
|
|