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

Unified Diff: third_party/mojo/src/mojo/public/c/gles2/gles2.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
Index: third_party/mojo/src/mojo/public/c/gles2/gles2.h
diff --git a/third_party/mojo/src/mojo/public/c/gles2/gles2.h b/third_party/mojo/src/mojo/public/c/gles2/gles2.h
deleted file mode 100644
index 29f008a60a3f7e79f2f429b055f34f1f52e67f0c..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/mojo/public/c/gles2/gles2.h
+++ /dev/null
@@ -1,50 +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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_GLES2_GLES2_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_GLES2_GLES2_H_
-
-// Note: This header should be compilable as C.
-
-#include <GLES2/gl2.h>
-#include <stdint.h>
-
-#include "third_party/mojo/src/mojo/public/c/environment/async_waiter.h"
-#include "third_party/mojo/src/mojo/public/c/gles2/gles2_export.h"
-#include "third_party/mojo/src/mojo/public/c/gles2/gles2_types.h"
-#include "third_party/mojo/src/mojo/public/c/system/types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-MOJO_GLES2_EXPORT MojoGLES2Context
- MojoGLES2CreateContext(MojoHandle handle,
- const int32_t* attrib_list,
- MojoGLES2ContextLost lost_callback,
- void* closure,
- const MojoAsyncWaiter* async_waiter);
-MOJO_GLES2_EXPORT void MojoGLES2DestroyContext(MojoGLES2Context context);
-MOJO_GLES2_EXPORT void MojoGLES2MakeCurrent(MojoGLES2Context context);
-MOJO_GLES2_EXPORT void MojoGLES2SwapBuffers(void);
-MOJO_GLES2_EXPORT void MojoGLES2SignalSyncPoint(
- MojoGLES2Context context,
- uint32_t sync_point,
- MojoGLES2SignalSyncPointCallback callback,
- void* closure);
-
-// TODO(piman): We shouldn't have to leak this interface, especially in a
-// type-unsafe way.
-MOJO_GLES2_EXPORT void* MojoGLES2GetGLES2Interface(MojoGLES2Context context);
-
-#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
- MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS;
-#include "third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_autogen.h"
-#undef VISIT_GL_CALL
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_GLES2_GLES2_H_

Powered by Google App Engine
This is Rietveld 408576698