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

Unified Diff: mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.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
Index: mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h
diff --git a/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h b/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h
deleted file mode 100644
index 68735a1eb2aed312655fdea285a9fa3842d37866..0000000000000000000000000000000000000000
--- a/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// 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.
-
-// This file is auto-generated from
-// gpu/command_buffer/build_gles2_cmd_buffer.py
-// It's formatted by clang-format using chromium coding style:
-// clang-format -i -style=chromium filename
-// DO NOT EDIT!
-
-#ifndef MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_SYNC_POINT_THUNKS_H_
-#define MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_SYNC_POINT_THUNKS_H_
-
-#include <stddef.h>
-
-#define GL_GLEXT_PROTOTYPES
-#include <GLES2/gl2extmojo.h>
-
-// Specifies the frozen API for the CHROMIUM_sync_point extension.
-#pragma pack(push, 8)
-struct MojoGLES2ImplCHROMIUMSyncPointThunks {
- size_t size; // Should be set to sizeof(*this).
-
-#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
- ReturnType(GL_APIENTRY* Function) PARAMETERS;
-#include "mojo/public/platform/native/gles2/call_visitor_chromium_sync_point_autogen.h"
-#undef VISIT_GL_CALL
-};
-#pragma pack(pop)
-
-#ifdef __cplusplus
-// Intended to be called from the embedder to get the embedder's implementation
-// of chromium_sync_point.
-inline MojoGLES2ImplCHROMIUMSyncPointThunks
-MojoMakeGLES2ImplCHROMIUMSyncPointThunks() {
- MojoGLES2ImplCHROMIUMSyncPointThunks gles2_impl_chromium_sync_point_thunks = {
- sizeof(MojoGLES2ImplCHROMIUMSyncPointThunks),
-#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) gl##Function,
-#include "mojo/public/platform/native/gles2/call_visitor_chromium_sync_point_autogen.h"
-#undef VISIT_GL_CALL
- };
-
- return gles2_impl_chromium_sync_point_thunks;
-}
-#endif // __cplusplus
-
-// Use this type for the function found by dynamically discovering it in
-// a DSO linked with mojo_system.
-// The contents of |gles2_impl_chromium_sync_point_thunks| are copied.
-typedef size_t (*MojoSetGLES2ImplCHROMIUMSyncPointThunksFn)(
- const struct MojoGLES2ImplCHROMIUMSyncPointThunks* thunks);
-
-#endif // MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_SYNC_POINT_THUNKS_H_

Powered by Google App Engine
This is Rietveld 408576698