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

Unified Diff: ui/ozone/platform/egltest/eglplatform_shim.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/ozone/platform/egltest/BUILD.gn ('k') | ui/ozone/platform/egltest/eglplatform_shim_xeleven.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/egltest/eglplatform_shim.h
diff --git a/ui/ozone/platform/egltest/eglplatform_shim.h b/ui/ozone/platform/egltest/eglplatform_shim.h
deleted file mode 100644
index ce7cce9838f06038c0b59f5e1bc2c05ad6d7fbb6..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/egltest/eglplatform_shim.h
+++ /dev/null
@@ -1,58 +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.
-
-#ifndef __eglplatform_shim_h_
-#define __eglplatform_shim_h_
-
-#include <stdbool.h>
-#include <stdint.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define SHIM_EXPORT __attribute__((visibility("default")))
-
-// Simple integral native window identifier.
-// NB: Unlike EGLNativeWindowType, this will be shipped between processes.
-typedef int ShimNativeWindowId;
-#define SHIM_NO_WINDOW_ID ((ShimNativeWindowId)0)
-
-// Opaque versions of EGL types (as used by ozone).
-typedef intptr_t ShimEGLNativeDisplayType;
-typedef intptr_t ShimEGLNativeWindowType;
-
-// QueryString targets
-#define SHIM_EGL_LIBRARY 0x1001
-#define SHIM_GLES_LIBRARY 0x1002
-
-// CreateWindow / QueryWindow attributes
-#define SHIM_WINDOW_WIDTH 0x0001
-#define SHIM_WINDOW_HEIGHT 0x0002
-
-// Query global implementation information.
-SHIM_EXPORT const char* ShimQueryString(int name);
-
-// Init/terminate library.
-SHIM_EXPORT bool ShimInitialize(void);
-SHIM_EXPORT bool ShimTerminate(void);
-
-// Create window handle & query window properties (called from browser process).
-SHIM_EXPORT ShimNativeWindowId ShimCreateWindow(void);
-SHIM_EXPORT bool ShimQueryWindow(ShimNativeWindowId window_id,
- int attribute,
- int* value);
-SHIM_EXPORT bool ShimDestroyWindow(ShimNativeWindowId window_id);
-
-// Manage actual EGL platform objects (called from GPU process).
-SHIM_EXPORT ShimEGLNativeDisplayType ShimGetNativeDisplay(void);
-SHIM_EXPORT ShimEGLNativeWindowType
- ShimGetNativeWindow(ShimNativeWindowId native_window_id);
-SHIM_EXPORT bool ShimReleaseNativeWindow(ShimEGLNativeWindowType native_window);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __eglplatform_shim_h */
« no previous file with comments | « ui/ozone/platform/egltest/BUILD.gn ('k') | ui/ozone/platform/egltest/eglplatform_shim_xeleven.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698