Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: mojo/public/gles2/gles2.h

Issue 218193002: Mojo: Move C gles2 header files to mojo/public/c/gles2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/gles2/gles2_types.h ('k') | mojo/public/gles2/gles2_call_visitor_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/gles2/gles2.h
diff --git a/mojo/public/gles2/gles2.h b/mojo/public/gles2/gles2.h
deleted file mode 100644
index f945859477b7c21c9970fde791c42a0d0bc7fcc1..0000000000000000000000000000000000000000
--- a/mojo/public/gles2/gles2.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2013 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_H_
-#define MOJO_PUBLIC_GLES2_GLES2_H_
-
-// Note: This header should be compilable as C.
-
-#include <stdint.h>
-#include <GLES2/gl2.h>
-
-#include "mojo/public/c/system/async_waiter.h"
-#include "mojo/public/c/system/core.h"
-#include "mojo/public/gles2/gles2_export.h"
-#include "mojo/public/gles2/gles2_types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-MOJO_GLES2_EXPORT void MojoGLES2Initialize(MojoAsyncWaiter* async_waiter);
-MOJO_GLES2_EXPORT void MojoGLES2Terminate();
-MOJO_GLES2_EXPORT MojoGLES2Context MojoGLES2CreateContext(
- MojoHandle handle,
- MojoGLES2ContextLost lost_callback,
- MojoGLES2DrawAnimationFrame animation_callback,
- void* closure);
-MOJO_GLES2_EXPORT void MojoGLES2DestroyContext(MojoGLES2Context context);
-MOJO_GLES2_EXPORT void MojoGLES2MakeCurrent(MojoGLES2Context context);
-MOJO_GLES2_EXPORT void MojoGLES2SwapBuffers();
-// TODO(piman): this doesn't belong here.
-MOJO_GLES2_EXPORT void MojoGLES2RequestAnimationFrames(
- MojoGLES2Context context);
-MOJO_GLES2_EXPORT void MojoGLES2CancelAnimationFrames(MojoGLES2Context context);
-
-// TODO(piman): We shouldn't have to leak those 2 interfaces, especially in a
-// type-unsafe way.
-MOJO_GLES2_EXPORT void* MojoGLES2GetGLES2Interface(MojoGLES2Context context);
-MOJO_GLES2_EXPORT void* MojoGLES2GetContextSupport(MojoGLES2Context context);
-
-#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
- MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS;
-#include "mojo/public/gles2/gles2_call_visitor_autogen.h"
-#undef VISIT_GL_CALL
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // MOJO_PUBLIC_GLES2_GLES2_H_
« no previous file with comments | « mojo/public/c/gles2/gles2_types.h ('k') | mojo/public/gles2/gles2_call_visitor_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698