Skip to content

Commit 5b343e8

Browse files
ShabbyXAngle LUCI CQ
authored and
Angle LUCI CQ
committed
Vulkan: Remove support for Stadia
Bug: angleproject:42262714 Change-Id: Icae5fe828fe4e0bcd287d297df1bc586708ef86e Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6344390 Commit-Queue: Shahbaz Youssefi <[email protected]> Reviewed-by: Yuly Novikov <[email protected]>
1 parent 668a7a2 commit 5b343e8

File tree

73 files changed

+63
-797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+63
-797
lines changed

BUILD.gn

-4
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ config("internal_config") {
243243
defines += [ "ANGLE_PLATFORM_CHROMEOS" ]
244244
}
245245

246-
if (is_ggp) {
247-
defines += [ "__ggp__" ]
248-
}
249-
250246
if (angle_use_vulkan_null_display) {
251247
defines += [ "ANGLE_USE_VULKAN_NULL_DISPLAY" ]
252248
} else if (angle_use_vulkan_display) {

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ ES 3.0 with [known issues][ES1].
3232
| iOS | | | | | | complete [2] |
3333
| Chrome OS | | | | complete | planned | |
3434
| Android | | | | complete | complete | |
35-
| GGP (Stadia) | | | | | complete | |
3635
| Fuchsia | | | | | complete | |
3736

3837
[1] Metal is supported on macOS 10.14+

extensions/EGL_ANGLE_ggp_stream_descriptor.txt

-73
This file was deleted.

extensions/EGL_ANGLE_swap_with_frame_token.txt

-83
This file was deleted.

gni/angle.gni

+9-13
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import("//build_overrides/angle.gni")
66

77
declare_args() {
8-
is_ggp = false
9-
108
# Extract native libs in ANGLE apk. Useful for flamegraph generation.
119
angle_extract_native_libs = false
1210

@@ -70,10 +68,9 @@ if (angle_has_build) {
7068

7169
declare_args() {
7270
angle_use_gbm = ozone_platform_gbm
73-
angle_use_x11 = ozone_platform_x11 && !is_ggp && (is_linux || is_chromeos)
74-
angle_use_wayland =
75-
ozone_platform_wayland && !is_ggp && is_linux && !is_castos
76-
angle_use_vulkan_display = (is_linux || is_chromeos) && !is_ggp
71+
angle_use_x11 = ozone_platform_x11 && (is_linux || is_chromeos)
72+
angle_use_wayland = ozone_platform_wayland && is_linux && !is_castos
73+
angle_use_vulkan_display = is_linux || is_chromeos
7774
}
7875
} else {
7976
declare_args() {
@@ -83,8 +80,8 @@ if (angle_has_build) {
8380
is_lsan = false
8481
build_with_chromium = false
8582
dcheck_always_on = false
86-
angle_use_x11 = (is_linux || is_chromeos) && !is_ggp
87-
angle_use_wayland = is_linux && !is_ggp
83+
angle_use_x11 = is_linux || is_chromeos
84+
angle_use_wayland = is_linux
8885
use_ozone = false
8986
ozone_platform_gbm = false
9087
ozone_platform_wayland = false
@@ -95,7 +92,7 @@ if (angle_has_build) {
9592
}
9693

9794
declare_args() {
98-
angle_use_vulkan_display = (is_linux || is_chromeos) && !is_ggp
95+
angle_use_vulkan_display = is_linux || is_chromeos
9996
}
10097
}
10198

@@ -186,14 +183,14 @@ declare_args() {
186183
angle_enable_gl =
187184
(ozone_platform_gbm || ozone_platform_wayland || !is_linux ||
188185
((angle_use_x11 && !is_chromeos) || angle_use_wayland || is_castos)) &&
189-
!is_fuchsia && !angle_is_winuwp && !is_ggp && !is_win_arm64 && !is_ios
186+
!is_fuchsia && !angle_is_winuwp && !is_win_arm64 && !is_ios
190187

191188
angle_enable_vulkan =
192189
angle_has_build &&
193190
((is_win && !angle_is_winuwp) ||
194191
((is_linux || is_chromeos) &&
195192
(angle_use_x11 || angle_use_wayland || angle_use_vulkan_display)) ||
196-
is_android || is_fuchsia || is_ggp || is_mac)
193+
is_android || is_fuchsia || is_mac)
197194

198195
# When set to true, ANGLE will not use VK_KHR_surface and VK_KHR_swapchain
199196
# extensions. Content can be rendered only off-screen.
@@ -246,8 +243,7 @@ if (!defined(checkout_angle_mesa)) {
246243
declare_args() {
247244
# Currently SwiftShader's Vulkan front-end doesn't build on Android.
248245
# Disabled by default on MSVC because of compiler warnings/errors.
249-
angle_enable_swiftshader =
250-
angle_enable_vulkan && !is_android && !is_ggp && is_clang
246+
angle_enable_swiftshader = angle_enable_vulkan && !is_android && is_clang
251247

252248
# Translator backend support:
253249
angle_enable_hlsl = angle_enable_d3d9 || angle_enable_d3d11

include/EGL/eglext_angle.h

-14
Original file line numberDiff line numberDiff line change
@@ -346,20 +346,6 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribANGLE(EGLDisplay dpy, EGLint
346346
#define EGL_CGL_PIXEL_FORMAT_ANGLE 0x3486
347347
#endif
348348

349-
#ifndef EGL_ANGLE_ggp_stream_descriptor
350-
#define EGL_ANGLE_ggp_stream_descriptor 1
351-
#define EGL_GGP_STREAM_DESCRIPTOR_ANGLE 0x348B
352-
#endif /* EGL_ANGLE_ggp_stream_descriptor */
353-
354-
#ifndef EGL_ANGLE_swap_with_frame_token
355-
#define EGL_ANGLE_swap_with_frame_token 1
356-
typedef khronos_uint64_t EGLFrameTokenANGLE;
357-
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC)(EGLDisplay dpy, EGLSurface surface, EGLFrameTokenANGLE frametoken);
358-
#ifdef EGL_EGLEXT_PROTOTYPES
359-
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, EGLSurface surface, EGLFrameTokenANGLE frametoken);
360-
#endif
361-
#endif /* EGL_ANGLE_swap_with_frame_token */
362-
363349
#ifndef EGL_ANGLE_prepare_swap_buffers
364350
#define EGL_ANGLE_prepare_swap_buffers 1
365351
typedef EGLBoolean (EGLAPIENTRYP PFNEGLPREPARESWAPBUFFERSANGLEPROC)(EGLDisplay dpy, EGLSurface surface);

include/platform/autogen/FeaturesVk_autogen.h

-6
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ struct FeaturesVk : FeatureSetBase
9898
&members,
9999
};
100100

101-
FeatureInfo supportsGGPFrameToken = {
102-
"supportsGGPFrameToken",
103-
FeatureCategory::VulkanFeatures,
104-
&members,
105-
};
106-
107101
FeatureInfo supportsExternalMemoryFd = {
108102
"supportsExternalMemoryFd",
109103
FeatureCategory::VulkanFeatures,

include/platform/vk_features.json

-7
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,6 @@
103103
"VkDevice supports the VK_ANDROID_external_memory_android_hardware_buffer extension"
104104
]
105105
},
106-
{
107-
"name": "supports_GGP_frame_token",
108-
"category": "Features",
109-
"description": [
110-
"VkDevice supports the VK_GGP_frame_token extension"
111-
]
112-
},
113106
{
114107
"name": "supports_external_memory_fd",
115108
"category": "Features",

scripts/code_generation_hashes/Extension_files.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"doc/ExtensionSupport.md":
33
"9fedcc1a67af79d93c2da1105c9bada6",
44
"scripts/egl_angle_ext.xml":
5-
"d9434b5d3dc4842f02bbb06f54fb7e02",
5+
"8389749098fae1d5c832a06b5be51dc1",
66
"scripts/extension_data/intel_630_linux.json":
77
"3b86832de6a7095f4617e273cba6d45e",
88
"scripts/extension_data/intel_630_win10.json":
@@ -22,7 +22,7 @@
2222
"scripts/gl_angle_ext.xml":
2323
"ef111314bcf6e8c9cdc1a391080f1d80",
2424
"scripts/registry_xml.py":
25-
"b4b40cf6f60ec0b2e8ef27dae59cfd91",
25+
"d3c156a97242e0512175c43404d44570",
2626
"src/libANGLE/gen_extensions.py":
2727
"6ea1cb1733c4df98b527bbf2752e118b",
2828
"src/libANGLE/gles_extensions_autogen.cpp":
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"scripts/egl_angle_ext.xml":
3-
"d9434b5d3dc4842f02bbb06f54fb7e02",
3+
"8389749098fae1d5c832a06b5be51dc1",
44
"scripts/generate_loader.py":
55
"93c78a8d11323fa311fed5118fbcf083",
66
"scripts/gl_angle_ext.xml":
77
"ef111314bcf6e8c9cdc1a391080f1d80",
88
"scripts/registry_xml.py":
9-
"b4b40cf6f60ec0b2e8ef27dae59cfd91",
9+
"d3c156a97242e0512175c43404d44570",
1010
"src/libEGL/egl_loader_autogen.cpp":
11-
"ab0ad32d623096b4a166c7bf5bf2561c",
11+
"2aca2a57c51fc2b1c7e1da0a7ccf6107",
1212
"src/libEGL/egl_loader_autogen.h":
13-
"a654f2dbdd5b1b343a478f8ecaf84fc5",
13+
"bde0152d45cd681ab4e416a362a391d8",
1414
"third_party/EGL-Registry/src/api/egl.xml":
1515
"2056d54ea07156f1988ca1366bdee21a",
1616
"third_party/OpenCL-Docs/src/xml/cl.xml":
@@ -22,23 +22,23 @@
2222
"third_party/OpenGL-Registry/src/xml/wgl.xml":
2323
"eae784bf4d1b983a42af5671b140b7c4",
2424
"util/capture/trace_egl_loader_autogen.cpp":
25-
"ea51900ee6b290c8a6ef1674ccc17224",
25+
"a05c41eb1cc6e24c006cb3f462b694cf",
2626
"util/capture/trace_egl_loader_autogen.h":
27-
"446416d576c66d5d9f0a709d27463879",
27+
"9adc81af729078b16b36647f02401342",
2828
"util/capture/trace_gles_loader_autogen.cpp":
2929
"a1f5589204c04a128bec7cc37c09e618",
3030
"util/capture/trace_gles_loader_autogen.h":
31-
"d6b1848250c6a21c592491cc2f365f58",
31+
"7d3406626d8f43310056cdc6eeab677d",
3232
"util/egl_loader_autogen.cpp":
33-
"1a25333935b4ead43a58ccdbffc7f253",
33+
"ae6abfc6c2c0a997ad59258dfc0339ce",
3434
"util/egl_loader_autogen.h":
35-
"8ab5beca6edba8c395561bb0af452029",
35+
"ea5f73048616a6fc80eaa7e93ef5f0ce",
3636
"util/gles_loader_autogen.cpp":
3737
"21ba5e7139e81e9be425c5cacd0bb6b3",
3838
"util/gles_loader_autogen.h":
39-
"01b1448da6ebd2bdd16e2bea5de9f273",
39+
"b6aa8de9442b0dea722fdb71813cd31f",
4040
"util/windows/wgl_loader_autogen.cpp":
4141
"373b062587eab8a163121255f54597dc",
4242
"util/windows/wgl_loader_autogen.h":
43-
"788190d21890b3ded845acb5ccbfb7ad"
43+
"0551e9c28a8d3902bcd5d6e5b1ed3c6f"
4444
}

0 commit comments

Comments
 (0)