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

Side by Side Diff: ui/ozone/platform/eglheadless/eglplatform_shim.h

Issue 1410123003: Rename "test" ozone platform to "headless" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed egltest => eglheadless, test => headless 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef __eglplatform_shim_h_ 5 #ifndef __eglplatform_shim_h_
6 #define __eglplatform_shim_h_ 6 #define __eglplatform_shim_h_
7 7
8 #include <stdbool.h> 8 #include <stdbool.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 30 matching lines...) Expand all
41 // Create window handle & query window properties (called from browser process). 41 // Create window handle & query window properties (called from browser process).
42 SHIM_EXPORT ShimNativeWindowId ShimCreateWindow(void); 42 SHIM_EXPORT ShimNativeWindowId ShimCreateWindow(void);
43 SHIM_EXPORT bool ShimQueryWindow(ShimNativeWindowId window_id, 43 SHIM_EXPORT bool ShimQueryWindow(ShimNativeWindowId window_id,
44 int attribute, 44 int attribute,
45 int* value); 45 int* value);
46 SHIM_EXPORT bool ShimDestroyWindow(ShimNativeWindowId window_id); 46 SHIM_EXPORT bool ShimDestroyWindow(ShimNativeWindowId window_id);
47 47
48 // Manage actual EGL platform objects (called from GPU process). 48 // Manage actual EGL platform objects (called from GPU process).
49 SHIM_EXPORT ShimEGLNativeDisplayType ShimGetNativeDisplay(void); 49 SHIM_EXPORT ShimEGLNativeDisplayType ShimGetNativeDisplay(void);
50 SHIM_EXPORT ShimEGLNativeWindowType 50 SHIM_EXPORT ShimEGLNativeWindowType
51 ShimGetNativeWindow(ShimNativeWindowId native_window_id); 51 ShimGetNativeWindow(ShimNativeWindowId native_window_id);
52 SHIM_EXPORT bool ShimReleaseNativeWindow(ShimEGLNativeWindowType native_window); 52 SHIM_EXPORT bool ShimReleaseNativeWindow(ShimEGLNativeWindowType native_window);
53 53
54 #ifdef __cplusplus 54 #ifdef __cplusplus
55 } 55 }
56 #endif 56 #endif
57 57
58 #endif /* __eglplatform_shim_h */ 58 #endif /* __eglplatform_shim_h */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698