fec8587341a449b0b9a03e7104135db26633757a
[WebKit-https.git] / Source / ThirdParty / ANGLE / ChangeLog
1 2020-02-04  James Darpinian  <jdarpinian@chromium.org>
2
3         Update ANGLE
4         https://bugs.webkit.org/show_bug.cgi?id=206318
5
6         Several important changes to fix layout test failures and timeouts in this update.
7         - Made expensive validation non-default in debug mode to reduce timeouts.
8         - Optimize disabling ARB_texture_rectangle to make shader compilation much faster.
9         - Flush before texture deletion to work around Mac Intel driver bug.
10
11         Reviewed by Dean Jackson.
12
13         * ANGLE.plist: update commit hash
14         * ANGLE.xcodeproj/project.pbxproj: Add/remove files
15         * Compiler.cmake: Translated from compiler.gni
16         * GLESv2.cmake: Translated from libGLESv2.gni
17         * changes.diff: Now lists all changes from upstream.
18         * update-angle.sh: Diff command was wrong.
19         * Plus a whole lot of changes from upstream.
20
21 2020-01-30  James Darpinian  <jdarpinian@chromium.org>
22
23         Update ANGLE
24         https://bugs.webkit.org/show_bug.cgi?id=206318
25
26         Take two!
27
28         Several important changes to fix layout test failures and timeouts in this update.
29         - Made expensive validation non-default in debug mode to reduce timeouts.
30         - Optimize disabling ARB_texture_rectangle to make shader compilation much faster.
31         - Flush before texture deletion to work around Mac Intel driver bug.
32
33         Reviewed by Dean Jackson.
34
35         * ANGLE.plist: update commit hash
36         * ANGLE.xcodeproj/project.pbxproj: Add/remove files
37         * Compiler.cmake: Translated from compiler.gni
38         * GLESv2.cmake: Translated from libGLESv2.gni
39         * changes.diff: Now lists all changes from upstream.
40         * update-angle.sh: Diff command was wrong.
41         * Plus a whole lot of changes from upstream.
42
43 2020-01-22  James Darpinian  <jdarpinian@chromium.org>
44
45         Update ANGLE
46         https://bugs.webkit.org/show_bug.cgi?id=206318
47
48         Several important changes to fix layout test failures and timeouts in this update.
49         - Made expensive validation non-default in debug mode to reduce timeouts.
50         - Optimize disabling ARB_texture_rectangle to make shader compilation much faster.
51         - Flush before texture deletion to work around Mac Intel driver bug.
52
53         Reviewed by Dean Jackson.
54
55         * ANGLE.plist: update commit hash
56         * ANGLE.xcodeproj/project.pbxproj: Add/remove files
57         * Compiler.cmake: Translated from compiler.gni
58         * GLESv2.cmake: Translated from libGLESv2.gni
59         * changes.diff: Now lists all changes from upstream.
60         * update-angle.sh: Diff command was wrong.
61         * Plus a whole lot of changes from upstream.
62
63 2020-01-22  James Darpinian  <jdarpinian@chromium.org>
64
65         REGRESSION (r253926): webgl/1.0.3/conformance/rendering/many-draw-calls.html is much slower, times out in debug
66         https://bugs.webkit.org/show_bug.cgi?id=205668
67
68         Disable asserts when compiling ANGLE in release mode by defining
69         NDEBUG.
70
71         Reviewed by Dean Jackson.
72
73         * Configurations/ANGLE.xcconfig:
74
75 2020-01-14  Dean Jackson  <dino@apple.com>
76
77         Build ANGLE as a dynamic library
78         https://bugs.webkit.org/show_bug.cgi?id=204708
79         rdar://57349384
80
81         Rolling this out for the 2nd time.
82
83         - it caused issues with the shared dyld cache, because the
84         cache doesn't know to include the libary until it already
85         exists in the build
86         - probably related to the above, we saw some performance
87         regressions directly related to this change
88
89         * ANGLE.xcodeproj/project.pbxproj:
90         * Configurations/ANGLE.xcconfig:
91         * Configurations/Base.xcconfig:
92         * Configurations/DebugRelease.xcconfig:
93         * include/CMakeLists.txt:
94         * include/GLSLANG/ShaderLang.h:
95         * include/GLSLANG/ShaderVars.h:
96         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
97         (rx::DisplayCGL::isValidNativeWindow const):
98         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
99         (rx::WindowSurfaceCGL::WindowSurfaceCGL):
100         (rx::WindowSurfaceCGL::~WindowSurfaceCGL):
101         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.mm:
102         (rx::DisplayEAGL::terminate):
103         (rx::DisplayEAGL::isValidNativeWindow const):
104         (rx::WorkerContextEAGL::~WorkerContextEAGL):
105         * src/libANGLE/renderer/gl/eagl/WindowSurfaceEAGL.mm:
106         (rx::WindowSurfaceEAGL::WindowSurfaceEAGL):
107         (rx::WindowSurfaceEAGL::~WindowSurfaceEAGL):
108
109 2020-01-14  Kenneth Russell  <kbr@chromium.org>
110
111         Need workaround for crash in Intel OpenGL driver related to texture copying feedback loops
112         https://bugs.webkit.org/show_bug.cgi?id=205843
113
114         Remove ANGLE workaround introduced in bug 205707, as it was
115         discovered to be incomplete, and was never upstreamed. The correct
116         workaround will be integrated in the next ANGLE roll.
117
118         Reviewed by Dean Jackson.
119
120         * include/platform/FeaturesGL.h:
121         * src/libANGLE/renderer/gl/StateManagerGL.cpp:
122         (rx::StateManagerGL::bindFramebuffer):
123         * src/libANGLE/renderer/gl/renderergl_utils.cpp:
124         (rx::nativegl_gl::InitializeFeatures):
125
126 2020-01-08  Kenneth Russell  <kbr@chromium.org>
127
128         Remove some #ifdefs related to iOS port of ANGLE
129         https://bugs.webkit.org/show_bug.cgi?id=205781
130
131         Since the port to the iOS Simulator in
132         https://bugs.webkit.org/show_bug.cgi?id=205618 , these #ifdefs
133         should no longer be needed.
134
135         Reviewed by Dean Jackson.
136
137         * src/common/PackedEnums.cpp:
138         (egl_gl::EGLTextureTargetToTextureType):
139         * src/libANGLE/validationES2.cpp:
140         (gl::ValidateFramebufferTexture2D):
141
142 2020-01-05  Kenneth Russell  <kbr@chromium.org>
143
144         REGRESSION (r253926): Flaky crashes on webgl/1.0.3/conformance/textures/texture-copying-feedback-loops.html and webgl/2.0.0/conformance/textures/misc/texture-copying-feedback-loops.html
145         https://bugs.webkit.org/show_bug.cgi?id=205707
146
147         Work around bugs in Intel's graphics driver where operations can
148         be incorrectly reordered across glBindFramebuffer calls by
149         flushing before/after these calls. Conclusively addresses this
150         crash; may also address other layout test flakiness seen when
151         switching to ANGLE backend for WebGL.
152
153         Reviewed by Dean Jackson.
154
155         * include/platform/FeaturesGL.h:
156         * src/libANGLE/renderer/gl/StateManagerGL.cpp:
157         (rx::StateManagerGL::bindFramebuffer):
158         * src/libANGLE/renderer/gl/renderergl_utils.cpp:
159         (rx::nativegl_gl::InitializeFeatures):
160
161 2020-01-04  Kenneth Russell  <kbr@chromium.org>
162
163         Add support for iOS Simulator to ANGLE backend for WebGL
164         https://bugs.webkit.org/show_bug.cgi?id=205618
165
166         Extend EGL_ANGLE_iosurface_client_buffer extension to require use
167         of TEXTURE_2D target on iOS, and to provide read/write usage hints
168         for the pbuffer created from the IOSurface.
169
170         Emulate missing [EAGLContext texImageIOSurface:...] via texture
171         upload in eglBindTexImage and readback in eglReleaseTexImage.
172
173         These changes will be upstreamed in
174         https://bugs.chromium.org/p/angleproject/issues/detail?id=4256 .
175
176         Reviewed by Dean Jackson.
177
178         * extensions/EGL_ANGLE_iosurface_client_buffer.txt:
179         * include/EGL/eglext_angle.h:
180         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.mm:
181         (rx::DisplayEAGL::initialize):
182         * src/libANGLE/renderer/gl/eagl/IOSurfaceSurfaceEAGL.h:
183         * src/libANGLE/renderer/gl/eagl/IOSurfaceSurfaceEAGL.mm:
184         (rx::IOSurfaceSurfaceEAGL::IOSurfaceSurfaceEAGL):
185         (rx::IOSurfaceSurfaceEAGL::bindTexImage):
186         (rx::IOSurfaceSurfaceEAGL::releaseTexImage):
187         (rx::IOSurfaceSurfaceEAGL::validateAttributes):
188         (rx::IOSurfaceSurfaceEAGL::createDefaultFramebuffer):
189         (rx::IOSurfaceSurfaceEAGL::getIOSurfaceLockOptions const):
190         * src/libANGLE/validationEGL.cpp:
191         (egl::ValidateCreatePbufferFromClientBuffer):
192
193 2019-12-25  Dean Jackson  <dino@apple.com>
194
195         [WebGL] Enable ANGLE by default for Cocoa platforms (except simulator)
196         https://bugs.webkit.org/show_bug.cgi?id=205483
197         rdar://56925821
198
199         Reviewed by Simon Fraser.
200
201         Export entry_points_gles_ext_autogen.h.
202
203         * ANGLE.xcodeproj/project.pbxproj:
204
205 2019-12-19  Dean Jackson  <dino@apple.com>
206
207         Build ANGLE as a dynamic library
208         https://bugs.webkit.org/show_bug.cgi?id=204708
209         rdar://57349384
210
211         Reviewed by Tim Horton.
212
213         Take 2 at attempting this. The first time was rolled out
214         due to failures in Apple's upstream build system.
215
216         Modify ANGLE to build as a dynamic library. My (not thorough) testing suggests
217         this will reduce the in-flight binary size on Apple's build systems by at least
218         a factor of 10 (it was over 1G). Building release for x86_64-only:
219             - Previously: libANGLE.a -- 306 MB
220             - Now: libANGLE-shared.dylib -- 6.7 MB
221
222         In order to do this, some symbols needed to be exported from the
223         "sh" namespace (which are used in ANGLEWebKitBridge, but not when
224         ANGLE's rendering backend is active).
225
226         While here, I turned on some more build options, like ARC.
227
228         Lastly, I added a build phase that creates a fake libANGLE.a
229         because Apple's build system thinks that WebCore still needs it.
230
231         * ANGLE.xcodeproj/project.pbxproj: Link with IOKit and IOSurface frameworks, and
232         product a dylib product.
233         * Configurations/ANGLE.xcconfig: Update the configuration for a dynamic library.
234         * Configurations/Base.xcconfig:
235         * Configurations/DebugRelease.xcconfig:
236         * include/GLSLANG/ShaderLang.h: Add ANGLE_EXPORT to some functions to make
237         sure they will be visible in the exported library.
238         * include/GLSLANG/ShaderVars.h:
239         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm: Change reinterpret_cast to a normal
240         C cast so it can be annotated with __bridge.
241         (rx::DisplayCGL::isValidNativeWindow const):
242         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm: Ditto.
243         (rx::WindowSurfaceCGL::WindowSurfaceCGL):
244         (rx::WindowSurfaceCGL::~WindowSurfaceCGL):
245         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.mm: Ditto.
246         * src/libANGLE/renderer/gl/eagl/WindowSurfaceEAGL.mm: Ditto.
247
248 2019-12-19  ChangSeok Oh  <changseok@webkit.org>
249
250         [GTK] Build fix for ANGLE_WEBGL after r253650
251         https://bugs.webkit.org/show_bug.cgi?id=205426
252
253         Reviewed by Carlos Alberto Lopez Perez.
254
255         libglesv2_entry_points_headers was removed in r253650 that updated CMake for ANGLE.
256         GLESv2.cmake seems to be susceptible to ANGLE changes, so it might not be
257         a good place where any platform specific configuration is located.
258         Let's move the entry points header set to CMakeLists.txt.
259
260         * CMakeLists.txt:
261
262 2019-12-18  Dean Jackson  <dino@apple.com>
263
264         Reverting libANGLE.a -> libANGLE-shared.dylib.
265
266         Follow-up to remove the build phase that was trying
267         to fool Apple's build system.
268
269         * ANGLE.xcodeproj/project.pbxproj:
270
271 2019-12-18  Dean Jackson  <dino@apple.com>
272
273         Reverting libANGLE.a -> libANGLE-shared.dylib.
274
275         The internal Apple build systems are still unhappy with
276         this change, so I'm reverting it until I can be sure
277         they'll accept it.
278
279         * ANGLE.xcodeproj/project.pbxproj:
280         * Configurations/ANGLE.xcconfig:
281         * Configurations/Base.xcconfig:
282         * Configurations/DebugRelease.xcconfig:
283         * include/CMakeLists.txt:
284         * include/GLSLANG/ShaderLang.h:
285         * include/GLSLANG/ShaderVars.h:
286         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
287         (rx::DisplayCGL::isValidNativeWindow const):
288         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
289         (rx::WindowSurfaceCGL::WindowSurfaceCGL):
290         (rx::WindowSurfaceCGL::~WindowSurfaceCGL):
291         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.mm:
292         (rx::DisplayEAGL::terminate):
293         (rx::DisplayEAGL::isValidNativeWindow const):
294         (rx::WorkerContextEAGL::~WorkerContextEAGL):
295         * src/libANGLE/renderer/gl/eagl/WindowSurfaceEAGL.mm:
296         (rx::WindowSurfaceEAGL::WindowSurfaceEAGL):
297         (rx::WindowSurfaceEAGL::~WindowSurfaceEAGL):
298
299 2019-12-17  Fujii Hironori  <Hironori.Fujii@sony.com>
300
301         Unreviewed build fix for WinCairo port
302         https://bugs.webkit.org/show_bug.cgi?id=204914
303         <rdar://problem/58023118>
304
305         * include/CMakeLists.txt: Replaced '$libangle_includes' with '${libangle_includes}".
306
307 2019-12-17  James Darpinian  <jdarpinian@chromium.org>
308
309         Improve update-angle.sh and add gni-to-cmake.py
310         https://bugs.webkit.org/show_bug.cgi?id=204914
311
312         update-angle.sh now performs a git rebase. This automatically merges
313         upstream changes with WebKit's local changes where possible and
314         highlights any conflicts for manual resolution.
315
316         Also, it runs a new script gni-to-cmake.py to automatically update the
317         CMake files with upstream changes to the gni files. Along with the
318         changes to include/CMakeLists.txt, this should prevent build breaks
319         like the recently fixed WinCairo one. Additionally, diffing the CMake
320         files provides a concise list of build changes that can be referenced
321         when manually updating the XCode project file.
322
323         Reviewed by Dean Jackson.
324
325         * CMakeLists.txt:
326         * Compiler.cmake:
327         * GLESv2.cmake:
328         * gni-to-cmake.py: Added.
329         * include/CMakeLists.txt:
330         * update-angle.sh:
331
332 2019-12-17  ChangSeok Oh  <changseok@webkit.org>
333
334         Unreviewed build fix for USE_ANGLE_WEBGL after r252994
335
336         * CMakeLists.txt: Add a missing directory separator.
337
338 2019-12-13  Dean Jackson  <dino@apple.com>
339
340         MacCatalyst build of libANGLE is installed in the incorrect location
341         https://bugs.webkit.org/show_bug.cgi?id=205219
342         <rdar://problem/57713353>
343
344         Reviewed by Simon Fraser.
345
346         Rename libANGLE.dylib into libANGLE-shared.dylib, so we can
347         avoid accidentally trying to link to the libANGLE.a that was
348         removed recently (but still exists in the SDK for now).
349
350         Also, make sure that we install into the correct location for
351         a Catalyst build.
352
353         * ANGLE.xcodeproj/project.pbxproj:
354         * Configurations/ANGLE.xcconfig:
355         * Configurations/Base.xcconfig:
356
357 2019-12-11  Dean Jackson  <dino@apple.com>
358
359         Produce a dummy libANGLE.a file to fool Apple's build test infrastructure
360         https://bugs.webkit.org/show_bug.cgi?id=205068
361         <rdar://problem/57713353>
362
363         Unreviewed followup to apply the script to Mac Catalyst builds.
364
365         Note that this phase can be removed in a few days when Apple's Test
366         Platform realises it doesn't need libANGLE.a any more.
367
368         * ANGLE.xcodeproj/project.pbxproj:
369
370 2019-12-10  Dean Jackson  <dino@apple.com>
371
372         Produce a dummy libANGLE.a file to fool Apple's build test infrastructure
373         https://bugs.webkit.org/show_bug.cgi?id=205068
374         <rdar://problem/57713353>
375
376         Reviewed by Alex Christensen.
377
378         Create a dummy libANGLE.a file until our infrastructure realises it
379         doesn't need that file any more. Hopefully the fact that it isn't
380         really a static library, but just a text file, is ok.
381
382         * ANGLE.xcodeproj/project.pbxproj: Add a new shell script phase that
383         creates a dummy file.
384
385 2019-12-06  Dean Jackson  <dino@apple.com>
386
387         Restrict libANGLE to link only with WebCore
388         https://bugs.webkit.org/show_bug.cgi?id=204957
389         <rdar://problem/57708644>
390
391         Reviewed by Brian Burg.
392
393         Restrict to WebCore and WebCoreTestSupport.
394
395         * Configurations/ANGLE.xcconfig:
396
397 2019-12-05  James Darpinian  <jdarpinian@chromium.org>
398
399         Finish ANGLE update
400         https://bugs.webkit.org/show_bug.cgi?id=204911
401
402         The last ANGLE update patch didn't include all the changed files.
403         This patch updates the rest of the files.
404
405         Reviewed by Alex Christensen.
406
407         * src/tests: Lots of changed files from upstream ANGLE.
408         * src/third_party/compiler/README.chromium:
409         * third_party/VK-GL-CTS/README.angle: Added.
410         * third_party/deqp/README.angle: Removed.
411         * third_party/googletest/README.angle: Removed.
412         * third_party/libpng/BUILD.gn:
413         * third_party/spirv-cross/README.angle: Added.
414         * util/OSWindow.h:
415         * util/egl_loader_autogen.cpp:
416         (angle::LoadEGL):
417         * util/egl_loader_autogen.h:
418         * util/fuchsia/ScenicWindow.cpp:
419         (ScenicWindow::resetNativeWindow):
420         * util/fuchsia/ScenicWindow.h:
421         * util/gles_loader_autogen.cpp:
422         (angle::LoadGLES):
423         * util/gles_loader_autogen.h:
424         * util/osx/OSXWindow.h:
425         * util/osx/OSXWindow.mm:
426         (OSXWindow::initialize):
427         * util/ozone/OzoneWindow.h:
428         * util/posix/crash_handler_posix.cpp:
429         (angle::InitCrashHandler):
430         * util/posix/test_utils_posix.cpp:
431         (angle::GetTempDir):
432         (angle::CreateTemporaryFileInDir):
433         (angle::DeleteFile):
434         (angle::LaunchProcess):
435         (angle::NumberOfProcessors):
436         * util/shader_utils.cpp:
437         (CompileShaderFromFile):
438         (CompileProgramFromFiles):
439         * util/test_utils.cpp: Added.
440         (angle::CreateTemporaryFile):
441         (angle::GetFileSize):
442         (angle::ReadEntireFileToString):
443         (angle::ProcessHandle::ProcessHandle):
444         (angle::ProcessHandle::~ProcessHandle):
445         (angle::ProcessHandle::operator=):
446         (angle::ProcessHandle::reset):
447         * util/test_utils.h:
448         * util/test_utils_unittest.cpp: Added.
449         (angle::NormalizeNewLines):
450         (angle::TEST):
451         * util/test_utils_unittest_helper.cpp: Added.
452         (main):
453         * util/test_utils_unittest_helper.h: Added.
454         * util/util.gni:
455         * util/windows/WGLWindow.cpp:
456         * util/windows/test_utils_win.cpp:
457         (angle::InitCrashHandler):
458         (angle::TerminateCrashHandler):
459         (angle::LaunchProcess):
460         (angle::GetTempDir):
461         (angle::CreateTemporaryFileInDir):
462         (angle::DeleteFile):
463         (angle::NumberOfProcessors):
464         * util/windows/win32/Win32Window.cpp:
465         (Win32Window::initialize):
466         * util/windows/win32/test_utils_win32.cpp:
467         (angle::StabilizeCPUForBenchmarking):
468         * util/x11/X11Window.h:
469
470 2019-12-02  Ross Kirsling  <ross.kirsling@sony.com>
471
472         Unreviewed WinCairo build fix following r252989.
473
474         * include/CMakeLists.txt:
475
476 2019-12-02  Dean Jackson  <dino@apple.com>
477
478         Clean up ANGLE header post-process script
479         https://bugs.webkit.org/show_bug.cgi?id=204711
480
481         Reviewed by Tim Horton.
482
483         Since `sed` on macOS requires the in-place argument to have a zero-length string
484         to avoid making backups, this script was attempting to pass ''. However, this was
485         being evaluated, creating a bunch of files with \'\' suffixes. Fix this by using
486         an array when expanding the arguments.
487
488         Also fix a typo where the character "3" was being printed.
489
490         Lastly, only print out the basename of the header file being converted.
491
492         * adjust-angle-include-paths.sh:
493
494 2019-11-30  Dean Jackson  <dino@apple.com>
495
496         Build ANGLE as a dynamic library
497         https://bugs.webkit.org/show_bug.cgi?id=204708
498         rdar://57349384
499
500         Reviewed by Tim Horton.
501
502         Modify ANGLE to build as a dynamic library. My (not thorough) testing suggests
503         this will reduce the in-flight binary size on Apple's build systems by at least
504         a factor of 10 (it was over 1G). Building release for x86_64-only:
505             - Previously: libANGLE.a -- 306 MB
506             - Now: libANGLE.dylib -- 6.7 MB
507
508         In order to do this, some symbols needed to be exported from the
509         "sh" namespace (which are used in ANGLEWebKitBridge, but not when
510         ANGLE's rendering backend is active).
511
512         While here, I turned on some more build options, like ARC.
513
514         * ANGLE.xcodeproj/project.pbxproj: Link with IOKit and IOSurface frameworks, and
515         product a dylib product.
516         * Configurations/ANGLE.xcconfig: Update the configuration for a dynamic library.
517         * Configurations/Base.xcconfig:
518         * Configurations/DebugRelease.xcconfig:
519         * Configurations/Version.xcconfig: Added.
520         * Configurations/WebKitTargetConditionals.xcconfig: Added.
521
522         * include/GLSLANG/ShaderLang.h: Add ANGLE_EXPORT to some functions to make
523         sure they will be visible in the exported library.
524         * include/GLSLANG/ShaderVars.h:
525         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm: Change reinterpret_cast to a normal
526         C cast so it can be annotated with __bridge.
527         (rx::DisplayCGL::isValidNativeWindow const):
528         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm: Ditto.
529         (rx::WindowSurfaceCGL::WindowSurfaceCGL):
530         (rx::WindowSurfaceCGL::~WindowSurfaceCGL):
531         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.mm: Ditto.
532         * src/libANGLE/renderer/gl/eagl/WindowSurfaceEAGL.mm: Ditto.
533
534 2019-12-02  James Darpinian  <jdarpinian@chromium.org>
535
536         Update ANGLE
537         https://bugs.webkit.org/show_bug.cgi?id=204595
538
539         Reviewed by Alex Christensen.
540
541         * ANGLE.plist: Updated commit hash.
542         * ANGLE.xcodeproj/project.pbxproj: Changes mirroring gn changes upstream.
543         * Compiler.cmake: Changes mirroring gn changes upstream.
544         * GLESv2.cmake: Changes mirroring gn changes upstream.
545         * CMakeLists.txt: Changes mirroring gn changes upstream.
546
547         * Many other files added/removed/changed from upstream.
548
549
550 2019-11-20  ChangSeok Oh  <changseok@webkit.org>
551
552         [GTK] Add ANGLE backend to GTK port
553         https://bugs.webkit.org/show_bug.cgi?id=199060
554
555         Reviewed by Žan Doberšek.
556
557         * CMakeLists.txt: When USE_ANGLE_WEBGL is enabled, necessary glesv2 entry points headers
558           are installed in the derived source directory. And then adjust-angle-include-path.sh is applied
559           to change include paths in the entry points header files.
560         * GLESv2.cmake: libglesv2_entry_points_headers is newly defined, which is a gathering of
561           entry point headers of libGLESv2.
562         * PlatformGTK.cmake: In this file, we append gl and glx related angle code as a build target.
563           Since we want gl context and gles context simultaneously, we remove gl prototype calls
564           from the generated libGLESv2 library. Instead, we invoke egl and gl calls of ANGLE
565           via their non-prototype function names.
566         * adjust-angle-include-paths.sh: sed is slightly different in unix and linux systems.
567           In particular, its inplace option needs to be changed for better compatibility on linux.
568         * include/CMakeLists.txt: ANGLE_WEBGL_HEADERS is newly defined. It gathers header files of ANGLE
569           for WebGL support.
570
571 2019-11-08  Dean Jackson  <dino@apple.com>
572
573         Add ANGLE backend for iOS device
574         https://bugs.webkit.org/show_bug.cgi?id=202159
575         <rdar://57000166>
576
577         Build fix. Don't include IOSurface.h on iOS (public SDK doesn't have it).
578
579         * src/libANGLE/renderer/gl/eagl/IOSurfaceSurfaceEAGL.mm:
580
581 2019-11-07  Dean Jackson  <dino@apple.com>
582
583         Add ANGLE backend for iOS device
584         https://bugs.webkit.org/show_bug.cgi?id=202159
585         <rdar://57000166>
586
587         Reviewed by Myles Maxfield.
588
589         Add an OpenGLES backend over EAGL for iOS to ANGLE.
590
591         This is basically a copy of all the files in
592         libANGLE/renderer/gl/cgl into libANGLE/renderer/gl/eagl, then with
593         modifications to make it work on iOS's OpenGL ES. Most notably,
594         some format enums and the manner in which you bind an IOSurface to
595         a GL texture are different.
596
597         This introduces a few places where we have to do a compile time
598         switch for iOS, some of which might actually be applicable to
599         other OpenGL ES backends.
600
601         The biggest missing piece is support for the iOS simulator. At the moment
602         this backend relies on an IOSurface binding as a rendering target.
603         But the iOS Simulator does not have the required ability to have a
604         GL ES texture backed by an IOSurface.
605
606         The WindowSurfaceEAGL code is incomplete, but was not necessary
607         in order to get WebGL operational. And even if you are using ANGLE
608         directly, you can have the client code render into a CALayer without
609         going through the WindowSurface.
610
611         * ANGLE.xcodeproj/project.pbxproj:
612         * include/EGL/eglext_angle.h:
613         * src/common/PackedEnums.cpp:
614         (egl_gl::EGLTextureTargetToTextureType):
615         * src/common/platform.h:
616         * src/gpu_info_util/SystemInfo_ios.cpp: Added.
617         (angle::GetSystemInfo):
618         * src/gpu_info_util/SystemInfo_macos.cpp: Renamed from Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_mac.cpp.
619         (angle::GetSystemInfo):
620         * src/libANGLE/Caps.h:
621         * src/libANGLE/Display.cpp:
622         * src/libANGLE/formatutils.cpp:
623         (gl::BuildInternalFormatInfoMap):
624         * src/libANGLE/renderer/gl/cgl/DeviceCGL.cpp:
625         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
626         * src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp:
627         (rx::IOSurfaceSurfaceCGL::bindTexImage):
628         * src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.cpp:
629         * src/libANGLE/renderer/gl/cgl/RendererCGL.cpp:
630         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
631         * src/libANGLE/renderer/gl/eagl/ContextEAGL.cpp: Added.
632         (rx::ContextEAGL::ContextEAGL):
633         * src/libANGLE/renderer/gl/eagl/ContextEAGL.h: Added.
634         * src/libANGLE/renderer/gl/eagl/DeviceEAGL.cpp: Added.
635         (rx::DeviceEAGL::DeviceEAGL):
636         (rx::DeviceEAGL::~DeviceEAGL):
637         (rx::DeviceEAGL::initialize):
638         (rx::DeviceEAGL::getAttribute):
639         (rx::DeviceEAGL::getType):
640         (rx::DeviceEAGL::generateExtensions const):
641         * src/libANGLE/renderer/gl/eagl/DeviceEAGL.h: Added.
642         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.h: Added.
643         * src/libANGLE/renderer/gl/eagl/DisplayEAGL.mm: Added.
644         (rx::FunctionsGLEAGL::FunctionsGLEAGL):
645         (rx::DisplayEAGL::DisplayEAGL):
646         (rx::DisplayEAGL::~DisplayEAGL):
647         (rx::DisplayEAGL::initialize):
648         (rx::DisplayEAGL::terminate):
649         (rx::DisplayEAGL::createWindowSurface):
650         (rx::DisplayEAGL::createPbufferSurface):
651         (rx::DisplayEAGL::createPbufferFromClientBuffer):
652         (rx::DisplayEAGL::createPixmapSurface):
653         (rx::DisplayEAGL::createContext):
654         (rx::DisplayEAGL::createDevice):
655         (rx::DisplayEAGL::generateConfigs):
656         (rx::DisplayEAGL::testDeviceLost):
657         (rx::DisplayEAGL::restoreLostDevice):
658         (rx::DisplayEAGL::isValidNativeWindow const):
659         (rx::DisplayEAGL::validateClientBuffer const):
660         (rx::DisplayEAGL::getVendorString const):
661         (rx::DisplayEAGL::getEAGLContext const):
662         (rx::DisplayEAGL::getEAGLPixelFormat const):
663         (rx::DisplayEAGL::generateExtensions const):
664         (rx::DisplayEAGL::generateCaps const):
665         (rx::DisplayEAGL::waitClient):
666         (rx::DisplayEAGL::waitNative):
667         (rx::DisplayEAGL::getMaxSupportedESVersion const):
668         (rx::DisplayEAGL::makeCurrentSurfaceless):
669         (rx::WorkerContextEAGL::WorkerContextEAGL):
670         (rx::WorkerContextEAGL::~WorkerContextEAGL):
671         (rx::WorkerContextEAGL::makeCurrent):
672         (rx::WorkerContextEAGL::unmakeCurrent):
673         (rx::DisplayEAGL::createWorkerContext):
674         (rx::DisplayEAGL::initializeFrontendFeatures const):
675         (rx::DisplayEAGL::populateFeatureList):
676         * src/libANGLE/renderer/gl/eagl/IOSurfaceSurfaceEAGL.h: Added.
677         * src/libANGLE/renderer/gl/eagl/IOSurfaceSurfaceEAGL.mm: Copied from Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp.
678         (rx::IOSurfaceSurfaceEAGL::IOSurfaceSurfaceEAGL):
679         (rx::IOSurfaceSurfaceEAGL::~IOSurfaceSurfaceEAGL):
680         (rx::IOSurfaceSurfaceEAGL::initialize):
681         (rx::IOSurfaceSurfaceEAGL::makeCurrent):
682         (rx::IOSurfaceSurfaceEAGL::unMakeCurrent):
683         (rx::IOSurfaceSurfaceEAGL::swap):
684         (rx::IOSurfaceSurfaceEAGL::postSubBuffer):
685         (rx::IOSurfaceSurfaceEAGL::querySurfacePointerANGLE):
686         (rx::IOSurfaceSurfaceEAGL::bindTexImage):
687         (rx::IOSurfaceSurfaceEAGL::releaseTexImage):
688         (rx::IOSurfaceSurfaceEAGL::setSwapInterval):
689         (rx::IOSurfaceSurfaceEAGL::getWidth const):
690         (rx::IOSurfaceSurfaceEAGL::getHeight const):
691         (rx::IOSurfaceSurfaceEAGL::isPostSubBufferSupported const):
692         (rx::IOSurfaceSurfaceEAGL::getSwapBehavior const):
693         (rx::IOSurfaceSurfaceEAGL::validateAttributes):
694         (rx::IOSurfaceFramebuffer::IOSurfaceFramebuffer):
695         (rx::IOSurfaceSurfaceEAGL::createDefaultFramebuffer):
696         (rx::IOSurfaceSurfaceEAGL::initializeAlphaChannel):
697         (rx::IOSurfaceSurfaceEAGL::hasEmulatedAlphaChannel const):
698         * src/libANGLE/renderer/gl/eagl/PbufferSurfaceEAGL.cpp: Copied from Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.cpp.
699         (rx::PbufferSurfaceEAGL::PbufferSurfaceEAGL):
700         (rx::PbufferSurfaceEAGL::~PbufferSurfaceEAGL):
701         (rx::PbufferSurfaceEAGL::initialize):
702         (rx::PbufferSurfaceEAGL::makeCurrent):
703         (rx::PbufferSurfaceEAGL::swap):
704         (rx::PbufferSurfaceEAGL::postSubBuffer):
705         (rx::PbufferSurfaceEAGL::querySurfacePointerANGLE):
706         (rx::PbufferSurfaceEAGL::bindTexImage):
707         (rx::PbufferSurfaceEAGL::releaseTexImage):
708         (rx::PbufferSurfaceEAGL::setSwapInterval):
709         (rx::PbufferSurfaceEAGL::getWidth const):
710         (rx::PbufferSurfaceEAGL::getHeight const):
711         (rx::PbufferSurfaceEAGL::isPostSubBufferSupported const):
712         (rx::PbufferSurfaceEAGL::getSwapBehavior const):
713         (rx::PbufferSurfaceEAGL::createDefaultFramebuffer):
714         * src/libANGLE/renderer/gl/eagl/PbufferSurfaceEAGL.h: Added.
715         * src/libANGLE/renderer/gl/eagl/RendererEAGL.cpp: Added.
716         (rx::RendererEAGL::RendererEAGL):
717         (rx::RendererEAGL::~RendererEAGL):
718         (rx::RendererEAGL::createWorkerContext):
719         * src/libANGLE/renderer/gl/eagl/RendererEAGL.h: Added.
720         * src/libANGLE/renderer/gl/eagl/WindowSurfaceEAGL.h: Added.
721         * src/libANGLE/renderer/gl/eagl/WindowSurfaceEAGL.mm: Copied from Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm.
722         (-[WebSwapLayer initWithSharedState:withContext:withFunctions:]):
723         (-[WebSwapLayer display]):
724         (rx::WindowSurfaceEAGL::WindowSurfaceEAGL):
725         (rx::WindowSurfaceEAGL::~WindowSurfaceEAGL):
726         (rx::WindowSurfaceEAGL::initialize):
727         (rx::WindowSurfaceEAGL::makeCurrent):
728         (rx::WindowSurfaceEAGL::swap):
729         (rx::WindowSurfaceEAGL::postSubBuffer):
730         (rx::WindowSurfaceEAGL::querySurfacePointerANGLE):
731         (rx::WindowSurfaceEAGL::bindTexImage):
732         (rx::WindowSurfaceEAGL::releaseTexImage):
733         (rx::WindowSurfaceEAGL::setSwapInterval):
734         (rx::WindowSurfaceEAGL::getWidth const):
735         (rx::WindowSurfaceEAGL::getHeight const):
736         (rx::WindowSurfaceEAGL::isPostSubBufferSupported const):
737         (rx::WindowSurfaceEAGL::getSwapBehavior const):
738         (rx::WindowSurfaceEAGL::createDefaultFramebuffer):
739         * src/libANGLE/renderer/gl/renderergl_utils.cpp:
740         (rx::nativegl_gl::GenerateCaps):
741         * src/libANGLE/validationES2.cpp:
742         (gl::ValidateFramebufferTexture2D):
743         * src/libGLESv2/entry_points_egl_ext.cpp:
744
745 2019-11-06  Dean Jackson  <dino@apple.com>
746
747         [ANGLE] IOSurfaceSurfaceCGL has format and internalFormat flipped
748         https://bugs.webkit.org/show_bug.cgi?id=203911
749         <rdar://problem/56954291>
750
751         Reviewed by Simon Fraser.
752
753         Fix a typo where internalFormat and format are used in the
754         wrong order. The table of formats also had them backwards.
755
756         * src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp:
757         (rx::IOSurfaceSurfaceCGL::bindTexImage):
758
759 2019-10-29  Dean Jackson  <dino@apple.com>
760
761         [ANGLE] Put Apple platform compilation guards in a better place
762         https://bugs.webkit.org/show_bug.cgi?id=203590
763         <rdar://problem/56722345>
764
765         Reviewed by Simon Fraser.
766
767         Move the #define to platform.h.
768
769         * src/common/platform.h:
770         * src/libANGLE/renderer/gl/cgl/DeviceCGL.cpp:
771         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
772         * src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp:
773         * src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.cpp:
774         * src/libANGLE/renderer/gl/cgl/RendererCGL.cpp:
775         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
776
777 2019-10-29  Dean Jackson  <dino@apple.com>
778
779         [ANGLE] Window Server blocking stops single GPU systems from creating a CGLPixelFormat
780         https://bugs.webkit.org/show_bug.cgi?id=203522
781         <rdar://problem/56685302>
782
783         Reviewed by Alex Christensen.
784
785         The Web Content Process blocks access to the Window Server. For that reason, we
786         must create all CGLPixelFormats with the "offline renderer" flag, even if we're
787         not on a dual-GPU system.
788
789         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm: Always enable kCGLPFAAllowOfflineRenderers.
790         (rx::DisplayCGL::initialize):
791
792 2019-10-23  Dean Jackson  <dino@apple.com>
793
794         [ANGLE] Improve compile-time macOS guards and avoid ObjC if possible
795         https://bugs.webkit.org/show_bug.cgi?id=203343
796
797         Reviewed by Simon Fraser.
798
799         Use the more official compile-time detection of Apple platforms, so that
800         it will be easier to differentiate between macOS and iOS. Also move some
801         .mm files to .cpp where possible.
802
803         * ANGLE.xcodeproj/project.pbxproj:
804         * src/gpu_info_util/SystemInfo_mac.cpp: Renamed from Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_mac.mm.
805         (angle::GetSystemInfo):
806         * src/libANGLE/renderer/gl/cgl/DeviceCGL.cpp:
807         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
808         * src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp: Renamed from Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.mm.
809         * src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.cpp: Renamed from Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.mm.
810         * src/libANGLE/renderer/gl/cgl/RendererCGL.cpp: Renamed from Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/RendererCGL.mm.
811         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
812
813 2019-10-23  Dean Jackson  <dino@apple.com>
814
815         Don't try to compile .inc files in ANGLE
816         https://bugs.webkit.org/show_bug.cgi?id=203315
817
818         Reviewed by Simon Fraser.
819
820         These are headers, not files we need to compile directly.
821
822         * ANGLE.xcodeproj/project.pbxproj:
823
824 2019-10-15  Brent Fulgham  <bfulgham@apple.com>
825
826         Unreviewed build fix after r251018
827
828
829         * PlatformFTW.cmake: Add missing dxgi library.
830
831 2019-10-12  Stephan Szabo  <stephan.szabo@sony.com>
832
833         Regression (251018): Wincairo build broken: unresolved external symbol
834         https://bugs.webkit.org/show_bug.cgi?id=202879
835
836         Reviewed by Alex Christensen.
837
838         * PlatformWin.cmake: Add dxgi library for CreateDXGIFactory1
839
840 2019-10-11  Kenneth Russell  <kbr@chromium.org>
841
842         USE_ANGLE=1 build broken with last ANGLE roll
843         https://bugs.webkit.org/show_bug.cgi?id=202872
844
845         Add FrameCapture_mock.cpp to Xcode and CMake builds.
846
847         Reviewed by Alex Christensen.
848
849         * ANGLE.xcodeproj/project.pbxproj:
850         * CMakeLists.txt:
851         * GLESv2.cmake:
852
853 2019-10-11  Kenneth Russell  <kbr@chromium.org>
854
855         Roll ANGLE for ETC extensions and EGL_ANGLE_device_cgl
856         https://bugs.webkit.org/show_bug.cgi?id=202780
857
858         Roll ANGLE to c5e0ac757a112a24a0118d434e652fd7b558e6a8 via new
859         update-angle.sh script.
860
861         Reviewed by Alex Christensen.
862
863         * .gitignore:
864         * ANGLE.plist:
865         * ANGLE.xcodeproj/project.pbxproj:
866         * BUILD.gn:
867         * CMakeLists.txt:
868         * CONTRIBUTORS:
869         * DEPS:
870         * GLESv2.cmake:
871         * OWNERS:
872         * PRESUBMIT.py:
873         (_CheckExportValidity):
874         (CheckChangeOnUpload):
875         (CheckChangeOnCommit):
876         * README.md:
877         * android/angle_apk.gni:
878         * build_overrides/angle.gni:
879         * changes.diff:
880         * doc/DevSetup.md:
881         * dotfile_settings.gni:
882         * extensions/ANGLE_compressed_texture_etc.txt: Added.
883         * extensions/EGL_ANGLE_device_cgl.txt: Added.
884         * extensions/EGL_ANGLE_feature_control.txt:
885         * extensions/EGL_ANGLE_platform_angle_d3d11on12.txt: Added.
886         * extensions/EGL_ANGLE_platform_angle_device_type_swiftshader.txt: Added.
887         * extensions/EGL_ANGLE_platform_angle_metal.txt: Added.
888         * gni/angle.gni:
889         * include/EGL/eglext_angle.h:
890         * include/platform/Feature.h:
891         (angle::Feature::Feature):
892         * include/platform/FeaturesD3D.h:
893         * include/platform/FeaturesGL.h:
894         * include/platform/FeaturesVk.h:
895         * include/platform/FrontendFeatures.h:
896         * samples/WindowTest/WindowTest.cpp:
897         * samples/gles1/DrawTexture.cpp:
898         * samples/multi_texture/MultiTexture.cpp:
899         * samples/multiple_draw_buffers/MultipleDrawBuffers.cpp:
900         * samples/particle_system/ParticleSystem.cpp:
901         * samples/sample_util/SampleApplication.cpp:
902         (SampleApplication::SampleApplication):
903         * samples/sample_util/SampleApplication.h:
904         * scripts/code_generation_hashes/ANGLE_format.json:
905         * scripts/code_generation_hashes/ANGLE_load_functions_table.json:
906         * scripts/code_generation_hashes/D3D11_format.json:
907         * scripts/code_generation_hashes/DXGI_format.json:
908         * scripts/code_generation_hashes/GL_EGL_WGL_loader.json:
909         * scripts/code_generation_hashes/GL_EGL_entry_points.json:
910         * scripts/code_generation_hashes/OpenGL_dispatch_table.json:
911         * scripts/code_generation_hashes/Static_builtins.json:
912         * scripts/code_generation_hashes/Vulkan_format.json:
913         * scripts/code_generation_hashes/Vulkan_internal_shader_programs.json:
914         * scripts/code_generation_hashes/Vulkan_mandatory_format_support_table.json:
915         * scripts/code_generation_hashes/proc_table.json:
916         * scripts/export_targets.py:
917         (has_all_includes):
918         * scripts/generate_entry_points.py:
919         (get_resource_id_types):
920         (format_resource_id_types):
921         (write_capture_helper_header):
922         (get_resource_id_type_from_param_type):
923         (format_param_type_to_resource_id_type_case):
924         (format_param_type_resource_id_cases):
925         (format_resource_id_type_name_case):
926         (write_capture_helper_source):
927         * scripts/generate_vulkan_layers_json.py:
928         (main):
929         * scripts/registry_xml.py:
930         * src/common/PackedEnums.cpp:
931         (gl::operator<<):
932         * src/common/PackedEnums.h:
933         (angle::EnumSize<E>):
934         (gl::FromGLenum<VertexAttribType>):
935         (gl::ToGLenum):
936         (gl::ValueEquals):
937         (gl::operator==):
938         (gl::operator!=):
939         * src/common/android_util.cpp:
940         (angle::android::NativePixelFormatToGLInternalFormat):
941         * src/common/angleutils.h:
942         * src/common/debug.h:
943         * src/common/platform.h:
944         * src/common/system_utils_winuwp.cpp: Added.
945         (angle::SetEnvironmentVar):
946         (angle::GetEnvironmentVar):
947         (angle::GetSharedLibraryExtension):
948         (angle::GetPathSeparator):
949         (angle::GetCurrentTime):
950         (angle::UwpLibrary::UwpLibrary):
951         (angle::OpenSharedLibrary):
952         (angle::IsDebuggerAttached):
953         (angle::BreakDebugger):
954         * src/common/tls.cpp:
955         (CreateTLSIndex):
956         (DestroyTLSIndex):
957         (SetTLSValue):
958         (GetTLSValue):
959         * src/common/tls.h:
960         * src/common/utilities.cpp:
961         (gl::StripLastArrayIndex):
962         * src/common/utilities.h:
963         * src/compiler.gni:
964         * src/compiler/translator/Compiler.cpp:
965         (sh::TCompiler::compileTreeImpl):
966         * src/compiler/translator/ImmutableString_ESSL_autogen.cpp:
967         * src/compiler/translator/ImmutableString_autogen.cpp:
968         * src/compiler/translator/IntermNode.h:
969         (sh::TIntermPreprocessorDirective::getDirective const): Deleted.
970         (sh::TIntermPreprocessorDirective::getCommand const): Deleted.
971         * src/compiler/translator/ParseContext.cpp:
972         (sh::TParseContext::TParseContext):
973         (sh::TParseContext::checkIsValidArraySize):
974         (sh::TParseContext::parseFunctionDeclarator):
975         * src/compiler/translator/ParseContext.h:
976         (sh::TParseContext::getOutputType const):
977         * src/compiler/translator/ShaderVars.cpp:
978         (sh::ShaderVariable::operator=):
979         * src/compiler/translator/SymbolTable.cpp:
980         (sh::TSymbolTable::setGlInArraySize):
981         (sh::TSymbolTable::gl_FragData const):
982         (sh::TSymbolTable::gl_SecondaryFragDataEXT const):
983         (sh::SymbolRule::get const):
984         (sh::FindMangledBuiltIn):
985         (sh::UnmangledEntry::matches const):
986         * src/compiler/translator/SymbolTable.h:
987         (sh::SymbolRule::SymbolRule):
988         (sh::SymbolRule::Get):
989         (sh::UnmangledEntry::UnmangledEntry):
990         (sh::SymbolEntry::SymbolEntry): Deleted.
991         * src/compiler/translator/SymbolTable_ESSL_autogen.cpp:
992         (sh::BuiltInVariable::angle_BaseInstance):
993         (sh::BuiltInVariable::angle_BaseVertex):
994         (sh::BuiltInVariable::gl_BaseInstance):
995         (sh::BuiltInVariable::gl_BaseVertex):
996         (sh::BuiltInVariable::gl_DrawID):
997         (sh::BuiltInVariable::gl_FragColor):
998         (sh::BuiltInVariable::gl_FragCoord):
999         (sh::BuiltInVariable::gl_FragDepth):
1000         (sh::BuiltInVariable::gl_FrontFacing):
1001         (sh::BuiltInVariable::gl_GlobalInvocationID):
1002         (sh::BuiltInVariable::gl_InstanceID):
1003         (sh::BuiltInVariable::gl_InstanceIndex):
1004         (sh::BuiltInVariable::gl_InvocationID):
1005         (sh::BuiltInVariable::gl_LastFragColor):
1006         (sh::BuiltInVariable::gl_LastFragColorARM):
1007         (sh::BuiltInVariable::gl_Layer):
1008         (sh::BuiltInVariable::gl_LayerGS):
1009         (sh::BuiltInVariable::gl_LayerVS):
1010         (sh::BuiltInVariable::gl_LocalInvocationID):
1011         (sh::BuiltInVariable::gl_LocalInvocationIndex):
1012         (sh::BuiltInVariable::gl_NumWorkGroups):
1013         (sh::BuiltInVariable::gl_PointCoord):
1014         (sh::BuiltInVariable::gl_PointSize):
1015         (sh::BuiltInVariable::gl_Position):
1016         (sh::BuiltInVariable::gl_PrimitiveID):
1017         (sh::BuiltInVariable::gl_PrimitiveIDGS):
1018         (sh::BuiltInVariable::gl_PrimitiveIDIn):
1019         (sh::BuiltInVariable::gl_SecondaryFragColorEXT):
1020         (sh::BuiltInVariable::gl_VertexID):
1021         (sh::BuiltInVariable::gl_VertexIndex):
1022         (sh::BuiltInVariable::gl_ViewID_OVR):
1023         (sh::BuiltInVariable::gl_ViewportIndex):
1024         (sh::BuiltInVariable::gl_WorkGroupID):
1025         (sh::BuiltInVariable::gl_WorkGroupSize):
1026         (sh::TSymbolTable::initializeBuiltInVariables):
1027         (sh::TSymbolTable::findBuiltIn const):
1028         (sh::TSymbolTable::isUnmangledBuiltInName const):
1029         (sh::TSymbolTable::getSymbol const): Deleted.
1030         (sh::TSymbolTable::getUnmangled const): Deleted.
1031         (sh::TSymbolTable::getUnmangledBuiltInForShaderVersion): Deleted.
1032         * src/compiler/translator/SymbolTable_autogen.cpp:
1033         (sh::BuiltInVariable::angle_BaseInstance):
1034         (sh::BuiltInVariable::angle_BaseVertex):
1035         (sh::BuiltInVariable::gl_BaseInstance):
1036         (sh::BuiltInVariable::gl_BaseVertex):
1037         (sh::BuiltInVariable::gl_DrawID):
1038         (sh::BuiltInVariable::gl_FragColor):
1039         (sh::BuiltInVariable::gl_FragCoord):
1040         (sh::BuiltInVariable::gl_FragDepth):
1041         (sh::BuiltInVariable::gl_FrontFacing):
1042         (sh::BuiltInVariable::gl_GlobalInvocationID):
1043         (sh::BuiltInVariable::gl_InstanceID):
1044         (sh::BuiltInVariable::gl_InstanceIndex):
1045         (sh::BuiltInVariable::gl_InvocationID):
1046         (sh::BuiltInVariable::gl_LastFragColor):
1047         (sh::BuiltInVariable::gl_LastFragColorARM):
1048         (sh::BuiltInVariable::gl_Layer):
1049         (sh::BuiltInVariable::gl_LayerGS):
1050         (sh::BuiltInVariable::gl_LayerVS):
1051         (sh::BuiltInVariable::gl_LocalInvocationID):
1052         (sh::BuiltInVariable::gl_LocalInvocationIndex):
1053         (sh::BuiltInVariable::gl_NumWorkGroups):
1054         (sh::BuiltInVariable::gl_PointCoord):
1055         (sh::BuiltInVariable::gl_PointSize):
1056         (sh::BuiltInVariable::gl_Position):
1057         (sh::BuiltInVariable::gl_PrimitiveID):
1058         (sh::BuiltInVariable::gl_PrimitiveIDGS):
1059         (sh::BuiltInVariable::gl_PrimitiveIDIn):
1060         (sh::BuiltInVariable::gl_SecondaryFragColorEXT):
1061         (sh::BuiltInVariable::gl_VertexID):
1062         (sh::BuiltInVariable::gl_VertexIndex):
1063         (sh::BuiltInVariable::gl_ViewID_OVR):
1064         (sh::BuiltInVariable::gl_ViewportIndex):
1065         (sh::BuiltInVariable::gl_WorkGroupID):
1066         (sh::BuiltInVariable::gl_WorkGroupSize):
1067         (sh::TSymbolTable::initializeBuiltInVariables):
1068         (sh::TSymbolTable::findBuiltIn const):
1069         (sh::TSymbolTable::isUnmangledBuiltInName const):
1070         (sh::TSymbolTable::getSymbol const): Deleted.
1071         (sh::TSymbolTable::getUnmangled const): Deleted.
1072         (sh::TSymbolTable::getUnmangledBuiltInForShaderVersion): Deleted.
1073         * src/compiler/translator/SymbolTable_autogen.h:
1074         * src/compiler/translator/TranslatorVulkan.cpp:
1075         (sh::TranslatorVulkan::translate):
1076         * src/compiler/translator/gen_builtin_symbols.py:
1077         (get_shader_version_for_level):
1078         (GroupedList.__init__):
1079         (GroupedList.add_entry):
1080         (GroupedList.format_rule):
1081         (GroupedList):
1082         (GroupedList.format_rules):
1083         (GroupedList.get_rules):
1084         (GroupedList.get_names):
1085         (GroupedList.get_offsets):
1086         (GroupedList.update_arrays):
1087         (GroupedList.update_arrays.add_rule):
1088         (UnmangledGroupedList.add_entry):
1089         (UnmangledGroupedList.get_array):
1090         (define_constexpr_variable):
1091         (process_single_function_group):
1092         (process_function_group):
1093         (process_single_variable_group):
1094         (GroupedList.add_obj): Deleted.
1095         (GroupedList.get_array): Deleted.
1096         (UnmangledGroupedList.add_obj): Deleted.
1097         * src/feature_support_util/feature_support_util.cpp:
1098         * src/gpu_info_util/SystemInfo_win.cpp:
1099         (angle::GetSystemInfo):
1100         * src/image_util/loadimage.cpp:
1101         (angle::LoadD24S8ToD32F):
1102         (angle::LoadD32ToD32FX32):
1103         (angle::LoadD32ToD32F):
1104         * src/image_util/loadimage.h:
1105         * src/libANGLE/Buffer.cpp:
1106         (gl::Buffer::Buffer):
1107         * src/libANGLE/Buffer.h:
1108         * src/libANGLE/Caps.cpp:
1109         (gl::DetermineHalfFloatTextureFilteringSupport):
1110         (gl::DetermineFloatTextureFilteringSupport):
1111         (gl::Extensions::setTextureExtensionSupport):
1112         (gl::GetExtensionInfoMap):
1113         (egl::DisplayExtensions::getStrings const):
1114         (egl::DeviceExtensions::getStrings const):
1115         (egl::ClientExtensions::getStrings const):
1116         * src/libANGLE/Caps.h:
1117         * src/libANGLE/Constants.h:
1118         * src/libANGLE/Context.cpp:
1119         (gl::Context::Context):
1120         (gl::Context::initialize):
1121         (gl::Context::onDestroy):
1122         (gl::Context::bindImageTexture):
1123         (gl::Context::getQueryiv):
1124         (gl::Context::detachTexture):
1125         (gl::Context::generateSupportedExtensions const):
1126         (gl::Context::initCaps):
1127         (gl::Context::onSubjectStateChange):
1128         (gl::StateCache::updateActiveAttribsMask):
1129         (gl::StateCache::updateVertexAttribTypesValidation):
1130         * src/libANGLE/Context.h:
1131         * src/libANGLE/Device.cpp:
1132         (egl::Device::getAttribute):
1133         (egl::Device::getDevice): Deleted.
1134         * src/libANGLE/Device.h:
1135         * src/libANGLE/Display.cpp:
1136         (egl::Display::createContext):
1137         (egl::GenerateClientExtensions):
1138         (egl::Display::isValidNativeDisplay):
1139         (egl::Display::initializeFrontendFeatures):
1140         (egl::Display::queryStringi):
1141         * src/libANGLE/ErrorStrings.h:
1142         * src/libANGLE/Fence.h:
1143         * src/libANGLE/FrameCapture.cpp:
1144         (angle::ParamCapture::ParamCapture):
1145         (angle::ParamCapture::operator=):
1146         (angle::ParamBuffer::ParamBuffer):
1147         (angle::ParamBuffer::operator=):
1148         (angle::ParamBuffer::getParam):
1149         (angle::ParamBuffer::getParam const):
1150         (angle::ParamBuffer::addParam):
1151         (angle::ParamBuffer::addReturnValue):
1152         (angle::ParamBuffer::getClientArrayPointerParameter):
1153         (angle::CallCapture::CallCapture):
1154         (angle::CallCapture::operator=):
1155         (angle::CallCapture::name const):
1156         (angle::ReplayContext::ReplayContext):
1157         (angle::ReplayContext::~ReplayContext):
1158         (angle::FrameCapture::FrameCapture):
1159         (angle::FrameCapture::maybeCaptureClientData):
1160         (angle::FrameCapture::captureCall):
1161         (angle::FrameCapture::captureUpdateResourceIDs):
1162         (angle::FrameCapture::maybeUpdateResourceIDs):
1163         (angle::FrameCapture::captureClientArraySnapshot):
1164         (angle::FrameCapture::onEndFrame):
1165         (angle::DataCounters::getAndIncrement):
1166         (angle::FrameCapture::reset):
1167         (angle::CaptureGenHandlesImpl):
1168         (angle::WriteParamValueToStream<ParamType::TBufferID>):
1169         (angle::WriteParamValueToStream<ParamType::TFenceNVID>):
1170         (angle::WriteParamValueToStream<ParamType::TFramebufferID>):
1171         (angle::WriteParamValueToStream<ParamType::TMemoryObjectID>):
1172         (angle::WriteParamValueToStream<ParamType::TPathID>):
1173         (angle::WriteParamValueToStream<ParamType::TProgramPipelineID>):
1174         (angle::WriteParamValueToStream<ParamType::TQueryID>):
1175         (angle::WriteParamValueToStream<ParamType::TRenderbufferID>):
1176         (angle::WriteParamValueToStream<ParamType::TSamplerID>):
1177         (angle::WriteParamValueToStream<ParamType::TSemaphoreID>):
1178         (angle::WriteParamValueToStream<ParamType::TShaderProgramID>):
1179         (angle::WriteParamValueToStream<ParamType::TTextureID>):
1180         (angle::WriteParamValueToStream<ParamType::TTransformFeedbackID>):
1181         (angle::WriteParamValueToStream<ParamType::TVertexArrayID>):
1182         (angle::CallCapture::~CallCapture): Deleted.
1183         (angle::ParamBuffer::~ParamBuffer): Deleted.
1184         (angle::ParamCapture::~ParamCapture): Deleted.
1185         (angle::FrameCapture::~FrameCapture): Deleted.
1186         (angle::FrameCapture::anyClientArray const): Deleted.
1187         (angle::FrameCapture::saveCapturedFrameAsCpp): Deleted.
1188         (angle::FrameCapture::getAndIncrementCounter): Deleted.
1189         (angle::FrameCapture::writeStringPointerParamReplay): Deleted.
1190         (angle::FrameCapture::writeRenderbufferIDPointerParamReplay): Deleted.
1191         (angle::FrameCapture::writeBinaryParamReplay): Deleted.
1192         (angle::FrameCapture::writeCallReplay): Deleted.
1193         * src/libANGLE/FrameCapture.h:
1194         (angle::CaptureGenHandles):
1195         * src/libANGLE/FrameCapture_mock.cpp: Added.
1196         (angle::CallCapture::~CallCapture):
1197         (angle::ParamBuffer::~ParamBuffer):
1198         (angle::ParamCapture::~ParamCapture):
1199         (angle::FrameCapture::FrameCapture):
1200         (angle::FrameCapture::~FrameCapture):
1201         (angle::FrameCapture::onEndFrame):
1202         (angle::FrameCapture::replay):
1203         * src/libANGLE/Framebuffer.cpp:
1204         (gl::Framebuffer::formsRenderingFeedbackLoopWith const):
1205         (gl::Framebuffer::formsCopyingFeedbackLoopWith const):
1206         * src/libANGLE/Framebuffer.h:
1207         * src/libANGLE/FramebufferAttachment.cpp:
1208         (gl::FramebufferAttachment::getRedSize const):
1209         (gl::FramebufferAttachment::getGreenSize const):
1210         (gl::FramebufferAttachment::getBlueSize const):
1211         (gl::FramebufferAttachment::getAlphaSize const):
1212         (gl::FramebufferAttachment::getDepthSize const):
1213         (gl::FramebufferAttachment::getStencilSize const):
1214         * src/libANGLE/FramebufferAttachment.h:
1215         * src/libANGLE/GLES1State.cpp:
1216         (gl::GLES1State::getActiveAttributesMask const):
1217         * src/libANGLE/GLES1State.h:
1218         * src/libANGLE/ImageIndex.cpp:
1219         * src/libANGLE/ImageIndex.h:
1220         * src/libANGLE/MemoryObject.cpp:
1221         (gl::MemoryObject::MemoryObject):
1222         * src/libANGLE/MemoryObject.h:
1223         * src/libANGLE/MemoryProgramCache.cpp:
1224         * src/libANGLE/Program.cpp:
1225         (gl::ProgramBindings::bindLocation):
1226         (gl::ProgramBindings::getBindingByName const):
1227         (gl::ProgramBindings::getBinding const):
1228         (gl::ProgramBindings::begin const):
1229         (gl::ProgramBindings::end const):
1230         (gl::ProgramAliasedBindings::ProgramAliasedBindings):
1231         (gl::ProgramAliasedBindings::~ProgramAliasedBindings):
1232         (gl::ProgramAliasedBindings::bindLocation):
1233         (gl::ProgramAliasedBindings::getBindingByName const):
1234         (gl::ProgramAliasedBindings::getBinding const):
1235         (gl::ProgramAliasedBindings::begin const):
1236         (gl::ProgramAliasedBindings::end const):
1237         (gl::ProgramState::getAttributeLocation const):
1238         (gl::ProgramState::getFirstAttachedShaderStageType const):
1239         (gl::ProgramState::getLastAttachedShaderStageType const):
1240         (gl::Program::getFragmentInputBindingInfo const):
1241         (gl::Program::link):
1242         (gl::ProgramState::updateProgramInterfaceInputs):
1243         (gl::ProgramState::updateProgramInterfaceOutputs):
1244         (gl::Program::unlink):
1245         (gl::Program::getActiveAttribute const):
1246         (gl::Program::getActiveAttributeCount const):
1247         (gl::Program::getActiveAttributeMaxLength const):
1248         (gl::Program::getAttributes const):
1249         (gl::Program::getInputResource const):
1250         (gl::Program::getInputResourceIndex const):
1251         (gl::Program::getResourceMaxNameSize const):
1252         (gl::Program::getInputResourceMaxNameSize const):
1253         (gl::Program::getOutputResourceMaxNameSize const):
1254         (gl::Program::getResourceLocation const):
1255         (gl::Program::getInputResourceLocation const):
1256         (gl::Program::getOutputResourceLocation const):
1257         (gl::Program::getOutputResourceIndex const):
1258         (gl::Program::getResourceName const):
1259         (gl::Program::getInputResourceName const):
1260         (gl::Program::getOutputResourceName const):
1261         (gl::Program::getUniformResourceName const):
1262         (gl::Program::getBufferVariableResourceName const):
1263         (gl::Program::getOutputResource const):
1264         (gl::Program::getUniformLocationBindings const):
1265         (gl::Program::linkUniforms):
1266         (gl::Program::linkAttributes):
1267         (gl::Program::linkValidateGlobalNames const):
1268         (gl::Program::getMergedVaryings const):
1269         (gl::Program::linkOutputVariables):
1270         (gl::Program::serialize const):
1271         (gl::Program::deserialize):
1272         * src/libANGLE/Program.h:
1273         (gl::ProgramVaryingRef::get const):
1274         * src/libANGLE/ProgramLinkedResources.cpp:
1275         (gl::UniformLinker::link):
1276         (gl::UniformLinker::indexUniforms):
1277         (gl::UniformLinker::gatherUniformLocationsAndCheckConflicts):
1278         * src/libANGLE/ProgramLinkedResources.h:
1279         * src/libANGLE/ProgramPipeline.cpp:
1280         (gl::ProgramPipeline::ProgramPipeline):
1281         * src/libANGLE/ProgramPipeline.h:
1282         * src/libANGLE/Query.cpp:
1283         (gl::Query::Query):
1284         * src/libANGLE/Query.h:
1285         * src/libANGLE/RefCountObject.h:
1286         (gl::RefCountObject::RefCountObject):
1287         (gl::RefCountObject::id const):
1288         (gl::BindingPointer::id const):
1289         * src/libANGLE/Renderbuffer.cpp:
1290         (gl::Renderbuffer::Renderbuffer):
1291         (gl::Renderbuffer::getId const):
1292         * src/libANGLE/Renderbuffer.h:
1293         * src/libANGLE/Sampler.cpp:
1294         (gl::Sampler::Sampler):
1295         * src/libANGLE/Sampler.h:
1296         * src/libANGLE/Semaphore.cpp:
1297         (gl::Semaphore::Semaphore):
1298         * src/libANGLE/Semaphore.h:
1299         * src/libANGLE/Shader.cpp:
1300         (gl::Shader::resolveCompile):
1301         (gl::Shader::getTransformFeedbackVaryingMappedName):
1302         * src/libANGLE/State.cpp:
1303         (gl::State::getSamplerTextureId const):
1304         (gl::State::detachTexture):
1305         (gl::State::detachSampler):
1306         (gl::State::detachRenderbuffer):
1307         (gl::State::removeTransformFeedbackBinding):
1308         (gl::State::getActiveQueryId const):
1309         (gl::State::detachBuffer):
1310         (gl::State::getIntegerv):
1311         (gl::State::getIntegeri_v):
1312         (gl::State::syncImages):
1313         (gl::State::onImageStateChange):
1314         * src/libANGLE/State.h:
1315         (gl::State::getSamplerId const):
1316         (gl::State::getRenderbufferId const):
1317         * src/libANGLE/Texture.cpp:
1318         (gl::Texture::Texture):
1319         (gl::Texture::setStorage):
1320         (gl::Texture::getId const):
1321         * src/libANGLE/Texture.h:
1322         * src/libANGLE/TransformFeedback.cpp:
1323         (gl::TransformFeedback::TransformFeedback):
1324         (gl::TransformFeedback::detachBuffer):
1325         * src/libANGLE/TransformFeedback.h:
1326         * src/libANGLE/VaryingPacking.cpp:
1327         (gl::VaryingPacking::collectAndPackUserVaryings):
1328         (gl::VaryingPacking::packUserVaryings):
1329         * src/libANGLE/VertexArray.cpp:
1330         (gl::VertexArray::detachBuffer):
1331         (gl::VertexArray::bindVertexBufferImpl):
1332         * src/libANGLE/VertexArray.h:
1333         * src/libANGLE/capture_gles_2_0_params.cpp:
1334         (gl::CaptureDeleteBuffers_buffersPacked):
1335         (gl::CaptureDeleteFramebuffers_framebuffersPacked):
1336         (gl::CaptureDeleteTextures_texturesPacked):
1337         (gl::CaptureGenBuffers_buffersPacked):
1338         (gl::CaptureGenFramebuffers_framebuffersPacked):
1339         (gl::CaptureGenRenderbuffers_renderbuffersPacked):
1340         (gl::CaptureGenTextures_texturesPacked):
1341         (gl::CaptureShaderSource_string):
1342         * src/libANGLE/capture_gles_3_0_params.cpp:
1343         (gl::CaptureDeleteQueries_idsPacked):
1344         (gl::CaptureDeleteSamplers_samplersPacked):
1345         (gl::CaptureDeleteTransformFeedbacks_idsPacked):
1346         (gl::CaptureDeleteVertexArrays_arraysPacked):
1347         (gl::CaptureGenQueries_idsPacked):
1348         (gl::CaptureGenSamplers_samplersPacked):
1349         (gl::CaptureGenTransformFeedbacks_idsPacked):
1350         (gl::CaptureGenVertexArrays_arraysPacked):
1351         * src/libANGLE/capture_gles_3_1_params.cpp:
1352         (gl::CaptureDeleteProgramPipelines_pipelinesPacked):
1353         (gl::CaptureGenProgramPipelines_pipelinesPacked):
1354         * src/libANGLE/capture_gles_ext_params.cpp:
1355         (gl::CaptureDeleteQueriesEXT_idsPacked):
1356         (gl::CaptureGenQueriesEXT_idsPacked):
1357         * src/libANGLE/features.h:
1358         * src/libANGLE/formatutils.cpp:
1359         (gl::UnsizedHalfFloatOESRGBATextureAttachmentSupport):
1360         (gl::BuildInternalFormatInfoMap):
1361         (gl::InternalFormat::computeDepthPitch const):
1362         (gl::GetVertexFormatID):
1363         (gl::GetVertexFormatFromID):
1364         (gl::GetVertexFormatSize):
1365         * src/libANGLE/frame_capture_utils_autogen.cpp:
1366         (angle::GetResourceIDTypeFromParamType):
1367         (angle::GetResourceIDTypeName):
1368         * src/libANGLE/frame_capture_utils_autogen.h:
1369         * src/libANGLE/queryutils.cpp:
1370         (gl::GetBufferVariableResourceProperty):
1371         (gl::QueryProgramResourceLocation):
1372         (gl::QueryProgramResourceiv):
1373         (egl::QueryContextAttrib):
1374         * src/libANGLE/renderer/DeviceImpl.h:
1375         * src/libANGLE/renderer/Format.h:
1376         (angle::Format::isVertexTypeHalfFloat const):
1377         * src/libANGLE/renderer/FormatID_autogen.h:
1378         * src/libANGLE/renderer/Format_table_autogen.cpp:
1379         (angle::Format::InternalFormatToID):
1380         * src/libANGLE/renderer/angle_format.py:
1381         (gl_format_channels):
1382         (get_vertex_copy_function):
1383         * src/libANGLE/renderer/angle_format_map.json:
1384         * src/libANGLE/renderer/copyvertex.h:
1385         * src/libANGLE/renderer/copyvertex.inc.h:
1386         (rx::CopyTo32FVertexData):
1387         (rx::CopyXYZ10ToXYZW32FVertexData):
1388         (rx::CopyW2XYZ10ToXYZW32FVertexData):
1389         * src/libANGLE/renderer/d3d/DeviceD3D.cpp:
1390         (rx::DeviceD3D::getAttribute):
1391         (rx::DeviceD3D::getDevice): Deleted.
1392         * src/libANGLE/renderer/d3d/DeviceD3D.h:
1393         * src/libANGLE/renderer/d3d/HLSLCompiler.cpp:
1394         (rx::HLSLCompiler::ensureInitialized):
1395         (rx::HLSLCompiler::compileToBinary):
1396         * src/libANGLE/renderer/d3d/ProgramD3D.cpp:
1397         (rx::ProgramD3D::getVertexExecutableForCachedInputLayout):
1398         * src/libANGLE/renderer/d3d/RendererD3D.cpp:
1399         (rx::DefaultGLErrorCode):
1400         * src/libANGLE/renderer/d3d/ShaderD3D.cpp:
1401         (rx::ShaderD3D::compile):
1402         * src/libANGLE/renderer/d3d/d3d11/Buffer11.cpp:
1403         (rx::Buffer11::getConstantBufferRange):
1404         (rx::Buffer11::NativeStorage::FillBufferDesc):
1405         * src/libANGLE/renderer/d3d/d3d11/Context11.cpp:
1406         (rx::Context11::drawArrays):
1407         (rx::Context11::drawArraysInstanced):
1408         (rx::Context11::drawArraysInstancedBaseInstance):
1409         (rx::Context11::drawArraysIndirect):
1410         * src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.cpp:
1411         (rx::DebugAnnotator11::initialize):
1412         * src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp:
1413         (rx::Renderer11::Renderer11):
1414         (rx::Renderer11::initialize):
1415         (rx::Renderer11::callD3D11On12CreateDevice):
1416         (rx::Renderer11::initializeD3DDevice):
1417         (rx::Renderer11::generateDisplayExtensions const):
1418         (rx::Renderer11::isValidNativeWindow const):
1419         (rx::Renderer11::createNativeWindow const):
1420         (rx::Renderer11::drawArrays):
1421         (rx::Renderer11::release):
1422         (rx::Renderer11::getShareHandleSupport const):
1423         (rx::Renderer11::copyImageInternal):
1424         * src/libANGLE/renderer/d3d/d3d11/Renderer11.h:
1425         * src/libANGLE/renderer/d3d/d3d11/TextureStorage11.cpp:
1426         (rx::TextureStorage11::getSRVForImage):
1427         (rx::TextureStorage11::getUAVForImage):
1428         * src/libANGLE/renderer/d3d/d3d11/Trim11.cpp:
1429         (rx::Trim11::trim):
1430         (rx::Trim11::registerForRendererTrimRequest):
1431         (rx::Trim11::unregisterForRendererTrimRequest):
1432         * src/libANGLE/renderer/d3d/d3d11/Trim11.h:
1433         * src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp:
1434         (rx::RoHelper::SupportedWindowsRelease):
1435         * src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp:
1436         (rx::d3d11_gl::GenerateCaps):
1437         (rx::d3d11::InitializeFeatures):
1438         * src/libANGLE/renderer/d3d/d3d11/winrt/CoreWindowNativeWindow.h:
1439         * src/libANGLE/renderer/d3d/d3d11/winrt/NativeWindow11WinRT.cpp:
1440         (rx::NativeWindow11WinRT::createSwapChain):
1441         * src/libANGLE/renderer/d3d/d3d11/winrt/NativeWindow11WinRT.h:
1442         * src/libANGLE/renderer/d3d/d3d11/winrt/SwapChainPanelNativeWindow.h:
1443         * src/libANGLE/renderer/d3d/d3d9/renderer9_utils.cpp:
1444         (rx::d3d9::InitializeFeatures):
1445         * src/libANGLE/renderer/gen_angle_format_table.py:
1446         (ceil_int):
1447         (get_channel_struct):
1448         (get_mip_generation_function):
1449         * src/libANGLE/renderer/gl/BlitGL.cpp:
1450         (rx::BlitGL::copyImageToLUMAWorkaroundTexture):
1451         (rx::BlitGL::copySubImageToLUMAWorkaroundTexture):
1452         (rx::BlitGL::blitColorBufferWithShader):
1453         (rx::BlitGL::copySubTexture):
1454         (rx::BlitGL::copySubTextureCPUReadback):
1455         (rx::BlitGL::copyTexSubImage):
1456         (rx::BlitGL::clearRenderableTexture):
1457         (rx::BlitGL::clearRenderbuffer):
1458         (rx::BlitGL::clearFramebuffer):
1459         (rx::BlitGL::clearRenderableTextureAlphaToOne):
1460         (rx::BlitGL::initializeResources):
1461         (rx::BlitGL::orphanScratchTextures):
1462         (rx::BlitGL::setScratchTextureParameter):
1463         (rx::BlitGL::getBlitProgram):
1464         (rx::BlitGL::getBlitProgramType): Deleted.
1465         * src/libANGLE/renderer/gl/BlitGL.h:
1466         * src/libANGLE/renderer/gl/ContextGL.cpp:
1467         (rx::ContextGL::createRenderbuffer):
1468         (rx::ContextGL::setDrawArraysState):
1469         (rx::ContextGL::setDrawElementsState):
1470         (rx::ContextGL::drawArrays):
1471         (rx::ContextGL::updateAttributesForBaseInstance):
1472         (rx::ContextGL::resetUpdatedAttributes):
1473         (rx::ContextGL::drawArraysInstancedBaseInstance):
1474         (rx::ContextGL::drawElements):
1475         (rx::ContextGL::drawElementsInstancedBaseVertexBaseInstance):
1476         (rx::ContextGL::validateState const):
1477         * src/libANGLE/renderer/gl/ContextGL.h:
1478         * src/libANGLE/renderer/gl/ProgramGL.cpp:
1479         (rx::ProgramGL::link):
1480         * src/libANGLE/renderer/gl/RenderbufferGL.cpp:
1481         (rx::RenderbufferGL::RenderbufferGL):
1482         (rx::RenderbufferGL::~RenderbufferGL):
1483         (rx::RenderbufferGL::onDestroy):
1484         (rx::RenderbufferGL::setStorage):
1485         (rx::RenderbufferGL::setStorageMultisample):
1486         (rx::RenderbufferGL::initializeContents):
1487         * src/libANGLE/renderer/gl/RenderbufferGL.h:
1488         * src/libANGLE/renderer/gl/ShaderGL.cpp:
1489         (rx::ShaderGL::compile):
1490         * src/libANGLE/renderer/gl/StateManagerGL.cpp:
1491         (rx::StateManagerGL::bindBufferBase):
1492         (rx::StateManagerGL::bindBufferRange):
1493         (rx::StateManagerGL::validateState const):
1494         * src/libANGLE/renderer/gl/StateManagerGL.h:
1495         * src/libANGLE/renderer/gl/SurfaceGL.cpp:
1496         (rx::SurfaceGL::initializeContents):
1497         * src/libANGLE/renderer/gl/TextureGL.cpp:
1498         (rx::TextureGL::setImageHelper):
1499         (rx::TextureGL::setSubImage):
1500         (rx::TextureGL::setCompressedImage):
1501         (rx::TextureGL::setCompressedSubImage):
1502         (rx::TextureGL::copyImage):
1503         (rx::TextureGL::copySubTextureHelper):
1504         (rx::TextureGL::setStorage):
1505         (rx::TextureGL::setImageExternal):
1506         (rx::TextureGL::setStorageMultisample):
1507         (rx::TextureGL::setStorageExternalMemory):
1508         (rx::TextureGL::setEGLImageTarget):
1509         (rx::TextureGL::setLevelInfo):
1510         (rx::TextureGL::initializeContents):
1511         * src/libANGLE/renderer/gl/VertexArrayGL.cpp:
1512         (rx::VertexArrayGL::streamAttributes const):
1513         (rx::VertexArrayGL::validateState const):
1514         * src/libANGLE/renderer/gl/VertexArrayGL.h:
1515         * src/libANGLE/renderer/gl/cgl/DeviceCGL.cpp: Added.
1516         (rx::DeviceCGL::DeviceCGL):
1517         (rx::DeviceCGL::~DeviceCGL):
1518         (rx::DeviceCGL::initialize):
1519         (rx::DeviceCGL::getAttribute):
1520         (rx::DeviceCGL::getType):
1521         (rx::DeviceCGL::generateExtensions const):
1522         * src/libANGLE/renderer/gl/cgl/DeviceCGL.h: Added.
1523         * src/libANGLE/renderer/gl/cgl/DisplayCGL.h:
1524         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
1525         (rx::DisplayCGL::createDevice):
1526         (rx::DisplayCGL::getCGLPixelFormat const):
1527         (rx::DisplayCGL::generateExtensions const):
1528         * src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.mm:
1529         (rx::IOSurfaceSurfaceCGL::initializeAlphaChannel):
1530         * src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:
1531         (rx::DisplayEGL::generateExtensions const):
1532         * src/libANGLE/renderer/gl/glx/DisplayGLX.cpp:
1533         (rx::DisplayGLX::makeCurrent):
1534         * src/libANGLE/renderer/gl/glx/WindowSurfaceGLX.cpp:
1535         (rx::WindowSurfaceGLX::initialize):
1536         * src/libANGLE/renderer/gl/renderergl_utils.cpp:
1537         (rx::nativegl_gl::GenerateCaps):
1538         (rx::nativegl_gl::InitializeFeatures):
1539         (rx::nativegl_gl::InitializeFrontendFeatures):
1540         (rx::nativegl::SupportsCompute):
1541         (rx::nativegl::GetBufferBindingQuery):
1542         (rx::nativegl::GetBufferBindingString):
1543         * src/libANGLE/renderer/gl/renderergl_utils.h:
1544         * src/libANGLE/renderer/load_functions_data.json:
1545         * src/libANGLE/renderer/load_functions_table_autogen.cpp:
1546         (angle::GetLoadFunctionsMap):
1547         * src/libANGLE/renderer/null/DeviceNULL.cpp:
1548         (rx::DeviceNULL::getAttribute):
1549         (rx::DeviceNULL::getDevice): Deleted.
1550         * src/libANGLE/renderer/null/DeviceNULL.h:
1551         * src/libANGLE/renderer/renderer_utils.cpp:
1552         (rx::ShouldUseDebugLayers):
1553         * src/libANGLE/renderer/vulkan/BufferVk.cpp:
1554         (rx::BufferVk::release):
1555         (rx::BufferVk::mapRangeImpl):
1556         (rx::BufferVk::setDataImpl):
1557         * src/libANGLE/renderer/vulkan/CommandGraph.cpp:
1558         (rx::vk::CommandGraphResource::CommandGraphResource):
1559         (rx::vk::CommandGraphResource::~CommandGraphResource):
1560         (rx::vk::CommandGraphResource::isResourceInUse const):
1561         (rx::vk::CommandGraphResource::recordCommands):
1562         (rx::vk::CommandGraphResource::addWriteDependency):
1563         (rx::vk::CommandGraphResource::addReadDependency):
1564         (rx::vk::CommandGraphResource::startNewCommands):
1565         (rx::vk::CommandGraphResource::onWriteImpl):
1566         (rx::vk::SharedGarbage::SharedGarbage):
1567         (rx::vk::SharedGarbage::operator=):
1568         (rx::vk::SharedGarbage::destroyIfComplete):
1569         (rx::vk::CommandGraph::~CommandGraph):
1570         (rx::vk::CommandGraph::submitCommands):
1571         (rx::vk::CommandGraph::releaseResourceUses):
1572         (rx::vk::CommandGraph::releaseResourceUsesAndUpdateSerials):
1573         (rx::vk::CommandGraphResource::resetQueueSerial): Deleted.
1574         * src/libANGLE/renderer/vulkan/CommandGraph.h:
1575         (rx::vk::CommandGraphResource::getLatestSerial const):
1576         (rx::vk::CommandGraphResource::hasStartedRenderPass const):
1577         (rx::vk::CommandGraphResource::updateCurrentAccessNodes):
1578         (rx::vk::CommandGraphResource::onGraphAccess):
1579         (rx::vk::CommandGraphResource::appendToStartedRenderPass):
1580         (rx::vk::CommandGraphResource::renderPassStartedButEmpty const):
1581         (rx::vk::CommandGraphResource::clearRenderPassColorAttachment):
1582         (rx::vk::CommandGraphResource::clearRenderPassDepthAttachment):
1583         (rx::vk::CommandGraphResource::clearRenderPassStencilAttachment):
1584         (rx::vk::CommandGraphResource::invalidateRenderPassColorAttachment):
1585         (rx::vk::CommandGraphResource::invalidateRenderPassDepthAttachment):
1586         (rx::vk::CommandGraphResource::invalidateRenderPassStencilAttachment):
1587         (rx::vk::CommandGraphResource::getRenderPassRenderArea const):
1588         (rx::vk::CommandGraphResource::addGlobalMemoryBarrier):
1589         (rx::vk::CommandGraphResource::hasChildlessWritingNode const):
1590         (rx::vk::CommandGraph::onResourceUse):
1591         (rx::vk::CommandGraphResource::getStoredQueueSerial const): Deleted.
1592         (rx::vk::CommandGraphResource::updateQueueSerial): Deleted.
1593         * src/libANGLE/renderer/vulkan/ContextVk.cpp:
1594         (rx::CommandBatch::CommandBatch):
1595         (rx::CommandBatch::operator=):
1596         (rx::CommandBatch::destroy):
1597         (rx::CommandQueue::destroy):
1598         (rx::CommandQueue::init):
1599         (rx::CommandQueue::checkCompletedCommands):
1600         (rx::CommandQueue::releaseToCommandBatch):
1601         (rx::CommandQueue::clearAllGarbage):
1602         (rx::CommandQueue::allocatePrimaryCommandBuffer):
1603         (rx::CommandQueue::releasePrimaryCommandBuffer):
1604         (rx::CommandQueue::handleDeviceLost):
1605         (rx::CommandQueue::hasInFlightCommands const):
1606         (rx::CommandQueue::finishToSerialOrTimeout):
1607         (rx::CommandQueue::submitFrame):
1608         (rx::CommandQueue::getLastSubmittedFence const):
1609         (rx::ContextVk::ContextVk):
1610         (rx::ContextVk::onDestroy):
1611         (rx::ContextVk::initialize):
1612         (rx::ContextVk::setupDraw):
1613         (rx::ContextVk::setupIndirectDraw):
1614         (rx::ContextVk::setupIndexedIndirectDraw):
1615         (rx::ContextVk::setupLineLoopIndexedIndirectDraw):
1616         (rx::ContextVk::handleDirtyGraphicsVertexBuffers):
1617         (rx::ContextVk::handleDirtyGraphicsIndexBuffer):
1618         (rx::ContextVk::submitFrame):
1619         (rx::ContextVk::flushCommandGraph):
1620         (rx::ContextVk::synchronizeCpuGpuTime):
1621         (rx::ContextVk::traceGpuEventImpl):
1622         (rx::ContextVk::checkCompletedGpuEvents):
1623         (rx::ContextVk::flushGpuEvents):
1624         (rx::ContextVk::clearAllGarbage):
1625         (rx::ContextVk::handleDeviceLost):
1626         (rx::ContextVk::drawArraysIndirect):
1627         (rx::ContextVk::drawElementsIndirect):
1628         (rx::ContextVk::syncState):
1629         (rx::ContextVk::onMakeCurrent):
1630         (rx::ContextVk::dispatchComputeIndirect):
1631         (rx::ContextVk::memoryBarrier):
1632         (rx::ContextVk::writeAtomicCounterBufferDriverUniformOffsets):
1633         (rx::ContextVk::updateActiveTextures):
1634         (rx::ContextVk::updateActiveImages):
1635         (rx::ContextVk::shouldFlush):
1636         (rx::ContextVk::flushImpl):
1637         (rx::ContextVk::finishImpl):
1638         (rx::ContextVk::isSerialInUse const):
1639         (rx::ContextVk::checkCompletedCommands):
1640         (rx::ContextVk::finishToSerial):
1641         (rx::ContextVk::finishToSerialOrTimeout):
1642         (rx::ContextVk::getCompatibleRenderPass):
1643         (rx::ContextVk::getRenderPassWithOps):
1644         (rx::ContextVk::ensureSubmitFenceInitialized):
1645         (rx::ContextVk::getNextSubmitFence):
1646         (rx::ContextVk::getLastSubmittedFence const):
1647         (rx::ContextVk::getTimestamp):
1648         (rx::ContextVk::updateDefaultAttribute):
1649         (rx::ContextVk::waitForSwapchainImageIfNecessary):
1650         (rx::ContextVk::CommandBatch::CommandBatch): Deleted.
1651         (rx::ContextVk::CommandBatch::operator=): Deleted.
1652         (rx::ContextVk::CommandBatch::destroy): Deleted.
1653         (rx::ContextVk::releaseToCommandBatch): Deleted.
1654         (rx::ContextVk::recycleCommandBatch): Deleted.
1655         (rx::ContextVk::getCommandGraph): Deleted.
1656         * src/libANGLE/renderer/vulkan/ContextVk.h:
1657         (rx::ContextVk::onVertexAttributeChange):
1658         (rx::ContextVk::getCurrentQueueSerial const):
1659         (rx::ContextVk::getLastSubmittedQueueSerial const):
1660         (rx::ContextVk::getLastCompletedQueueSerial const):
1661         (rx::ContextVk::addGarbage):
1662         (rx::ContextVk::getCommandGraph):
1663         (rx::ContextVk::releaseObject): Deleted.
1664         * src/libANGLE/renderer/vulkan/DeviceVk.cpp:
1665         (rx::DeviceVk::getAttribute):
1666         (rx::DeviceVk::getDevice): Deleted.
1667         * src/libANGLE/renderer/vulkan/DeviceVk.h:
1668         * src/libANGLE/renderer/vulkan/DisplayVk.cpp:
1669         (rx::DisplayVk::generateExtensions const):
1670         * src/libANGLE/renderer/vulkan/FramebufferVk.cpp:
1671         (rx::FramebufferVk::destroy):
1672         (rx::FramebufferVk::invalidate):
1673         (rx::FramebufferVk::invalidateSub):
1674         (rx::FramebufferVk::clearImpl):
1675         (rx::FramebufferVk::getImplementationColorReadType const):
1676         (rx::FramebufferVk::blitWithCommand):
1677         (rx::FramebufferVk::blit):
1678         (rx::FramebufferVk::resolveColorWithCommand):
1679         (rx::FramebufferVk::readPixelsImpl):
1680         (rx::FramebufferVk::onScissorChange):
1681         * src/libANGLE/renderer/vulkan/FramebufferVk.h:
1682         (rx::FramebufferVk::appendToStartedRenderPass):
1683         * src/libANGLE/renderer/vulkan/GlslangWrapper.cpp:
1684         * src/libANGLE/renderer/vulkan/ImageVk.cpp:
1685         (rx::ImageVk::onDestroy):
1686         (rx::ImageVk::orphan):
1687         * src/libANGLE/renderer/vulkan/ImageVk.h:
1688         * src/libANGLE/renderer/vulkan/MemoryObjectVk.cpp:
1689         (rx::MemoryObjectVk::createImage):
1690         * src/libANGLE/renderer/vulkan/OverlayVk.cpp:
1691         (rx::OverlayVk::createFont):
1692         (rx::OverlayVk::cullWidgets):
1693         (rx::OverlayVk::onPresent):
1694         * src/libANGLE/renderer/vulkan/PersistentCommandPool.cpp:
1695         (rx::vk::PersistentCommandPool::destroy):
1696         (rx::vk::PersistentCommandPool::allocate):
1697         (rx::vk::PersistentCommandPool::alloc): Deleted.
1698         * src/libANGLE/renderer/vulkan/PersistentCommandPool.h:
1699         * src/libANGLE/renderer/vulkan/ProgramVk.cpp:
1700         (rx::ProgramVk::reset):
1701         (rx::ProgramVk::initDefaultUniformLayoutMapping):
1702         (rx::ProgramVk::updateDefaultUniformsDescriptorSet):
1703         (rx::ProgramVk::updateBuffersDescriptorSet):
1704         (rx::ProgramVk::updateAtomicCounterBuffersDescriptorSet):
1705         (rx::ProgramVk::updateImagesDescriptorSet):
1706         (rx::ProgramVk::updateTransformFeedbackDescriptorSetImpl):
1707         (rx::ProgramVk::updateDescriptorSets):
1708         * src/libANGLE/renderer/vulkan/ProgramVk.h:
1709         (rx::ProgramVk::getGraphicsPipeline):
1710         * src/libANGLE/renderer/vulkan/README.md:
1711         * src/libANGLE/renderer/vulkan/RenderTargetVk.cpp:
1712         (rx::RenderTargetVk::RenderTargetVk):
1713         (rx::RenderTargetVk::init):
1714         (rx::RenderTargetVk::reset):
1715         (rx::RenderTargetVk::onColorDraw):
1716         (rx::RenderTargetVk::onDepthStencilDraw):
1717         (rx::RenderTargetVk::updateSwapchainImage):
1718         (rx::RenderTargetVk::getImageForRead):
1719         (rx::RenderTargetVk::getImageForWrite const):
1720         (rx::RenderTargetVk::getFetchImageView const): Deleted.
1721         * src/libANGLE/renderer/vulkan/RenderTargetVk.h:
1722         * src/libANGLE/renderer/vulkan/RenderbufferVk.cpp:
1723         (rx::RenderbufferVk::setStorageImpl):
1724         (rx::RenderbufferVk::setStorageEGLImageTarget):
1725         (rx::RenderbufferVk::releaseImage):
1726         * src/libANGLE/renderer/vulkan/RenderbufferVk.h:
1727         * src/libANGLE/renderer/vulkan/RendererVk.cpp:
1728         (rx::RendererVk::~RendererVk):
1729         (rx::RendererVk::onDestroy):
1730         (rx::RendererVk::notifyDeviceLost):
1731         (rx::RendererVk::initialize):
1732         (rx::RendererVk::initializeDevice):
1733         (rx::RendererVk::initFeatures):
1734         (rx::RendererVk::queueSubmit):
1735         (rx::RendererVk::cleanupGarbage):
1736         (rx::RendererVk::getMaxFenceWaitTimeNs const):
1737         (rx::RendererVk::onCompletedSerial):
1738         (rx::RendererVk::nextSerial): Deleted.
1739         (rx::RendererVk::addGarbage): Deleted.
1740         * src/libANGLE/renderer/vulkan/RendererVk.h:
1741         (rx::CollectGarbage):
1742         (rx::RendererVk::getMaxVertexAttribDivisor const):
1743         (rx::RendererVk::collectGarbageAndReinit):
1744         (rx::RendererVk::getCurrentQueueSerial const):
1745         (rx::RendererVk::getLastSubmittedQueueSerial const):
1746         (rx::RendererVk::getLastCompletedQueueSerial const):
1747         (rx::RendererVk::shouldCleanupGarbage):
1748         * src/libANGLE/renderer/vulkan/SamplerVk.cpp:
1749         (rx::SamplerVk::onDestroy):
1750         (rx::SamplerVk::syncState):
1751         * src/libANGLE/renderer/vulkan/SecondaryCommandBuffer.cpp:
1752         (rx::vk::priv::SecondaryCommandBuffer::executeCommands):
1753         (rx::vk::priv::SecondaryCommandBuffer::dumpCommands const):
1754         * src/libANGLE/renderer/vulkan/SecondaryCommandBuffer.h:
1755         (rx::vk::priv::SecondaryCommandBuffer::drawIndirect):
1756         (rx::vk::priv::SecondaryCommandBuffer::drawIndexedIndirect):
1757         * src/libANGLE/renderer/vulkan/SemaphoreVk.cpp:
1758         (rx::SemaphoreVk::onDestroy):
1759         * src/libANGLE/renderer/vulkan/SurfaceVk.cpp:
1760         (rx::OffscreenSurfaceVk::AttachmentImage::initialize):
1761         (rx::OffscreenSurfaceVk::AttachmentImage::destroy):
1762         (rx::OffscreenSurfaceVk::OffscreenSurfaceVk):
1763         (rx::WindowSurfaceVk::WindowSurfaceVk):
1764         (rx::WindowSurfaceVk::createSwapChain):
1765         (rx::WindowSurfaceVk::releaseSwapchainImages):
1766         (rx::WindowSurfaceVk::destroySwapChainImages):
1767         (rx::WindowSurfaceVk::present):
1768         (rx::WindowSurfaceVk::nextSwapchainImage):
1769         * src/libANGLE/renderer/vulkan/SyncVk.cpp:
1770         (rx::vk::SyncHelper::SyncHelper):
1771         (rx::vk::SyncHelper::~SyncHelper):
1772         (rx::vk::SyncHelper::releaseToRenderer):
1773         (rx::vk::SyncHelper::initialize):
1774         (rx::vk::SyncHelper::clientWait):
1775         (rx::vk::SyncHelper::serverWait):
1776         (rx::vk::SyncHelper::getStatus):
1777         (rx::SyncVk::onDestroy):
1778         (rx::SyncVk::serverWait):
1779         (rx::EGLSyncVk::onDestroy):
1780         (rx::EGLSyncVk::serverWait):
1781         (rx::FenceSyncVk::FenceSyncVk): Deleted.
1782         (rx::FenceSyncVk::~FenceSyncVk): Deleted.
1783         (rx::FenceSyncVk::onDestroy): Deleted.
1784         (rx::FenceSyncVk::initialize): Deleted.
1785         (rx::FenceSyncVk::clientWait): Deleted.
1786         (rx::FenceSyncVk::serverWait): Deleted.
1787         (rx::FenceSyncVk::getStatus): Deleted.
1788         * src/libANGLE/renderer/vulkan/SyncVk.h:
1789         * src/libANGLE/renderer/vulkan/TextureVk.cpp:
1790         (rx::TextureVk::onDestroy):
1791         (rx::TextureVk::copySubImageImpl):
1792         (rx::TextureVk::copySubTextureImpl):
1793         (rx::TextureVk::copySubImageImplWithTransfer):
1794         (rx::TextureVk::copySubImageImplWithDraw):
1795         (rx::TextureVk::setStorageExternalMemory):
1796         (rx::TextureVk::setEGLImageTarget):
1797         (rx::TextureVk::ensureImageAllocated):
1798         (rx::TextureVk::setImageHelper):
1799         (rx::TextureVk::copyImageDataToBufferAndGetData):
1800         (rx::TextureVk::copyImageDataToBuffer):
1801         (rx::TextureVk::generateMipmapsWithCPU):
1802         (rx::TextureVk::generateMipmap):
1803         (rx::TextureVk::setBaseLevel):
1804         (rx::TextureVk::changeLevels):
1805         (rx::TextureVk::bindTexImage):
1806         (rx::TextureVk::getAttachmentRenderTarget):
1807         (rx::TextureVk::ensureImageInitialized):
1808         (rx::TextureVk::initLayerRenderTargets):
1809         (rx::TextureVk::syncState):
1810         (rx::TextureVk::getReadImageView const):
1811         (rx::TextureVk::getFetchImageView const):
1812         (rx::TextureVk::getLayerLevelDrawImageView):
1813         (rx::TextureVk::getLayerLevelStorageImageView):
1814         (rx::TextureVk::initImage):
1815         (rx::TextureVk::initImageViews):
1816         (rx::TextureVk::releaseImage):
1817         (rx::TextureVk::releaseImageViews):
1818         (rx::TextureVk::releaseStagingBuffer):
1819         (rx::TextureVk::getLevelCount const):
1820         (rx::TextureVk::generateMipmapLevelsWithCPU):
1821         (rx::TextureVk::TextureVkViews::TextureVkViews): Deleted.
1822         (rx::TextureVk::TextureVkViews::~TextureVkViews): Deleted.
1823         (rx::TextureVk::TextureVkViews::release): Deleted.
1824         (rx::TextureVk::init3DRenderTargets): Deleted.
1825         (rx::TextureVk::initCubeMapRenderTargets): Deleted.
1826         (rx::TextureVk::getTextureViews const): Deleted.
1827         (rx::TextureVk::initImageViewImpl): Deleted.
1828         * src/libANGLE/renderer/vulkan/TextureVk.h:
1829         (): Deleted.
1830         * src/libANGLE/renderer/vulkan/TransformFeedbackVk.cpp:
1831         (rx::TransformFeedbackVk::onBeginOrEnd):
1832         * src/libANGLE/renderer/vulkan/UtilsVk.cpp:
1833         (rx::UtilsVk::ensureConvertIndexIndirectResourcesInitialized):
1834         (rx::UtilsVk::ensureConvertIndexIndirectLineLoopResourcesInitialized):
1835         (rx::UtilsVk::convertIndexIndirectBuffer):
1836         (rx::UtilsVk::convertLineLoopIndexIndirectBuffer):
1837         (rx::UtilsVk::startRenderPass):
1838         (rx::UtilsVk::clearFramebuffer):
1839         (rx::UtilsVk::blitResolveImpl):
1840         (rx::UtilsVk::stencilBlitResolveNoShaderExport):
1841         (rx::UtilsVk::copyImage):
1842         (rx::UtilsVk::cullOverlayWidgets):
1843         (rx::UtilsVk::drawOverlay):
1844         * src/libANGLE/renderer/vulkan/UtilsVk.h:
1845         * src/libANGLE/renderer/vulkan/VertexArrayVk.cpp:
1846         (rx::VertexArrayVk::destroy):
1847         (rx::VertexArrayVk::convertIndexBufferIndirectGPU):
1848         (rx::VertexArrayVk::handleLineLoopIndirect):
1849         (rx::VertexArrayVk::convertVertexBufferCPU):
1850         (rx::VertexArrayVk::syncDirtyAttrib):
1851         (rx::VertexArrayVk::updateStreamedAttribs):
1852         (rx::VertexArrayVk::updateDefaultAttrib):
1853         (rx::VertexArrayVk::updateClientAttribs): Deleted.
1854         * src/libANGLE/renderer/vulkan/VertexArrayVk.h:
1855         (rx::VertexArrayVk::getStreamingVertexAttribsMask const):
1856         * src/libANGLE/renderer/vulkan/android/HardwareBufferImageSiblingVkAndroid.cpp:
1857         (rx::HardwareBufferImageSiblingVkAndroid::initImpl):
1858         (rx::HardwareBufferImageSiblingVkAndroid::release):
1859         * src/libANGLE/renderer/vulkan/android/HardwareBufferImageSiblingVkAndroid.h:
1860         * src/libANGLE/renderer/vulkan/doc/FastOpenGLStateTransitions.md:
1861         * src/libANGLE/renderer/vulkan/doc/FormatTablesAndEmulation.md:
1862         * src/libANGLE/renderer/vulkan/doc/OpenGLLineSegmentRasterization.md:
1863         * src/libANGLE/renderer/vulkan/doc/ShaderModuleCompilation.md:
1864         * src/libANGLE/renderer/vulkan/gen_vk_internal_shaders.py:
1865         (shader_path):
1866         * src/libANGLE/renderer/vulkan/shaders/gen/ConvertIndex.comp.00000000.inc:
1867         * src/libANGLE/renderer/vulkan/shaders/gen/ConvertIndex.comp.00000001.inc:
1868         * src/libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000008.inc:
1869         * src/libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000009.inc:
1870         * src/libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000018.inc:
1871         * src/libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000019.inc:
1872         * src/libANGLE/renderer/vulkan/shaders/src/ConvertIndex.comp:
1873         * src/libANGLE/renderer/vulkan/shaders/src/ConvertIndex.comp.json:
1874         * src/libANGLE/renderer/vulkan/shaders/src/ConvertVertex.comp:
1875         * src/libANGLE/renderer/vulkan/shaders/src/ConvertVertex.comp.json:
1876         * src/libANGLE/renderer/vulkan/vk_cache_utils.cpp:
1877         (rx::vk::GraphicsPipelineDesc::initializePipeline const):
1878         (rx::vk::GraphicsPipelineDesc::updateVertexInput):
1879         (rx::vk::PipelineLayoutDesc::updatePushConstantRange):
1880         (rx::RenderPassCache::addRenderPass):
1881         (rx::GraphicsPipelineCache::release):
1882         (rx::GraphicsPipelineCache::insertPipeline):
1883         * src/libANGLE/renderer/vulkan/vk_cache_utils.h:
1884         * src/libANGLE/renderer/vulkan/vk_caps_utils.cpp:
1885         (rx::RendererVk::ensureCapsInitialized const):
1886         * src/libANGLE/renderer/vulkan/vk_format_map.json:
1887         * src/libANGLE/renderer/vulkan/vk_format_table_autogen.cpp:
1888         (rx::vk::Format::initialize):
1889         * src/libANGLE/renderer/vulkan/vk_format_utils.cpp:
1890         (rx::MapSwizzleState):
1891         * src/libANGLE/renderer/vulkan/vk_helpers.cpp:
1892         (rx::vk::DynamicBuffer::allocate):
1893         (rx::vk::DynamicBuffer::releaseBufferListToRenderer):
1894         (rx::vk::DynamicBuffer::release):
1895         (rx::vk::DynamicBuffer::releaseInFlightBuffers):
1896         (rx::vk::DescriptorPoolHelper::release):
1897         (rx::vk::LineLoopHelper::LineLoopHelper):
1898         (rx::vk::LineLoopHelper::streamIndicesIndirect):
1899         (rx::vk::LineLoopHelper::release):
1900         (rx::vk::LineLoopHelper::destroy):
1901         (rx::vk::BufferHelper::init):
1902         (rx::vk::BufferHelper::release):
1903         (rx::vk::ImageHelper::ImageHelper):
1904         (rx::vk::ImageHelper::init):
1905         (rx::vk::ImageHelper::initExternal):
1906         (rx::vk::ImageHelper::releaseImage):
1907         (rx::vk::ImageHelper::releaseStagingBuffer):
1908         (rx::vk::ImageHelper::destroy):
1909         (rx::vk::ImageHelper::getBaseLevel):
1910         (rx::vk::ImageHelper::setBaseAndMaxLevels):
1911         (rx::vk::ImageHelper::generateMipmapsWithBlit):
1912         (rx::vk::ImageHelper::removeStagedUpdates):
1913         (rx::vk::ImageHelper::stageSubresourceUpdate):
1914         (rx::vk::ImageHelper::stageSubresourceUpdateAndGetData):
1915         (rx::vk::ImageHelper::stageSubresourceUpdateFromBuffer):
1916         (rx::vk::ImageHelper::stageSubresourceUpdateFromFramebuffer):
1917         (rx::vk::ImageHelper::allocateStagingMemory):
1918         (rx::vk::ImageHelper::flushStagedUpdates):
1919         (rx::vk::ImageHelper::isUpdateStaged):
1920         (rx::vk::ImageHelper::SubresourceUpdate::SubresourceUpdate):
1921         (rx::vk::ImageHelper::SubresourceUpdate::release):
1922         (rx::vk::FramebufferHelper::release):
1923         (rx::vk::ShaderProgramHelper::release):
1924         (rx::vk::DynamicBuffer::releaseBufferListToContext): Deleted.
1925         (rx::vk::DynamicBuffer::releaseBufferListToDisplay): Deleted.
1926         (rx::vk::ImageHelper::dumpResources): Deleted.
1927         * src/libANGLE/renderer/vulkan/vk_helpers.h:
1928         (rx::vk::ShaderProgramHelper::getShader):
1929         (rx::vk::ShaderProgramHelper::getGraphicsPipeline):
1930         * src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp:
1931         (rx::vk::ShaderLibrary::destroy):
1932         (rx::vk::ShaderLibrary::getConvertIndexIndirectLineLoop_comp):
1933         * src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.gni:
1934         * src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.h:
1935         * src/libANGLE/renderer/vulkan/vk_utils.cpp:
1936         (rx::HasKhronosValidationLayer):
1937         (rx::HasStandardValidationLayer):
1938         (rx::GetAvailableValidationLayers):
1939         (rx::vk::StagingBuffer::init):
1940         (rx::vk::StagingBuffer::release):
1941         (rx::vk::GarbageObject::GarbageObject):
1942         (rx::vk::GarbageObject::operator=):
1943         (rx::vk::GarbageObject::destroy):
1944         (rx::gl_vk::GetSamplerMipmapMode):
1945         (rx::vk::StagingBuffer::dumpResources): Deleted.
1946         (rx::vk::GarbageObjectBase::GarbageObjectBase): Deleted.
1947         (rx::vk::GarbageObjectBase::destroy): Deleted.
1948         (rx::vk::GarbageObject::destroyIfComplete): Deleted.
1949         * src/libANGLE/renderer/vulkan/vk_utils.h:
1950         (rx::vk::GarbageObject::valid const):
1951         (rx::vk::GarbageObject::Get):
1952         (rx::vk::GetGarbage):
1953         (rx::vk::GarbageObjectBase::GarbageObjectBase): Deleted.
1954         * src/libANGLE/renderer/vulkan/vk_wrapper.h:
1955         (rx::vk::WrappedObject::getHandle const):
1956         (rx::vk::WrappedObject::valid const):
1957         (rx::vk::WrappedObject::ptr const):
1958         (rx::vk::WrappedObject::release):
1959         (rx::vk::WrappedObject::WrappedObject):
1960         (rx::vk::WrappedObject::~WrappedObject):
1961         (rx::vk::WrappedObject::operator=):
1962         (rx::vk::priv::CommandBuffer::SupportsQueries):
1963         (rx::vk::priv::CommandBuffer::getMemoryUsageStats const):
1964         (rx::vk::priv::CommandBuffer::drawIndexedIndirect):
1965         (rx::vk::priv::CommandBuffer::drawIndirect):
1966         (rx::vk::WrappedObject::dumpResources): Deleted.
1967         (rx::vk::priv::CommandBuffer::getMemoryUsageStats): Deleted.
1968         * src/libANGLE/validationEGL.cpp:
1969         (egl::ValidateCreateContext):
1970         (egl::ValidateMakeCurrent):
1971         (egl::ValidateCompatibleSurface):
1972         (egl::ValidateStreamConsumerGLTextureExternalKHR):
1973         (egl::ValidateStreamConsumerGLTextureExternalAttribsNV):
1974         (egl::ValidateQueryStringiANGLE):
1975         (egl::ValidateCompatibleConfigs): Deleted.
1976         * src/libANGLE/validationEGL.h:
1977         * src/libANGLE/validationES.cpp:
1978         (gl::ValidateRenderbufferStorageParametersBase):
1979         (gl::ValidateTexStorageMultisample):
1980         * src/libANGLE/validationES.h:
1981         (gl::ValidateVertexFormat):
1982         * src/libANGLE/validationES2.cpp:
1983         (gl::ValidateES2TexStorageParameters):
1984         * src/libANGLE/validationES3.cpp:
1985         (gl::ValidateES3TexStorageParametersBase):
1986         * src/libANGLE/validationES31.cpp:
1987         (gl::err::ValidateProgramResourceIndex):
1988         * src/libGLESv2.gni:
1989         * src/libGLESv2/entry_points_egl_ext.cpp:
1990         * src/tests/BUILD.gn:
1991         * src/tests/angle_deqp_tests_main.cpp:
1992         (main):
1993         * src/tests/angle_end2end_tests.gni:
1994         * src/tests/compiler_tests/DebugShaderPrecision_test.cpp:
1995         (TEST_F):
1996         * src/tests/compiler_tests/ImmutableString_test_ESSL_autogen.cpp:
1997         (sh::TEST):
1998         * src/tests/compiler_tests/ImmutableString_test_autogen.cpp:
1999         (sh::TEST):
2000         * src/tests/compiler_tests/QualificationOrder_test.cpp:
2001         (TEST_F):
2002         * src/tests/deqp_support/angle_deqp_gtest.cpp:
2003         (angle::InitTestHarness):
2004         * src/tests/deqp_support/angle_deqp_libtester_main.cpp:
2005         * src/tests/deqp_support/deqp_egl_TestExpectations: Removed.
2006         * src/tests/deqp_support/deqp_gles2_TestExpectations: Removed.
2007         * src/tests/deqp_support/deqp_gles31_TestExpectations: Removed.
2008         * src/tests/deqp_support/deqp_gles3_TestExpectations: Removed.
2009         * src/tests/deqp_support/deqp_khr_gles2_TestExpectations: Removed.
2010         * src/tests/deqp_support/deqp_khr_gles31_TestExpectations: Removed.
2011         * src/tests/deqp_support/deqp_khr_gles3_TestExpectations: Removed.
2012         * src/tests/deqp_support/tcuANGLENativeDisplayFactory.cpp:
2013         * src/tests/deqp_support/tcuANGLEPlatform.cpp:
2014         (tcu::ANGLEPlatform::ANGLEPlatform):
2015         * src/tests/deqp_support/tes31Context_override.cpp:
2016         (deqp::gles31::Context::Context):
2017         (deqp::gles31::Context::~Context):
2018         (deqp::gles31::Context::createRenderContext):
2019         (deqp::gles31::Context::destroyRenderContext):
2020         (deqp::gles31::Context::getRenderTarget const):
2021         * src/tests/egl_tests/EGLDeviceCGLTest.cpp: Added.
2022         (EGLDeviceCGLQueryTest::EGLDeviceCGLQueryTest):
2023         (TEST_P):
2024         * src/tests/egl_tests/EGLDirectCompositionTest.cpp:
2025         * src/tests/egl_tests/EGLFeatureControlTest.cpp:
2026         (TEST_P):
2027         * src/tests/egl_tests/EGLNoConfigContextTest.cpp: Added.
2028         (EGLNoConfigContextTest::EGLNoConfigContextTest):
2029         (TEST_P):
2030         * src/tests/gl_tests/BlendFuncExtendedTest.cpp:
2031         (angle::EXTBlendFuncExtendedDrawTestES3::LinkProgram):
2032         * src/tests/gl_tests/ComputeShaderTest.cpp:
2033         * src/tests/gl_tests/CopyTexImageTest.cpp:
2034         (angle::TEST_P):
2035         * src/tests/gl_tests/CopyTextureTest.cpp:
2036         (angle::CopyTextureVariationsTest::initializeSourceTexture):
2037         (angle::CopyTextureVariationsTest::testCopyTexture):
2038         (angle::CopyTextureVariationsTest::testCopySubTexture):
2039         (angle::TEST_P):
2040         * src/tests/gl_tests/DrawBaseVertexBaseInstanceTest.cpp:
2041         (angle::DrawBaseVertexBaseInstanceTest::DrawBaseVertexBaseInstanceTest):
2042         (angle::DrawBaseVertexBaseInstanceTest::vertexShaderSource300):
2043         * src/tests/gl_tests/FramebufferTest.cpp:
2044         (TEST_P):
2045         * src/tests/gl_tests/GLSLTest.cpp:
2046         * src/tests/gl_tests/IndexBufferOffsetTest.cpp:
2047         * src/tests/gl_tests/InstancingTest.cpp:
2048         * src/tests/gl_tests/LineLoopTest.cpp:
2049         (LineLoopTest::checkPixels):
2050         (LineLoopTest::runTest):
2051         (LineLoopIndirectTest::runTest):
2052         (TEST_P):
2053         * src/tests/gl_tests/LinkAndRelinkTest.cpp:
2054         (angle::TEST_P):
2055         * src/tests/gl_tests/MipmapTest.cpp:
2056         * src/tests/gl_tests/OcclusionQueriesTest.cpp:
2057         * src/tests/gl_tests/ParallelShaderCompileTest.cpp:
2058         (angle::ParallelShaderCompileTest::TaskRunner::run):
2059         * src/tests/gl_tests/ProgramInterfaceTest.cpp:
2060         * src/tests/gl_tests/SimpleOperationTest.cpp:
2061         * src/tests/gl_tests/StateChangeTest.cpp:
2062         * src/tests/gl_tests/TextureTest.cpp:
2063         (angle::SliceFormatColor):
2064         (angle::SliceFormatColor32F):
2065         * src/tests/gl_tests/TimerQueriesTest.cpp:
2066         * src/tests/gl_tests/UniformBufferTest.cpp:
2067         * src/tests/gl_tests/VertexAttributeTest.cpp:
2068         (angle::TypeStride):
2069         (angle::Normalize10):
2070         (angle::Normalize2):
2071         (angle::Pack1010102):
2072         (angle::VertexAttributeTest::checkPixels):
2073         (angle::VertexAttributeTest::checkRGBPixels):
2074         (angle::VertexAttributeTest::runTest):
2075         (angle::TEST_P):
2076         * src/tests/gles1_conformance_tests/ConformanceTests.cpp:
2077         (angle::TEST_P):
2078         * src/tests/perf_tests/ANGLEPerfTest.cpp:
2079         * src/tests/perf_tests/DrawCallPerf.cpp:
2080         (angle::DrawArraysPerfParams::DrawArraysPerfParams): Deleted.
2081         (angle::DrawArraysPerfParams::story const): Deleted.
2082         (angle::operator<<): Deleted.
2083         (angle::CreateSimpleTexture2D): Deleted.
2084         (angle::DrawCallPerfBenchmark::DrawCallPerfBenchmark): Deleted.
2085         (angle::DrawCallPerfBenchmark::initializeBenchmark): Deleted.
2086         (): Deleted.
2087         * src/tests/perf_tests/EGLMakeCurrentPerf.cpp:
2088         * src/tests/perf_tests/LinkProgramPerfTest.cpp:
2089         (angle::TEST_P):
2090         * src/tests/perf_tests/MultiviewPerf.cpp:
2091         (angle::MultiviewCPUBoundBenchmark::initializeBenchmark):
2092         (angle::MultiviewGPUBoundBenchmark::initializeBenchmark):
2093         (angle::TEST_P):
2094         * src/tests/perf_tests/UniformsPerf.cpp:
2095         (TEST_P):
2096         * src/tests/perf_tests/VulkanPipelineCachePerf.cpp:
2097         (rx::VulkanPipelineCachePerfTest::step):
2098         * src/tests/perf_tests/glmark2Benchmark.cpp:
2099         * src/tests/test_expectations/GPUTestConfig.cpp:
2100         (angle::GPUTestConfig::GPUTestConfig):
2101         * src/tests/test_expectations/GPUTestConfig.h:
2102         * src/tests/test_expectations/GPUTestExpectationsParser.cpp:
2103         (angle::GPUTestExpectationsParser::parseLine):
2104         * src/tests/test_utils/ANGLETest.cpp:
2105         * src/tests/test_utils/ANGLETest.h:
2106         * src/tests/test_utils/angle_test_configs.cpp:
2107         (angle::PlatformParameters::initDefaultParameters):
2108         (angle::operator<<):
2109         (angle::egl_platform::VULKAN_SWIFTSHADER):
2110         (angle::ES2_VULKAN_SWIFTSHADER):
2111         * src/tests/test_utils/angle_test_configs.h:
2112         * src/tests/test_utils/angle_test_instantiate.cpp:
2113         (angle::IsWindows7):
2114         * src/tests/test_utils/angle_test_instantiate.h:
2115         * src/third_party/compiler/README.chromium:
2116         * third_party/vulkan-headers/BUILD.gn: Removed.
2117         * third_party/vulkan-headers/vulkan_headers_script_deps.gni: Removed.
2118         * third_party/vulkan-loader/BUILD.gn:
2119         * third_party/vulkan-tools/BUILD.gn: Removed.
2120         * third_party/vulkan-validation-layers/BUILD.gn: Removed.
2121         * third_party/vulkan-validation-layers/dummy_spirv_tools_commit_id.h: Removed.
2122         * util/EGLWindow.cpp:
2123         * util/fuchsia/ScenicWindow.cpp:
2124         (ScenicWindow::resetNativeWindow):
2125         * util/posix/crash_handler_posix.cpp: Renamed from Source/ThirdParty/ANGLE/util/posix/Posix_crash_handler.cpp.
2126         * util/posix/test_utils_posix.cpp: Renamed from Source/ThirdParty/ANGLE/util/posix/Posix_system_utils.cpp.
2127         * util/test_utils.h: Renamed from Source/ThirdParty/ANGLE/util/system_utils.h.
2128         * util/util.gni:
2129         * util/util_gl.h:
2130         * util/windows/WGLWindow.cpp:
2131         * util/windows/test_utils_win.cpp: Renamed from Source/ThirdParty/ANGLE/util/windows/Windows_system_utils.cpp.
2132         (angle::PrintStackBacktrace):
2133         * util/windows/win32/test_utils_win32.cpp: Renamed from Source/ThirdParty/ANGLE/util/windows/win32/Win32_system_utils.cpp.
2134         * util/x11/X11Window.cpp:
2135
2136 2019-10-01  Fujii Hironori  <Hironori.Fujii@sony.com>
2137
2138         [WinCairo][Clang][ANGLE] global_state.cpp(39,1): error: static_assert failed due to requirement 'std::is_trivially_constructible<std::atomic<std::mutex *>>::value' "global mutex is not trivially constructible"
2139         https://bugs.webkit.org/show_bug.cgi?id=201751
2140
2141         Reviewed by Alex Christensen.
2142
2143         Clang-cl couldn't compile the latest ANGLE with MS STL owing to a
2144         static_assert failure.
2145
2146         Fix it by cherri-picking the upstream fix.
2147         <https://chromium.googlesource.com/angle/angle/+/755417dd79071d6149c81418e1404b0c61d19672>
2148
2149         * AUTHORS:
2150         * src/common/angleutils.h:
2151         * src/libGLESv2/global_state.cpp:
2152
2153 2019-09-24  Adrian Perez de Castro  <aperez@igalia.com>
2154
2155         [GTK] ANGLE's eglplatform.h is build broken with -DENABLE_X11_PLATFORM=OFF
2156         https://bugs.webkit.org/show_bug.cgi?id=198621
2157
2158         Reviewed by Carlos Garcia Campos.
2159
2160         * PlatformGTK.cmake: Define WL_EGL_PLATFORM to prefer Wayland type
2161         definitions with ENABLE_WAYLAND_TARGET=ON and ENABLE_X11_TARGET=OFF
2162         to avoid ANGLE's eglplatform.h from trying to include the X11 headers.
2163
2164 2019-09-16  James Darpinian  <jdarpinian@chromium.org>
2165
2166         Remove commit.h copying build steps
2167         https://bugs.webkit.org/show_bug.cgi?id=201785
2168
2169         Reviewed by Alex Christensen.
2170
2171         * ANGLE.xcodeproj/project.pbxproj: Remove leftover build step
2172         * CMakeLists.txt: Remove commit.h copying
2173         * src/common/version.h: Restore to upstream version
2174         * src/id/commit.h: Added.
2175         * update-angle.sh: Copy commit.h to id/commit.h at import time
2176
2177 2019-09-12  James Darpinian  <jdarpinian@chromium.org>
2178
2179         Update ANGLE
2180         https://bugs.webkit.org/show_bug.cgi?id=201156
2181
2182         Reviewed by Alex Christensen.
2183
2184         Update to 2019-9-9, revision 79ad0411911b2fc84834c3705f55707be9e4b498
2185         I merged a bunch of changes to upstream ANGLE, to minimize the changes
2186         necessary when updating ANGLE in WebKit.
2187
2188         * ANGLE.plist: Update commit hashes
2189         * ANGLE.txt: Removed in favor of LICENSE
2190         * ANGLE.xcodeproj/project.pbxproj: Updated with upstream changes
2191           Also, copy src/commit.h to id/commit.h during build
2192         * CMakeLists.txt: Updated with upstream changes
2193           Also, copy src/commit.h to id/commit.h during build
2194         * Compiler.cmake: Updated with upstream changes
2195         * GLESv2.cmake: Updated with upstream changes
2196         * adjust-angle-include-paths-rule: Support "" as well as <> for includes
2197         * adjust-angle-include-paths.sh: Support "" as well as <> for includes
2198         * changes.diff: Pared down to just legal disclaimer and warning flag changes
2199         * update-angle.sh: Update ANGLE.plist
2200
2201         * Many other files modified/added/removed upstream
2202
2203 2019-09-11  Ryan Haddad  <ryanhaddad@apple.com>
2204
2205         Unreviewed, rolling out r249791.
2206
2207         Breaks internal production builds.
2208
2209         Reverted changeset:
2210
2211         "Update ANGLE"
2212         https://bugs.webkit.org/show_bug.cgi?id=201156
2213         https://trac.webkit.org/changeset/249791
2214
2215 2019-09-11  James Darpinian  <jdarpinian@chromium.org>
2216
2217         Update ANGLE
2218         https://bugs.webkit.org/show_bug.cgi?id=201156
2219
2220         Reviewed by Alex Christensen.
2221
2222         Update to 2019-9-9, revision 79ad0411911b2fc84834c3705f55707be9e4b498
2223         I merged a bunch of changes to upstream ANGLE, to minimize the changes
2224         necessary when updating ANGLE in WebKit.
2225
2226         * ANGLE.plist: Update commit hashes
2227         * ANGLE.txt: Removed in favor of LICENSE
2228         * ANGLE.xcodeproj/project.pbxproj: Updated with upstream changes
2229         Also, copy src/commit.h to id/commit.h during build
2230         * CMakeLists.txt: Updated with upstream changes
2231         Also, copy src/commit.h to id/commit.h during build
2232         * Compiler.cmake: Updated with upstream changes
2233         * GLESv2.cmake: Updated with upstream changes
2234         * adjust-angle-include-paths-rule: Support "" as well as <> for includes
2235         * adjust-angle-include-paths.sh: Support "" as well as <> for includes
2236         * changes.diff: Pared down to just legal disclaimer and warning flag changes
2237         * update-angle.sh: Update ANGLE.plist
2238
2239         * Many other files modified/added/removed upstream
2240
2241 2019-08-29  Keith Rollin  <krollin@apple.com>
2242
2243         Update .xcconfig symbols to reflect the current set of past and future product versions.
2244         https://bugs.webkit.org/show_bug.cgi?id=200720
2245         <rdar://problem/54305032>
2246
2247         Reviewed by Alex Christensen.
2248
2249         Remove version symbols related to old OS's we no longer support,
2250         ensure that version symbols are defined for OS's we do support.
2251
2252         * Configurations/Base.xcconfig:
2253         * Configurations/DebugRelease.xcconfig:
2254
2255 2019-08-26  James Darpinian  <jdarpinian@google.com>
2256
2257         Add a script to update ANGLE
2258         https://bugs.webkit.org/show_bug.cgi?id=201109
2259
2260         Reviewed by Alex Christensen.
2261
2262         * update-angle.sh: Added.
2263
2264 2019-08-16  Keith Rollin  <krollin@apple.com>
2265
2266         Add XCBuild support to ANGLE
2267         https://bugs.webkit.org/show_bug.cgi?id=200836
2268         <rdar://problem/54410420>
2269
2270         Reviewed by Alex Christensen.
2271
2272         The ANGLE Xcode project contains two Build Phases: one that copies
2273         some headers, and another that modifies those headers. This
2274         combination does not work with XCBuild, which gets confused when it
2275         finds that headers that it's copied have been changed. When it detects
2276         this, XCBuild thinks that it should recopy those headers on the next
2277         build, causing their modification dates to change and for all
2278         dependent files to be rebuilt. This essentially turns an incremental
2279         rebuild into a full rebuild.
2280
2281         Address this problem by using a new facility in Xcode 11. This
2282         facility supports the copying and modifying headers files in a single
2283         step. It is achieved by first enabling the facility by setting
2284         APPLY_RULES_IN_COPY_HEADERS to YES. Next, we add a new Build Rule that
2285         invokes a custom script when the header files are copied. Third, we
2286         provide this script, which can essentially be a stripped down version
2287         of the one already used to modify the exported headers files. Finally,
2288         we disable the use of that old script when we are using Xcode 11. In
2289         this way, the old script that modifies the exported headers is used in
2290         Xcode 10, and the new facility is used in Xcode 11.
2291
2292         See also Bug 197340 for where this process was also applied to
2293         JavaScriptCore, WebKit, and WebKitLegacy.
2294
2295         * ANGLE.xcodeproj/project.pbxproj:
2296         * Configurations/ANGLE.xcconfig:
2297         * adjust-angle-include-paths-rule: Added.
2298
2299 2019-08-08  Brent Fulgham  <bfulgham@apple.com>
2300
2301         [FTW] Get WebKit, WebKit2, and MiniBrowser building and executing
2302         https://bugs.webkit.org/show_bug.cgi?id=200539
2303
2304         Reviewed by Dean Jackson.
2305
2306         * PlatformFTW.cmake: Added.
2307
2308 2019-07-17  Kenneth Russell  <kbr@chromium.org>
2309
2310         Make ANGLE work inside WebKit2's sandbox
2311         https://bugs.webkit.org/show_bug.cgi?id=199844
2312
2313         Reviewed by Alex Christensen.
2314
2315         Cherry-pick fix for crbug.com/angleproject/3383 to eliminate use
2316         of deprecated API in SystemInfo_mac.mm.
2317
2318         * BUILD.gn:
2319         * src/gpu_info_util/SystemInfo.cpp:
2320         (angle::FindActiveGPU):
2321         (angle::PrintSystemInfo):
2322         (angle::FindPrimaryGPU): Deleted.
2323         * src/gpu_info_util/SystemInfo.h:
2324         * src/gpu_info_util/SystemInfo_internal.h:
2325         * src/gpu_info_util/SystemInfo_linux.cpp:
2326         (angle::GetSystemInfo):
2327         * src/gpu_info_util/SystemInfo_mac.mm:
2328         (angle::GetSystemInfo):
2329         * src/gpu_info_util/SystemInfo_win.cpp:
2330         (angle::GetSystemInfo):
2331         * src/tests/BUILD.gn:
2332         * src/tests/test_expectations/GPUTestConfig.cpp:
2333         * src/tests/test_utils/angle_test_instantiate.cpp:
2334         (angle::IsConfigWhitelisted):
2335
2336 2019-07-10  Alex Christensen  <achristensen@webkit.org>
2337
2338         Allow CMake to build WebCore on Mac
2339         https://bugs.webkit.org/show_bug.cgi?id=198979
2340
2341         Reviewed by Don Olmstead.
2342
2343         * include/GLSLANG/ShaderLang.h:
2344
2345 2019-07-10  Kenneth Russell  <kbr@chromium.org>
2346
2347         Hook up WebGL's back buffer in ANGLE backend on macOS
2348         https://bugs.webkit.org/show_bug.cgi?id=198982
2349
2350         Reviewed by Alex Christensen.
2351
2352         Add source files needed to implement and call ANGLE extensions, and
2353         export headers necessary for those extensions. Update the script which
2354         adjusts include paths to handle the new headers.
2355
2356         Cherry-pick fix for ANGLE bug crbug.com/angleproject/3669 to support
2357         antialias:true for ANGLE-backed WebGL contexts.
2358
2359         * ANGLE.xcodeproj/project.pbxproj:
2360         * adjust-angle-include-paths.sh:
2361         * src/libANGLE/FramebufferAttachment.cpp:
2362         (gl::FramebufferAttachment::getTextureImageIndex const): Deleted.
2363         * src/libANGLE/FramebufferAttachment.h:
2364         (gl::FramebufferAttachment::getTextureImageIndex const):
2365         * src/libANGLE/validationES2.cpp:
2366         (gl::ValidateBlitFramebufferANGLE):
2367
2368 2019-06-27  Beth Dakin  <bdakin@apple.com>
2369
2370         Upstream use of MACCATALYST
2371         https://bugs.webkit.org/show_bug.cgi?id=199245
2372         rdar://problem/51687723
2373
2374         Reviewed by Tim Horton.
2375
2376         * Configurations/SDKVariant.xcconfig:
2377
2378 2019-06-25  Kenneth Russell  <kbr@chromium.org>
2379
2380         Script which adjusts include paths in ANGLE's copied headers breaks incremental builds
2381         https://bugs.webkit.org/show_bug.cgi?id=199212
2382
2383         Reviewed by Darin Adler.
2384
2385         Maintain and test a timestamp in adjust-angle-include-paths.sh
2386         in order to avoid touching the headers during each build.
2387
2388         * adjust-angle-include-paths.sh:
2389
2390 2019-06-25  Ryan Haddad  <ryanhaddad@apple.com>
2391
2392         Unreviewed, rolling out r246825.
2393
2394         Breaks internal builds.
2395
2396         Reverted changeset:
2397
2398         "Script which adjusts include paths in ANGLE's copied headers
2399         breaks incremental builds"
2400         https://bugs.webkit.org/show_bug.cgi?id=199212
2401         https://trac.webkit.org/changeset/246825
2402
2403 2019-06-25  Kenneth Russell  <kbr@chromium.org>
2404
2405         Script which adjusts include paths in ANGLE's copied headers breaks incremental builds
2406         https://bugs.webkit.org/show_bug.cgi?id=199212
2407
2408         Reviewed by Darin Adler.
2409
2410         Maintain and test a timestamp in adjust-angle-include-paths.sh
2411         in order to avoid touching the headers during each build.
2412
2413         * adjust-angle-include-paths.sh:
2414
2415 2019-06-18  Kenneth Russell  <kbr@chromium.org>
2416
2417         Add preliminary ANGLE backend to WebCore
2418         https://bugs.webkit.org/show_bug.cgi?id=197755
2419
2420         Reviewed by Dean Jackson.
2421
2422         Add a build step which processes ANGLE's copied public headers so they
2423         can all be referred to under the <ANGLE/xyz.h> prefix. This avoids
2424         touching ANGLE's headers and allows WebCore to include them with no
2425         additional include path modifications.
2426
2427         * ANGLE.xcodeproj/project.pbxproj:
2428         * adjust-angle-include-paths.sh: Added.
2429
2430 2019-06-17  Ryan Haddad  <ryanhaddad@apple.com>
2431
2432         Unreviewed, rolling out r246501.
2433
2434         Breaks Apple internal builds.
2435
2436         Reverted changeset:
2437
2438         "Support using ANGLE as the backend for the WebGL
2439         implementation"
2440         https://bugs.webkit.org/show_bug.cgi?id=197755
2441         https://trac.webkit.org/changeset/246501
2442
2443 2019-06-17  Kenneth Russell  <kbr@chromium.org>
2444
2445         Support using ANGLE as the backend for the WebGL implementation
2446         https://bugs.webkit.org/show_bug.cgi?id=197755
2447
2448         Reviewed by Dean Jackson.
2449
2450         Add a build step which processes ANGLE's copied public headers so they
2451         can all be referred to under the <ANGLE/xyz.h> prefix. This avoids
2452         touching ANGLE's headers and allows WebCore to include them with no
2453         additional include path modifications.
2454
2455         * ANGLE.xcodeproj/project.pbxproj:
2456         * adjust-angle-include-paths.sh: Added.
2457
2458 2019-06-12  Justin Fan  <justin_fan@apple.com>
2459
2460         [WebGL] ANGLE Extension directive location incorrectly enforced for webgl 1.0
2461         https://bugs.webkit.org/show_bug.cgi?id=198811
2462
2463         Reviewed by Dean Jackson.
2464
2465         Apply ANGLE change from https://chromium-review.googlesource.com/c/angle/angle/+/1648661 to
2466         prevent enforcing ESSL late extension rule on WebGL 1.0 shaders.
2467
2468         * src/compiler/preprocessor/DiagnosticsBase.cpp:
2469         (angle::pp::Diagnostics::message):
2470         * src/compiler/preprocessor/DiagnosticsBase.h:
2471         * src/compiler/preprocessor/DirectiveParser.cpp:
2472         (angle::pp::DirectiveParser::parseExtension):
2473
2474 2019-05-23  Don Olmstead  <don.olmstead@sony.com>
2475
2476         [CMake] Use target oriented design for bmalloc
2477         https://bugs.webkit.org/show_bug.cgi?id=198046
2478
2479         Reviewed by Konstantin Tokarev.
2480
2481         Remove WEBKIT_COPY_FILES from CMakelists.txt now that it is in WebKitMacros.
2482
2483         * CMakeLists.txt:
2484
2485 2019-05-14  Miguel Gomez  <magomez@igalia.com>
2486
2487         REGRESSION(r245088): [GTK] Several WebGL tests failing
2488         https://bugs.webkit.org/show_bug.cgi?id=197880
2489
2490         Reviewed by Carlos Garcia Campos.
2491
2492         Enable GLSL compiler output for WebKitGTK.
2493
2494         * PlatformGTK.cmake: Added.
2495
2496 2019-05-13  Alex Christensen  <achristensen@webkit.org>
2497
2498         Build more ANGLE files
2499         https://bugs.webkit.org/show_bug.cgi?id=197787
2500
2501         Reviewed by Simon Fraser.
2502
2503         * ANGLE.xcodeproj/project.pbxproj:
2504         * src/gpu_info_util/SystemInfo.cpp:
2505         (angle::ParseMacMachineModel):
2506         * src/gpu_info_util/SystemInfo_mac.mm:
2507         (angle::GetSystemInfo):
2508         * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm:
2509         * src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.mm:
2510         (rx::IOSurfaceSurfaceCGL::IOSurfaceSurfaceCGL):
2511         (rx::IOSurfaceSurfaceCGL::validateAttributes):
2512         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.h:
2513         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
2514         (rx::WindowSurfaceCGL::initialize):
2515         (-[SwapLayer initWithSharedState:withContext:withFunctions:]): Deleted.
2516
2517 2019-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
2518
2519         Fix a bunch of compiler warnings
2520         https://bugs.webkit.org/show_bug.cgi?id=197785
2521
2522         Reviewed by Don Olmstead.
2523
2524         Add compiler flags to suppress various warnings triggered by the new version of ANGLE.
2525
2526         * CMakeLists.txt:
2527
2528 2019-05-09  Don Olmstead  <don.olmstead@sony.com>
2529
2530         [ANGLE] Update ANGLE
2531         https://bugs.webkit.org/show_bug.cgi?id=197676
2532         <rdar://problem/50609501>
2533
2534         Reviewed by Alex Christensen.
2535
2536         * changes.diff:
2537         Updated with all the previous fixes.
2538         * include/EGL/eglplatform.h:
2539         Use the more generic name USE_SYSTEM_EGL not USE_WPE.
2540         * src/common/debug.h:
2541         Fix a stray COMPILER_GCC to be __GNUC__.
2542
2543 2019-05-08  Alex Christensen  <achristensen@webkit.org>
2544
2545         Fix internal and Windows builds.
2546
2547         * ANGLE.txt: Added.
2548         Restore this file.  It was deleted, but it's needed.
2549         * GLESv2.cmake:
2550         It turns out CompositorNativeWindow11.cpp and Renderer11.cpp are needed, but the bot doesn't seem to have the right SDK.
2551
2552 2019-05-08  Alex Christensen  <achristensen@webkit.org>
2553
2554         Fix High Sierra and Windows builds.
2555
2556         * GLESv2.cmake:
2557         CompositorNativeWindow11.cpp was also having a hard time compiling on the bots.
2558         * src/libANGLE/validationES3.cpp:
2559         (gl::ValidateBindFragDataLocationIndexedEXT):
2560         Remove a check for if an unsigned integer is less than 0.
2561
2562 2019-05-08  Alex Christensen  <achristensen@webkit.org>
2563
2564         Fix High Sierra and Windows builds.
2565
2566         * src/common/utilities.cpp:
2567         (gl::priv::gLineModes):
2568         * src/common/utilities.h:
2569         (gl::IsLineMode):
2570         Don't have a global constructor.  Use a function scoped static variable instead.
2571         * GLESv2.cmake:
2572         Renderer11.cpp was not building successfully on the bots.
2573         I don't think it's needed, so just don't build it.
2574
2575 2019-05-08  Alex Christensen  <achristensen@webkit.org>
2576
2577         Fix High Sierra build.
2578
2579         * src/libANGLE/State.cpp:
2580         (gl::State::kBufferSetters):
2581         * src/libANGLE/State.h:
2582         (gl::State::setBufferBinding):
2583         Remove the need for a global constructor.
2584
2585 2019-05-08  Don Olmstead  <don.olmstead@sony.com>
2586
2587         Update ANGLE
2588         https://bugs.webkit.org/show_bug.cgi?id=197676
2589
2590         Reviewed by Alex Christensen.
2591
2592         Many changed files.  Updated to trunk ANGLE 565441b1078b.
2593
2594 2019-04-29  Alex Christensen  <achristensen@webkit.org>
2595
2596         <rdar://problem/50299396> Fix internal High Sierra build
2597         https://bugs.webkit.org/show_bug.cgi?id=197388
2598
2599         * Configurations/Base.xcconfig:
2600
2601 2019-04-25  Alex Christensen  <achristensen@webkit.org>
2602
2603         Start using C++17
2604         https://bugs.webkit.org/show_bug.cgi?id=197131
2605
2606         Reviewed by Darin Adler.
2607
2608         * Configurations/Base.xcconfig:
2609
2610 2019-03-22  Keith Rollin  <krollin@apple.com>
2611
2612         Enable ThinLTO support in Production builds
2613         https://bugs.webkit.org/show_bug.cgi?id=190758
2614         <rdar://problem/45413233>
2615
2616         Reviewed by Daniel Bates.
2617
2618         Enable building with Thin LTO in Production when using Xcode 10.2 or
2619         later. This change results in a 1.45% progression in PLT5. Full
2620         Production build times increase about 2-3%. Incremental build times
2621         are more severely affected, and so LTO is not enabled for local
2622         engineering builds.
2623
2624         LTO is enabled only on macOS for now, until rdar://problem/49013399,
2625         which affects ARM builds, is fixed.
2626
2627         To change the LTO setting when building locally:
2628
2629         - If building with `make`, specify WK_LTO_MODE={none,thin,full} on the
2630           command line.
2631         - If building with `build-webkit`, specify --lto-mode={none,thin,full}
2632           on the command line.
2633         - If building with `build-root`, specify --lto={none,thin,full} on the
2634           command line.
2635         - If building with Xcode, create a LocalOverrides.xcconfig file at the
2636           top level of your repository directory (if needed) and define
2637           WK_LTO_MODE to full, thin, or none.
2638
2639         * Configurations/Base.xcconfig:
2640
2641 2019-02-23  Keith Miller  <keith_miller@apple.com>
2642
2643         Add new mac target numbers
2644         https://bugs.webkit.org/show_bug.cgi?id=194955
2645
2646         Reviewed by Tim Horton.
2647
2648         * Configurations/Base.xcconfig:
2649         * Configurations/DebugRelease.xcconfig:
2650
2651 2019-02-20  Andy Estes  <aestes@apple.com>
2652
2653         [Xcode] Add SDKVariant.xcconfig to various Xcode projects
2654         https://bugs.webkit.org/show_bug.cgi?id=194869
2655
2656         Rubber-stamped by Jer Noble.
2657
2658         * ANGLE.xcodeproj/project.pbxproj:
2659
2660 2019-01-18  Jer Noble  <jer.noble@apple.com>
2661
2662         SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
2663         https://bugs.webkit.org/show_bug.cgi?id=189553
2664
2665         Reviewed by Tim Horton.
2666
2667         * Configurations/Base.xcconfig:
2668         * Configurations/SDKVariant.xcconfig: Added.
2669
2670 2019-01-17  Truitt Savell  <tsavell@apple.com>
2671
2672         Unreviewed, rolling out r240124.
2673
2674         This commit broke an internal build.
2675
2676         Reverted changeset:
2677
2678         "SDK_VARIANT build destinations should be separate from non-
2679         SDK_VARIANT builds"
2680         https://bugs.webkit.org/show_bug.cgi?id=189553
2681         https://trac.webkit.org/changeset/240124
2682
2683 2019-01-17  Jer Noble  <jer.noble@apple.com>
2684
2685         SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
2686         https://bugs.webkit.org/show_bug.cgi?id=189553
2687
2688         Reviewed by Tim Horton.
2689
2690         * Configurations/Base.xcconfig:
2691         * Configurations/SDKVariant.xcconfig: Added.
2692
2693 2019-01-15  David Kilzer  <ddkilzer@apple.com>
2694
2695         clang-tidy: Fix unnecessary copy of for loop variables in ANGLE
2696         <https://webkit.org/b/193443>
2697
2698         Reviewed by Alex Christensen.
2699
2700         Fix unwanted copying of loop variables by making them const
2701         references.
2702
2703         * src/compiler/preprocessor/MacroExpander.cpp:
2704         (pp::MacroExpander::ScopedMacroReenabler::~ScopedMacroReenabler):
2705         - Prevents copy and reference churn of std::shared_ptr<Macro>
2706           objects.
2707         * src/compiler/translator/Compiler.cpp:
2708         (sh::TCompiler::useAllMembersInUnusedStandardAndSharedBlocks):
2709         - Prevents copy of sh::InterfaceBlock structs.
2710         (sh::TCompiler::initializeOutputVariables):
2711         - Prevents copy of sh::Varying structs.
2712         * src/libANGLE/Program.cpp:
2713         (gl::(anonymous namespace)::IncludeSameArrayElement):
2714         - Prevents copy of std::string objects.
2715
2716 2018-10-03  Dan Bernstein  <mitz@apple.com>
2717
2718         ANGLE part of [Xcode] Update some build settings as recommended by Xcode 10
2719         https://bugs.webkit.org/show_bug.cgi?id=190250
2720
2721         Reviewed by Andy Estes.
2722
2723         * ANGLE.xcodeproj/project.pbxproj: Kept the unreachable code warning off for four files that
2724           were generated by tools: glslang_lex.cpp, glslang_tab.cpp, Tokenizer.cpp, and
2725           ExpressionParser.cpp. Let Xcode update LastUpgradeCheck.
2726
2727         * Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA, CLANG_WARN_INFINITE_RECURSION,
2728           CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS, CLANG_WARN_SUSPICIOUS_MOVE,
2729           CLANG_WARN_UNREACHABLE_CODE, CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF, and
2730           CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED.
2731
2732 2018-09-21  Adrian Perez de Castro  <aperez@igalia.com>
2733
2734         [GTK] ANGLE's eglplatform.h does not support Wayland-only builds
2735         https://bugs.webkit.org/show_bug.cgi?id=189844
2736
2737         Reviewed by Michael Catanzaro.
2738
2739         This makes it possible to build WebKitGTK+ after r225340 when the
2740         build is configured to support only Wayland, and the X11 headers
2741         are not present.
2742
2743         * changes.diff: Updated.
2744         * include/EGL/eglplatform.h: Include the X11 headers only when
2745         ANGLE_USE_X11 is defined and, for consistency with Mesa's version
2746         of the header, when MESA_EGL_NO_X11_HEADERS is not defined.
2747
2748 2018-08-29  David Kilzer  <ddkilzer@apple.com>
2749
2750         Remove empty directories from from svn.webkit.org repository
2751         <https://webkit.org/b/189081>
2752
2753         * src/angle.xcodeproj: Removed.
2754         * src/common/third_party/numerics: Removed.
2755
2756 2018-08-28  David Kilzer  <ddkilzer@apple.com>
2757
2758         Move PMurHash.{cpp,h} into 'src' folder to match path on disk
2759
2760         * ANGLE.xcodeproj/project.pbxproj:
2761         (src/common/third_party/smhasher/src): Add folder and move
2762         PMurHash.{cpp,h} into it.  This makes tidy-Xcode-project-file
2763         run smoothly when updating the ANGLE project.
2764
2765 2018-08-27  Keith Rollin  <krollin@apple.com>
2766
2767         Unreviewed build fix -- disable LTO for production builds
2768
2769         * Configurations/Base.xcconfig:
2770
2771 2018-08-27  Keith Rollin  <krollin@apple.com>
2772
2773         Build system support for LTO
2774         https://bugs.webkit.org/show_bug.cgi?id=187785
2775         <rdar://problem/42353132>
2776
2777         Reviewed by Dan Bernstein.
2778
2779         Update Base.xcconfig and DebugRelease.xcconfig to optionally enable
2780         LTO.
2781
2782         * Configurations/Base.xcconfig:
2783         * Configurations/DebugRelease.xcconfig:
2784
2785 2018-08-03  Alex Christensen  <achristensen@webkit.org>
2786
2787         Fix spelling of "overridden"
2788         https://bugs.webkit.org/show_bug.cgi?id=188315
2789
2790         Reviewed by Darin Adler.
2791
2792         * src/libANGLE/renderer/ProgramImpl.h:
2793
2794 2018-07-14  Kocsen Chung  <kocsen_chung@apple.com>
2795
2796         Ensure WebKit stack is ad-hoc signed
2797         https://bugs.webkit.org/show_bug.cgi?id=187667
2798
2799         Reviewed by Alexey Proskuryakov.
2800
2801         * Configurations/Base.xcconfig:
2802
2803 2018-07-04  Tim Horton  <timothy_horton@apple.com>
2804
2805         Introduce PLATFORM(IOSMAC)
2806         https://bugs.webkit.org/show_bug.cgi?id=187315
2807
2808         Reviewed by Dan Bernstein.
2809
2810         * Configurations/Base.xcconfig:
2811
2812 2018-06-09  Dan Bernstein  <mitz@apple.com>
2813
2814         [Xcode] Clean up and modernize some build setting definitions
2815         https://bugs.webkit.org/show_bug.cgi?id=186463
2816
2817         Reviewed by Sam Weinig.
2818
2819         * Configurations/Base.xcconfig: Removed definition for macOS 10.11.
2820         * Configurations/DebugRelease.xcconfig: Ditto.
2821
2822 2018-05-30  David Kilzer  <ddkilzer@apple.com>
2823
2824         ANGLE: Fix clang static analyzer issues in GetExecutablePath() and GetExecutableDirectory()
2825         <https://webkit.org/b/186106>
2826         <rdar://problem/40659179>
2827
2828         Reviewed by Alex Christensen.
2829
2830         * src/common/system_utils_linux.cpp:
2831         (angle::GetExecutablePath):
2832         (angle::GetExecutableDirectory):
2833         * src/common/system_utils_mac.cpp:
2834         (angle::GetExecutablePath):
2835         (angle::GetExecutableDirectory):
2836         * src/common/system_utils_win.cpp:
2837         (angle::GetExecutablePath):
2838         (angle::GetExecutableDirectory):
2839
2840 2018-05-22  Ryan Haddad  <ryanhaddad@apple.com>
2841
2842         Unreviewed, rolling out r232052.
2843
2844         Breaks internal builds.
2845
2846         Reverted changeset:
2847
2848         "Use more C++17"
2849         https://bugs.webkit.org/show_bug.cgi?id=185176
2850         https://trac.webkit.org/changeset/232052
2851
2852 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
2853
2854         Use more C++17
2855         https://bugs.webkit.org/show_bug.cgi?id=185176
2856
2857         Reviewed by JF Bastien.
2858
2859         * Configurations/Base.xcconfig:
2860
2861 2018-04-18  Jer Noble  <jer.noble@apple.com>
2862
2863         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
2864         https://bugs.webkit.org/show_bug.cgi?id=184762
2865
2866         Reviewed by Dan Bernstein.
2867
2868         * Configurations/Base.xcconfig:
2869
2870 2018-04-19  David Kilzer  <ddkilzer@apple.com>
2871
2872         Enable Objective-C weak references
2873         <https://webkit.org/b/184789>
2874         <rdar://problem/39571716>
2875
2876         Reviewed by Dan Bernstein.
2877
2878         * Configurations/Base.xcconfig:
2879         (CLANG_ENABLE_OBJC_WEAK): Enable.
2880
2881 2018-03-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2882
2883         REGRESSION(r225340): WPE port should not be getting EGL X11 types on ANGLE
2884         https://bugs.webkit.org/show_bug.cgi?id=183749
2885
2886         Reviewed by Alex Christensen.
2887
2888         Add back the USE_WPE ifdef.
2889
2890         * changes.diff:
2891         * include/EGL/eglplatform.h:
2892
2893 2018-03-15  Tim Horton  <timothy_horton@apple.com>
2894
2895         Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in ANGLE
2896         https://bugs.webkit.org/show_bug.cgi?id=183675
2897         <rdar://problem/38515281>
2898
2899         Reviewed by Dan Bernstein.
2900
2901         * ANGLE.xcodeproj/project.pbxproj:
2902         * Configurations/ANGLE.xcconfig:
2903         * Configurations/Base.xcconfig:
2904
2905 2018-01-27  Dan Bernstein  <mitz@apple.com>
2906
2907         HaveInternalSDK includes should be "#include?"
2908         https://bugs.webkit.org/show_bug.cgi?id=179670
2909
2910         * Configurations/Base.xcconfig:
2911
2912 2018-01-18  Dan Bernstein  <mitz@apple.com>
2913
2914         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
2915         https://bugs.webkit.org/show_bug.cgi?id=181803
2916
2917         Reviewed by Tim Horton.
2918
2919         * Configurations/Base.xcconfig: Updated.
2920         * Configurations/DebugRelease.xcconfig: Ditto.
2921
2922 2018-01-09  Dan Bernstein  <mitz@apple.com>
2923
2924         Removed some empty directories that were left behind
2925
2926         * src/third_party/murmurhash: Removed.
2927         * third_party: Removed.
2928         * third_party/deqp: Removed.
2929
2930 2017-12-14  David Kilzer  <ddkilzer@apple.com>
2931
2932         Enable -Wstrict-prototypes for WebKit
2933         <https://webkit.org/b/180757>
2934         <rdar://problem/36024132>
2935
2936         Rubber-stamped by Joseph Pecoraro.
2937
2938         * Configurations/Base.xcconfig:
2939         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
2940
2941 2017-12-06  Dean Jackson  <dino@apple.com>
2942
2943         Update ANGLE's changes.diff
2944         https://bugs.webkit.org/show_bug.cgi?id=180491
2945
2946         Reviewed by Antoine Quint.
2947
2948         Here is the list of things we've changed from the
2949         ANGLE commit that we merged in.
2950
2951         * changes.diff:
2952
2953 2017-12-06  Dean Jackson  <dino@apple.com>
2954
2955         Some iOS tests failing after ANGLE update
2956         https://bugs.webkit.org/show_bug.cgi?id=180487
2957         <rdar://problem/35885969>
2958
2959         Reviewed by Antoine Quint.
2960
2961         The iOS OpenGL compiler doesn't like function declarations with
2962         nameless array parameters. See:
2963         <rdar://problem/35885989> Nameless array parameters in function declaration cause compiler error
2964
2965         While that is being fixed, tell ANGLE's translator to not cull
2966         the names from parameters. This is not a bug in ANGLE, so we won't
2967         fix it upstream at the moment.
2968
2969         * src/compiler/translator/ParseContext.cpp:
2970         (sh::TParseContext::addFunctionPrototypeDeclaration):
2971
2972 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
2973
2974         Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings
2975         https://bugs.webkit.org/show_bug.cgi?id=180177
2976         <rdar://problem/35774734>
2977
2978         I'm not sure how this code was developed, as it seems to have been designed for GCC, but it
2979         does not use any of GCC's documented byte order macros, and accordingly does not work. Let's
2980         fix it to guarantee there are no problems when building with GCC. I presume it should help
2981         Clang as well.
2982
2983         This time, hopefully without breaking 32-bit macOS, where __BYTE_ORDER actually is defined.
2984
2985         * src/common/third_party/smhasher/src/PMurHash.cpp:
2986         (angle::PMurHash32_Process):
2987
2988 2017-12-01  Ryan Haddad  <ryanhaddad@apple.com>
2989
2990         Unreviewed, rolling out r225412.
2991
2992         Breaks 32-bit macOS builds.
2993
2994         Reverted changeset:
2995
2996         "Unreviewed, fix byte order macros and address new -Wunknown-
2997         pragmas warnings"
2998         https://bugs.webkit.org/show_bug.cgi?id=180177
2999         https://trac.webkit.org/changeset/225412
3000
3001 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
3002
3003         Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings
3004         https://bugs.webkit.org/show_bug.cgi?id=180177
3005         <rdar://problem/35774734>
3006
3007         I'm not sure how this code was developed, as it seems to have been designed for GCC, but it
3008         does not use any of GCC's documented byte order macros, and accordingly does not work. Let's
3009         fix it to guarantee there are no problems when building with GCC. I presume it should help
3010         Clang as well.
3011
3012         * src/common/third_party/smhasher/src/PMurHash.cpp:
3013         (angle::PMurHash32_Process):
3014
3015 2017-12-01  Tomoki Imai  <Tomoki.Imai@sony.com>
3016
3017         Fix WinCairo build break after r225340
3018         https://bugs.webkit.org/show_bug.cgi?id=180230
3019
3020         Unreviewed build fix.
3021
3022         * CMakeLists.txt: Add missing sources.
3023         * PlatformWin.cmake: Add missing sources.
3024
3025 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
3026
3027         Unreviewed, fix -Wunknown-pragmas warnings.
3028         https://bugs.webkit.org/show_bug.cgi?id=180177
3029
3030         It seems GCC has started to warn about unrecognized Clang pragmas. Oh well.
3031
3032         This is not sent upstream, because the Clang pragmas appear to be downstream WebKit
3033         additions. changes.diff is not updated, because it was not updated in yesterday's ANGLE
3034         update.
3035
3036         * include/GLSLANG/ShaderVars.h:
3037         * src/libANGLE/Platform.cpp:
3038
3039 2017-11-30  Alex Christensen  <achristensen@webkit.org>
3040
3041         Speculative WinCairo fix.
3042         https://bugs.webkit.org/show_bug.cgi?id=180177
3043
3044         * CMakeLists.txt:
3045         * PlatformWin.cmake:
3046
3047 2017-11-30  Ryan Haddad  <ryanhaddad@apple.com>
3048
3049         Unreviewed build fix, remove executable property from a header file.
3050
3051         * include/KHR/khrplatform.h: Removed property svn:executable.
3052
3053 2017-11-30  Dean Jackson  <dino@apple.com>
3054
3055         Update ANGLE
3056         https://bugs.webkit.org/show_bug.cgi?id=180177
3057         <rdar://problem/35774734>
3058
3059         Reviewed by Alex Christensen.
3060
3061         Huge list of changed files omitted.
3062
3063 2017-07-18  Andy Estes  <aestes@apple.com>
3064
3065         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
3066         https://bugs.webkit.org/show_bug.cgi?id=174631
3067
3068         Reviewed by Tim Horton.
3069
3070         * Configurations/Base.xcconfig:
3071
3072 2017-07-18  Andy Estes  <aestes@apple.com>
3073
3074         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
3075         https://bugs.webkit.org/show_bug.cgi?id=174631
3076
3077         Reviewed by Sam Weinig.
3078
3079         * Configurations/Base.xcconfig:
3080
3081 2017-07-18  Andy Estes  <aestes@apple.com>
3082
3083         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
3084         https://bugs.webkit.org/show_bug.cgi?id=174631
3085
3086         Reviewed by Dan Bernstein.
3087
3088         * Configurations/Base.xcconfig:
3089
3090 2017-07-18  Andy Estes  <aestes@apple.com>
3091
3092         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
3093         https://bugs.webkit.org/show_bug.cgi?id=174631
3094
3095         Reviewed by Darin Adler.
3096
3097         * Configurations/Base.xcconfig:
3098
3099 2017-07-13  Adrian Perez de Castro  <aperez@igalia.com>
3100
3101         eglplatform.h does not support Wayland
3102         https://bugs.webkit.org/show_bug.cgi?id=163482
3103
3104         This makes it possible to build WebKitGTK+ when the target system has only Wayland support,
3105         but no X11 (and therefore the X11 headers are not present).
3106
3107         Reviewed by Alex Christensen.
3108
3109         * include/EGL/eglplatform.h: Add Wayland typedefs when WL_EGL_PLATFORM is defined (for example
3110         by including wayland-egl.h before including EGL/egl.h). Also, include the X11 headers only
3111         when ANGLE_USE_X11 is defined and, for consistency with Mesa's version of the header, when
3112         MESA_EGL_NO_X11_HEADERS is not defined.
3113
3114 2017-07-03  Andy Estes  <aestes@apple.com>
3115
3116         [Xcode] Add an experimental setting to build with ccache
3117         https://bugs.webkit.org/show_bug.cgi?id=173875
3118
3119         Reviewed by Tim Horton.
3120
3121         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
3122
3123 2017-07-01  Dan Bernstein  <mitz@apple.com>
3124
3125         [macOS] Remove code only needed when building for OS X Yosemite
3126         https://bugs.webkit.org/show_bug.cgi?id=174067
3127
3128         Reviewed by Tim Horton.
3129
3130         * Configurations/Base.xcconfig:
3131         * Configurations/DebugRelease.xcconfig:
3132
3133 2017-06-10  Dan Bernstein  <mitz@apple.com>
3134
3135         Reverted r218056 because it made the IDE reindex constantly.
3136
3137         * Configurations/DebugRelease.xcconfig:
3138
3139 2017-06-10  Dan Bernstein  <mitz@apple.com>
3140
3141         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
3142         https://bugs.webkit.org/show_bug.cgi?id=173223
3143
3144         Reviewed by Sam Weinig.
3145
3146         The rebuilds were happening due to a difference in the compiler options that the IDE and
3147         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
3148         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
3149         specify an appropriate path in CLANG_INDEX_STORE_PATH.
3150
3151         * Configurations/DebugRelease.xcconfig:
3152
3153 2017-05-28  Dan Bernstein  <mitz@apple.com>
3154
3155         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
3156         https://bugs.webkit.org/show_bug.cgi?id=172691
3157
3158         Reviewed by Tim Horton.
3159
3160         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
3161
3162 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
3163
3164         Upstream the WPE port
3165         https://bugs.webkit.org/show_bug.cgi?id=171110
3166
3167         Reviewed by Alex Christensen.
3168
3169         * include/EGL/eglplatform.h:
3170         Allow building WPE on platforms that don't provide X11 libraries.
3171
3172 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
3173
3174         [Win] Remove redundant macros that are set in the CMake config
3175         https://bugs.webkit.org/show_bug.cgi?id=171571
3176
3177         Reviewed by Brent Fulgham.
3178
3179         * CMakeLists.txt:
3180
3181 2017-04-20  Konstantin Tokarev  <annulen@yandex.ru>
3182
3183         [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
3184         https://bugs.webkit.org/show_bug.cgi?id=171071
3185
3186         Reviewed by Michael Catanzaro.
3187
3188         "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
3189         build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
3190         be available for all ports.
3191
3192         * CMakeLists.txt:
3193
3194 2017-04-20  Fujii Hironori  <Hironori.Fujii@sony.com>
3195
3196         [WinCairo] Fix build break after updating ANGLE
3197         https://bugs.webkit.org/show_bug.cgi?id=170980
3198
3199         Reviewed by Brent Fulgham.
3200
3201         * CMakeLists.txt: Added some new source files.
3202         * PlatformMac.cmake: Ditto.
3203         * PlatformWin.cmake: Ditto. Remove a macro 'ANGLE_WEBKIT_WIN'
3204         because SoftLinking is not used anymore.
3205         * src/third_party/systeminfo/: Restored.
3206
3207 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
3208
3209         Remove executable property from a header file.
3210
3211         * include/KHR/khrplatform.h: Removed property svn:executable.
3212
3213 2017-04-18  Dean Jackson  <dino@apple.com>
3214
3215         Add the actual content to the files, now that
3216         SVN knows they can have tabs.
3217
3218         * src/third_party/murmurhash/MurmurHash3.cpp:
3219         * src/third_party/murmurhash/MurmurHash3.h:
3220
3221 2017-04-18  Dean Jackson  <dino@apple.com>
3222
3223         WinCairo needs these files I recently removed
3224         from our copy of ANGLE.
3225
3226         * src/third_party/murmurhash/LICENSE: Added.
3227         * src/third_party/murmurhash/MurmurHash3.cpp: Added.
3228         * src/third_party/murmurhash/MurmurHash3.h: Added.
3229
3230 2017-04-18  Dean Jackson  <dino@apple.com>
3231
3232         Still trying to fix Windows.
3233
3234         * PlatformWin.cmake:
3235
3236 2017-04-18  Dean Jackson  <dino@apple.com>
3237
3238         Attempt to fix the Windows build.
3239
3240         * PlatformWin.cmake:
3241
3242 2017-04-18  Dean Jackson  <dino@apple.com>
3243
3244         Update ANGLE
3245         https://bugs.webkit.org/show_bug.cgi?id=170941
3246         <rdar://problem/31633999>
3247
3248         Reviewed by Alex Christensen.
3249
3250         Huge list of changed files omitted.
3251
3252 2017-04-12  Dan Bernstein  <mitz@apple.com>
3253
3254         [Mac] Future-proof .xcconfig files
3255         https://bugs.webkit.org/show_bug.cgi?id=170802
3256
3257         Reviewed by Tim Horton.
3258
3259         * Configurations/Base.xcconfig:
3260         * Configurations/DebugRelease.xcconfig:
3261
3262 2016-12-20  Tim Horton  <timothy_horton@apple.com>
3263
3264         Remove an ANGLE Markdown file from the ANGLE target
3265         https://bugs.webkit.org/show_bug.cgi?id=166279
3266
3267         Reviewed by Alex Christensen.
3268
3269         * ANGLE.xcodeproj/project.pbxproj:
3270         We don't need to build this, it's not source code.
3271
3272 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
3273
3274         Sort Xcode project files
3275         https://bugs.webkit.org/show_bug.cgi?id=165937
3276
3277         Reviewed by Simon Fraser.
3278
3279         * ANGLE.xcodeproj/project.pbxproj:
3280
3281 2016-12-15  Alex Christensen  <achristensen@webkit.org>
3282
3283         Fix Windows WebGL build after r209832
3284
3285         * CMakeLists.txt:
3286         * include/EGL/egl.h:
3287         * include/GLES2/gl2.h:
3288
3289 2016-12-14  Alex Christensen  <achristensen@webkit.org>
3290
3291         Progress towards using ANGLE to do WebGL rendering
3292         https://bugs.webkit.org/show_bug.cgi?id=165864
3293
3294         Reviewed by Dean Jackson.
3295
3296         * ANGLE.xcodeproj/project.pbxproj:
3297         Compile more files, and add some more "public" headers.
3298         ANGLE is not a public framework, so these headers just go in 
3299         WebKitBuild/Release/usr/local/include/ANGLE to be included when compiling WebCore.
3300         * ANGLE/egl.h: Added.
3301         * ANGLE/eglext.h: Added.
3302         * ANGLE/eglplatform.h: Added.
3303         * ANGLE/entry_points_gles_2_0.h: Added.
3304         * ANGLE/entry_points_gles_2_0_ext.h: Added.
3305         * ANGLE/entry_points_gles_3_0.h: Added.
3306         * ANGLE/export.h: Added.
3307         * ANGLE/gl2.h: Added.
3308         * ANGLE/gl2ext.h: Added.
3309         * ANGLE/gl2platform.h: Added.
3310         * ANGLE/gl3.h: Added.
3311         * ANGLE/gl31.h: Added.
3312         * ANGLE/gl3platform.h: Added.
3313         * ANGLE/khrplatform.h: Added.
3314         Add more forwarding headers.  There are already a few, but we need more.
3315         * CMakeLists.txt:
3316         * PlatformMac.cmake:
3317         Make the frameworks linked to by ANGLE be private so frameworks that link with 
3318         ANGLE don't automatically link with them. This allows me to switch ANGLE from a 
3319         static library to a dynamic library to make sure WebCore isn't directly using OpenGL.
3320         * PlatformWin.cmake:
3321         Move HLSL-specific files to only be built on Windows.
3322         * include/EGL/egl.h:
3323         * include/EGL/eglplatform.h:
3324         * include/GLES2/gl2.h:
3325         * include/GLES2/gl2platform.h:
3326         * include/GLES3/gl3.h:
3327         * include/GLES3/gl31.h:
3328         * include/GLES3/gl32.h:
3329         * include/GLES3/gl3platform.h:
3330         * src/libGLESv2/entry_points_egl.h:
3331         * src/libGLESv2/entry_points_egl_ext.h:
3332         * src/libGLESv2/entry_points_gles_2_0.h:
3333         * src/libGLESv2/entry_points_gles_2_0_ext.h:
3334         * src/libGLESv2/entry_points_gles_3_0.h:
3335         * src/libGLESv2/entry_points_gles_3_1.h:
3336         Include ANGLE headers as #include <ANGLE/*> instead of #include <KHR/*> or #include <GLES/*>
3337         This is needed to distinguish the ANGLE headers from any system OpenGL/OpenGLES headers.
3338         We will eventually only include ANGLE's entry_points_*.h directly from WebCore.
3339
3340 2016-12-07  Alex Christensen  <achristensen@webkit.org>
3341
3342         Build more of ANGLE on Mac and Windows
3343         https://bugs.webkit.org/show_bug.cgi?id=165543
3344
3345         Reviewed by Dean Jackson.
3346
3347         We will need to compile these files to use ANGLE's GLESv2 implementation instead of 
3348         using OpenGL directly. No functional change.
3349
3350         * ANGLE.xcodeproj/project.pbxproj:
3351         * CMakeLists.txt:
3352         Move platform-specific files to Platform*.cmake.
3353         * PlatformMac.cmake: Added.
3354         * PlatformWin.cmake: Added.
3355         * src/libANGLE/renderer/Format.cpp:
3356         * src/libANGLE/renderer/Format_autogen.cpp:
3357         (angle::Format::Get):
3358         * src/libANGLE/renderer/gl/PathGL.cpp:
3359         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.h:
3360         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
3361         Rename SwapLayer to WebSwapLayer.  Otherwise, WebCore complains about improperly named ObjC classes.
3362         Since this is the only one, let's just rename it instead of adding an exception.
3363         (rx::WindowSurfaceCGL::initialize):
3364         (-[SwapLayer initWithSharedState:withContext:withFunctions:]): Deleted.
3365         * src/libANGLE/renderer/gl/formatutilsgl.cpp:
3366         (rx::nativegl::GetInternalFormatMap):
3367         (rx::nativegl::GetInternalFormatInfo):
3368         * src/libANGLE/renderer/renderer_utils.cpp:
3369         (rx::GetColorWriteFunction):
3370         * src/libGLESv2/entry_points_egl.cpp:
3371         (egl::GetProcAddress):
3372
3373 2016-12-06  Alexey Proskuryakov  <ap@apple.com>
3374
3375         Correct SDKROOT values in xcconfig files
3376         https://bugs.webkit.org/show_bug.cgi?id=165487
3377         rdar://problem/29539209
3378
3379         Reviewed by Dan Bernstein.
3380
3381         Fix suggested by Dan Bernstein.
3382
3383         * Configurations/DebugRelease.xcconfig:
3384
3385 2016-10-30  Michael Catanzaro  <mcatanzaro@igalia.com>
3386
3387         -Wpragmas warning spam from angleutils.h
3388         https://bugs.webkit.org/show_bug.cgi?id=164207
3389
3390         Reviewed by Darin Adler.
3391
3392         Use #pragma clang instead of #pragma GCC since all of the warnings we need to suppress are
3393         Clang-specific warnings. GCC ignores unknown pragmas and does not warn, but it does warn if
3394         any GCC pragma is invalid.
3395
3396         Note that this might still be broken for MSVCC, as MSVCC warns when it sees unknown pragmas.
3397
3398         * changes.diff:
3399         * src/common/angleutils.cpp:
3400         (FormatString):
3401         * src/common/angleutils.h:
3402         (MakeStaticString):
3403         * src/common/debug.cpp:
3404         * src/common/mathutil.cpp:
3405         * src/libANGLE/Caps.cpp:
3406         (gl::TextureCapsMap::get):
3407         (gl::GetExtensionInfoMap):
3408         * src/libANGLE/Device.cpp:
3409         (egl::GetDeviceSet):
3410         * src/libANGLE/Display.cpp:
3411         (egl::Display::getClientExtensionString):
3412         * src/libANGLE/formatutils.cpp:
3413         (gl::GetInternalFormatMap):
3414         (gl::GetAllSizedInternalFormats):
3415         * src/libANGLE/validationES3.cpp:
3416         (gl::IsValidES3CopyTexImageCombination):
3417
3418 2016-10-28  Alex Christensen  <achristensen@webkit.org>
3419
3420         Another build fix.
3421
3422         * CMakeLists.txt:
3423
3424 2016-10-28  Alex Christensen  <achristensen@webkit.org>
3425
3426         Fix Windows WebGL build after r208036
3427         https://bugs.webkit.org/show_bug.cgi?id=164101
3428
3429         * CMakeLists.txt:
3430
3431 2016-10-27  Alex Christensen  <achristensen@webkit.org>
3432
3433         Fix Windows WebGL build after r208036
3434         https://bugs.webkit.org/show_bug.cgi?id=164101
3435
3436         * CMakeLists.txt:
3437         Add new files, remove deleted files.
3438
3439 2016-10-27  Alex Christensen  <achristensen@webkit.org>
3440
3441         Update ANGLE
3442         https://bugs.webkit.org/show_bug.cgi?id=164101
3443
3444         Reviewed by Darin Adler.
3445
3446         Updated to f01731530e7f754e5ebaf32d00f3e23b62376424
3447         Differences between upstream ANGLE and WebKit's copy of ANGLE are in changes.diff
3448
3449 2016-10-24  Alex Christensen  <achristensen@webkit.org>
3450
3451         Remove unused ANGLE.vcxproj after switching to CMake on Windows
3452
3453         * ANGLE.vcxproj: Removed.
3454         * ANGLE.vcxproj/ANGLERelease.props: Removed.
3455         * ANGLE.vcxproj/DirectX32.props: Removed.
3456         * ANGLE.vcxproj/DirectX64.props: Removed.
3457         * ANGLE.vcxproj/libEGL.vcxproj: Removed.
3458         * ANGLE.vcxproj/libEGL.vcxproj.filters: Removed.
3459         * ANGLE.vcxproj/libEGLCommon.props: Removed.
3460         * ANGLE.vcxproj/libGLESv2.vcxproj: Removed.
3461         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Removed.
3462         * ANGLE.vcxproj/libGLESv2Common.props: Removed.
3463         * ANGLE.vcxproj/preprocessor.vcxproj: Removed.
3464         * ANGLE.vcxproj/preprocessor.vcxproj.filters: Removed.
3465         * ANGLE.vcxproj/translatorCommon.props: Removed.
3466         * ANGLE.vcxproj/translator_common.vcxproj: Removed.
3467         * ANGLE.vcxproj/translator_common.vcxproj.filters: Removed.
3468         * ANGLE.vcxproj/translator_glsl.vcxproj: Removed.
3469         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Removed.
3470         * ANGLE.vcxproj/translator_hlsl.vcxproj: Removed.
3471         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Removed.
3472
3473 2016-09-09  Dean Jackson  <dino@apple.com>
3474
3475         [ANGLE] instantiation of variable 'gl::GLTypeToGLenum<float>::value' required here, but no definition is available
3476         https://bugs.webkit.org/show_bug.cgi?id=161829
3477         <rdar://problem/28051244>
3478
3479         Reviewed by Alex Christensen.
3480
3481         Newer versions of clang require explicit definition of some template types
3482         if they are in another translation unit.
3483
3484         * src/libANGLE/Program.cpp: Add definitions for GLTypeToGLenum.
3485
3486 2016-07-29  David Kilzer  <ddkilzer@apple.com>
3487
3488         ANGLE: Fix global constructors and exit-time destructors
3489         <https://webkit.org/b/160332>
3490
3491         Reviewed by Darin Adler.
3492
3493         * Configurations/Base.xcconfig:
3494         - Add warning flags.
3495
3496         * src/common/angleutils.cpp:
3497         (FormatString):
3498         * src/common/angleutils.h:
3499         (MakeStaticString):
3500         * src/common/debug.cpp:
3501         * src/common/mathutil.cpp:
3502         (gl::g_sharedexp_max):
3503         (gl::convertRGBFloatsTo999E5):
3504         * src/compiler/translator/ShaderLang.cpp:
3505         (ShGetUniformRegisterMap):
3506         * src/libANGLE/Caps.cpp:
3507         (gl::TextureCapsMap::get):
3508         * src/libANGLE/Device.cpp:
3509         (egl::GetDeviceSet):
3510         * src/libANGLE/Display.cpp:
3511         (egl::Display::getClientExtensionString):
3512         * src/libANGLE/formatutils.cpp:
3513         (gl::BuildFormatMap):
3514         (gl::BuildInternalFormatInfoMap):
3515         (gl::GetInternalFormatMap):
3516         (gl::BuildAllSizedInternalFormatSet):
3517         (gl::GetSizedInternalFormat):
3518         (gl::GetAllSizedInternalFormats):
3519         * src/libANGLE/validationES3.cpp:
3520         (gl::BuildES3FormatSet):
3521         (gl::ValidateTexImageFormatCombination):
3522         (gl::BuildSizedEffectiveInternalFormatList):
3523         (gl::BuildUnsizedEffectiveInternalFormatList):
3524         (gl::GetEffectiveInternalFormat):
3525         (gl::BuildValidES3CopyTexImageCombinations):
3526         (gl::IsValidES3CopyTexImageCombination):
3527         - Fix global constructors and exit-time destructors.
3528
3529 2016-07-13  Enrica Casucci  <enrica@apple.com>
3530
3531         Update supported platforms in xcconfig files to match the sdk names.
3532         https://bugs.webkit.org/show_bug.cgi?id=159728
3533
3534         Reviewed by Tim Horton.
3535
3536         * Configurations/Base.xcconfig:
3537
3538 2016-05-24  Alex Christensen  <achristensen@webkit.org>
3539
3540         Fix iOS WebGL after r199738
3541         https://bugs.webkit.org/show_bug.cgi?id=158024
3542         rdar://problem/26446679
3543
3544         Reviewed by Myles Maxfield.
3545
3546         * ANGLE.xcodeproj/project.pbxproj:
3547         iOS needs the ESSL translator.
3548
3549 2016-05-22  Brady Eidson  <beidson@apple.com>
3550
3551         Move to C++14.
3552         https://bugs.webkit.org/show_bug.cgi?id=157948
3553
3554         Reviewed by Michael Catanzaro.
3555
3556         * Configurations/Base.xcconfig:
3557
3558 2016-04-26  Per Arne Vollan  <peavo@outlook.com>
3559
3560         [WinCairo][ANGLE] Display object is not created.
3561         https://bugs.webkit.org/show_bug.cgi?id=157042
3562
3563         Reviewed by Alex Christensen.
3564
3565         The CreateDisplayFromAttribs function will not create a DisplayD3D object when the requested
3566         type is EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE, because ANGLE_ENABLE_OPENGL is not defined.
3567         We should be able to create a DisplayD3D object without defining ANGLE_ENABLE_OPENGL.
3568
3569         * src/libANGLE/Display.cpp:
3570
3571 2016-04-26  Per Arne Vollan  <peavo@outlook.com>
3572
3573         [WinCairo][WebGL] Enable ESSL and GLSL translators.
3574         https://bugs.webkit.org/show_bug.cgi?id=157002
3575
3576         Reviewed by Darin Adler.
3577
3578         Enable support for ESSL and GLSL translators, and add missing files.
3579
3580         * CMakeLists.txt:
3581
3582 2016-04-22  Joonghun Park  <jh718.park@samsung.com>
3583
3584         [ANGLE] Remove deprecated auto_ptr warning. Unreviewed.
3585         https://bugs.webkit.org/show_bug.cgi?id=156894
3586
3587         * src/compiler/preprocessor/MacroExpander.h: Use std::unique_ptr instead of std::auto_ptr.
3588
3589 2016-04-19  Alex Christensen  <achristensen@webkit.org>
3590
3591         Build fix after r199738
3592
3593         * CMakeLists.txt:
3594
3595 2016-04-19  Alex Christensen  <achristensen@webkit.org>
3596
3597         Build fix after r199738
3598
3599         * CMakeLists.txt:
3600
3601 2016-04-19  Alex Christensen  <achristensen@webkit.org>
3602
3603         Build fix.
3604
3605         * src/compiler/translator/Intermediate.h: Added.
3606         (TIntermediate::TIntermediate):
3607         * src/compiler/translator/intermediate.h: Removed.
3608         Changed case of Intermediate.h file name for case sensitive file systems.
3609
3610 2016-04-19  Alex Christensen  <achristensen@webkit.org>
3611
3612         Update ANGLE
3613         https://bugs.webkit.org/show_bug.cgi?id=156755
3614
3615         Reviewed by Dean Jackson.
3616
3617         Huge list of changed files omitted.
3618
3619 2016-04-12  Alex Christensen  <achristensen@webkit.org>
3620
3621         Remove failing assertion in ANGLE
3622         https://bugs.webkit.org/show_bug.cgi?id=156485
3623
3624         Reviewed by Dean Jackson.
3625
3626         * src/compiler/translator/glslang.l:
3627         * src/compiler/translator/glslang_lex.cpp:
3628
3629 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
3630
3631         [CMake] Make FOLDER property INHERITED
3632         https://bugs.webkit.org/show_bug.cgi?id=156460
3633
3634         Reviewed by Brent Fulgham.
3635
3636         * CMakeLists.txt:
3637         Set FOLDER property as a directory property not a target property
3638
3639 2016-03-22  Alberto Garcia  <berto@igalia.com>
3640
3641         Unreviewed typo fix.
3642
3643         * src/compiler/translator/InfoSink.cpp:
3644         (TInfoSinkBase::prefix): "UNKOWN" => "UNKOWN".
3645
3646 2016-03-20  Dan Bernstein  <mitz@apple.com>
3647
3648         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
3649         https://bugs.webkit.org/show_bug.cgi?id=155707
3650         <rdar://problem/24980691>
3651
3652         Reviewed by Darin Adler.
3653
3654         * Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR based on the last
3655           component of MACOSX_DEPLOYMENT_TARGET.
3656         * Configurations/DebugRelease.xcconfig: For engineering builds, preserve the behavior of
3657           TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
3658
3659 2016-03-20  Dan Bernstein  <mitz@apple.com>
3660
3661         Update build settings
3662
3663         Rubber-stamped by Andy Estes.
3664
3665         * Configurations/DebugRelease.xcconfig:
3666
3667 2016-02-23  Dan Bernstein  <mitz@apple.com>
3668
3669         [Xcode] Linker errors display mangled names, but no longer should
3670         https://bugs.webkit.org/show_bug.cgi?id=154632
3671
3672         Reviewed by Sam Weinig.
3673
3674         * Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
3675
3676 2016-01-08  Brent Fulgham  <bfulgham@apple.com>
3677
3678         [ANGLE] Correct UNREACHABLE runtime assertion for void constructors
3679         https://bugs.webkit.org/show_bug.cgi?id=152900
3680         <rdar://problem/24107501>
3681
3682         Reviewed by Alex Christensen.
3683
3684         Tested by Khronos WebGL 1.0.4 suite.
3685
3686         Merge a small part of ANGLE upstream commit r284735:
3687         
3688             commit    01971113492d9aca386f2bca021b1f4b134fc277
3689             author    Dmitry Skiba <dskiba@google.com>  Fri Jul 10 18:54:00 2015
3690             committer Jamie Madill <jmadill@chromium.org>  Fri Jul 10 19:03:34 2015
3691             tree      47e42eac00f7d64cddb14b3cc21a4e605c189d20
3692
3693         This issue was found by <https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/bugs/angle-constructor-invalid-parameters.html?webglVersion=1&quiet=0>
3694
3695         * src/compiler/translator/Types.cpp:
3696         (TType::buildMangledName): Don't assert with UNREACHABLE here.
3697
3698 2015-12-28  Joonghun Park  <jh718.park@samsung.com>
3699
3700         [ANGLE][EFL][GTK] Remove 'template<class> class std::auto_ptr is deprecated' compile warning
3701         https://bugs.webkit.org/show_bug.cgi?id=152567
3702
3703         Reviewed by Alex Christensen.
3704
3705         Because auto_ptr is deprecated as of C++11, we should use unique_ptr instead.
3706
3707         * src/compiler/preprocessor/MacroExpander.h:
3708
3709 2015-12-19  Dan Bernstein  <mitz@apple.com>
3710
3711         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
3712         https://bugs.webkit.org/show_bug.cgi?id=152462
3713
3714         Reviewed by Alexey Proskuryakov.
3715
3716         * Configurations/DebugRelease.xcconfig: Removed definitions of MACOSX_DEPLOYMENT_TARGET for
3717           OS X 10.8 and 10.9.
3718
3719 2015-12-03  Anders Carlsson  <andersca@apple.com>
3720
3721         Remove Objective-C GC support
3722         https://bugs.webkit.org/show_bug.cgi?id=151819
3723         rdar://problem/23746991
3724
3725         Reviewed by Dan Bernstein.
3726
3727         * Configurations/Base.xcconfig:
3728
3729 2015-11-30  Dana Burkart  <dburkart@apple.com>
3730
3731         Remove Mountain Lion support from ANGLE
3732         https://bugs.webkit.org/show_bug.cgi?id=151679
3733
3734         Reviewed by Darin Adler.
3735
3736         * Configurations/Base.xcconfig:
3737
3738 2015-11-02  Andy Estes  <aestes@apple.com>
3739
3740         [Cocoa] Add tvOS and watchOS to SUPPORTED_PLATFORMS
3741         https://bugs.webkit.org/show_bug.cgi?id=150819
3742
3743         Reviewed by Dan Bernstein.
3744
3745         This tells Xcode to include these platforms in its Devices dropdown, making it possible to build in the IDE.
3746
3747         * Configurations/Base.xcconfig:
3748
3749 2015-10-10  Dan Bernstein  <mitz@apple.com>
3750
3751         [iOS] Remove project support for iOS 8
3752         https://bugs.webkit.org/show_bug.cgi?id=149993
3753
3754         Reviewed by Alexey Proskuryakov.
3755
3756         * Configurations/ANGLE.xcconfig:
3757         * Configurations/Base.xcconfig:
3758
3759 2015-08-20  Alex Christensen  <achristensen@webkit.org>
3760
3761         Clean up CMake build after r188673
3762         https://bugs.webkit.org/show_bug.cgi?id=148234
3763
3764         Reviewed by Tim Horton.
3765
3766         * CMakeLists.txt:
3767         Copy headers to forwarding headers.
3768
3769 2015-08-11  Brent Fulgham  <bfulgham@apple.com>
3770
3771         [Win] Switch Windows build to Visual Studio 2015
3772         https://bugs.webkit.org/show_bug.cgi?id=147887
3773         <rdar://problem/22235098>
3774
3775         Reviewed by Alex Christensen.
3776
3777         Update Visual Studio project file settings to use the current Visual
3778         Studio and compiler. Continue targeting binaries to run on our minimum
3779         supported configuration of Windows 7.
3780
3781         * ANGLE.vcxproj/libEGL.vcxproj:
3782         * ANGLE.vcxproj/libGLESv2.vcxproj:
3783         * ANGLE.vcxproj/preprocessor.vcxproj:
3784         * ANGLE.vcxproj/translator_common.vcxproj:
3785         * ANGLE.vcxproj/translator_glsl.vcxproj:
3786         * ANGLE.vcxproj/translator_hlsl.vcxproj:
3787
3788 2015-08-04  Alex Christensen  <achristensen@webkit.org>
3789
3790         Build fix after r187928.
3791
3792         * CMakeLists.txt:
3793         Typo. Set libGLESv2 compile definitions instead of libEGL, which are set separately.
3794
3795 2015-08-04  Alex Christensen  <achristensen@webkit.org>
3796
3797         Soft link libGLESv2 and libEGL on Windows again
3798         https://bugs.webkit.org/show_bug.cgi?id=147671
3799
3800         Reviewed by Dean Jackson.
3801
3802         * CMakeLists.txt:
3803         Clean up some warnings when compiling with CMake.
3804         * include/EGL/egl.h:
3805         * include/EGL/eglsoftlinking.h:
3806         * include/GLES2/gl2.h:
3807         Soft link egl optionally.
3808
3809 2015-08-04  Alex Christensen  <achristensen@webkit.org>
3810
3811         Enable WebGL on Windows CMake build.
3812         https://bugs.webkit.org/show_bug.cgi?id=143311
3813
3814         Reviewed by Csaba Osztrogonác.
3815
3816         * CMakeLists.txt: Added.
3817
3818 2015-07-03  Dan Bernstein  <mitz@apple.com>
3819
3820         [Xcode] Update some build settings as recommended by Xcode 7
3821         https://bugs.webkit.org/show_bug.cgi?id=146597
3822
3823         Reviewed by Sam Weinig.
3824
3825         * ANGLE.xcodeproj/project.pbxproj: Enabled CLANG_WARN_BOOL_CONVERSION,
3826         CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, ENABLE_STRICT_OBJC_MSGSEND and
3827         GCC_NO_COMMON_BLOCKS.
3828
3829         * Configurations/Base.xcconfig: Updated LastUpgradeCheck.
3830
3831 2015-07-03  Per Arne Vollan  <peavo@outlook.com>
3832
3833         [WinCairo][WebGL] Enable HLSL.
3834         https://bugs.webkit.org/show_bug.cgi?id=146559
3835
3836         Reviewed by Alex Christensen.
3837
3838         High Level Shader Language needs to be enabled for WebGL to work on Windows.
3839
3840         * ANGLE.vcxproj/translatorCommon.props:
3841         * ANGLE.vcxproj/translator_hlsl.vcxproj:
3842         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
3843
3844 2015-07-01  Alex Christensen  <achristensen@webkit.org>
3845
3846         Re-enable WebGL on WinCairo
3847         https://bugs.webkit.org/show_bug.cgi?id=146537
3848
3849         Reviewed by Csaba Osztrogonác.
3850
3851         * ANGLE.vcxproj/DirectX32.props:
3852         * ANGLE.vcxproj/DirectX64.props:
3853         * ANGLE.vcxproj/libGLESv2Common.props:
3854         Update DirectX directories to use the Windows SDK instead of the June 2010 DirectX SDK.
3855
3856 2015-07-01  Alex Christensen  <achristensen@webkit.org>
3857
3858         Fix ANGLE Windows build after r186169.
3859         https://bugs.webkit.org/show_bug.cgi?id=146532
3860
3861         Reviewed by Brent Fulgham.
3862
3863         * ANGLE.vcxproj/libEGL.vcxproj:
3864         * ANGLE.vcxproj/libEGL.vcxproj.filters:
3865         * ANGLE.vcxproj/libGLESv2.vcxproj:
3866         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
3867         * ANGLE.vcxproj/libGLESv2Common.props:
3868         * ANGLE.vcxproj/translator_common.vcxproj:
3869         * ANGLE.vcxproj/translator_common.vcxproj.filters:
3870         * ANGLE.vcxproj/translator_glsl.vcxproj:
3871         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
3872         * ANGLE.vcxproj/translator_hlsl.vcxproj:
3873         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
3874         Update Windows build to build new files.
3875
3876 2015-06-30  Alex Christensen  <achristensen@webkit.org>
3877
3878         Update ANGLE to b11e2483742db884bd0af41f78f528240577356b.
3879         https://bugs.webkit.org/show_bug.cgi?id=145010
3880
3881         Reviewed by Dean Jackson.
3882
3883         Huge list of source changes omitted.
3884         ROLL DEPS!
3885
3886 2015-05-26  Dan Bernstein  <mitz@apple.com>
3887
3888         <rdar://problem/21104551> Update build settings
3889
3890         Reviewed by Anders Carlsson.
3891
3892         * Configurations/Base.xcconfig:
3893         * Configurations/DebugRelease.xcconfig:
3894
3895 2015-05-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3896
3897         REGRESSION(r181571): Build broken when USE(OPENGL_ES_2) is defined.
3898         https://bugs.webkit.org/show_bug.cgi?id=145156
3899
3900         Reviewed by Alex Christensen.
3901
3902         * include/GLES2/gl2softlinking.h: Revert r181589. Vertex Array Objects are not in GLESv2.
3903
3904 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
3905
3906         [Win] Move Windows build target to Windows 7 (or newer)
3907         https://bugs.webkit.org/show_bug.cgi?id=144890
3908         <rdar://problem/20707307>
3909
3910         Reviewed by Anders Carlsson.
3911
3912         Update linked SDK and minimal Windows level to be compatible with
3913         Windows 7 or newer.
3914
3915         * ANGLE.vcxproj/libEGL.vcxproj:
3916         * ANGLE.vcxproj/libGLESv2.vcxproj:
3917         * ANGLE.vcxproj/preprocessor.vcxproj:
3918         * ANGLE.vcxproj/translator_common.vcxproj:
3919         * ANGLE.vcxproj/translator_glsl.vcxproj:
3920         * ANGLE.vcxproj/translator_hlsl.vcxproj:
3921
3922 2015-05-07  Dan Bernstein  <mitz@apple.com>
3923
3924         <rdar://problem/19317140> [Xcode] Remove usage of AspenFamily.xcconfig in Source/
3925         https://bugs.webkit.org/show_bug.cgi?id=144727
3926
3927         Reviewed by Darin Adler.
3928
3929         * Configurations/Base.xcconfig: Don’t include AspenFamily.xcconfig, and define
3930         INSTALL_PATH_PREFIX and LD_DYLIB_INSTALL_NAME for the iOS 8.x Simulator.
3931
3932 2015-04-01  Alex Christensen  <achristensen@webkit.org>
3933
3934         Progress towards CMake on Windows and Mac.
3935         https://bugs.webkit.org/show_bug.cgi?id=143293
3936
3937         Reviewed by Filip Pizlo.
3938
3939         * include/GLES2/gl2.h:
3940         Temporarily disabled WebGL on Windows CMake builds.
3941
3942 2015-03-17  Zan Dobersek  <zdobersek@igalia.com>
3943
3944         [CMake] Use a forwarding header for ANGLE's ShaderLang.h to avoid picking up ANGLE's EGL headers
3945         https://bugs.webkit.org/show_bug.cgi?id=142530
3946
3947         Reviewed by Darin Adler.
3948
3949         * ANGLE/ShaderLang.h: Added. Includes include/GLSLANG/ShaderLang.h. Used in WebCore
3950         so we can avoid using ANGLE's EGL headers and use the system-default headers instead.
3951
3952 2015-03-16  Roger Fong  <roger_fong@apple.com>
3953
3954         [Win] Unreviewed build fix after r181571.
3955
3956         * include/GLES2/gl2softlinking.h:
3957
3958 2015-03-12  Brent Fulgham  <bfulgham@apple.com>
3959
3960         [Win] Unreviewed build fix (part 2).
3961
3962         * ANGLE.vcxproj/libGLESv2Common.props: Missed a directory separator.
3963
3964 2015-03-12  Brent Fulgham  <bfulgham@apple.com>
3965
3966         [Win] Unreviewed build fix for some DirectX SDK Installs
3967
3968         * ANGLE.vcxproj/libGLESv2Common.props: Correct path for Lib and
3969         Include paths based on problems others have had building WebKit
3970         under different Windows and DirectX revisions.
3971
3972 2015-02-20  Alexey Proskuryakov  <ap@apple.com>
3973
3974         Remove svn:keywords property.
3975
3976         As far as I can tell, the property had no effect on any of these files, but also,
3977         when it has effect it's likely harmful.
3978
3979         * ANGLE.txt: Removed property svn:keywords.
3980         * src/common/RefCountObject.cpp: Removed property svn:keywords.
3981         * src/common/RefCountObject.h: Removed property svn:keywords.
3982         * src/compiler/translator/BaseTypes.h: Removed property svn:keywords.
3983         * src/compiler/translator/BuiltInFunctionEmulator.cpp: Removed property svn:keywords.
3984         * src/compiler/translator/BuiltInFunctionEmulator.h: Removed property svn:keywords.
3985         * src/compiler/translator/CodeGen.cpp: Removed property svn:keywords.
3986         * src/compiler/translator/Common.h: Removed property svn:keywords.
3987         * src/compiler/translator/Compiler.cpp: Removed property svn:keywords.
3988         * src/compiler/translator/ConstantUnion.h: Removed property svn:keywords.
3989         * src/compiler/translator/DetectCallDepth.cpp: Removed property svn:keywords.
3990         * src/compiler/translator/DetectCallDepth.h: Removed property svn:keywords.
3991         * src/compiler/translator/DetectDiscontinuity.cpp: Removed property svn:keywords.
3992         * src/compiler/translator/DetectDiscontinuity.h: Removed property svn:keywords.
3993         * src/compiler/translator/Diagnostics.cpp: Removed property svn:keywords.
3994         * src/compiler/translator/Diagnostics.h: Removed property svn:keywords.
3995         * src/compiler/translator/DirectiveHandler.cpp: Removed property svn:keywords.
3996         * src/compiler/translator/DirectiveHandler.h: Removed property svn:keywords.
3997         * src/compiler/translator/ExtensionBehavior.h: Removed property svn:keywords.
3998         * src/compiler/translator/ForLoopUnroll.cpp: Removed property svn:keywords.
3999         * src/compiler/translator/ForLoopUnroll.h: Removed property svn:keywords.
4000         * src/compiler/translator/HashNames.h: Removed property svn:keywords.
4001         * src/compiler/translator/InfoSink.cpp: Removed property svn:keywords.
4002         * src/compiler/translator/InfoSink.h: Removed property svn:keywords.
4003         * src/compiler/translator/Initialize.cpp: Removed property svn:keywords.
4004         * src/compiler/tran