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

Unified Diff: third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_extension_thunks.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/platform/native/gles2_impl_chromium_extension_thunks.h
diff --git a/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_extension_thunks.h b/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_extension_thunks.h
deleted file mode 100644
index 5bfa0bab3cc0b501d8081b19997d3d3e7cd4e379..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_extension_thunks.h
+++ /dev/null
@@ -1,44 +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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_EXTENSION_THUNKS_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_EXTENSION_THUNKS_H_
-
-#include <stddef.h>
-
-#include "third_party/mojo/src/mojo/public/c/gles2/chromium_extension.h"
-
-// Specifies the API for the GLES2 CHROMIUM extension.
-#pragma pack(push, 8)
-struct MojoGLES2ImplChromiumExtensionThunks {
- size_t size; // Should be set to sizeof(*this).
-
-#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
- ReturnType(GL_APIENTRY *Function) PARAMETERS;
-#include "third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h"
-#undef VISIT_GL_CALL
-};
-#pragma pack(pop)
-
-// Intended to be called from the embedder to get the embedder's implementation
-// of GLES2.
-inline MojoGLES2ImplChromiumExtensionThunks
-MojoMakeGLES2ImplChromiumExtensionThunks() {
- MojoGLES2ImplChromiumExtensionThunks gles2_impl_chromium_extension_thunks = {
- sizeof(MojoGLES2ImplChromiumExtensionThunks),
-#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) gl##Function,
-#include "third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h"
-#undef VISIT_GL_CALL
- };
-
- return gles2_impl_chromium_extension_thunks;
-}
-
-// Use this type for the function found by dynamically discovering it in
-// a DSO linked with mojo_system.
-// The contents of |gles2_impl_chromium_extension_thunks| are copied.
-typedef size_t (*MojoSetGLES2ImplChromiumExtensionThunksFn)(
- const MojoGLES2ImplChromiumExtensionThunks* thunks);
-
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_EXTENSION_THUNKS_H_

Powered by Google App Engine
This is Rietveld 408576698