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

Unified Diff: mojo/public/platform/nacl/mgl_irt.h

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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/platform/nacl/libmojo.cc ('k') | mojo/public/platform/nacl/mgl_irt.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/platform/nacl/mgl_irt.h
diff --git a/mojo/public/platform/nacl/mgl_irt.h b/mojo/public/platform/nacl/mgl_irt.h
deleted file mode 100644
index 3430ae5a4c0d12a38e8011f3db53df6d9c64f582..0000000000000000000000000000000000000000
--- a/mojo/public/platform/nacl/mgl_irt.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 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_PLATFORM_NACL_MGL_IRT_H_
-#define MOJO_PUBLIC_PLATFORM_NACL_MGL_IRT_H_
-
-#include <MGL/mgl.h>
-#include <MGL/mgl_onscreen.h>
-#include <MGL/mgl_signal_sync_point.h>
-
-#define NACL_IRT_MGL_v0_1 "nacl-irt-mgl-0.1"
-
-// See mojo/public/c/include/MGL/mgl.h for documentation.
-struct nacl_irt_mgl {
- MGLContext (*MGLCreateContext)(MGLOpenGLAPIVersion version,
- MojoHandle command_buffer_handle,
- MGLContext share_group,
- MGLContextLostCallback lost_callback,
- void* lost_callback_closure,
- const struct MojoAsyncWaiter* async_waiter);
- void (*MGLDestroyContext)(MGLContext context);
- void (*MGLMakeCurrent)(MGLContext context);
- MGLContext (*MGLGetCurrentContext)(void);
- MGLMustCastToProperFunctionPointerType (*MGLGetProcAddress)(const char* name);
-};
-
-#define NACL_IRT_MGL_ONSCREEN_v0_1 "nacl-irt-mgl-onscreen-0.1"
-
-// See mojo/public/c/include/MGL/mgl_onscreen.h for documentation.
-struct nacl_irt_mgl_onscreen {
- void (*MGLResizeSurface)(uint32_t width, uint32_t height);
- void (*MGLSwapBuffers)(void);
-};
-
-#define NACL_IRT_MGL_SIGNAL_SYNC_POINT_v0_1 "nacl-irt-mgl-signal-sync-point-0.1"
-
-// See mojo/public/c/include/MGL/mgl_signal_sync_point.h for documentation.
-struct nacl_irt_mgl_signal_sync_point {
- void (*MGLSignalSyncPoint)(uint32_t sync_point,
- MGLSignalSyncPointCallback callback,
- void* closure);
-};
-
-#endif // MOJO_PUBLIC_PLATFORM_NACL_MGL_IRT_H_
« no previous file with comments | « mojo/public/platform/nacl/libmojo.cc ('k') | mojo/public/platform/nacl/mgl_irt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698