| Index: third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_resize_thunks.h
|
| diff --git a/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_resize_thunks.h b/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_resize_thunks.h
|
| deleted file mode 100644
|
| index 55d87e994e1b40276325a5ff28fcec8fdad99e35..0000000000000000000000000000000000000000
|
| --- a/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_resize_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 MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_RESIZE_THUNKS_H_
|
| -#define MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_RESIZE_THUNKS_H_
|
| -
|
| -#include <stddef.h>
|
| -
|
| -#include "mojo/public/c/gles2/chromium_resize.h"
|
| -
|
| -// Specifies the frozen API for the GLES2 CHROMIUM_resize extension.
|
| -#pragma pack(push, 8)
|
| -struct MojoGLES2ImplChromiumResizeThunks {
|
| - 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/c/gles2/gles2_call_visitor_chromium_resize_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 MojoGLES2ImplChromiumResizeThunks
|
| -MojoMakeGLES2ImplChromiumResizeThunks() {
|
| - MojoGLES2ImplChromiumResizeThunks gles2_impl_chromium_resize_thunks = {
|
| - sizeof(MojoGLES2ImplChromiumResizeThunks),
|
| -#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) gl##Function,
|
| -#include "mojo/public/c/gles2/gles2_call_visitor_chromium_resize_autogen.h"
|
| -#undef VISIT_GL_CALL
|
| - };
|
| -
|
| - return gles2_impl_chromium_resize_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_resize_thunks| are copied.
|
| -typedef size_t (*MojoSetGLES2ImplChromiumResizeThunksFn)(
|
| - const MojoGLES2ImplChromiumResizeThunks* thunks);
|
| -
|
| -#endif // MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_CHROMIUM_RESIZE_THUNKS_H_
|
|
|