Start using C++17
[WebKit-https.git] / Source / ThirdParty / ANGLE / ChangeLog
1 2019-04-25  Alex Christensen  <achristensen@webkit.org>
2
3         Start using C++17
4         https://bugs.webkit.org/show_bug.cgi?id=197131
5
6         Reviewed by Darin Adler.
7
8         * Configurations/Base.xcconfig:
9
10 2019-03-22  Keith Rollin  <krollin@apple.com>
11
12         Enable ThinLTO support in Production builds
13         https://bugs.webkit.org/show_bug.cgi?id=190758
14         <rdar://problem/45413233>
15
16         Reviewed by Daniel Bates.
17
18         Enable building with Thin LTO in Production when using Xcode 10.2 or
19         later. This change results in a 1.45% progression in PLT5. Full
20         Production build times increase about 2-3%. Incremental build times
21         are more severely affected, and so LTO is not enabled for local
22         engineering builds.
23
24         LTO is enabled only on macOS for now, until rdar://problem/49013399,
25         which affects ARM builds, is fixed.
26
27         To change the LTO setting when building locally:
28
29         - If building with `make`, specify WK_LTO_MODE={none,thin,full} on the
30           command line.
31         - If building with `build-webkit`, specify --lto-mode={none,thin,full}
32           on the command line.
33         - If building with `build-root`, specify --lto={none,thin,full} on the
34           command line.
35         - If building with Xcode, create a LocalOverrides.xcconfig file at the
36           top level of your repository directory (if needed) and define
37           WK_LTO_MODE to full, thin, or none.
38
39         * Configurations/Base.xcconfig:
40
41 2019-02-23  Keith Miller  <keith_miller@apple.com>
42
43         Add new mac target numbers
44         https://bugs.webkit.org/show_bug.cgi?id=194955
45
46         Reviewed by Tim Horton.
47
48         * Configurations/Base.xcconfig:
49         * Configurations/DebugRelease.xcconfig:
50
51 2019-02-20  Andy Estes  <aestes@apple.com>
52
53         [Xcode] Add SDKVariant.xcconfig to various Xcode projects
54         https://bugs.webkit.org/show_bug.cgi?id=194869
55
56         Rubber-stamped by Jer Noble.
57
58         * ANGLE.xcodeproj/project.pbxproj:
59
60 2019-01-18  Jer Noble  <jer.noble@apple.com>
61
62         SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
63         https://bugs.webkit.org/show_bug.cgi?id=189553
64
65         Reviewed by Tim Horton.
66
67         * Configurations/Base.xcconfig:
68         * Configurations/SDKVariant.xcconfig: Added.
69
70 2019-01-17  Truitt Savell  <tsavell@apple.com>
71
72         Unreviewed, rolling out r240124.
73
74         This commit broke an internal build.
75
76         Reverted changeset:
77
78         "SDK_VARIANT build destinations should be separate from non-
79         SDK_VARIANT builds"
80         https://bugs.webkit.org/show_bug.cgi?id=189553
81         https://trac.webkit.org/changeset/240124
82
83 2019-01-17  Jer Noble  <jer.noble@apple.com>
84
85         SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
86         https://bugs.webkit.org/show_bug.cgi?id=189553
87
88         Reviewed by Tim Horton.
89
90         * Configurations/Base.xcconfig:
91         * Configurations/SDKVariant.xcconfig: Added.
92
93 2019-01-15  David Kilzer  <ddkilzer@apple.com>
94
95         clang-tidy: Fix unnecessary copy of for loop variables in ANGLE
96         <https://webkit.org/b/193443>
97
98         Reviewed by Alex Christensen.
99
100         Fix unwanted copying of loop variables by making them const
101         references.
102
103         * src/compiler/preprocessor/MacroExpander.cpp:
104         (pp::MacroExpander::ScopedMacroReenabler::~ScopedMacroReenabler):
105         - Prevents copy and reference churn of std::shared_ptr<Macro>
106           objects.
107         * src/compiler/translator/Compiler.cpp:
108         (sh::TCompiler::useAllMembersInUnusedStandardAndSharedBlocks):
109         - Prevents copy of sh::InterfaceBlock structs.
110         (sh::TCompiler::initializeOutputVariables):
111         - Prevents copy of sh::Varying structs.
112         * src/libANGLE/Program.cpp:
113         (gl::(anonymous namespace)::IncludeSameArrayElement):
114         - Prevents copy of std::string objects.
115
116 2018-10-03  Dan Bernstein  <mitz@apple.com>
117
118         ANGLE part of [Xcode] Update some build settings as recommended by Xcode 10
119         https://bugs.webkit.org/show_bug.cgi?id=190250
120
121         Reviewed by Andy Estes.
122
123         * ANGLE.xcodeproj/project.pbxproj: Kept the unreachable code warning off for four files that
124           were generated by tools: glslang_lex.cpp, glslang_tab.cpp, Tokenizer.cpp, and
125           ExpressionParser.cpp. Let Xcode update LastUpgradeCheck.
126
127         * Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA, CLANG_WARN_INFINITE_RECURSION,
128           CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS, CLANG_WARN_SUSPICIOUS_MOVE,
129           CLANG_WARN_UNREACHABLE_CODE, CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF, and
130           CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED.
131
132 2018-09-21  Adrian Perez de Castro  <aperez@igalia.com>
133
134         [GTK] ANGLE's eglplatform.h does not support Wayland-only builds
135         https://bugs.webkit.org/show_bug.cgi?id=189844
136
137         Reviewed by Michael Catanzaro.
138
139         This makes it possible to build WebKitGTK+ after r225340 when the
140         build is configured to support only Wayland, and the X11 headers
141         are not present.
142
143         * changes.diff: Updated.
144         * include/EGL/eglplatform.h: Include the X11 headers only when
145         ANGLE_USE_X11 is defined and, for consistency with Mesa's version
146         of the header, when MESA_EGL_NO_X11_HEADERS is not defined.
147
148 2018-08-29  David Kilzer  <ddkilzer@apple.com>
149
150         Remove empty directories from from svn.webkit.org repository
151         <https://webkit.org/b/189081>
152
153         * src/angle.xcodeproj: Removed.
154         * src/common/third_party/numerics: Removed.
155
156 2018-08-28  David Kilzer  <ddkilzer@apple.com>
157
158         Move PMurHash.{cpp,h} into 'src' folder to match path on disk
159
160         * ANGLE.xcodeproj/project.pbxproj:
161         (src/common/third_party/smhasher/src): Add folder and move
162         PMurHash.{cpp,h} into it.  This makes tidy-Xcode-project-file
163         run smoothly when updating the ANGLE project.
164
165 2018-08-27  Keith Rollin  <krollin@apple.com>
166
167         Unreviewed build fix -- disable LTO for production builds
168
169         * Configurations/Base.xcconfig:
170
171 2018-08-27  Keith Rollin  <krollin@apple.com>
172
173         Build system support for LTO
174         https://bugs.webkit.org/show_bug.cgi?id=187785
175         <rdar://problem/42353132>
176
177         Reviewed by Dan Bernstein.
178
179         Update Base.xcconfig and DebugRelease.xcconfig to optionally enable
180         LTO.
181
182         * Configurations/Base.xcconfig:
183         * Configurations/DebugRelease.xcconfig:
184
185 2018-08-03  Alex Christensen  <achristensen@webkit.org>
186
187         Fix spelling of "overridden"
188         https://bugs.webkit.org/show_bug.cgi?id=188315
189
190         Reviewed by Darin Adler.
191
192         * src/libANGLE/renderer/ProgramImpl.h:
193
194 2018-07-14  Kocsen Chung  <kocsen_chung@apple.com>
195
196         Ensure WebKit stack is ad-hoc signed
197         https://bugs.webkit.org/show_bug.cgi?id=187667
198
199         Reviewed by Alexey Proskuryakov.
200
201         * Configurations/Base.xcconfig:
202
203 2018-07-04  Tim Horton  <timothy_horton@apple.com>
204
205         Introduce PLATFORM(IOSMAC)
206         https://bugs.webkit.org/show_bug.cgi?id=187315
207
208         Reviewed by Dan Bernstein.
209
210         * Configurations/Base.xcconfig:
211
212 2018-06-09  Dan Bernstein  <mitz@apple.com>
213
214         [Xcode] Clean up and modernize some build setting definitions
215         https://bugs.webkit.org/show_bug.cgi?id=186463
216
217         Reviewed by Sam Weinig.
218
219         * Configurations/Base.xcconfig: Removed definition for macOS 10.11.
220         * Configurations/DebugRelease.xcconfig: Ditto.
221
222 2018-05-30  David Kilzer  <ddkilzer@apple.com>
223
224         ANGLE: Fix clang static analyzer issues in GetExecutablePath() and GetExecutableDirectory()
225         <https://webkit.org/b/186106>
226         <rdar://problem/40659179>
227
228         Reviewed by Alex Christensen.
229
230         * src/common/system_utils_linux.cpp:
231         (angle::GetExecutablePath):
232         (angle::GetExecutableDirectory):
233         * src/common/system_utils_mac.cpp:
234         (angle::GetExecutablePath):
235         (angle::GetExecutableDirectory):
236         * src/common/system_utils_win.cpp:
237         (angle::GetExecutablePath):
238         (angle::GetExecutableDirectory):
239
240 2018-05-22  Ryan Haddad  <ryanhaddad@apple.com>
241
242         Unreviewed, rolling out r232052.
243
244         Breaks internal builds.
245
246         Reverted changeset:
247
248         "Use more C++17"
249         https://bugs.webkit.org/show_bug.cgi?id=185176
250         https://trac.webkit.org/changeset/232052
251
252 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
253
254         Use more C++17
255         https://bugs.webkit.org/show_bug.cgi?id=185176
256
257         Reviewed by JF Bastien.
258
259         * Configurations/Base.xcconfig:
260
261 2018-04-18  Jer Noble  <jer.noble@apple.com>
262
263         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
264         https://bugs.webkit.org/show_bug.cgi?id=184762
265
266         Reviewed by Dan Bernstein.
267
268         * Configurations/Base.xcconfig:
269
270 2018-04-19  David Kilzer  <ddkilzer@apple.com>
271
272         Enable Objective-C weak references
273         <https://webkit.org/b/184789>
274         <rdar://problem/39571716>
275
276         Reviewed by Dan Bernstein.
277
278         * Configurations/Base.xcconfig:
279         (CLANG_ENABLE_OBJC_WEAK): Enable.
280
281 2018-03-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
282
283         REGRESSION(r225340): WPE port should not be getting EGL X11 types on ANGLE
284         https://bugs.webkit.org/show_bug.cgi?id=183749
285
286         Reviewed by Alex Christensen.
287
288         Add back the USE_WPE ifdef.
289
290         * changes.diff:
291         * include/EGL/eglplatform.h:
292
293 2018-03-15  Tim Horton  <timothy_horton@apple.com>
294
295         Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in ANGLE
296         https://bugs.webkit.org/show_bug.cgi?id=183675
297         <rdar://problem/38515281>
298
299         Reviewed by Dan Bernstein.
300
301         * ANGLE.xcodeproj/project.pbxproj:
302         * Configurations/ANGLE.xcconfig:
303         * Configurations/Base.xcconfig:
304
305 2018-01-27  Dan Bernstein  <mitz@apple.com>
306
307         HaveInternalSDK includes should be "#include?"
308         https://bugs.webkit.org/show_bug.cgi?id=179670
309
310         * Configurations/Base.xcconfig:
311
312 2018-01-18  Dan Bernstein  <mitz@apple.com>
313
314         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
315         https://bugs.webkit.org/show_bug.cgi?id=181803
316
317         Reviewed by Tim Horton.
318
319         * Configurations/Base.xcconfig: Updated.
320         * Configurations/DebugRelease.xcconfig: Ditto.
321
322 2018-01-09  Dan Bernstein  <mitz@apple.com>
323
324         Removed some empty directories that were left behind
325
326         * src/third_party/murmurhash: Removed.
327         * third_party: Removed.
328         * third_party/deqp: Removed.
329
330 2017-12-14  David Kilzer  <ddkilzer@apple.com>
331
332         Enable -Wstrict-prototypes for WebKit
333         <https://webkit.org/b/180757>
334         <rdar://problem/36024132>
335
336         Rubber-stamped by Joseph Pecoraro.
337
338         * Configurations/Base.xcconfig:
339         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
340
341 2017-12-06  Dean Jackson  <dino@apple.com>
342
343         Update ANGLE's changes.diff
344         https://bugs.webkit.org/show_bug.cgi?id=180491
345
346         Reviewed by Antoine Quint.
347
348         Here is the list of things we've changed from the
349         ANGLE commit that we merged in.
350
351         * changes.diff:
352
353 2017-12-06  Dean Jackson  <dino@apple.com>
354
355         Some iOS tests failing after ANGLE update
356         https://bugs.webkit.org/show_bug.cgi?id=180487
357         <rdar://problem/35885969>
358
359         Reviewed by Antoine Quint.
360
361         The iOS OpenGL compiler doesn't like function declarations with
362         nameless array parameters. See:
363         <rdar://problem/35885989> Nameless array parameters in function declaration cause compiler error
364
365         While that is being fixed, tell ANGLE's translator to not cull
366         the names from parameters. This is not a bug in ANGLE, so we won't
367         fix it upstream at the moment.
368
369         * src/compiler/translator/ParseContext.cpp:
370         (sh::TParseContext::addFunctionPrototypeDeclaration):
371
372 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
373
374         Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings
375         https://bugs.webkit.org/show_bug.cgi?id=180177
376         <rdar://problem/35774734>
377
378         I'm not sure how this code was developed, as it seems to have been designed for GCC, but it
379         does not use any of GCC's documented byte order macros, and accordingly does not work. Let's
380         fix it to guarantee there are no problems when building with GCC. I presume it should help
381         Clang as well.
382
383         This time, hopefully without breaking 32-bit macOS, where __BYTE_ORDER actually is defined.
384
385         * src/common/third_party/smhasher/src/PMurHash.cpp:
386         (angle::PMurHash32_Process):
387
388 2017-12-01  Ryan Haddad  <ryanhaddad@apple.com>
389
390         Unreviewed, rolling out r225412.
391
392         Breaks 32-bit macOS builds.
393
394         Reverted changeset:
395
396         "Unreviewed, fix byte order macros and address new -Wunknown-
397         pragmas warnings"
398         https://bugs.webkit.org/show_bug.cgi?id=180177
399         https://trac.webkit.org/changeset/225412
400
401 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
402
403         Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings
404         https://bugs.webkit.org/show_bug.cgi?id=180177
405         <rdar://problem/35774734>
406
407         I'm not sure how this code was developed, as it seems to have been designed for GCC, but it
408         does not use any of GCC's documented byte order macros, and accordingly does not work. Let's
409         fix it to guarantee there are no problems when building with GCC. I presume it should help
410         Clang as well.
411
412         * src/common/third_party/smhasher/src/PMurHash.cpp:
413         (angle::PMurHash32_Process):
414
415 2017-12-01  Tomoki Imai  <Tomoki.Imai@sony.com>
416
417         Fix WinCairo build break after r225340
418         https://bugs.webkit.org/show_bug.cgi?id=180230
419
420         Unreviewed build fix.
421
422         * CMakeLists.txt: Add missing sources.
423         * PlatformWin.cmake: Add missing sources.
424
425 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
426
427         Unreviewed, fix -Wunknown-pragmas warnings.
428         https://bugs.webkit.org/show_bug.cgi?id=180177
429
430         It seems GCC has started to warn about unrecognized Clang pragmas. Oh well.
431
432         This is not sent upstream, because the Clang pragmas appear to be downstream WebKit
433         additions. changes.diff is not updated, because it was not updated in yesterday's ANGLE
434         update.
435
436         * include/GLSLANG/ShaderVars.h:
437         * src/libANGLE/Platform.cpp:
438
439 2017-11-30  Alex Christensen  <achristensen@webkit.org>
440
441         Speculative WinCairo fix.
442         https://bugs.webkit.org/show_bug.cgi?id=180177
443
444         * CMakeLists.txt:
445         * PlatformWin.cmake:
446
447 2017-11-30  Ryan Haddad  <ryanhaddad@apple.com>
448
449         Unreviewed build fix, remove executable property from a header file.
450
451         * include/KHR/khrplatform.h: Removed property svn:executable.
452
453 2017-11-30  Dean Jackson  <dino@apple.com>
454
455         Update ANGLE
456         https://bugs.webkit.org/show_bug.cgi?id=180177
457         <rdar://problem/35774734>
458
459         Reviewed by Alex Christensen.
460
461         Huge list of changed files omitted.
462
463 2017-07-18  Andy Estes  <aestes@apple.com>
464
465         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
466         https://bugs.webkit.org/show_bug.cgi?id=174631
467
468         Reviewed by Tim Horton.
469
470         * Configurations/Base.xcconfig:
471
472 2017-07-18  Andy Estes  <aestes@apple.com>
473
474         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
475         https://bugs.webkit.org/show_bug.cgi?id=174631
476
477         Reviewed by Sam Weinig.
478
479         * Configurations/Base.xcconfig:
480
481 2017-07-18  Andy Estes  <aestes@apple.com>
482
483         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
484         https://bugs.webkit.org/show_bug.cgi?id=174631
485
486         Reviewed by Dan Bernstein.
487
488         * Configurations/Base.xcconfig:
489
490 2017-07-18  Andy Estes  <aestes@apple.com>
491
492         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
493         https://bugs.webkit.org/show_bug.cgi?id=174631
494
495         Reviewed by Darin Adler.
496
497         * Configurations/Base.xcconfig:
498
499 2017-07-13  Adrian Perez de Castro  <aperez@igalia.com>
500
501         eglplatform.h does not support Wayland
502         https://bugs.webkit.org/show_bug.cgi?id=163482
503
504         This makes it possible to build WebKitGTK+ when the target system has only Wayland support,
505         but no X11 (and therefore the X11 headers are not present).
506
507         Reviewed by Alex Christensen.
508
509         * include/EGL/eglplatform.h: Add Wayland typedefs when WL_EGL_PLATFORM is defined (for example
510         by including wayland-egl.h before including EGL/egl.h). Also, include the X11 headers only
511         when ANGLE_USE_X11 is defined and, for consistency with Mesa's version of the header, when
512         MESA_EGL_NO_X11_HEADERS is not defined.
513
514 2017-07-03  Andy Estes  <aestes@apple.com>
515
516         [Xcode] Add an experimental setting to build with ccache
517         https://bugs.webkit.org/show_bug.cgi?id=173875
518
519         Reviewed by Tim Horton.
520
521         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
522
523 2017-07-01  Dan Bernstein  <mitz@apple.com>
524
525         [macOS] Remove code only needed when building for OS X Yosemite
526         https://bugs.webkit.org/show_bug.cgi?id=174067
527
528         Reviewed by Tim Horton.
529
530         * Configurations/Base.xcconfig:
531         * Configurations/DebugRelease.xcconfig:
532
533 2017-06-10  Dan Bernstein  <mitz@apple.com>
534
535         Reverted r218056 because it made the IDE reindex constantly.
536
537         * Configurations/DebugRelease.xcconfig:
538
539 2017-06-10  Dan Bernstein  <mitz@apple.com>
540
541         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
542         https://bugs.webkit.org/show_bug.cgi?id=173223
543
544         Reviewed by Sam Weinig.
545
546         The rebuilds were happening due to a difference in the compiler options that the IDE and
547         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
548         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
549         specify an appropriate path in CLANG_INDEX_STORE_PATH.
550
551         * Configurations/DebugRelease.xcconfig:
552
553 2017-05-28  Dan Bernstein  <mitz@apple.com>
554
555         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
556         https://bugs.webkit.org/show_bug.cgi?id=172691
557
558         Reviewed by Tim Horton.
559
560         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
561
562 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
563
564         Upstream the WPE port
565         https://bugs.webkit.org/show_bug.cgi?id=171110
566
567         Reviewed by Alex Christensen.
568
569         * include/EGL/eglplatform.h:
570         Allow building WPE on platforms that don't provide X11 libraries.
571
572 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
573
574         [Win] Remove redundant macros that are set in the CMake config
575         https://bugs.webkit.org/show_bug.cgi?id=171571
576
577         Reviewed by Brent Fulgham.
578
579         * CMakeLists.txt:
580
581 2017-04-20  Konstantin Tokarev  <annulen@yandex.ru>
582
583         [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
584         https://bugs.webkit.org/show_bug.cgi?id=171071
585
586         Reviewed by Michael Catanzaro.
587
588         "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
589         build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
590         be available for all ports.
591
592         * CMakeLists.txt:
593
594 2017-04-20  Fujii Hironori  <Hironori.Fujii@sony.com>
595
596         [WinCairo] Fix build break after updating ANGLE
597         https://bugs.webkit.org/show_bug.cgi?id=170980
598
599         Reviewed by Brent Fulgham.
600
601         * CMakeLists.txt: Added some new source files.
602         * PlatformMac.cmake: Ditto.
603         * PlatformWin.cmake: Ditto. Remove a macro 'ANGLE_WEBKIT_WIN'
604         because SoftLinking is not used anymore.
605         * src/third_party/systeminfo/: Restored.
606
607 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
608
609         Remove executable property from a header file.
610
611         * include/KHR/khrplatform.h: Removed property svn:executable.
612
613 2017-04-18  Dean Jackson  <dino@apple.com>
614
615         Add the actual content to the files, now that
616         SVN knows they can have tabs.
617
618         * src/third_party/murmurhash/MurmurHash3.cpp:
619         * src/third_party/murmurhash/MurmurHash3.h:
620
621 2017-04-18  Dean Jackson  <dino@apple.com>
622
623         WinCairo needs these files I recently removed
624         from our copy of ANGLE.
625
626         * src/third_party/murmurhash/LICENSE: Added.
627         * src/third_party/murmurhash/MurmurHash3.cpp: Added.
628         * src/third_party/murmurhash/MurmurHash3.h: Added.
629
630 2017-04-18  Dean Jackson  <dino@apple.com>
631
632         Still trying to fix Windows.
633
634         * PlatformWin.cmake:
635
636 2017-04-18  Dean Jackson  <dino@apple.com>
637
638         Attempt to fix the Windows build.
639
640         * PlatformWin.cmake:
641
642 2017-04-18  Dean Jackson  <dino@apple.com>
643
644         Update ANGLE
645         https://bugs.webkit.org/show_bug.cgi?id=170941
646         <rdar://problem/31633999>
647
648         Reviewed by Alex Christensen.
649
650         Huge list of changed files omitted.
651
652 2017-04-12  Dan Bernstein  <mitz@apple.com>
653
654         [Mac] Future-proof .xcconfig files
655         https://bugs.webkit.org/show_bug.cgi?id=170802
656
657         Reviewed by Tim Horton.
658
659         * Configurations/Base.xcconfig:
660         * Configurations/DebugRelease.xcconfig:
661
662 2016-12-20  Tim Horton  <timothy_horton@apple.com>
663
664         Remove an ANGLE Markdown file from the ANGLE target
665         https://bugs.webkit.org/show_bug.cgi?id=166279
666
667         Reviewed by Alex Christensen.
668
669         * ANGLE.xcodeproj/project.pbxproj:
670         We don't need to build this, it's not source code.
671
672 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
673
674         Sort Xcode project files
675         https://bugs.webkit.org/show_bug.cgi?id=165937
676
677         Reviewed by Simon Fraser.
678
679         * ANGLE.xcodeproj/project.pbxproj:
680
681 2016-12-15  Alex Christensen  <achristensen@webkit.org>
682
683         Fix Windows WebGL build after r209832
684
685         * CMakeLists.txt:
686         * include/EGL/egl.h:
687         * include/GLES2/gl2.h:
688
689 2016-12-14  Alex Christensen  <achristensen@webkit.org>
690
691         Progress towards using ANGLE to do WebGL rendering
692         https://bugs.webkit.org/show_bug.cgi?id=165864
693
694         Reviewed by Dean Jackson.
695
696         * ANGLE.xcodeproj/project.pbxproj:
697         Compile more files, and add some more "public" headers.
698         ANGLE is not a public framework, so these headers just go in 
699         WebKitBuild/Release/usr/local/include/ANGLE to be included when compiling WebCore.
700         * ANGLE/egl.h: Added.
701         * ANGLE/eglext.h: Added.
702         * ANGLE/eglplatform.h: Added.
703         * ANGLE/entry_points_gles_2_0.h: Added.
704         * ANGLE/entry_points_gles_2_0_ext.h: Added.
705         * ANGLE/entry_points_gles_3_0.h: Added.
706         * ANGLE/export.h: Added.
707         * ANGLE/gl2.h: Added.
708         * ANGLE/gl2ext.h: Added.
709         * ANGLE/gl2platform.h: Added.
710         * ANGLE/gl3.h: Added.
711         * ANGLE/gl31.h: Added.
712         * ANGLE/gl3platform.h: Added.
713         * ANGLE/khrplatform.h: Added.
714         Add more forwarding headers.  There are already a few, but we need more.
715         * CMakeLists.txt:
716         * PlatformMac.cmake:
717         Make the frameworks linked to by ANGLE be private so frameworks that link with 
718         ANGLE don't automatically link with them. This allows me to switch ANGLE from a 
719         static library to a dynamic library to make sure WebCore isn't directly using OpenGL.
720         * PlatformWin.cmake:
721         Move HLSL-specific files to only be built on Windows.
722         * include/EGL/egl.h:
723         * include/EGL/eglplatform.h:
724         * include/GLES2/gl2.h:
725         * include/GLES2/gl2platform.h:
726         * include/GLES3/gl3.h:
727         * include/GLES3/gl31.h:
728         * include/GLES3/gl32.h:
729         * include/GLES3/gl3platform.h:
730         * src/libGLESv2/entry_points_egl.h:
731         * src/libGLESv2/entry_points_egl_ext.h:
732         * src/libGLESv2/entry_points_gles_2_0.h:
733         * src/libGLESv2/entry_points_gles_2_0_ext.h:
734         * src/libGLESv2/entry_points_gles_3_0.h:
735         * src/libGLESv2/entry_points_gles_3_1.h:
736         Include ANGLE headers as #include <ANGLE/*> instead of #include <KHR/*> or #include <GLES/*>
737         This is needed to distinguish the ANGLE headers from any system OpenGL/OpenGLES headers.
738         We will eventually only include ANGLE's entry_points_*.h directly from WebCore.
739
740 2016-12-07  Alex Christensen  <achristensen@webkit.org>
741
742         Build more of ANGLE on Mac and Windows
743         https://bugs.webkit.org/show_bug.cgi?id=165543
744
745         Reviewed by Dean Jackson.
746
747         We will need to compile these files to use ANGLE's GLESv2 implementation instead of 
748         using OpenGL directly. No functional change.
749
750         * ANGLE.xcodeproj/project.pbxproj:
751         * CMakeLists.txt:
752         Move platform-specific files to Platform*.cmake.
753         * PlatformMac.cmake: Added.
754         * PlatformWin.cmake: Added.
755         * src/libANGLE/renderer/Format.cpp:
756         * src/libANGLE/renderer/Format_autogen.cpp:
757         (angle::Format::Get):
758         * src/libANGLE/renderer/gl/PathGL.cpp:
759         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.h:
760         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
761         Rename SwapLayer to WebSwapLayer.  Otherwise, WebCore complains about improperly named ObjC classes.
762         Since this is the only one, let's just rename it instead of adding an exception.
763         (rx::WindowSurfaceCGL::initialize):
764         (-[SwapLayer initWithSharedState:withContext:withFunctions:]): Deleted.
765         * src/libANGLE/renderer/gl/formatutilsgl.cpp:
766         (rx::nativegl::GetInternalFormatMap):
767         (rx::nativegl::GetInternalFormatInfo):
768         * src/libANGLE/renderer/renderer_utils.cpp:
769         (rx::GetColorWriteFunction):
770         * src/libGLESv2/entry_points_egl.cpp:
771         (egl::GetProcAddress):
772
773 2016-12-06  Alexey Proskuryakov  <ap@apple.com>
774
775         Correct SDKROOT values in xcconfig files
776         https://bugs.webkit.org/show_bug.cgi?id=165487
777         rdar://problem/29539209
778
779         Reviewed by Dan Bernstein.
780
781         Fix suggested by Dan Bernstein.
782
783         * Configurations/DebugRelease.xcconfig:
784
785 2016-10-30  Michael Catanzaro  <mcatanzaro@igalia.com>
786
787         -Wpragmas warning spam from angleutils.h
788         https://bugs.webkit.org/show_bug.cgi?id=164207
789
790         Reviewed by Darin Adler.
791
792         Use #pragma clang instead of #pragma GCC since all of the warnings we need to suppress are
793         Clang-specific warnings. GCC ignores unknown pragmas and does not warn, but it does warn if
794         any GCC pragma is invalid.
795
796         Note that this might still be broken for MSVCC, as MSVCC warns when it sees unknown pragmas.
797
798         * changes.diff:
799         * src/common/angleutils.cpp:
800         (FormatString):
801         * src/common/angleutils.h:
802         (MakeStaticString):
803         * src/common/debug.cpp:
804         * src/common/mathutil.cpp:
805         * src/libANGLE/Caps.cpp:
806         (gl::TextureCapsMap::get):
807         (gl::GetExtensionInfoMap):
808         * src/libANGLE/Device.cpp:
809         (egl::GetDeviceSet):
810         * src/libANGLE/Display.cpp:
811         (egl::Display::getClientExtensionString):
812         * src/libANGLE/formatutils.cpp:
813         (gl::GetInternalFormatMap):
814         (gl::GetAllSizedInternalFormats):
815         * src/libANGLE/validationES3.cpp:
816         (gl::IsValidES3CopyTexImageCombination):
817
818 2016-10-28  Alex Christensen  <achristensen@webkit.org>
819
820         Another build fix.
821
822         * CMakeLists.txt:
823
824 2016-10-28  Alex Christensen  <achristensen@webkit.org>
825
826         Fix Windows WebGL build after r208036
827         https://bugs.webkit.org/show_bug.cgi?id=164101
828
829         * CMakeLists.txt:
830
831 2016-10-27  Alex Christensen  <achristensen@webkit.org>
832
833         Fix Windows WebGL build after r208036
834         https://bugs.webkit.org/show_bug.cgi?id=164101
835
836         * CMakeLists.txt:
837         Add new files, remove deleted files.
838
839 2016-10-27  Alex Christensen  <achristensen@webkit.org>
840
841         Update ANGLE
842         https://bugs.webkit.org/show_bug.cgi?id=164101
843
844         Reviewed by Darin Adler.
845
846         Updated to f01731530e7f754e5ebaf32d00f3e23b62376424
847         Differences between upstream ANGLE and WebKit's copy of ANGLE are in changes.diff
848
849 2016-10-24  Alex Christensen  <achristensen@webkit.org>
850
851         Remove unused ANGLE.vcxproj after switching to CMake on Windows
852
853         * ANGLE.vcxproj: Removed.
854         * ANGLE.vcxproj/ANGLERelease.props: Removed.
855         * ANGLE.vcxproj/DirectX32.props: Removed.
856         * ANGLE.vcxproj/DirectX64.props: Removed.
857         * ANGLE.vcxproj/libEGL.vcxproj: Removed.
858         * ANGLE.vcxproj/libEGL.vcxproj.filters: Removed.
859         * ANGLE.vcxproj/libEGLCommon.props: Removed.
860         * ANGLE.vcxproj/libGLESv2.vcxproj: Removed.
861         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Removed.
862         * ANGLE.vcxproj/libGLESv2Common.props: Removed.
863         * ANGLE.vcxproj/preprocessor.vcxproj: Removed.
864         * ANGLE.vcxproj/preprocessor.vcxproj.filters: Removed.
865         * ANGLE.vcxproj/translatorCommon.props: Removed.
866         * ANGLE.vcxproj/translator_common.vcxproj: Removed.
867         * ANGLE.vcxproj/translator_common.vcxproj.filters: Removed.
868         * ANGLE.vcxproj/translator_glsl.vcxproj: Removed.
869         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Removed.
870         * ANGLE.vcxproj/translator_hlsl.vcxproj: Removed.
871         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Removed.
872
873 2016-09-09  Dean Jackson  <dino@apple.com>
874
875         [ANGLE] instantiation of variable 'gl::GLTypeToGLenum<float>::value' required here, but no definition is available
876         https://bugs.webkit.org/show_bug.cgi?id=161829
877         <rdar://problem/28051244>
878
879         Reviewed by Alex Christensen.
880
881         Newer versions of clang require explicit definition of some template types
882         if they are in another translation unit.
883
884         * src/libANGLE/Program.cpp: Add definitions for GLTypeToGLenum.
885
886 2016-07-29  David Kilzer  <ddkilzer@apple.com>
887
888         ANGLE: Fix global constructors and exit-time destructors
889         <https://webkit.org/b/160332>
890
891         Reviewed by Darin Adler.
892
893         * Configurations/Base.xcconfig:
894         - Add warning flags.
895
896         * src/common/angleutils.cpp:
897         (FormatString):
898         * src/common/angleutils.h:
899         (MakeStaticString):
900         * src/common/debug.cpp:
901         * src/common/mathutil.cpp:
902         (gl::g_sharedexp_max):
903         (gl::convertRGBFloatsTo999E5):
904         * src/compiler/translator/ShaderLang.cpp:
905         (ShGetUniformRegisterMap):
906         * src/libANGLE/Caps.cpp:
907         (gl::TextureCapsMap::get):
908         * src/libANGLE/Device.cpp:
909         (egl::GetDeviceSet):
910         * src/libANGLE/Display.cpp:
911         (egl::Display::getClientExtensionString):
912         * src/libANGLE/formatutils.cpp:
913         (gl::BuildFormatMap):
914         (gl::BuildInternalFormatInfoMap):
915         (gl::GetInternalFormatMap):
916         (gl::BuildAllSizedInternalFormatSet):
917         (gl::GetSizedInternalFormat):
918         (gl::GetAllSizedInternalFormats):
919         * src/libANGLE/validationES3.cpp:
920         (gl::BuildES3FormatSet):
921         (gl::ValidateTexImageFormatCombination):
922         (gl::BuildSizedEffectiveInternalFormatList):
923         (gl::BuildUnsizedEffectiveInternalFormatList):
924         (gl::GetEffectiveInternalFormat):
925         (gl::BuildValidES3CopyTexImageCombinations):
926         (gl::IsValidES3CopyTexImageCombination):
927         - Fix global constructors and exit-time destructors.
928
929 2016-07-13  Enrica Casucci  <enrica@apple.com>
930
931         Update supported platforms in xcconfig files to match the sdk names.
932         https://bugs.webkit.org/show_bug.cgi?id=159728
933
934         Reviewed by Tim Horton.
935
936         * Configurations/Base.xcconfig:
937
938 2016-05-24  Alex Christensen  <achristensen@webkit.org>
939
940         Fix iOS WebGL after r199738
941         https://bugs.webkit.org/show_bug.cgi?id=158024
942         rdar://problem/26446679
943
944         Reviewed by Myles Maxfield.
945
946         * ANGLE.xcodeproj/project.pbxproj:
947         iOS needs the ESSL translator.
948
949 2016-05-22  Brady Eidson  <beidson@apple.com>
950
951         Move to C++14.
952         https://bugs.webkit.org/show_bug.cgi?id=157948
953
954         Reviewed by Michael Catanzaro.
955
956         * Configurations/Base.xcconfig:
957
958 2016-04-26  Per Arne Vollan  <peavo@outlook.com>
959
960         [WinCairo][ANGLE] Display object is not created.
961         https://bugs.webkit.org/show_bug.cgi?id=157042
962
963         Reviewed by Alex Christensen.
964
965         The CreateDisplayFromAttribs function will not create a DisplayD3D object when the requested
966         type is EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE, because ANGLE_ENABLE_OPENGL is not defined.
967         We should be able to create a DisplayD3D object without defining ANGLE_ENABLE_OPENGL.
968
969         * src/libANGLE/Display.cpp:
970
971 2016-04-26  Per Arne Vollan  <peavo@outlook.com>
972
973         [WinCairo][WebGL] Enable ESSL and GLSL translators.
974         https://bugs.webkit.org/show_bug.cgi?id=157002
975
976         Reviewed by Darin Adler.
977
978         Enable support for ESSL and GLSL translators, and add missing files.
979
980         * CMakeLists.txt:
981
982 2016-04-22  Joonghun Park  <jh718.park@samsung.com>
983
984         [ANGLE] Remove deprecated auto_ptr warning. Unreviewed.
985         https://bugs.webkit.org/show_bug.cgi?id=156894
986
987         * src/compiler/preprocessor/MacroExpander.h: Use std::unique_ptr instead of std::auto_ptr.
988
989 2016-04-19  Alex Christensen  <achristensen@webkit.org>
990
991         Build fix after r199738
992
993         * CMakeLists.txt:
994
995 2016-04-19  Alex Christensen  <achristensen@webkit.org>
996
997         Build fix after r199738
998
999         * CMakeLists.txt:
1000
1001 2016-04-19  Alex Christensen  <achristensen@webkit.org>
1002
1003         Build fix.
1004
1005         * src/compiler/translator/Intermediate.h: Added.
1006         (TIntermediate::TIntermediate):
1007         * src/compiler/translator/intermediate.h: Removed.
1008         Changed case of Intermediate.h file name for case sensitive file systems.
1009
1010 2016-04-19  Alex Christensen  <achristensen@webkit.org>
1011
1012         Update ANGLE
1013         https://bugs.webkit.org/show_bug.cgi?id=156755
1014
1015         Reviewed by Dean Jackson.
1016
1017         Huge list of changed files omitted.
1018
1019 2016-04-12  Alex Christensen  <achristensen@webkit.org>
1020
1021         Remove failing assertion in ANGLE
1022         https://bugs.webkit.org/show_bug.cgi?id=156485
1023
1024         Reviewed by Dean Jackson.
1025
1026         * src/compiler/translator/glslang.l:
1027         * src/compiler/translator/glslang_lex.cpp:
1028
1029 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
1030
1031         [CMake] Make FOLDER property INHERITED
1032         https://bugs.webkit.org/show_bug.cgi?id=156460
1033
1034         Reviewed by Brent Fulgham.
1035
1036         * CMakeLists.txt:
1037         Set FOLDER property as a directory property not a target property
1038
1039 2016-03-22  Alberto Garcia  <berto@igalia.com>
1040
1041         Unreviewed typo fix.
1042
1043         * src/compiler/translator/InfoSink.cpp:
1044         (TInfoSinkBase::prefix): "UNKOWN" => "UNKOWN".
1045
1046 2016-03-20  Dan Bernstein  <mitz@apple.com>
1047
1048         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
1049         https://bugs.webkit.org/show_bug.cgi?id=155707
1050         <rdar://problem/24980691>
1051
1052         Reviewed by Darin Adler.
1053
1054         * Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR based on the last
1055           component of MACOSX_DEPLOYMENT_TARGET.
1056         * Configurations/DebugRelease.xcconfig: For engineering builds, preserve the behavior of
1057           TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
1058
1059 2016-03-20  Dan Bernstein  <mitz@apple.com>
1060
1061         Update build settings
1062
1063         Rubber-stamped by Andy Estes.
1064
1065         * Configurations/DebugRelease.xcconfig:
1066
1067 2016-02-23  Dan Bernstein  <mitz@apple.com>
1068
1069         [Xcode] Linker errors display mangled names, but no longer should
1070         https://bugs.webkit.org/show_bug.cgi?id=154632
1071
1072         Reviewed by Sam Weinig.
1073
1074         * Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
1075
1076 2016-01-08  Brent Fulgham  <bfulgham@apple.com>
1077
1078         [ANGLE] Correct UNREACHABLE runtime assertion for void constructors
1079         https://bugs.webkit.org/show_bug.cgi?id=152900
1080         <rdar://problem/24107501>
1081
1082         Reviewed by Alex Christensen.
1083
1084         Tested by Khronos WebGL 1.0.4 suite.
1085
1086         Merge a small part of ANGLE upstream commit r284735:
1087         
1088             commit    01971113492d9aca386f2bca021b1f4b134fc277
1089             author    Dmitry Skiba <dskiba@google.com>  Fri Jul 10 18:54:00 2015
1090             committer Jamie Madill <jmadill@chromium.org>  Fri Jul 10 19:03:34 2015
1091             tree      47e42eac00f7d64cddb14b3cc21a4e605c189d20
1092
1093         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>
1094
1095         * src/compiler/translator/Types.cpp:
1096         (TType::buildMangledName): Don't assert with UNREACHABLE here.
1097
1098 2015-12-28  Joonghun Park  <jh718.park@samsung.com>
1099
1100         [ANGLE][EFL][GTK] Remove 'template<class> class std::auto_ptr is deprecated' compile warning
1101         https://bugs.webkit.org/show_bug.cgi?id=152567
1102
1103         Reviewed by Alex Christensen.
1104
1105         Because auto_ptr is deprecated as of C++11, we should use unique_ptr instead.
1106
1107         * src/compiler/preprocessor/MacroExpander.h:
1108
1109 2015-12-19  Dan Bernstein  <mitz@apple.com>
1110
1111         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
1112         https://bugs.webkit.org/show_bug.cgi?id=152462
1113
1114         Reviewed by Alexey Proskuryakov.
1115
1116         * Configurations/DebugRelease.xcconfig: Removed definitions of MACOSX_DEPLOYMENT_TARGET for
1117           OS X 10.8 and 10.9.
1118
1119 2015-12-03  Anders Carlsson  <andersca@apple.com>
1120
1121         Remove Objective-C GC support
1122         https://bugs.webkit.org/show_bug.cgi?id=151819
1123         rdar://problem/23746991
1124
1125         Reviewed by Dan Bernstein.
1126
1127         * Configurations/Base.xcconfig:
1128
1129 2015-11-30  Dana Burkart  <dburkart@apple.com>
1130
1131         Remove Mountain Lion support from ANGLE
1132         https://bugs.webkit.org/show_bug.cgi?id=151679
1133
1134         Reviewed by Darin Adler.
1135
1136         * Configurations/Base.xcconfig:
1137
1138 2015-11-02  Andy Estes  <aestes@apple.com>
1139
1140         [Cocoa] Add tvOS and watchOS to SUPPORTED_PLATFORMS
1141         https://bugs.webkit.org/show_bug.cgi?id=150819
1142
1143         Reviewed by Dan Bernstein.
1144
1145         This tells Xcode to include these platforms in its Devices dropdown, making it possible to build in the IDE.
1146
1147         * Configurations/Base.xcconfig:
1148
1149 2015-10-10  Dan Bernstein  <mitz@apple.com>
1150
1151         [iOS] Remove project support for iOS 8
1152         https://bugs.webkit.org/show_bug.cgi?id=149993
1153
1154         Reviewed by Alexey Proskuryakov.
1155
1156         * Configurations/ANGLE.xcconfig:
1157         * Configurations/Base.xcconfig:
1158
1159 2015-08-20  Alex Christensen  <achristensen@webkit.org>
1160
1161         Clean up CMake build after r188673
1162         https://bugs.webkit.org/show_bug.cgi?id=148234
1163
1164         Reviewed by Tim Horton.
1165
1166         * CMakeLists.txt:
1167         Copy headers to forwarding headers.
1168
1169 2015-08-11  Brent Fulgham  <bfulgham@apple.com>
1170
1171         [Win] Switch Windows build to Visual Studio 2015
1172         https://bugs.webkit.org/show_bug.cgi?id=147887
1173         <rdar://problem/22235098>
1174
1175         Reviewed by Alex Christensen.
1176
1177         Update Visual Studio project file settings to use the current Visual
1178         Studio and compiler. Continue targeting binaries to run on our minimum
1179         supported configuration of Windows 7.
1180
1181         * ANGLE.vcxproj/libEGL.vcxproj:
1182         * ANGLE.vcxproj/libGLESv2.vcxproj:
1183         * ANGLE.vcxproj/preprocessor.vcxproj:
1184         * ANGLE.vcxproj/translator_common.vcxproj:
1185         * ANGLE.vcxproj/translator_glsl.vcxproj:
1186         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1187
1188 2015-08-04  Alex Christensen  <achristensen@webkit.org>
1189
1190         Build fix after r187928.
1191
1192         * CMakeLists.txt:
1193         Typo. Set libGLESv2 compile definitions instead of libEGL, which are set separately.
1194
1195 2015-08-04  Alex Christensen  <achristensen@webkit.org>
1196
1197         Soft link libGLESv2 and libEGL on Windows again
1198         https://bugs.webkit.org/show_bug.cgi?id=147671
1199
1200         Reviewed by Dean Jackson.
1201
1202         * CMakeLists.txt:
1203         Clean up some warnings when compiling with CMake.
1204         * include/EGL/egl.h:
1205         * include/EGL/eglsoftlinking.h:
1206         * include/GLES2/gl2.h:
1207         Soft link egl optionally.
1208
1209 2015-08-04  Alex Christensen  <achristensen@webkit.org>
1210
1211         Enable WebGL on Windows CMake build.
1212         https://bugs.webkit.org/show_bug.cgi?id=143311
1213
1214         Reviewed by Csaba Osztrogonác.
1215
1216         * CMakeLists.txt: Added.
1217
1218 2015-07-03  Dan Bernstein  <mitz@apple.com>
1219
1220         [Xcode] Update some build settings as recommended by Xcode 7
1221         https://bugs.webkit.org/show_bug.cgi?id=146597
1222
1223         Reviewed by Sam Weinig.
1224
1225         * ANGLE.xcodeproj/project.pbxproj: Enabled CLANG_WARN_BOOL_CONVERSION,
1226         CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, ENABLE_STRICT_OBJC_MSGSEND and
1227         GCC_NO_COMMON_BLOCKS.
1228
1229         * Configurations/Base.xcconfig: Updated LastUpgradeCheck.
1230
1231 2015-07-03  Per Arne Vollan  <peavo@outlook.com>
1232
1233         [WinCairo][WebGL] Enable HLSL.
1234         https://bugs.webkit.org/show_bug.cgi?id=146559
1235
1236         Reviewed by Alex Christensen.
1237
1238         High Level Shader Language needs to be enabled for WebGL to work on Windows.
1239
1240         * ANGLE.vcxproj/translatorCommon.props:
1241         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1242         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
1243
1244 2015-07-01  Alex Christensen  <achristensen@webkit.org>
1245
1246         Re-enable WebGL on WinCairo
1247         https://bugs.webkit.org/show_bug.cgi?id=146537
1248
1249         Reviewed by Csaba Osztrogonác.
1250
1251         * ANGLE.vcxproj/DirectX32.props:
1252         * ANGLE.vcxproj/DirectX64.props:
1253         * ANGLE.vcxproj/libGLESv2Common.props:
1254         Update DirectX directories to use the Windows SDK instead of the June 2010 DirectX SDK.
1255
1256 2015-07-01  Alex Christensen  <achristensen@webkit.org>
1257
1258         Fix ANGLE Windows build after r186169.
1259         https://bugs.webkit.org/show_bug.cgi?id=146532
1260
1261         Reviewed by Brent Fulgham.
1262
1263         * ANGLE.vcxproj/libEGL.vcxproj:
1264         * ANGLE.vcxproj/libEGL.vcxproj.filters:
1265         * ANGLE.vcxproj/libGLESv2.vcxproj:
1266         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1267         * ANGLE.vcxproj/libGLESv2Common.props:
1268         * ANGLE.vcxproj/translator_common.vcxproj:
1269         * ANGLE.vcxproj/translator_common.vcxproj.filters:
1270         * ANGLE.vcxproj/translator_glsl.vcxproj:
1271         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
1272         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1273         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
1274         Update Windows build to build new files.
1275
1276 2015-06-30  Alex Christensen  <achristensen@webkit.org>
1277
1278         Update ANGLE to b11e2483742db884bd0af41f78f528240577356b.
1279         https://bugs.webkit.org/show_bug.cgi?id=145010
1280
1281         Reviewed by Dean Jackson.
1282
1283         Huge list of source changes omitted.
1284         ROLL DEPS!
1285
1286 2015-05-26  Dan Bernstein  <mitz@apple.com>
1287
1288         <rdar://problem/21104551> Update build settings
1289
1290         Reviewed by Anders Carlsson.
1291
1292         * Configurations/Base.xcconfig:
1293         * Configurations/DebugRelease.xcconfig:
1294
1295 2015-05-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1296
1297         REGRESSION(r181571): Build broken when USE(OPENGL_ES_2) is defined.
1298         https://bugs.webkit.org/show_bug.cgi?id=145156
1299
1300         Reviewed by Alex Christensen.
1301
1302         * include/GLES2/gl2softlinking.h: Revert r181589. Vertex Array Objects are not in GLESv2.
1303
1304 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
1305
1306         [Win] Move Windows build target to Windows 7 (or newer)
1307         https://bugs.webkit.org/show_bug.cgi?id=144890
1308         <rdar://problem/20707307>
1309
1310         Reviewed by Anders Carlsson.
1311
1312         Update linked SDK and minimal Windows level to be compatible with
1313         Windows 7 or newer.
1314
1315         * ANGLE.vcxproj/libEGL.vcxproj:
1316         * ANGLE.vcxproj/libGLESv2.vcxproj:
1317         * ANGLE.vcxproj/preprocessor.vcxproj:
1318         * ANGLE.vcxproj/translator_common.vcxproj:
1319         * ANGLE.vcxproj/translator_glsl.vcxproj:
1320         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1321
1322 2015-05-07  Dan Bernstein  <mitz@apple.com>
1323
1324         <rdar://problem/19317140> [Xcode] Remove usage of AspenFamily.xcconfig in Source/
1325         https://bugs.webkit.org/show_bug.cgi?id=144727
1326
1327         Reviewed by Darin Adler.
1328
1329         * Configurations/Base.xcconfig: Don’t include AspenFamily.xcconfig, and define
1330         INSTALL_PATH_PREFIX and LD_DYLIB_INSTALL_NAME for the iOS 8.x Simulator.
1331
1332 2015-04-01  Alex Christensen  <achristensen@webkit.org>
1333
1334         Progress towards CMake on Windows and Mac.
1335         https://bugs.webkit.org/show_bug.cgi?id=143293
1336
1337         Reviewed by Filip Pizlo.
1338
1339         * include/GLES2/gl2.h:
1340         Temporarily disabled WebGL on Windows CMake builds.
1341
1342 2015-03-17  Zan Dobersek  <zdobersek@igalia.com>
1343
1344         [CMake] Use a forwarding header for ANGLE's ShaderLang.h to avoid picking up ANGLE's EGL headers
1345         https://bugs.webkit.org/show_bug.cgi?id=142530
1346
1347         Reviewed by Darin Adler.
1348
1349         * ANGLE/ShaderLang.h: Added. Includes include/GLSLANG/ShaderLang.h. Used in WebCore
1350         so we can avoid using ANGLE's EGL headers and use the system-default headers instead.
1351
1352 2015-03-16  Roger Fong  <roger_fong@apple.com>
1353
1354         [Win] Unreviewed build fix after r181571.
1355
1356         * include/GLES2/gl2softlinking.h:
1357
1358 2015-03-12  Brent Fulgham  <bfulgham@apple.com>
1359
1360         [Win] Unreviewed build fix (part 2).
1361
1362         * ANGLE.vcxproj/libGLESv2Common.props: Missed a directory separator.
1363
1364 2015-03-12  Brent Fulgham  <bfulgham@apple.com>
1365
1366         [Win] Unreviewed build fix for some DirectX SDK Installs
1367
1368         * ANGLE.vcxproj/libGLESv2Common.props: Correct path for Lib and
1369         Include paths based on problems others have had building WebKit
1370         under different Windows and DirectX revisions.
1371
1372 2015-02-20  Alexey Proskuryakov  <ap@apple.com>
1373
1374         Remove svn:keywords property.
1375
1376         As far as I can tell, the property had no effect on any of these files, but also,
1377         when it has effect it's likely harmful.
1378
1379         * ANGLE.txt: Removed property svn:keywords.
1380         * src/common/RefCountObject.cpp: Removed property svn:keywords.
1381         * src/common/RefCountObject.h: Removed property svn:keywords.
1382         * src/compiler/translator/BaseTypes.h: Removed property svn:keywords.
1383         * src/compiler/translator/BuiltInFunctionEmulator.cpp: Removed property svn:keywords.
1384         * src/compiler/translator/BuiltInFunctionEmulator.h: Removed property svn:keywords.
1385         * src/compiler/translator/CodeGen.cpp: Removed property svn:keywords.
1386         * src/compiler/translator/Common.h: Removed property svn:keywords.
1387         * src/compiler/translator/Compiler.cpp: Removed property svn:keywords.
1388         * src/compiler/translator/ConstantUnion.h: Removed property svn:keywords.
1389         * src/compiler/translator/DetectCallDepth.cpp: Removed property svn:keywords.
1390         * src/compiler/translator/DetectCallDepth.h: Removed property svn:keywords.
1391         * src/compiler/translator/DetectDiscontinuity.cpp: Removed property svn:keywords.
1392         * src/compiler/translator/DetectDiscontinuity.h: Removed property svn:keywords.
1393         * src/compiler/translator/Diagnostics.cpp: Removed property svn:keywords.
1394         * src/compiler/translator/Diagnostics.h: Removed property svn:keywords.
1395         * src/compiler/translator/DirectiveHandler.cpp: Removed property svn:keywords.
1396         * src/compiler/translator/DirectiveHandler.h: Removed property svn:keywords.
1397         * src/compiler/translator/ExtensionBehavior.h: Removed property svn:keywords.
1398         * src/compiler/translator/ForLoopUnroll.cpp: Removed property svn:keywords.
1399         * src/compiler/translator/ForLoopUnroll.h: Removed property svn:keywords.
1400         * src/compiler/translator/HashNames.h: Removed property svn:keywords.
1401         * src/compiler/translator/InfoSink.cpp: Removed property svn:keywords.
1402         * src/compiler/translator/InfoSink.h: Removed property svn:keywords.
1403         * src/compiler/translator/Initialize.cpp: Removed property svn:keywords.
1404         * src/compiler/translator/Initialize.h: Removed property svn:keywords.
1405         * src/compiler/translator/InitializeDll.cpp: Removed property svn:keywords.
1406         * src/compiler/translator/InitializeDll.h: Removed property svn:keywords.
1407         * src/compiler/translator/InitializeGlobals.h: Removed property svn:keywords.
1408         * src/compiler/translator/InitializeParseContext.cpp: Removed property svn:keywords.
1409         * src/compiler/translator/InitializeParseContext.h: Removed property svn:keywords.
1410         * src/compiler/translator/InitializeVariables.cpp: Removed property svn:keywords.
1411         * src/compiler/translator/InitializeVariables.h: Removed property svn:keywords.
1412         * src/compiler/translator/IntermTraverse.cpp: Removed property svn:keywords.
1413         * src/compiler/translator/Intermediate.cpp: Removed property svn:keywords.
1414         * src/compiler/translator/MMap.h: Removed property svn:keywords.
1415         * src/compiler/translator/NodeSearch.h: Removed property svn:keywords.
1416         * src/compiler/translator/OutputESSL.cpp: Removed property svn:keywords.
1417         * src/compiler/translator/OutputESSL.h: Removed property svn:keywords.
1418         * src/compiler/translator/OutputGLSL.cpp: Removed property svn:keywords.
1419         * src/compiler/translator/OutputGLSL.h: Removed property svn:keywords.
1420         * src/compiler/translator/OutputGLSLBase.cpp: Removed property svn:keywords.
1421         * src/compiler/translator/OutputGLSLBase.h: Removed property svn:keywords.
1422         * src/compiler/translator/OutputHLSL.cpp: Removed property svn:keywords.
1423         * src/compiler/translator/OutputHLSL.h: Removed property svn:keywords.
1424         * src/compiler/translator/ParseContext.cpp: Removed property svn:keywords.
1425         * src/compiler/translator/ParseContext.h: Removed property svn:keywords.
1426         * src/compiler/translator/PoolAlloc.cpp: Removed property svn:keywords.
1427         * src/compiler/translator/PoolAlloc.h: Removed property svn:keywords.
1428         * src/compiler/translator/Pragma.h: Removed property svn:keywords.
1429         * src/compiler/translator/QualifierAlive.cpp: Removed property svn:keywords.
1430         * src/compiler/translator/QualifierAlive.h: Removed property svn:keywords.
1431         * src/compiler/translator/RemoveTree.cpp: Removed property svn:keywords.
1432         * src/compiler/translator/RemoveTree.h: Removed property svn:keywords.
1433         * src/compiler/translator/RenameFunction.h: Removed property svn:keywords.
1434         * src/compiler/translator/RewriteElseBlocks.cpp: Removed property svn:keywords.
1435         * src/compiler/translator/RewriteElseBlocks.h: Removed property svn:keywords.
1436         * src/compiler/translator/SearchSymbol.cpp: Removed property svn:keywords.
1437         * src/compiler/translator/SearchSymbol.h: Removed property svn:keywords.
1438         * src/compiler/translator/ShHandle.h: Removed property svn:keywords.
1439         * src/compiler/translator/ShaderLang.cpp: Removed property svn:keywords.
1440         * src/compiler/translator/SymbolTable.cpp: Removed property svn:keywords.
1441         * src/compiler/translator/SymbolTable.h: Removed property svn:keywords.
1442         * src/compiler/translator/TranslatorESSL.cpp: Removed property svn:keywords.
1443         * src/compiler/translator/TranslatorESSL.h: Removed property svn:keywords.
1444         * src/compiler/translator/TranslatorGLSL.cpp: Removed property svn:keywords.
1445         * src/compiler/translator/TranslatorGLSL.h: Removed property svn:keywords.
1446         * src/compiler/translator/TranslatorHLSL.cpp: Removed property svn:keywords.
1447         * src/compiler/translator/TranslatorHLSL.h: Removed property svn:keywords.
1448         * src/compiler/translator/Types.h: Removed property svn:keywords.
1449         * src/compiler/translator/UnfoldShortCircuit.cpp: Removed property svn:keywords.
1450         * src/compiler/translator/UnfoldShortCircuit.h: Removed property svn:keywords.
1451         * src/compiler/translator/UnfoldShortCircuitAST.cpp: Removed property svn:keywords.
1452         * src/compiler/translator/UnfoldShortCircuitAST.h: Removed property svn:keywords.
1453         * src/compiler/translator/ValidateLimitations.cpp: Removed property svn:keywords.
1454         * src/compiler/translator/ValidateLimitations.h: Removed property svn:keywords.
1455         * src/compiler/translator/VariableInfo.cpp: Removed property svn:keywords.
1456         * src/compiler/translator/VariableInfo.h: Removed property svn:keywords.
1457         * src/compiler/translator/VariablePacker.cpp: Removed property svn:keywords.
1458         * src/compiler/translator/VariablePacker.h: Removed property svn:keywords.
1459         * src/compiler/translator/VersionGLSL.cpp: Removed property svn:keywords.
1460         * src/compiler/translator/VersionGLSL.h: Removed property svn:keywords.
1461         * src/compiler/translator/compilerdebug.cpp: Removed property svn:keywords.
1462         * src/compiler/translator/compilerdebug.h: Removed property svn:keywords.
1463         * src/compiler/translator/depgraph/DependencyGraph.cpp: Removed property svn:keywords.
1464         * src/compiler/translator/depgraph/DependencyGraph.h: Removed property svn:keywords.
1465         * src/compiler/translator/depgraph/DependencyGraphBuilder.cpp: Removed property svn:keywords.
1466         * src/compiler/translator/depgraph/DependencyGraphBuilder.h: Removed property svn:keywords.
1467         * src/compiler/translator/depgraph/DependencyGraphOutput.cpp: Removed property svn:keywords.
1468         * src/compiler/translator/depgraph/DependencyGraphOutput.h: Removed property svn:keywords.
1469         * src/compiler/translator/depgraph/DependencyGraphTraverse.cpp: Removed property svn:keywords.
1470         * src/compiler/translator/generate_parser.sh: Removed property svn:keywords.
1471         * src/compiler/translator/glslang.h: Removed property svn:keywords.
1472         * src/compiler/translator/glslang_lex.cpp: Removed property svn:keywords.
1473         * src/compiler/translator/glslang_tab.cpp: Removed property svn:keywords.
1474         * src/compiler/translator/glslang_tab.h: Removed property svn:keywords.
1475         * src/compiler/translator/intermOut.cpp: Removed property svn:keywords.
1476         * src/compiler/translator/intermediate.h: Removed property svn:keywords.
1477         * src/compiler/translator/localintermediate.h: Removed property svn:keywords.
1478         * src/compiler/translator/osinclude.h: Removed property svn:keywords.
1479         * src/compiler/translator/ossource_posix.cpp: Removed property svn:keywords.
1480         * src/compiler/translator/ossource_win.cpp: Removed property svn:keywords.
1481         * src/compiler/translator/parseConst.cpp: Removed property svn:keywords.
1482         * src/compiler/translator/timing/RestrictFragmentShaderTiming.cpp: Removed property svn:keywords.
1483         * src/compiler/translator/timing/RestrictFragmentShaderTiming.h: Removed property svn:keywords.
1484         * src/compiler/translator/timing/RestrictVertexShaderTiming.cpp: Removed property svn:keywords.
1485         * src/compiler/translator/timing/RestrictVertexShaderTiming.h: Removed property svn:keywords.
1486         * src/compiler/translator/util.cpp: Removed property svn:keywords.
1487         * src/compiler/translator/util.h: Removed property svn:keywords.
1488         * src/libGLESv2/renderer/d3d11/BufferStorage11.cpp: Removed property svn:keywords.
1489         * src/libGLESv2/renderer/d3d11/BufferStorage11.h: Removed property svn:keywords.
1490         * src/libGLESv2/renderer/d3d11/Fence11.cpp: Removed property svn:keywords.
1491         * src/libGLESv2/renderer/d3d11/Fence11.h: Removed property svn:keywords.
1492         * src/libGLESv2/renderer/d3d11/Image11.cpp: Removed property svn:keywords.
1493         * src/libGLESv2/renderer/d3d11/Image11.h: Removed property svn:keywords.
1494         * src/libGLESv2/renderer/d3d11/IndexBuffer11.cpp: Removed property svn:keywords.
1495         * src/libGLESv2/renderer/d3d11/IndexBuffer11.h: Removed property svn:keywords.
1496         * src/libGLESv2/renderer/d3d11/InputLayoutCache.cpp: Removed property svn:keywords.
1497         * src/libGLESv2/renderer/d3d11/InputLayoutCache.h: Removed property svn:keywords.
1498         * src/libGLESv2/renderer/d3d11/Query11.cpp: Removed property svn:keywords.
1499         * src/libGLESv2/renderer/d3d11/Query11.h: Removed property svn:keywords.
1500         * src/libGLESv2/renderer/d3d11/RenderStateCache.cpp: Removed property svn:keywords.
1501         * src/libGLESv2/renderer/d3d11/RenderStateCache.h: Removed property svn:keywords.
1502         * src/libGLESv2/renderer/d3d11/RenderTarget11.cpp: Removed property svn:keywords.
1503         * src/libGLESv2/renderer/d3d11/RenderTarget11.h: Removed property svn:keywords.
1504         * src/libGLESv2/renderer/d3d11/Renderer11.cpp: Removed property svn:keywords.
1505         * src/libGLESv2/renderer/d3d11/Renderer11.h: Removed property svn:keywords.
1506         * src/libGLESv2/renderer/d3d11/ShaderExecutable11.cpp: Removed property svn:keywords.
1507         * src/libGLESv2/renderer/d3d11/ShaderExecutable11.h: Removed property svn:keywords.
1508         * src/libGLESv2/renderer/d3d11/SwapChain11.cpp: Removed property svn:keywords.
1509         * src/libGLESv2/renderer/d3d11/SwapChain11.h: Removed property svn:keywords.
1510         * src/libGLESv2/renderer/d3d11/TextureStorage11.cpp: Removed property svn:keywords.
1511         * src/libGLESv2/renderer/d3d11/TextureStorage11.h: Removed property svn:keywords.
1512         * src/libGLESv2/renderer/d3d11/VertexBuffer11.cpp: Removed property svn:keywords.
1513         * src/libGLESv2/renderer/d3d11/VertexBuffer11.h: Removed property svn:keywords.
1514         * src/libGLESv2/renderer/d3d11/renderer11_utils.cpp: Removed property svn:keywords.
1515         * src/libGLESv2/renderer/d3d11/renderer11_utils.h: Removed property svn:keywords.
1516         * src/libGLESv2/renderer/d3d9/BufferStorage9.cpp: Removed property svn:keywords.
1517         * src/libGLESv2/renderer/d3d9/BufferStorage9.h: Removed property svn:keywords.
1518         * src/libGLESv2/renderer/d3d9/Fence9.cpp: Removed property svn:keywords.
1519         * src/libGLESv2/renderer/d3d9/Fence9.h: Removed property svn:keywords.
1520         * src/libGLESv2/renderer/d3d9/Image9.cpp: Removed property svn:keywords.
1521         * src/libGLESv2/renderer/d3d9/Image9.h: Removed property svn:keywords.
1522         * src/libGLESv2/renderer/d3d9/IndexBuffer9.cpp: Removed property svn:keywords.
1523         * src/libGLESv2/renderer/d3d9/IndexBuffer9.h: Removed property svn:keywords.
1524         * src/libGLESv2/renderer/d3d9/Query9.cpp: Removed property svn:keywords.
1525         * src/libGLESv2/renderer/d3d9/Query9.h: Removed property svn:keywords.
1526         * src/libGLESv2/renderer/d3d9/RenderTarget9.cpp: Removed property svn:keywords.
1527         * src/libGLESv2/renderer/d3d9/RenderTarget9.h: Removed property svn:keywords.
1528         * src/libGLESv2/renderer/d3d9/Renderer9.cpp: Removed property svn:keywords.
1529         * src/libGLESv2/renderer/d3d9/Renderer9.h: Removed property svn:keywords.
1530         * src/libGLESv2/renderer/d3d9/ShaderExecutable9.cpp: Removed property svn:keywords.
1531         * src/libGLESv2/renderer/d3d9/ShaderExecutable9.h: Removed property svn:keywords.
1532         * src/libGLESv2/renderer/d3d9/SwapChain9.cpp: Removed property svn:keywords.
1533         * src/libGLESv2/renderer/d3d9/SwapChain9.h: Removed property svn:keywords.
1534         * src/libGLESv2/renderer/d3d9/TextureStorage9.cpp: Removed property svn:keywords.
1535         * src/libGLESv2/renderer/d3d9/TextureStorage9.h: Removed property svn:keywords.
1536         * src/libGLESv2/renderer/d3d9/VertexBuffer9.cpp: Removed property svn:keywords.
1537         * src/libGLESv2/renderer/d3d9/VertexBuffer9.h: Removed property svn:keywords.
1538         * src/libGLESv2/renderer/d3d9/VertexDeclarationCache.cpp: Removed property svn:keywords.
1539         * src/libGLESv2/renderer/d3d9/VertexDeclarationCache.h: Removed property svn:keywords.
1540         * src/libGLESv2/renderer/d3d9/renderer9_utils.cpp: Removed property svn:keywords.
1541         * src/libGLESv2/renderer/d3d9/renderer9_utils.h: Removed property svn:keywords.
1542         * src/libGLESv2/renderer/d3d9/shaders/compiled/componentmaskps.h: Removed property svn:keywords.
1543         * src/libGLESv2/renderer/d3d9/shaders/compiled/flipyvs.h: Removed property svn:keywords.
1544         * src/libGLESv2/renderer/d3d9/shaders/compiled/luminanceps.h: Removed property svn:keywords.
1545         * src/libGLESv2/renderer/d3d9/shaders/compiled/passthroughps.h: Removed property svn:keywords.
1546         * src/libGLESv2/renderer/d3d9/shaders/compiled/standardvs.h: Removed property svn:keywords.
1547
1548 2015-01-28  Dana Burkart  <dburkart@apple.com>
1549
1550         Move ASan flag settings from DebugRelease.xcconfig to Base.xcconfig
1551         https://bugs.webkit.org/show_bug.cgi?id=136765
1552
1553         Reviewed by Alexey Proskuryakov.
1554
1555         * Configurations/Base.xcconfig:
1556         * Configurations/DebugRelease.xcconfig:
1557
1558 2014-12-26  Dan Bernstein  <mitz@apple.com>
1559
1560         <rdar://problem/19348208> REGRESSION (r177027): iOS builds use the wrong toolchain
1561         https://bugs.webkit.org/show_bug.cgi?id=139950
1562
1563         Reviewed by David Kilzer.
1564
1565         * Configurations/Base.xcconfig: Only define TOOLCHAINS when building for OS X, doing so
1566         in a manner that works with Xcode 5.1.1.
1567
1568 2014-12-24  Dan Bernstein  <mitz@apple.com>
1569
1570         ANGLE extern symbols are not hidden by default, but should be
1571         https://bugs.webkit.org/show_bug.cgi?id=139936
1572
1573         Reviewed by Mark Rowe.
1574
1575         * Configurations/Base.xcconfig: Changed GCC_SYMBOLS_PRIVATE_EXTERN to YES.
1576
1577 2014-12-24  Dan Bernstein  <mitz@apple.com>
1578
1579         Removed the Derived Sources target.
1580
1581         It has been empty since r159533.
1582
1583         * ANGLE.xcodeproj/project.pbxproj:
1584
1585 2014-12-09  David Kilzer  <ddkilzer@apple.com>
1586
1587         Switch from using PLATFORM_NAME to SDK selectors in ANGLE, bmalloc, gtest, JavaScriptCore, WTF
1588         <http://webkit.org/b/139212>
1589
1590         Reviewed by Joseph Pecoraro.
1591
1592         * Configurations/Base.xcconfig:
1593         - Only set GCC_ENABLE_OBJC_GC, GCC_MODEL_TUNING and TOOLCHAINS
1594           on OS X.
1595         * Configurations/DebugRelease.xcconfig:
1596         - Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X.
1597
1598 2014-10-30  Dana Burkart  <dburkart@apple.com>
1599
1600         <rdar://problem/18821260> Prepare for the mysterious future
1601
1602         Reviewed by Lucas Forschler.
1603
1604         * Configurations/Base.xcconfig:
1605         * Configurations/DebugRelease.xcconfig:
1606
1607 2014-10-08  Brent Fulgham  <bfulgham@apple.com>
1608
1609         [Win] Use proper v120 target for 64-bit builds.
1610
1611         * ANGLE.vcxproj/libEGL.vcxproj:
1612
1613 2014-09-29  peavo@outlook.com  <peavo@outlook.com>
1614
1615         [WinCairo] D3D11 is not used by default.
1616         https://bugs.webkit.org/show_bug.cgi?id=137215
1617
1618         Reviewed by Alex Christensen.
1619
1620         ANGLE_DEFAULT_D3D11 needs to be defined for D3D11 to be used as default.
1621
1622         * ANGLE.vcxproj/libGLESv2Common.props:
1623
1624 2014-09-19  Daniel Bates  <dabates@apple.com>
1625
1626         Always assume internal SDK when building configuration Production
1627         https://bugs.webkit.org/show_bug.cgi?id=136925
1628         <rdar://problem/18362399>
1629
1630         Reviewed by Dan Bernstein.
1631
1632         * Configurations/Base.xcconfig:
1633
1634 2014-09-10  Roger Fong  <roger_fong@apple.com>
1635
1636         Check for varying packing restrictions per program instead of per shader.
1637         https://bugs.webkit.org/show_bug.cgi?id=136585.
1638         <rdar://problem/16308409>.
1639
1640         Reviewed by Dean Jackson.
1641
1642         Remove varying packing restrictions checks from ANGLE.
1643         * src/compiler/translator/Compiler.cpp:
1644         (TCompiler::compile):
1645         (TCompiler::enforcePackingRestrictions):
1646         * src/compiler/translator/ShHandle.h:
1647
1648 2014-09-06  Darin Adler  <darin@apple.com>
1649
1650         Make updates suggested by new version of Xcode
1651         https://bugs.webkit.org/show_bug.cgi?id=136603
1652
1653         Reviewed by Mark Rowe.
1654
1655         * ANGLE.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
1656
1657         * Configurations/ANGLE.xcconfig: Added CLANG_WARN_BOOL_CONVERSION,
1658         CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, COMBINE_HIDPI_IMAGES,
1659         and ENABLE_STRICT_OBJC_MSGSEND as suggested by Xcode upgrade check.
1660
1661 2014-09-06  Commit Queue  <commit-queue@webkit.org>
1662
1663         Unreviewed, rolling out r173335.
1664         https://bugs.webkit.org/show_bug.cgi?id=136597
1665
1666         Broke webgl/1.0.2/conformance/glsl/misc/shader-varying-
1667         packing-restrictions.html (Requested by ap on #webkit).
1668
1669         Reverted changeset:
1670
1671         "Remove statically used varyings from packing restrictions
1672         check."
1673         https://bugs.webkit.org/show_bug.cgi?id=136585
1674         http://trac.webkit.org/changeset/173335
1675
1676 2014-09-05  Roger Fong  <roger_fong@apple.com>
1677
1678         Remove statically used varyings from packing restrictions check.
1679         https://bugs.webkit.org/show_bug.cgi?id=136585.
1680         <rdar://problem/16308409>
1681
1682         Reviewed by Dean Jackson.
1683
1684         * src/compiler/translator/Compiler.cpp:
1685         (TCompiler::enforcePackingRestrictions):
1686
1687 2014-08-29  Csaba Osztrogonác  <ossy@webkit.org>
1688
1689         Unreviwed, remove empty directories.
1690
1691         * src/compiler/depgraph: Removed.
1692         * src/compiler/timing: Removed.
1693         * src/libGLESv2/renderer/shaders: Removed.
1694         * src/libGLESv2/renderer/shaders/compiled: Removed.
1695
1696 2014-08-11  Andy Estes  <aestes@apple.com>
1697
1698         [iOS] Get rid of iOS.xcconfig
1699         https://bugs.webkit.org/show_bug.cgi?id=135809
1700
1701         Reviewed by Joseph Pecoraro.
1702
1703         All iOS.xcconfig did was include AspenFamily.xcconfig, so there's no need for the indirection.
1704
1705         * ANGLE.xcodeproj/project.pbxproj:
1706         * Configurations/Base.xcconfig:
1707         * Configurations/iOS.xcconfig: Removed.
1708
1709 2014-08-07  Brent Fulgham  <bfulgham@apple.com>
1710
1711         [Win] Unreviewed gardening.
1712
1713         DebugSuffix targets should use our debugsuffix property sheet, and
1714         will therefore build to the proper output location with the proper
1715         suffix tags.
1716
1717         Also, we must use the WebKit_Libraries environment variable, not a set
1718         of relative paths to the property sheets.
1719
1720         * ANGLE.vcxproj/libEGL.vcxproj: Use 'debugsuffix.props' sheet.
1721         * ANGLE.vcxproj/libGLESv2.vcxproj: Ditto.
1722         * ANGLE.vcxproj/preprocessor.vcxproj: Ditto.
1723         * ANGLE.vcxproj/translator_common.vcxproj: Ditto.
1724         * ANGLE.vcxproj/translator_glsl.vcxproj: Ditto.
1725         * ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto.
1726         * ANGLE.vcxproj/libEGLCommon.props: Use $(DebugSuffix) endings.
1727         * ANGLE.vcxproj/libGLESv2Common.props: Ditto.
1728         * ANGLE.vcxproj/translatorCommon.props: Output to 'lib' folder,
1729         not 'bin' folder. These are libraries!
1730
1731 2014-08-02  Brent Fulgham  <bfulgham@apple.com>
1732
1733         [Win] Unreviewed build fix.
1734
1735         * src/libGLESv2/renderer/d3d11/BufferStorage11.cpp:
1736         (rx::BufferStorage11::copyData): Help compiler make
1737         decision about types.
1738
1739 2014-07-25  peavo@outlook.com  <peavo@outlook.com>
1740
1741         [Win][ANGLE] Enable D3D11.
1742         https://bugs.webkit.org/show_bug.cgi?id=135296
1743
1744         Reviewed by Alex Christensen.
1745
1746         Direct3D 11 is not enabled on Windows.
1747
1748         * ANGLE.vcxproj/libGLESv2.vcxproj: Added files.
1749         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Ditto.
1750         * ANGLE.vcxproj/libGLESv2Common.props: Enable D3D11.
1751         * src/libGLESv2/precompiled.h: Header file does not exist, avoid include.
1752         * changes.diff: Updated diff.
1753
1754 2014-06-04  Alex Christensen  <achristensen@webkit.org>
1755
1756         Enable WebGL on Windows.
1757         https://bugs.webkit.org/show_bug.cgi?id=133503
1758
1759         Reviewed by Brent Fulgham.
1760
1761         * changes.diff
1762         Recorded additional changes from ANGLE.
1763         * ANGLE.vcxproj/libEGL.vcxproj:
1764         * ANGLE.vcxproj/libEGL.vcxproj.filters:
1765         * ANGLE.vcxproj/libGLESv2.vcxproj:
1766         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1767         * include/EGL/egl.h:
1768         * include/EGL/eglsoftlinking.h: Added.
1769         * include/GLES2/gl2.h:
1770         * include/GLES2/gl2softlinking.h: Added.
1771         Resurrected soft linking headers from r153664.
1772         * src/libGLESv2/renderer/VertexBuffer.cpp:
1773         (rx::VertexBufferInterface::directStoragePossible):
1774         Compile fix for Win64.
1775
1776 2014-05-02  Alex Christensen  <achristensen@webkit.org>
1777
1778         Update ANGLE Windows build.
1779         https://bugs.webkit.org/show_bug.cgi?id=132456
1780
1781         Reviewed by Brent Fulgham.
1782
1783         * ANGLE.vcxproj/libEGLCommon.props:
1784         * ANGLE.vcxproj/libGLESv2.vcxproj:
1785         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1786         * ANGLE.vcxproj/libGLESv2Common.props:
1787         * ANGLE.vcxproj/translator_common.vcxproj:
1788         * ANGLE.vcxproj/translator_common.vcxproj.filters:
1789         * ANGLE.vcxproj/translator_glsl.vcxproj:
1790         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
1791         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1792         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
1793         Updated ANGLE build.
1794         * src/ANGLE.sln: Removed.
1795         * src/build_angle.gyp: Removed.
1796         * src/commit.h: Added.
1797         * changes.diff:
1798         * src/libGLESv2/Program.cpp:
1799         (gl::InfoLog::append):
1800         Fixed typo.
1801
1802 2014-05-01  Alex Christensen  <achristensen@webkit.org>
1803
1804         Finish updating ANGLE.
1805         https://bugs.webkit.org/show_bug.cgi?id=132434
1806
1807         Reviewed by Dean Jackson.
1808
1809         * ANGLE.xcodeproj/project.pbxproj:
1810         Removed Uniform.cpp which is no longer in ANGLE.
1811         * changes.diff:
1812         Added more changes from ANGLE which are already included in WebKit.
1813
1814         Updated ANGLE source files to e7a453a5bd76705ccb151117fa844846d4aa90af.  Long list of changes omitted.
1815
1816 2014-04-30  Alex Christensen  <achristensen@webkit.org>
1817
1818         Updated ANGLE.
1819         https://bugs.webkit.org/show_bug.cgi?id=132367
1820         <rdar://problem/16211451>
1821
1822         Reviewed by Dean Jackson.
1823
1824         * ANGLE.plist:
1825         Updated and xml encoded.
1826         * ANGLE.xcodeproj/project.pbxproj:
1827         Added needed new source files.
1828         * changes.diff: 
1829         Added to keep track of differences between WebKit's copy of ANGLE and the master repository.
1830         
1831         Updated ANGLE source files to e7a453a5bd76705ccb151117fa844846d4aa90af.  Long list of changes omitted.
1832
1833 2014-03-25  Martin Robinson  <mrobinson@igalia.com>
1834
1835         [GTK] Remove the autotools build
1836         https://bugs.webkit.org/show_bug.cgi?id=130717
1837
1838         Reviewed by Anders Carlsson.
1839
1840         * GNUmakefile.am: Removed.
1841
1842 2014-03-14  Mark Rowe  <mrowe@apple.com>
1843
1844         Fix the production build.
1845
1846         Don't rely on USE_INTERNAL_SDK being set for the Production configuration since UseInternalSDK.xcconfig won't
1847         be at the expected relative path when working from installed source.
1848
1849         * Configurations/Base.xcconfig:
1850
1851 2014-03-13  Tim Horton  <timothy_horton@apple.com>
1852
1853         Fix relative paths to UseInternalSDK.xcconfig for ANGLE and WebKit/mac
1854
1855         Rubber-stamped by Mark Rowe.
1856
1857         One-too-few "..".
1858
1859         * Configurations/Base.xcconfig:
1860
1861 2014-03-13  Radu Stavila  <stavila@adobe.com>
1862
1863         Webkit not building on XCode 5.1 due to garbage collection no longer being supported
1864         https://bugs.webkit.org/show_bug.cgi?id=130087
1865
1866         Reviewed by Mark Rowe.
1867
1868         Disable garbage collection on macosx when not using internal SDK.
1869
1870         * Configurations/Base.xcconfig:
1871
1872 2014-02-24  Dean Jackson  <dino@apple.com>
1873
1874         Unreviewed. This file should not be marked as executable (copied in from ANGLE).
1875
1876         * include/KHR/khrplatform.h:
1877
1878 2014-02-23  David Kilzer  <ddkilzer@apple.com>
1879
1880         ANGLE: Stop using unsafe strcpy method
1881         <http://webkit.org/b/129237>
1882         <rdar://problem/11077580>
1883
1884         Reviewed by Dean Jackson.
1885
1886         * include/GLSLANG/ShaderLang.h:
1887         - Drive-by fix for header documentation.
1888
1889         * src/compiler/translator/ShaderLang.cpp:
1890         (ShGetInfoLog):
1891         (ShGetObjectCode):
1892         * src/libGLESv2/Program.cpp:
1893         (gl::InfoLog::append):
1894         - Switch to use strncpy(), and explicitly set NULL terminator at
1895           the end of the buffer.
1896
1897 2014-02-23  Brent Fulgham  <bfulgham@apple.com>
1898
1899         [WinCairo] Unreviewed build fix after r164565.
1900
1901         * ANGLE.vcxproj/libEGL.vcxproj: Use correct path to files.
1902         * ANGLE.vcxproj/libGLESv2.vcxproj: Ditto.
1903         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Ditto.
1904         * ANGLE.vcxproj/preprocessor.vcxproj: Ditto.
1905         * ANGLE.vcxproj/translator_common.vcxproj: Ditto.
1906         * ANGLE.vcxproj/translator_common.vcxproj.filters: Ditto.
1907         * ANGLE.vcxproj/translator_glsl.vcxproj: Ditto.
1908         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Ditto.
1909         * ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto.
1910         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Ditto.
1911
1912 2014-02-23  Dean Jackson  <dino@apple.com>
1913
1914         Missing files from previous commit.
1915
1916 2014-02-23  Dean Jackson  <dino@apple.com>
1917
1918         Update ANGLE to 836bd2176e5607b14846cf1fbc5932dbc91318f4
1919         https://bugs.webkit.org/show_bug.cgi?id=129232
1920
1921         Reviewed by Brent Fulgham.
1922
1923         I also reapplied some of our changes from previous updates, including disabling the clang deprecation
1924         warnings in some files, adding the Apple note about license and defining YY_NO_INPUT.
1925
1926         Huge list of source changes omitted.
1927
1928 2013-12-18  Carlos Garcia Campos  <cgarcia@igalia.com>
1929
1930         Unreviewed. Fix make distcheck.
1931
1932         * GNUmakefile.am:
1933
1934 2013-12-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1935
1936         [GTK] Some ANGLE headers missing from dist
1937         https://bugs.webkit.org/show_bug.cgi?id=125782
1938
1939         Reviewed by Carlos Garcia Campos.
1940
1941         * GNUmakefile.am: add a few headers that were missing from the build,
1942         causing build failures when the system headers were incompatible.
1943
1944 2013-12-16  Alex Christensen  <achristensen@webkit.org>
1945
1946         Fixed Win64 build on VS2013.
1947         https://bugs.webkit.org/show_bug.cgi?id=125753
1948
1949         Reviewed by Brent Fulgham.
1950
1951         * ANGLE.vcxproj/libGLESv2.vcxproj:
1952         * ANGLE.vcxproj/preprocessor.vcxproj:
1953         * ANGLE.vcxproj/translator_common.vcxproj:
1954         * ANGLE.vcxproj/translator_glsl.vcxproj:
1955         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1956         Added correct PlatformToolset for 64-bit builds.
1957
1958 2013-12-13  Brent Fulgham  <bfulgham@apple.com>
1959
1960         [Win] Unreviewed build fix after r160548
1961
1962         I missed the ANGLE files, since we aren't building these
1963         on the Apple Windows port at the moment.
1964
1965         * ANGLE.vcxproj/libEGL.vcxproj: Update to VS2013
1966         * ANGLE.vcxproj/libGLESv2.vcxproj: Ditto
1967         * ANGLE.vcxproj/preprocessor.vcxproj: Ditto
1968         * ANGLE.vcxproj/translator_common.vcxproj: Ditto
1969         * ANGLE.vcxproj/translator_glsl.vcxproj: Ditto
1970         * ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto
1971
1972 2013-12-06  Commit Queue  <commit-queue@webkit.org>
1973
1974         Unreviewed, rolling out r159543.
1975         http://trac.webkit.org/changeset/159543
1976         https://bugs.webkit.org/show_bug.cgi?id=125371
1977
1978         Build fix for mac no longer needed (Requested by rfong on
1979         #webkit).
1980
1981         * ANGLE.xcodeproj/project.pbxproj:
1982         * src/compiler/glslang_tab.cpp:
1983         (yysyntax_error):
1984         (glslang_parse):
1985         * src/compiler/glslang_tab.h:
1986         * src/compiler/preprocessor/ExpressionParser.cpp:
1987         (yy_symbol_print):
1988         (yy_stack_print):
1989         (yy_reduce_print):
1990         (yytnamerr):
1991         (yysyntax_error):
1992         (yydestruct):
1993         (yyparse):
1994
1995 2013-12-05  Roger Fong  <roger_fong@apple.com>
1996
1997         [WebGL] Make sure we satisfy uniform and varying packing restrictions.
1998         https://bugs.webkit.org/show_bug.cgi?id=125124.
1999         <rdar://problem/15203291>
2000
2001         Reviewed by Brent Fulgham.
2002
2003         * src/compiler/Compiler.cpp: 
2004         Add a check to enforcePackingRestrictions to ensure we make sure packing restrictions for varyings are satisfied as well.
2005         (TCompiler::TCompiler):
2006         (TCompiler::Init):
2007         (TCompiler::compile):
2008         (TCompiler::enforcePackingRestrictions):
2009         * src/compiler/ShHandle.h: Keep track of maximum varying vectors.
2010
2011 2013-12-05  Matthew Hanson  <matthew_hanson@apple.com>
2012
2013         Fix ANGLE build failures by re-comitting the changes in http://trac.webkit.org/changeset/154223
2014         on top of the library updates introduced by http://trac.webkit.org/changeset/159533.
2015
2016         Rubber-stamped by Babak Shafiei.
2017
2018         * src/compiler/glslang.l:
2019         * src/compiler/glslang_lex.cpp:
2020         * src/compiler/preprocessor/Tokenizer.cpp:
2021         * src/compiler/preprocessor/Tokenizer.l:
2022
2023 2013-12-03  Daniel Bates  <dabates@apple.com>
2024
2025         ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
2026         https://bugs.webkit.org/show_bug.cgi?id=125164
2027         https://code.google.com/p/angleproject/issues/detail?id=534
2028
2029         Reviewed by Darin Adler.
2030
2031         Move the definition of the constant kTraceBufferLen under the macro
2032         guard TRACE_ENABLED since it's only referenced in code guarded by
2033         TRACE_ENABLED.
2034
2035         * src/compiler/debug.cpp:
2036
2037 2013-11-21  Alex Christensen  <achristensen@webkit.org>
2038
2039         Remove ANGLEGenerated from Windows build.
2040         https://bugs.webkit.org/show_bug.cgi?id=124759
2041
2042         Reviewed by Darin Adler.
2043
2044         * ANGLE.vcxproj/ANGLEGenerated.vcxproj: Removed.
2045         * ANGLE.vcxproj/ANGLEGenerated.vcxproj.filters: Removed.
2046
2047 2013-11-21  Alex Christensen  <achristensen@webkit.org>
2048
2049         Unreviewed build fix.
2050
2051         * src/libGLESv2/Constants.h: Added from checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.
2052
2053 2013-11-21  Mark Rowe  <mrowe@apple.com>
2054
2055         <https://webkit.org/b/124701> Fix an error in a few Xcode configuration setting files.
2056
2057         Reviewed by Alexey Proskuryakov.
2058
2059         * Configurations/Base.xcconfig:
2060
2061 2013-11-21  Brent Fulgham  <bfulgham@apple.com>
2062
2063         Unreviewed gardening to hide annoying *.user files when.
2064
2065         * ANGLE.vcxproj: Added property svn:ignore.
2066
2067 2013-11-21  peavo@outlook.com  <peavo@outlook.com>
2068
2069         [WinCairo] Building ANGLE libraries fails.
2070         https://bugs.webkit.org/show_bug.cgi?id=124679
2071
2072         Reviewed by Brent Fulgham.
2073
2074         Added/removed files to/from project, and re-added constants.h file.
2075
2076         * ANGLE.vcxproj/libEGL.vcxproj:
2077         * ANGLE.vcxproj/libEGL.vcxproj.filters:
2078         * ANGLE.vcxproj/libGLESv2.vcxproj:
2079         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
2080         * ANGLE.vcxproj/libGLESv2Common.props:
2081         * ANGLE.vcxproj/translator_common.vcxproj:
2082         * ANGLE.vcxproj/translator_common.vcxproj.filters:
2083         * ANGLE.vcxproj/translator_glsl.vcxproj:
2084         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
2085         * ANGLE.vcxproj/translator_hlsl.vcxproj:
2086         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
2087         * src/libGLESv2/libGLESv2.def:
2088
2089 2013-11-20  Sergio Correia  <sergio.correia@openbossa.org>
2090
2091         ANGLE doesn't build with bison 3.0
2092         https://bugs.webkit.org/show_bug.cgi?id=124642
2093
2094         Reviewed by Gyuyoung Kim.
2095
2096         This is a reedition of r154109, now that ANGLE source has been updated
2097         in r159533.
2098
2099         * src/compiler/glslang.y: Use %lex-param to set YYLEX_PARAM and stop
2100         using the deprecated YYID macro.
2101
2102 2013-11-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2103
2104         Unreviewed. Fix GTK build.
2105
2106         * GNUmakefile.am: Remove duplicated entries.
2107
2108 2013-11-19  Martin Robinson  <mrobinson@igalia.com>
2109
2110         Fix the GTK+ build after the ANGLE update in r159533
2111
2112         * GNUmakefile.am: Update the source list.
2113
2114 2013-11-19  Roger Fong  <roger_fong@apple.com>
2115
2116         Unreviewed. Build fix for Mac.
2117
2118         * src/compiler/glslang_tab.cpp:
2119         (yysyntax_error):
2120         (yyerror):
2121         * src/compiler/glslang_tab.h:
2122         * src/compiler/preprocessor/ExpressionParser.cpp:
2123         (yysyntax_error):
2124
2125 2013-11-19  Roger Fong  <roger_fong@apple.com>
2126
2127         Unreviewed. Prospective build fix for GTK port following r159533.
2128
2129         * GNUmakefile.am:
2130
2131 2013-11-19  Roger Fong  <roger_fong@apple.com>
2132
2133         Update ANGLE sources.
2134         https://bugs.webkit.org/show_bug.cgi?id=124615.
2135
2136         Reviewed by Dean Jackson.
2137
2138         Update ANGLE to checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.
2139         Modify xcodeproj files as necessary, update plist.
2140         Stop using DerivedSources.make and just use the generated sources that are checked into ANGLE.
2141         Add a note to bison generated files indicating that Apple elects to distribute said files under the BSD license: 
2142         ExpressionParser.cpp, glslang_tab.cpp, glslang_tab.h.
2143
2144         * ANGLE.plist:
2145         * ANGLE.xcodeproj/project.pbxproj:
2146         * DerivedSources.make: Removed.
2147         * include/EGL/egl.h:
2148         * include/EGL/eglsoftlinking.h: Removed.
2149         * include/GLES2/gl2.h:
2150         * include/GLES2/gl2softlinking.h: Removed.
2151         * include/GLSLANG/ShaderLang.h:
2152         * include/KHR/khrplatform.h:
2153         * src/ANGLE.sln: Added.
2154         * src/build_angle.gypi:
2155         * src/common/debug.h:
2156         * src/common/event_tracer.cpp: Added.
2157         (gl::TraceGetTraceCategoryEnabledFlag):
2158         (gl::TraceAddTraceEvent):
2159         * src/common/event_tracer.h: Added.
2160         * src/common/version.h:
2161         * src/compiler/CodeGen.cpp: Added.
2162         (ConstructCompiler):
2163         (DeleteCompiler):
2164         * src/compiler/CodeGenGLSL.cpp: Removed.
2165         * src/compiler/CodeGenHLSL.cpp: Removed.
2166         * src/compiler/Common.h:
2167         (NewPoolTString):
2168         * src/compiler/Compiler.cpp:
2169         (TCompiler::Init):
2170         (TCompiler::compile):
2171         (TCompiler::InitBuiltInSymbolTable):
2172         (TCompiler::clearResults):
2173         (TCompiler::collectVariables):
2174         * src/compiler/ConstantUnion.h:
2175         * src/compiler/DetectDiscontinuity.cpp:
2176         * src/compiler/InfoSink.h:
2177         * src/compiler/InitializeDll.cpp:
2178         (InitProcess):
2179         (DetachProcess):
2180         * src/compiler/InitializeDll.h:
2181         * src/compiler/InitializeGLPosition.cpp: Added.
2182         (InitializeGLPosition::visitAggregate):
2183         (InitializeGLPosition::insertCode):
2184         * src/compiler/InitializeGLPosition.h: Added.
2185         (InitializeGLPosition::InitializeGLPosition):
2186         (InitializeGLPosition::visitBinary):
2187         (InitializeGLPosition::visitUnary):
2188         (InitializeGLPosition::visitSelection):
2189         (InitializeGLPosition::visitLoop):
2190         (InitializeGLPosition::visitBranch):
2191         * src/compiler/InitializeGlobals.h:
2192         * src/compiler/InitializeParseContext.cpp:
2193         (InitializeParseContextIndex):
2194         (FreeParseContextIndex):
2195         (SetGlobalParseContext):
2196         (GetGlobalParseContext):
2197         * src/compiler/InitializeParseContext.h:
2198         * src/compiler/IntermTraverse.cpp:
2199         (TIntermSymbol::traverse):
2200         (TIntermConstantUnion::traverse):
2201         (TIntermBinary::traverse):
2202         (TIntermUnary::traverse):
2203         (TIntermAggregate::traverse):
2204         (TIntermSelection::traverse):
2205         (TIntermLoop::traverse):
2206         (TIntermBranch::traverse):
2207         * src/compiler/Intermediate.cpp:
2208         (GetHigherPrecision):
2209         (getOperatorString):
2210         (TIntermLoop::replaceChildNode):
2211         (TIntermBranch::replaceChildNode):
2212         (TIntermBinary::replaceChildNode):
2213         (TIntermUnary::replaceChildNode):
2214         (TIntermAggregate::replaceChildNode):
2215         (TIntermSelection::replaceChildNode):
2216         (TIntermOperator::isAssignment):
2217         (TIntermediate::promoteConstantUnion):
2218         * src/compiler/MapLongVariableNames.cpp:
2219         * src/compiler/MapLongVariableNames.h:
2220         * src/compiler/NodeSearch.h: Added.
2221         (sh::NodeSearchTraverser::NodeSearchTraverser):
2222         (sh::NodeSearchTraverser::found):
2223         (sh::NodeSearchTraverser::search):
2224         (sh::FindDiscard::visitBranch):
2225         (sh::FindSideEffectRewriting::visitBinary):
2226         * src/compiler/OutputGLSLBase.cpp:
2227         (TOutputGLSLBase::visitSelection):
2228         (TOutputGLSLBase::visitAggregate):
2229         (TOutputGLSLBase::visitLoop):
2230         * src/compiler/OutputGLSLBase.h:
2231         * src/compiler/OutputHLSL.cpp:
2232         (sh::OutputHLSL::OutputHLSL):
2233         (sh::OutputHLSL::header):
2234         (sh::OutputHLSL::visitBinary):
2235         (sh::OutputHLSL::visitSelection):
2236         (sh::OutputHLSL::visitBranch):
2237         (sh::OutputHLSL::handleExcessiveLoop):
2238         (sh::OutputHLSL::addConstructor):
2239         * src/compiler/OutputHLSL.h:
2240         * src/compiler/ParseContext.cpp: Added.
2241         (TParseContext::parseVectorFields):
2242         (TParseContext::parseMatrixFields):
2243         (TParseContext::recover):
2244         (TParseContext::error):
2245         (TParseContext::warning):
2246         (TParseContext::trace):
2247         (TParseContext::assignError):
2248         (TParseContext::unaryOpError):
2249         (TParseContext::binaryOpError):
2250         (TParseContext::precisionErrorCheck):
2251         (TParseContext::lValueErrorCheck):
2252         (TParseContext::constErrorCheck):
2253         (TParseContext::integerErrorCheck):
2254         (TParseContext::globalErrorCheck):
2255         (TParseContext::reservedErrorCheck):
2256         (TParseContext::constructorErrorCheck):
2257         (TParseContext::voidErrorCheck):
2258         (TParseContext::boolErrorCheck):
2259         (TParseContext::samplerErrorCheck):
2260         (TParseContext::structQualifierErrorCheck):
2261         (TParseContext::parameterSamplerErrorCheck):
2262         (TParseContext::containsSampler):
2263         (TParseContext::arraySizeErrorCheck):
2264         (TParseContext::arrayQualifierErrorCheck):
2265         (TParseContext::arrayTypeErrorCheck):
2266         (TParseContext::arrayErrorCheck):
2267         (TParseContext::nonInitConstErrorCheck):
2268         (TParseContext::nonInitErrorCheck):
2269         (TParseContext::paramErrorCheck):
2270         (TParseContext::extensionErrorCheck):
2271         (TParseContext::supportsExtension):
2272         (TParseContext::isExtensionEnabled):
2273         (TParseContext::findFunction):
2274         (TParseContext::executeInitializer):
2275         (TParseContext::areAllChildConst):
2276         (TParseContext::addConstructor):
2277         (TParseContext::foldConstConstructor):
2278         (TParseContext::constructBuiltIn):
2279         (TParseContext::constructStruct):
2280         (TParseContext::addConstVectorNode):
2281         (TParseContext::addConstMatrixNode):
2282         (TParseContext::addConstArrayNode):
2283         (TParseContext::addConstStruct):
2284         (TParseContext::enterStructDeclaration):
2285         (TParseContext::exitStructDeclaration):
2286         (TParseContext::structNestingErrorCheck):
2287         (TParseContext::addIndexExpression):
2288         (PaParseStrings):
2289         * src/compiler/ParseContext.h: Added.
2290         (TParseContext::TParseContext):
2291         (TParseContext::numErrors):
2292         (TParseContext::infoSink):
2293         (TParseContext::pragma):
2294         (TParseContext::extensionBehavior):
2295         * src/compiler/ParseHelper.cpp: Removed.
2296         * src/compiler/ParseHelper.h: Removed.
2297         * src/compiler/PoolAlloc.cpp:
2298         (InitializePoolIndex):
2299         (FreePoolIndex):
2300         (GetGlobalPoolAllocator):
2301         (SetGlobalPoolAllocator):
2302         * src/compiler/PoolAlloc.h:
2303         (pool_allocator::pool_allocator):
2304         * src/compiler/SearchSymbol.h:
2305         * src/compiler/ShHandle.h:
2306         (TCompiler::getVaryings):
2307         * src/compiler/ShaderLang.cpp:
2308         (checkVariableMaxLengths):
2309         (ShInitialize):
2310         (ShFinalize):
2311         (ShConstructCompiler):
2312         (ShCompile):
2313         (ShGetInfo):
2314         (ShGetVariableInfo):
2315         (ShCheckVariablesWithinPackingLimits):
2316         * src/compiler/SymbolTable.cpp:
2317         (TSymbolTable::~TSymbolTable):
2318         * src/compiler/SymbolTable.h:
2319         (TSymbol::TSymbol):
2320         (TSymbolTableLevel::insert):
2321         (TSymbolTable::push):
2322         (TSymbolTable::pop):
2323         (TSymbolTable::findBuiltIn):
2324         (TSymbolTable::relateToExtension):
2325         (TSymbolTable::setDefaultPrecision):
2326         (TSymbolTable::getDefaultPrecision):
2327         (TSymbolTable::supportsPrecision):
2328         * src/compiler/Types.h:
2329         (NewPoolTFieldList):
2330         (TType::TType):
2331         (TType::setNominalSize):
2332         (TPublicType::setAggregate):
2333         * src/compiler/UnfoldShortCircuit.cpp:
2334         (sh::UnfoldShortCircuit::visitBinary):
2335         (sh::UnfoldShortCircuit::visitSelection):
2336         * src/compiler/UnfoldShortCircuit.h:
2337         * src/compiler/UnfoldShortCircuitAST.cpp: Added.
2338         (UnfoldShortCircuitAST::visitBinary):
2339         (UnfoldShortCircuitAST::updateTree):
2340         * src/compiler/UnfoldShortCircuitAST.h: Added.
2341         (UnfoldShortCircuitAST::UnfoldShortCircuitAST):
2342         (UnfoldShortCircuitAST::NodeUpdateEntry::NodeUpdateEntry):
2343         * src/compiler/Uniform.cpp:
2344         (sh::Uniform::Uniform):
2345         * src/compiler/Uniform.h:
2346         * src/compiler/ValidateLimitations.cpp:
2347         (ValidateLimitations::validateFunctionCall):
2348         (ValidateLimitations::validateOperation):
2349         * src/compiler/VariableInfo.cpp:
2350         (TVariableInfo::TVariableInfo):
2351         (CollectVariables::CollectVariables):
2352         (CollectVariables::visitSymbol):
2353         (CollectVariables::visitAggregate):
2354         * src/compiler/VariableInfo.h:
2355         * src/compiler/debug.cpp:
2356         * src/compiler/depgraph/DependencyGraph.cpp:
2357         * src/compiler/depgraph/DependencyGraphBuilder.cpp:
2358         (TDependencyGraphBuilder::visitBinary):
2359         * src/compiler/generate_parser.sh:
2360         * src/compiler/glslang.l:
2361         * src/compiler/glslang.y:
2362         * src/compiler/glslang_lex.cpp:
2363         (input):
2364         (yyerror):
2365         (int_constant):
2366         (float_constant):
2367         (glslang_scan):
2368         * src/compiler/glslang_tab.cpp:
2369         (yysyntax_error):
2370         (glslang_parse):
2371         * src/compiler/glslang_tab.h:
2372         * src/compiler/intermediate.h:
2373         (TIntermSymbol::hasSideEffects):
2374         (TIntermSymbol::replaceChildNode):
2375         (TIntermConstantUnion::hasSideEffects):
2376         (TIntermConstantUnion::getIConst):
2377         (TIntermConstantUnion::getFConst):
2378         (TIntermConstantUnion::getBConst):
2379         (TIntermConstantUnion::replaceChildNode):
2380         (TIntermOperator::hasSideEffects):
2381         (TIntermBinary::hasSideEffects):
2382         (TIntermUnary::hasSideEffects):
2383         (TIntermAggregate::hasSideEffects):
2384         (TIntermSelection::hasSideEffects):
2385         (TIntermTraverser::~TIntermTraverser):
2386         (TIntermTraverser::incrementDepth):
2387         (TIntermTraverser::decrementDepth):
2388         (TIntermTraverser::getParentNode):
2389         * src/compiler/localintermediate.h:
2390         * src/compiler/parseConst.cpp:
2391         * src/compiler/preprocessor/ExpressionParser.cpp:
2392         (yy_symbol_print):
2393         (yy_stack_print):
2394         (yy_reduce_print):
2395         (yystrlen):
2396         (yystpcpy):
2397         (yytnamerr):
2398         (yysyntax_error):
2399         (yydestruct):
2400         (yyparse):
2401         * src/compiler/preprocessor/ExpressionParser.y:
2402         * src/compiler/preprocessor/Preprocessor.cpp:
2403         (pp::Preprocessor::setMaxTokenLength):
2404         (pp::Preprocessor::lex):
2405         * src/compiler/preprocessor/Preprocessor.h:
2406         * src/compiler/preprocessor/Tokenizer.cpp:
2407         (pp::Tokenizer::Tokenizer):
2408         (pp::Tokenizer::lex):
2409         * src/compiler/preprocessor/Tokenizer.h:
2410         (pp::Tokenizer::setMaxTokenLength):
2411         * src/compiler/preprocessor/Tokenizer.l:
2412         * src/compiler/preprocessor/generate_parser.sh:
2413         * src/compiler/preprocessor/preprocessor.vcxproj: Added.
2414         * src/compiler/preprocessor/preprocessor.vcxproj.filters: Added.
2415         * src/compiler/timing/RestrictFragmentShaderTiming.cpp:
2416         * src/compiler/translator.vcxproj: Added.
2417         * src/compiler/translator.vcxproj.filters: Added.
2418         * src/compiler/util.cpp:
2419         (atof_clamp):
2420         (atoi_clamp):
2421         * src/compiler/util.h:
2422         * src/libEGL/Surface.cpp:
2423         (egl::Surface::checkForOutOfDateSwapChain):
2424         * src/libEGL/libEGL.cpp:
2425         * src/libEGL/libEGL.rc:
2426         * src/libEGL/libEGL.vcxproj: Added.
2427         * src/libEGL/libEGL.vcxproj.filters: Added.
2428         * src/libGLESv2/Buffer.cpp:
2429         (gl::Buffer::bufferData):
2430         (gl::Buffer::bufferSubData):
2431         (gl::Buffer::size):
2432         (gl::Buffer::getIndexRangeCache):
2433         * src/libGLESv2/Buffer.h:
2434         * src/libGLESv2/Context.cpp:
2435         (gl::Context::applyTextures):
2436         (gl::Context::getBoundFramebufferTextureSerials):
2437         * src/libGLESv2/Context.h:
2438         (gl::Context::getRenderer):
2439         * src/libGLESv2/Framebuffer.h:
2440         * src/libGLESv2/ProgramBinary.cpp:
2441         (gl::DiscardWorkaround):
2442         (gl::ProgramBinary::load):
2443         (gl::ProgramBinary::link):
2444         (gl::ProgramBinary::linkAttributes):
2445         (gl::AttributeSorter::AttributeSorter):
2446         (gl::ProgramBinary::initAttributesByLayout):
2447         (gl::ProgramBinary::sortAttributesByLayout):
2448         * src/libGLESv2/ProgramBinary.h:
2449         * src/libGLESv2/Renderbuffer.cpp:
2450         (gl::RenderbufferTexture2D::getTextureSerial):
2451         (gl::RenderbufferTextureCubeMap::getTextureSerial):
2452         (gl::Renderbuffer::getTextureSerial):
2453         * src/libGLESv2/Renderbuffer.h:
2454         (gl::RenderbufferStorage::getTextureSerial):
2455         * src/libGLESv2/Shader.cpp:
2456         (gl::Shader::parseVaryings):
2457         (gl::Shader::uncompile):
2458         * src/libGLESv2/Shader.h:
2459         * src/libGLESv2/Texture.cpp:
2460         (gl::TextureCubeMap::storage):
2461         * src/libGLESv2/Uniform.cpp:
2462         (gl::Uniform::Uniform):
2463         (gl::Uniform::~Uniform):
2464         (gl::Uniform::isArray):
2465         (gl::Uniform::elementCount):
2466         * src/libGLESv2/Uniform.h:
2467         * src/libGLESv2/constants.h: Removed.
2468         * src/libGLESv2/libGLESv2.def:
2469         * src/libGLESv2/libGLESv2.rc:
2470         * src/libGLESv2/libGLESv2.vcxproj: Added.
2471         * src/libGLESv2/libGLESv2.vcxproj.filters: Added.
2472         * src/libGLESv2/precompiled.h:
2473         * src/libGLESv2/renderer/Image11.cpp:
2474         (rx::Image11::generateMipmap):
2475         (rx::Image11::loadData):
2476         (rx::Image11::loadCompressedData):
2477         (rx::Image11::copy):
2478         (rx::Image11::createStagingTexture):
2479         (rx::Image11::map):
2480         * src/libGLESv2/renderer/Image11.h:
2481         * src/libGLESv2/renderer/IndexBuffer.cpp:
2482         (rx::IndexBufferInterface::mapBuffer):
2483         (rx::StaticIndexBufferInterface::getIndexRangeCache):
2484         * src/libGLESv2/renderer/IndexBuffer.h:
2485         * src/libGLESv2/renderer/IndexBuffer11.cpp:
2486         (rx::IndexBuffer11::mapBuffer):
2487         * src/libGLESv2/renderer/IndexDataManager.cpp:
2488         (rx::IndexDataManager::prepareIndexData):
2489         (rx::IndexDataManager::getCountingIndices):
2490         * src/libGLESv2/renderer/IndexRangeCache.cpp: Added.
2491         (rx::IndexRangeCache::addRange):
2492         (rx::IndexRangeCache::invalidateRange):
2493         (rx::IndexRangeCache::findRange):
2494         (rx::IndexRangeCache::clear):
2495         (rx::IndexRangeCache::IndexRange::IndexRange):
2496         (rx::IndexRangeCache::IndexRange::operator<):
2497         (rx::IndexRangeCache::IndexBounds::IndexBounds):
2498         * src/libGLESv2/renderer/IndexRangeCache.h: Added.
2499         * src/libGLESv2/renderer/InputLayoutCache.cpp:
2500         (rx::InputLayoutCache::InputLayoutCache):
2501         (rx::InputLayoutCache::clear):
2502         (rx::InputLayoutCache::markDirty):
2503         (rx::InputLayoutCache::applyVertexBuffers):
2504         (rx::InputLayoutCache::hashInputLayout):
2505         (rx::InputLayoutCache::compareInputLayouts):
2506         * src/libGLESv2/renderer/InputLayoutCache.h:
2507         (rx::InputLayoutCache::InputLayoutKey::begin):
2508         (rx::InputLayoutCache::InputLayoutKey::end):
2509         * src/libGLESv2/renderer/RenderTarget11.cpp:
2510         (rx::RenderTarget11::getTexture):
2511         (rx::RenderTarget11::getRenderTargetView):
2512         (rx::RenderTarget11::getDepthStencilView):
2513         (rx::RenderTarget11::getShaderResourceView):
2514         * src/libGLESv2/renderer/RenderTarget11.h:
2515         * src/libGLESv2/renderer/Renderer.cpp:
2516         (rx::Renderer::initializeCompiler):
2517         * src/libGLESv2/renderer/Renderer.h:
2518         * src/libGLESv2/renderer/Renderer11.cpp:
2519         (rx::Renderer11::initialize):
2520         (rx::Renderer11::applyPrimitiveType):
2521         (rx::Renderer11::applyRenderTarget):
2522         (rx::Renderer11::drawLineLoop):
2523         (rx::Renderer11::drawTriangleFan):
2524         (rx::Renderer11::applyUniforms):
2525         (rx::Renderer11::clear):
2526         (rx::Renderer11::markAllStateDirty):
2527         (rx::Renderer11::copyImage):
2528         (rx::Renderer11::compileToExecutable):
2529         (rx::Renderer11::getRenderTargetResource):
2530         (rx::Renderer11::blitRenderbufferRect):
2531         * src/libGLESv2/renderer/Renderer11.h:
2532         * src/libGLESv2/renderer/Renderer9.cpp:
2533         (rx::Renderer9::initialize):
2534         (rx::Renderer9::setViewport):
2535         (rx::Renderer9::drawLineLoop):
2536         (rx::Renderer9::compileToExecutable):
2537         * src/libGLESv2/renderer/Renderer9.h:
2538         * src/libGLESv2/renderer/SwapChain.h:
2539         * src/libGLESv2/renderer/SwapChain11.cpp:
2540         (rx::SwapChain11::resetOffscreenTexture):
2541         (rx::SwapChain11::reset):
2542         (rx::SwapChain11::swapRect):
2543         * src/libGLESv2/renderer/SwapChain9.cpp:
2544         (rx::convertInterval):
2545         * src/libGLESv2/renderer/TextureStorage11.cpp:
2546         (rx::TextureStorage11::IsTextureFormatRenderable):
2547         (rx::TextureStorage11::generateMipmapLayer):
2548         (rx::TextureStorage11_Cube::getRenderTarget):
2549         * src/libGLESv2/renderer/VertexBuffer.cpp:
2550         (rx::VertexBufferInterface::storeVertexAttributes):
2551         (rx::VertexBufferInterface::storeRawData):
2552         (rx::VertexBufferInterface::reserveVertexSpace):
2553         (rx::StaticVertexBufferInterface::lookupAttribute):
2554         (rx::StaticVertexBufferInterface::storeVertexAttributes):
2555         * src/libGLESv2/renderer/VertexBuffer.h:
2556         * src/libGLESv2/renderer/VertexBuffer11.cpp:
2557         (rx::VertexBuffer11::getSpaceRequired):
2558         * src/libGLESv2/renderer/VertexBuffer11.h:
2559         * src/libGLESv2/renderer/VertexBuffer9.cpp:
2560         (rx::VertexBuffer9::storeVertexAttributes):
2561         (rx::VertexBuffer9::getSpaceRequired):
2562         (rx::VertexBuffer9::requiresConversion):
2563         (rx::VertexBuffer9::getVertexSize):
2564         (rx::VertexBuffer9::spaceRequired):
2565         * src/libGLESv2/renderer/VertexBuffer9.h:
2566         * src/libGLESv2/renderer/VertexDataManager.cpp:
2567         (rx::elementsInBuffer):
2568         (rx::StreamingBufferElementCount):
2569         (rx::VertexDataManager::prepareVertexData):
2570         * src/libGLESv2/renderer/VertexDataManager.h:
2571         * src/libGLESv2/renderer/renderer11_utils.cpp:
2572         (gl_d3d11::ConvertTextureFormat):
2573         * src/libGLESv2/renderer/shaders/compiled/clear11vs.h:
2574         * src/libGLESv2/renderer/shaders/compiled/clearmultiple11ps.h:
2575         * src/libGLESv2/renderer/shaders/compiled/clearsingle11ps.h:
2576         * src/libGLESv2/renderer/shaders/compiled/componentmaskps.h:
2577         * src/libGLESv2/renderer/shaders/compiled/flipyvs.h:
2578         * src/libGLESv2/renderer/shaders/compiled/luminanceps.h:
2579         * src/libGLESv2/renderer/shaders/compiled/passthrough11vs.h:
2580         * src/libGLESv2/renderer/shaders/compiled/passthroughlum11ps.h:
2581         * src/libGLESv2/renderer/shaders/compiled/passthroughlumalpha11ps.h:
2582         * src/libGLESv2/renderer/shaders/compiled/passthroughps.h:
2583         * src/libGLESv2/renderer/shaders/compiled/passthroughrgb11ps.h:
2584         * src/libGLESv2/renderer/shaders/compiled/passthroughrgba11ps.h:
2585         * src/libGLESv2/renderer/shaders/compiled/standardvs.h:
2586         * src/libGLESv2/renderer/shaders/generate_shaders.bat:
2587         * src/libGLESv2/utilities.cpp:
2588         (gl::ComputeTypeSize):
2589         * src/libGLESv2/utilities.h:
2590         * src/third_party/murmurhash/MurmurHash3.cpp:
2591         (rotl32):
2592         (rotl64):
2593         (getblock):
2594         (fmix):
2595         (MurmurHash3_x86_32):
2596         (MurmurHash3_x86_128):
2597         (MurmurHash3_x64_128):
2598         * src/third_party/murmurhash/MurmurHash3.h:
2599         * src/third_party/trace_event: Added.
2600         * src/third_party/trace_event/trace_event.h: Added.
2601         (gl::TraceEvent::TraceID::TraceID):
2602         (gl::TraceEvent::TraceID::data):
2603         (gl::TraceEvent::TraceStringWithCopy::TraceStringWithCopy):
2604         (gl::TraceEvent::TraceStringWithCopy::operator const char* ):
2605         (gl::TraceEvent::setTraceValue):
2606         (gl::TraceEvent::addTraceEvent):
2607         (gl::TraceEvent::TraceEndOnScopeClose::TraceEndOnScopeClose):
2608         (gl::TraceEvent::TraceEndOnScopeClose::~TraceEndOnScopeClose):
2609         (gl::TraceEvent::TraceEndOnScopeClose::initialize):
2610         (gl::TraceEvent::TraceEndOnScopeClose::addEventIfEnabled):
2611         (gl::TraceEvent::SamplingStateScope::SamplingStateScope):
2612         (gl::TraceEvent::SamplingStateScope::~SamplingStateScope):
2613         (gl::TraceEvent::SamplingStateScope::current):
2614         (gl::TraceEvent::SamplingStateScope::set):
2615
2616 2013-11-18  Mark Rowe  <mrowe@apple.com>
2617
2618         Use hw.activecpu for determining how many processes to spawn.
2619
2620         It's documented as the preferred way to determine the number of threads
2621         or processes to create in a SMP aware application.
2622
2623         Rubber-stamped by Tim Horton.
2624
2625         * ANGLE.xcodeproj/project.pbxproj:
2626
2627 2013-11-06  Dean Jackson  <dino@apple.com>
2628
2629         kTraceBufferLen is unused in default builds
2630         https://bugs.webkit.org/show_bug.cgi?id=123941
2631         <rdar://problem/15409804>
2632
2633         Reviewed by Tim Horton.
2634
2635         kTraceBufferLen is not used in debug.cpp if TRACE_ENABLED is
2636         not defined. This causes a warning in newer builds of clang.
2637         For now, skip warnings on unused variables until we
2638         update from ANGLE.
2639
2640         * src/compiler/debug.cpp: Add unused-variable ignore pragma.
2641
2642 2013-10-24  Mark Rowe  <mrowe@apple.com>
2643
2644         Remove references to OS X 10.7 from Xcode configuration settings.
2645
2646         Now that we're not building for OS X 10.7 they're no longer needed.
2647
2648         Reviewed by Anders Carlsson.
2649
2650         * Configurations/Base.xcconfig:
2651         * Configurations/DebugRelease.xcconfig:
2652
2653 2013-10-24  Mark Rowe  <mrowe@apple.com>
2654
2655         <rdar://problem/15312643> Prepare for the mysterious future.
2656
2657         Reviewed by David Kilzer.
2658
2659         * Configurations/Base.xcconfig:
2660         * Configurations/DebugRelease.xcconfig:
2661
2662 2013-10-10  Mark Rowe  <mrowe@apple.com>
2663
2664         <rdar://problem/13341666> WebKit should always build against an SDK.
2665
2666         Have all projects default to building against the OS X Internal SDK for the Production
2667         configuration. For the Debug and Release configurations, look for UseInternalSDK.xcconfig
2668         to determine whether the OS X Internal SDK should be used. If not, use the normal OS X SDK.
2669
2670         Reviewed by Dan Bernstein.
2671
2672         * Configurations/Base.xcconfig:
2673         * Configurations/DebugRelease.xcconfig:
2674
2675 2013-10-08  Alex Christensen  <achristensen@webkit.org>
2676
2677         Generate pdb files for debugging ANGLE DLLs.
2678         https://bugs.webkit.org/show_bug.cgi?id=122530
2679
2680         Reviewed by Brent Fulgham.
2681
2682         * ANGLE.vcxproj/libEGLCommon.props:
2683         * ANGLE.vcxproj/libGLESv2Common.props:
2684         Generate debug information.
2685
2686 2013-10-03  Dan Bernstein  <mitz@apple.com>
2687
2688         <rdar://problem/15116673> [mac] Build failure when the source directory is not named ANGLE
2689         https://bugs.webkit.org/show_bug.cgi?id=122307
2690
2691         Reviewed by Mark Rowe.
2692
2693         * ANGLE.xcodeproj/project.pbxproj: Ensure that the symlink to SRCROOT in
2694         DerivedSources/ANGLE is named ANGLE.
2695
2696 2013-09-29  Darin Adler  <darin@apple.com>
2697
2698         Take some Xcode advice about turning on additional warnings in ANGLE and gtest
2699         https://bugs.webkit.org/show_bug.cgi?id=122087
2700
2701         Reviewed by Mark Rowe.
2702
2703         * Configurations/Base.xcconfig: Add some of the warnings that Xcode 5 suggested.
2704         * src/compiler/preprocessor/Tokenizer.l: Defined YY_NO_INPUT so we don't compile
2705         an unused function and get a warning.
2706
2707 2013-09-29  Darin Adler  <darin@apple.com>
2708
2709         Use RenderElement instead of RenderObject in many places
2710         https://bugs.webkit.org/show_bug.cgi?id=122078
2711
2712         Reviewed by Andreas Kling.
2713
2714         * ANGLE.xcodeproj/project.pbxproj: Let Xcode do its thing to this file.
2715
2716 2013-09-24  Mark Rowe  <mrowe@apple.com>
2717
2718         <rdar://problem/14971518> WebKit should build against the Xcode default toolchain when targeting OS X 10.8
2719
2720         Reviewed by Dan Bernstein.
2721
2722         * Configurations/Base.xcconfig:
2723
2724 2013-09-06  peavo@outlook.com  <peavo@outlook.com>
2725
2726         [Win][WebGL] WebGL rendering is slow.
2727         https://bugs.webkit.org/show_bug.cgi?id=120841
2728
2729         Reviewed by Brent Fulgham.
2730
2731         Rendering WebGL content is slow on Windows, because lots of debug information is written to debug.txt.
2732
2733         * ANGLE.vcxproj/ANGLERelease.props: Disable logging in release builds.
2734
2735 2013-09-05  Dan Bernstein  <mitz@apple.com>
2736
2737         INSTALL_PATH_PREFIX is used even when not installing
2738         https://bugs.webkit.org/show_bug.cgi?id=120818
2739
2740         Reviewed by Darin Adler.
2741
2742         * Configurations/ANGLE.xcconfig: Changed the definition of PRIVATE_HEADERS_FOLDER_PATH
2743         to include INSTALL_PATH_PREFIX only when installing.
2744
2745 2013-08-17  David Kilzer  <ddkilzer@apple.com>
2746
2747         ANGLE fails to build with trunk clang: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
2748         <http://webkit.org/b/119931>
2749         <rdar://problem/14763822>
2750
2751         Reviewed by Darin Adler.
2752
2753         * src/compiler/glslang.l:
2754         * src/compiler/glslang_lex.cpp:
2755         * src/compiler/preprocessor/Tokenizer.cpp:
2756         * src/compiler/preprocessor/Tokenizer.l:
2757         Add pragma statements to ignore -Wdeprecated-register warnings
2758         in generated code.  Also ignore -Wunknown-pragmas so this
2759         doesn't cause a build failure in older versions of clang.
2760
2761 2013-08-16  Commit Queue  <commit-queue@webkit.org>
2762
2763         Unreviewed, rolling out r153749.
2764         http://trac.webkit.org/changeset/153749
2765         https://bugs.webkit.org/show_bug.cgi?id=119892
2766
2767         The bison generation of the glslang* files has now been fixed. (Requested by zdobersek on #webkit).
2768
2769         * GNUmakefile.am: Preserve the libANGLE.la dependency on the ANGLE's GNUmakefile.am.
2770
2771 2013-08-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2772
2773         ANGLE doesn't build with bison 3.0
2774         https://bugs.webkit.org/show_bug.cgi?id=119798
2775
2776         Reviewed by Antti Koivisto.
2777
2778         Make glslang.y compatible with bison 3.0, by using %lex-param
2779         to set YYLEX_PARAM and getting rid of useless YYID macro.
2780
2781         * src/compiler/glslang.y:
2782
2783 2013-08-09  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
2784
2785         [Qt] Buidfix after r153664. Adding ANGLE_WEBKIT_WIN definition.
2786         https://bugs.webkit.org/show_bug.cgi?id=119577
2787
2788         Reviewed by Allan Sandfeld Jensen.
2789
2790         * Target.pri:
2791
2792 2013-08-08  Alex Christensen  <achristensen@apple.com>
2793
2794         Link to correct DirectX libraries for Win64 ANGLE build.
2795         https://bugs.webkit.org/show_bug.cgi?id=119600
2796
2797         Reviewed by Brent Fulgham.
2798
2799         * ANGLE.vcxproj/DirectX32.props: Added with x86 DirectX library directory.
2800         * ANGLE.vcxproj/DirectX64.props: Added with x64 DirectX library directory.
2801         * ANGLE.vcxproj/libEGL.vcxproj:
2802         * ANGLE.vcxproj/libGLESv2.vcxproj:
2803         Use DirectX32.props and DirectX64.props.
2804         * ANGLE.vcxproj/libEGLCommon.props:
2805         * ANGLE.vcxproj/libGLESv2Common.props:
2806         Removed DirectX library directory.
2807
2808 2013-07-23  David Farler  <dfarler@apple.com>
2809
2810         Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
2811         https://bugs.webkit.org/show_bug.cgi?id=117762
2812
2813         Reviewed by Mark Rowe.
2814
2815         * Configurations/DebugRelease.xcconfig:
2816         Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS.
2817
2818 2013-08-06  Zan Dobersek  <zdobersek@igalia.com>
2819
2820         webkit-gtk fails to build with bison-3.0
2821         https://bugs.webkit.org/show_bug.cgi?id=119373
2822
2823         Reviewed by Gustavo Noronha Silva.
2824
2825         * GNUmakefile.am: Stop relying on generated glslang_tab.(cpp|h) and glslang.cpp sources as Bison 3.0
2826         produces non-compilable source code. Instead, compile these pregenerated files as they're included in
2827         the tree. Originally, the ANGLE source tree provides these files as generated by Bison 2.7, but they're
2828         at the moment regenerated with Bison 2.3 when the third-party ANGLE source is being updated.
2829
2830 2013-08-05  Alex Christensen  <achristensen@apple.com>
2831
2832         Added optimizations to Windows ANGLE builds.
2833         https://bugs.webkit.org/show_bug.cgi?id=119500
2834
2835         Reviewed by Brent Fulgham.
2836
2837         * ANGLE.vcxproj/ANGLERelease.props: Added.
2838         * ANGLE.vcxproj/libEGL.vcxproj:
2839         * ANGLE.vcxproj/libGLESv2.vcxproj:
2840         * ANGLE.vcxproj/preprocessor.vcxproj:
2841         * ANGLE.vcxproj/translator_common.vcxproj:
2842         * ANGLE.vcxproj/translator_glsl.vcxproj:
2843         * ANGLE.vcxproj/translator_hlsl.vcxproj:
2844         Use ANGLERelease.props for Release, Release_WinCairo, and Production configurations.
2845
2846 2013-08-02  Alex Christensen  <achristensen@apple.com>
2847
2848         Soft link ANGLE on Windows.
2849         https://bugs.webkit.org/show_bug.cgi?id=119452
2850
2851         Reviewed by Dean Jackson.
2852
2853         * ANGLE.vcxproj/libEGL.vcxproj:
2854         * ANGLE.vcxproj/libEGL.vcxproj.filters:
2855         * ANGLE.vcxproj/libGLESv2.vcxproj:
2856         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
2857         Added soft linking headers.
2858         * ANGLE.vcxproj/libEGLCommon.props:
2859         * ANGLE.vcxproj/libGLESv2Common.props:
2860         * ANGLE.vcxproj/translatorCommon.props:
2861         Added ANGLE_WEBKIT_WIN macro definition for egl.h and gl2.h.
2862         * include/EGL/egl.h:
2863         * include/GLES2/gl2.h:
2864         Conditionally include soft linking headers based on ANGLE_WEBKIT_WIN macro.
2865         * include/EGL/eglsoftlinking.h: Added.
2866         * include/GLES2/gl2softlinking.h: Added.
2867
2868 2013-08-01  Alex Christensen  <achristensen@apple.com>
2869
2870         Fixed wrong static_casting in ANGLE from r153064.
2871         https://bugs.webkit.org/show_bug.cgi?id=119296
2872
2873         Reviewed by Dean Jackson.
2874
2875         * src/compiler/Intermediate.cpp:
2876         (TIntermediate::promoteConstantUnion):
2877         Undid erroneous static_cast change.
2878         * src/compiler/intermediate.h:
2879         (TIntermConstantUnion::getIConst):
2880         (TIntermConstantUnion::getFConst):
2881         (TIntermConstantUnion::getBConst):
2882         Made getters use size_t instead of int.
2883
2884 2013-07-29  Carlos Garcia Campos  <cgarcia@igalia.com>
2885
2886         Unreviewed. Fix make distcheck.
2887
2888         * GNUmakefile.am: Add missing header files to compilation.
2889
2890 2013-07-29  Alex Christensen  <achristensen@apple.com>
2891
2892         Separated translator into preprocessor, translator_common,
2893         translator_hlsl (for libGLESv2), and translator_glsl
2894         (for ANGLEWebKitBridge).
2895         https://bugs.webkit.org/show_bug.cgi?id=119221
2896
2897         Reviewed by Brent Fulgham.
2898
2899         * ANGLE.vcxproj/ANGLEGenerated.vcxproj:
2900         Removed unused preprocessor definitions.
2901         * ANGLE.vcxproj/libEGL.vcxproj:
2902         * ANGLE.vcxproj/libGLESv2.vcxproj:
2903         Removed dependency on removed translator project.
2904         * ANGLE.vcxproj/libGLESv2Common.props:
2905         Link to translator_hlsl libraries.
2906         * ANGLE.vcxproj/preprocessor.vcxproj: Added.
2907         * ANGLE.vcxproj/preprocessor.vcxproj.filters: Added.
2908         * ANGLE.vcxproj/translator.vcxproj: Removed.
2909         * ANGLE.vcxproj/translator.vcxproj.filters: Removed.
2910         * ANGLE.vcxproj/translator_common.vcxproj: Added.
2911         * ANGLE.vcxproj/translator_common.vcxproj.filters: Added.
2912         * ANGLE.vcxproj/translator_glsl.vcxproj: Added.
2913         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Added.
2914         * ANGLE.vcxproj/translator_hlsl.vcxproj: Added.
2915         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Added.
2916
2917 2013-07-26  Alex Christensen  <achristensen@apple.com>
2918
2919         Added module definition file for building libEGL.
2920         https://bugs.webkit.org/show_bug.cgi?id=119162
2921
2922         Reviewed by Brent Fulgham.
2923
2924         * ANGLE.vcxproj/libEGLCommon.props: Added reference to libEGL.def.
2925
2926 2013-07-25  Alex Christensen  <achristensen@apple.com>
2927
2928         Made Windows build system for ANGLE and removed existing broken build system.
2929         Removed empty src/libGLESv2/shaders directory and old README files.
2930         https://bugs.webkit.org/show_bug.cgi?id=119103
2931
2932         Reviewed by Brent Fulgham.
2933
2934         * ANGLE.vcxproj: Added.
2935         * ANGLE.vcxproj/ANGLEGenerated.vcxproj: Added.
2936         * ANGLE.vcxproj/ANGLEGenerated.vcxproj.filters: Added.
2937         * ANGLE.vcxproj/libEGL.vcxproj: Added.
2938         * ANGLE.vcxproj/libEGL.vcxproj.filters: Added.
2939         * ANGLE.vcxproj/libEGLCommon.props: Added.
2940         * ANGLE.vcxproj/libGLESv2.vcxproj: Added.
2941         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Added.
2942         * ANGLE.vcxproj/libGLESv2Common.props: Added.
2943         * ANGLE.vcxproj/translator.vcxproj: Added.
2944         * ANGLE.vcxproj/translator.vcxproj.filters: Added.
2945         * ANGLE.vcxproj/translatorCommon.props: Added.
2946         * src/ANGLE.sln: Removed.
2947         * src/compiler/preprocessor/preprocessor.vcxproj: Removed.
2948         * src/compiler/preprocessor/preprocessor.vcxproj.filters: Removed.
2949         * src/compiler/translator_common.vcxproj: Removed.
2950         * src/compiler/translator_common.vcxproj.filters: Removed.
2951         * src/compiler/translator_hlsl.vcxproj: Removed.
2952         * src/compiler/translator_hlsl.vcxproj.filters: Removed.
2953         * src/libEGL/README: Removed.
2954         * src/libEGL/libEGL.vcxproj: Removed.
2955         * src/libEGL/libEGL.vcxproj.filters: Removed.
2956         * src/libGLESv2/README: Removed.
2957         * src/libGLESv2/libGLESv2.vcxproj: Removed.
2958         * src/libGLESv2/libGLESv2.vcxproj.filters: Removed.
2959         * src/libGLESv2/shaders: Removed.
2960
2961 2013-07-24  Alex Christensen  <achristensen@apple.com>
2962
2963         Generate derived files in ANGLE at build time rather than when updating from upstream.
2964         https://bugs.webkit.org/show_bug.cgi?id=118872
2965
2966         Reviewed by Mark Rowe.
2967
2968         * ANGLE.xcodeproj/project.pbxproj: Made Derived Sources target which calls DerivedSources.make,
2969         moved generated files into Derived Sources group.
2970         * DerivedSources.make: Added.
2971
2972 2013-07-24  Zan Dobersek  <zdobersek@igalia.com>
2973
2974         Unreviewed. Setting the svn:eol-style=native property on the ANGLE.sln file.
2975
2976         * src/ANGLE.sln: Added property svn:eol-style.
2977
2978 2013-07-24  Gabor Abraham  <abrhm@inf.u-szeged.hu>
2979
2980         [Qt] Buildfix after r153064. Add Uniform files to the Target.pri.
2981
2982         Reviewed by Csaba Osztrogonác.
2983
2984         * Target.pri:
2985
2986 2013-07-23  Alex Christensen  <achristensen@apple.com>
2987
2988         Updated ANGLE to latest git commit (047373aa3eb408be62be52ade840fa5f11e72337).
2989         Added missing ANGLE files except unused tests, extensions, samples, build, and .git directories.
2990         Ran Bison after making some changes to fix compile errors (see below).
2991
2992         https://bugs.webkit.org/show_bug.cgi?id=118550
2993
2994         Reviewed by Dean Jackson.
2995
2996         * ANGLE.plist: Updated from svn to git.
2997         * ANGLE.xcodeproj/project.pbxproj: Renamed DetectRecursion to DetectCallDepth.
2998         * AUTHORS: Added.
2999         * CONTRIBUTORS: Added.
3000         * DEPS: Added.
3001         * GNUmakefile.am: Renamed DetectRecursion to DetectCallDepth and added Uniform.cpp.
3002         * LICENSE: Added.
3003         * README.chromium: Added.
3004         * Target.pri: Renamed DetectRecursion to DetectCallDepth.
3005         * codereview.settings: Added.
3006         * include/EGL/eglext.h:
3007         * include/GLES2/gl2ext.h:
3008         * include/GLSLANG/ShaderLang.h:
3009         * src/ANGLE.sln: Added.
3010         * src/build_angle.gyp: Added.
3011         * src/build_angle.gypi: Added.
3012         * src/common/RefCountObject.cpp:
3013         * src/common/angleutils.h:
3014         (ArraySize):
3015         (SafeRelease):
3016         * src/common/debug.cpp:
3017         * src/common/debug.h:
3018         * src/common/system.h:
3019         * src/common/version.h:
3020         * src/compiler/64bit-lexer-safety.patch: Added.
3021         * src/compiler/BaseTypes.h:
3022         (getQualifierString):
3023         * src/compiler/CodeGenHLSL.cpp:
3024         (ConstructCompiler):
3025         * src/compiler/Common.h:
3026         * src/compiler/Compiler.cpp:
3027         (TCompiler::TCompiler):
3028         (TCompiler::Init):
3029         (TCompiler::compile):
3030         (TCompiler::InitBuiltInSymbolTable):
3031         (TCompiler::detectCallDepth):
3032         (TCompiler::limitExpressionComplexity):
3033         (TCompiler::getResources):
3034         * src/compiler/ConstantUnion.h:
3035         (ConstantUnion::ConstantUnion):
3036         * src/compiler/DetectCallDepth.cpp: Added.
3037         (DetectCallDepth::FunctionNode::FunctionNode):
3038         (DetectCallDepth::FunctionNode::getName):
3039         (DetectCallDepth::FunctionNode::addCallee):
3040         (DetectCallDepth::FunctionNode::detectCallDepth):
3041         (DetectCallDepth::FunctionNode::reset):
3042         (DetectCallDepth::DetectCallDepth):
3043         (DetectCallDepth::~DetectCallDepth):
3044         (DetectCallDepth::visitAggregate):
3045         (DetectCallDepth::checkExceedsMaxDepth):
3046         (DetectCallDepth::resetFunctionNodes):
3047         (DetectCallDepth::detectCallDepthForFunction):
3048         (DetectCallDepth::detectCallDepth):
3049         (DetectCallDepth::findFunctionByName):
3050         * src/compiler/DetectCallDepth.h: Added.
3051         (DetectCallDepth::getInfoSink):
3052         * src/compiler/DetectRecursion.cpp: Removed.
3053         * src/compiler/DetectRecursion.h: Removed.
3054         * src/compiler/Diagnostics.cpp:
3055         (TDiagnostics::writeInfo):
3056         * src/compiler/ForLoopUnroll.cpp:
3057         (ForLoopUnroll::evaluateIntConstant):
3058         * src/compiler/InfoSink.cpp:
3059         (TInfoSinkBase::prefix):
3060         (TInfoSinkBase::location):
3061         (TInfoSinkBase::message):
3062         * src/compiler/InfoSink.h:
3063         * src/compiler/Initialize.cpp:
3064         (InsertBuiltInFunctions):
3065         (IdentifyBuiltIns):
3066         (InitExtensionBehavior):
3067         * src/compiler/Initialize.h:
3068         * src/compiler/Intermediate.cpp:
3069         (TIntermediate::addSymbol):
3070         (TIntermediate::addBinaryMath):
3071         (TIntermediate::addAssign):
3072         (TIntermediate::addIndex):
3073         (TIntermediate::addUnaryMath):
3074         (TIntermediate::setAggregateOperator):
3075         (TIntermediate::addConversion):
3076         (TIntermediate::growAggregate):
3077         (TIntermediate::makeAggregate):
3078         (TIntermediate::addSelection):
3079         (TIntermediate::addComma):
3080         (TIntermediate::addConstantUnion):
3081         (TIntermediate::addSwizzle):
3082         (TIntermediate::addLoop):
3083         (TIntermediate::addBranch):
3084         (TIntermUnary::promote):
3085         (TIntermBinary::promote):
3086         (CompareStruct):
3087         (CompareStructure):
3088         (TIntermConstantUnion::fold): Added implied static_casts to fix compiling errors on Mac.
3089         (TIntermediate::promoteConstantUnion):
3090         * src/compiler/OutputGLSL.cpp:
3091         (TOutputGLSL::visitSymbol):
3092         * src/compiler/OutputGLSL.h:
3093         * src/compiler/OutputGLSLBase.cpp:
3094         (TOutputGLSLBase::writeVariableType):
3095         (TOutputGLSLBase::writeConstantUnion):
3096         (TOutputGLSLBase::visitBinary):
3097         (TOutputGLSLBase::visitAggregate):
3098         (TOutputGLSLBase::getTypeName):
3099         (TOutputGLSLBase::structDeclared):
3100         (TOutputGLSLBase::declareStruct):
3101         * src/compiler/OutputGLSLBase.h:
3102         * src/compiler/OutputHLSL.cpp:
3103         (sh::OutputHLSL::OutputHLSL):
3104         (sh::OutputHLSL::getUniforms):
3105         (sh::OutputHLSL::header):
3106         (sh::OutputHLSL::visitSymbol):
3107         (sh::OutputHLSL::visitBinary):
3108         (sh::OutputHLSL::visitAggregate):
3109         (sh::OutputHLSL::visitSelection):
3110         (sh::OutputHLSL::visitLoop):
3111         (sh::OutputHLSL::handleExcessiveLoop):
3112         (sh::OutputHLSL::argumentString):
3113         (sh::OutputHLSL::typeString):
3114         (sh::OutputHLSL::textureString):
3115         (sh::OutputHLSL::initializer):
3116         (sh::OutputHLSL::addConstructor):
3117         (sh::OutputHLSL::writeConstantUnion):
3118         (sh::OutputHLSL::decorateUniform):
3119         (sh::OutputHLSL::decorateField):
3120         (sh::OutputHLSL::registerString):
3121         (sh::OutputHLSL::samplerRegister):
3122         (sh::OutputHLSL::uniformRegister):
3123         (sh::OutputHLSL::declareUniform):
3124         (sh::OutputHLSL::glVariableType):
3125         (sh::OutputHLSL::glVariablePrecision):
3126         * src/compiler/OutputHLSL.h:
3127         * src/compiler/ParseHelper.cpp:
3128         (TParseContext::parseVectorFields):
3129         (TParseContext::parseMatrixFields):
3130         (TParseContext::error):
3131         (TParseContext::warning):
3132         (TParseContext::assignError):
3133         (TParseContext::unaryOpError):
3134         (TParseContext::binaryOpError):
3135         (TParseContext::precisionErrorCheck):
3136         (TParseContext::lValueErrorCheck):
3137         (TParseContext::globalErrorCheck):
3138         (TParseContext::reservedErrorCheck):
3139         (TParseContext::constructorErrorCheck):
3140         (TParseContext::voidErrorCheck):
3141         (TParseContext::boolErrorCheck):
3142         (TParseContext::samplerErrorCheck):
3143         (TParseContext::structQualifierErrorCheck):
3144         (TParseContext::parameterSamplerErrorCheck):
3145         (TParseContext::containsSampler):
3146         (TParseContext::arraySizeErrorCheck):
3147         (TParseContext::arrayQualifierErrorCheck):
3148         (TParseContext::arrayTypeErrorCheck):
3149         (TParseContext::arrayErrorCheck):
3150         (TParseContext::nonInitConstErrorCheck):
3151         (TParseContext::nonInitErrorCheck):
3152         (TParseContext::paramErrorCheck):
3153         (TParseContext::extensionErrorCheck):
3154         (TParseContext::isExtensionEnabled):
3155         Replaced auto with std::map<std::string, TBehavior>::const_iterator to fix Qt and EFL compiling errors.
3156         (TParseContext::findFunction):
3157         (TParseContext::executeInitializer):
3158         (TParseContext::addConstructor):
3159         (TParseContext::constructBuiltIn):
3160         (TParseContext::constructStruct):
3161         (TParseContext::addConstVectorNode):
3162         (TParseContext::addConstMatrixNode):
3163         (TParseContext::addConstArrayNode):
3164         (TParseContext::addConstStruct):
3165         (TParseContext::enterStructDeclaration):
3166         (TParseContext::structNestingErrorCheck):
3167         (TParseContext::addIndexExpression):
3168         * src/compiler/ParseHelper.h:
3169         (TParseContext::TParseContext):
3170         (TParseContext::pragma):
3171         * src/compiler/PoolAlloc.cpp:
3172         (TPoolAllocator::allocate):
3173         * src/compiler/ShHandle.h:
3174         (TShHandleBase::getAsTranslatorHLSL):
3175         * src/compiler/ShaderLang.cpp:
3176         (ShInitBuiltInResources):
3177         (ShGetInfoPointer):
3178         * src/compiler/SymbolTable.cpp:
3179         (TType::TType):
3180         (TType::buildMangledName):
3181         (TType::getObjectSize):
3182         (TStructure::containsArrays):
3183         (TStructure::buildMangledName):
3184         (TStructure::calculateObjectSize):
3185         (TStructure::calculateDeepestNesting):
3186         (TSymbolTableLevel::relateToExtension):
3187         * src/compiler/SymbolTable.h:
3188         (TSymbol::relateToExtension):
3189         (TSymbol::getExtension):
3190         (TVariable::TVariable):
3191         (TVariable::setQualifier):
3192         (TVariable::shareConstPointer):
3193         (TSymbolTableLevel::insert):
3194         (TSymbolTable::insertConstInt):
3195         (TSymbolTable::insertBuiltIn):
3196         * src/compiler/TranslatorHLSL.cpp:
3197         (TranslatorHLSL::TranslatorHLSL):
3198         (TranslatorHLSL::translate):
3199         * src/compiler/TranslatorHLSL.h:
3200         (TranslatorHLSL::getAsTranslatorHLSL):
3201         (TranslatorHLSL::getUniforms):
3202         * src/compiler/Types.h: Removed enum bit fields to fix gcc compiler errors.
3203         (TField::TField):
3204         (TField::type):
3205         (TField::name):
3206         (NewPoolTFieldList):
3207         (TStructure::TStructure):
3208         (TStructure::name):
3209         (TStructure::fields):
3210         (TStructure::mangledName):
3211         (TStructure::objectSize):
3212         (TStructure::deepestNesting):
3213         (TType::TType):
3214         (TType::elementRegisterCount):
3215         (TType::totalRegisterCount):
3216         (TType::clearArrayness):
3217         (TType::getStruct):
3218         (TType::setStruct):
3219         (TType::getMangledName):
3220         (TType::getDeepestStructNesting):
3221         (TType::isStructureContainingArrays):
3222         (TPublicType::setBasic):
3223         * src/compiler/Uniform.cpp: Added.
3224         (sh::Uniform::Uniform):
3225         * src/compiler/Uniform.h: Added.
3226         * src/compiler/VariableInfo.cpp:
3227         (getUserDefinedVariableInfo):
3228         * src/compiler/glslang.l:
3229         * src/compiler/glslang.y: Moved YYLTYPE definition into %union to work with Bison 2.3.
3230         * src/compiler/glslang_lex.cpp:
3231         (yy_get_previous_state):
3232         (yy_try_NUL_trans):
3233         (yyget_lloc):
3234         (yyset_lloc):
3235         (string_input):
3236         (check_type):
3237         (reserved_word):
3238         (glslang_scan):
3239         * src/compiler/glslang_tab.cpp:
3240         (yyerror):
3241         * src/compiler/glslang_tab.h:
3242         * src/compiler/intermOut.cpp:
3243         (TOutputTraverser::visitUnary):
3244         (TOutputTraverser::visitAggregate):
3245         (TOutputTraverser::visitConstantUnion):
3246         * src/compiler/intermediate.h:
3247         (TIntermNode::TIntermNode):
3248         (TIntermNode::~TIntermNode):
3249         (TIntermNode::getLine):
3250         (TIntermNode::setLine):
3251         (TIntermNode::getAsLoopNode):
3252         (TIntermTyped::totalRegisterCount):
3253         (TIntermTyped::elementRegisterCount):
3254         (TIntermTyped::getArraySize):
3255         (TIntermConstantUnion::getIConst):
3256         (TIntermConstantUnion::getFConst):
3257         (TIntermConstantUnion::getBConst):
3258         (TIntermAggregate::TIntermAggregate):
3259         (TIntermTraverser::TIntermTraverser):
3260         (TIntermTraverser::getMaxDepth):
3261         (TIntermTraverser::incrementDepth):
3262         * src/compiler/localintermediate.h:
3263         * src/compiler/parseConst.cpp:
3264         (TConstTraverser::visitSymbol):
3265         (TConstTraverser::visitBinary):
3266         (TConstTraverser::visitUnary):
3267         (TConstTraverser::visitAggregate):
3268         (TConstTraverser::visitSelection):
3269         (TConstTraverser::visitConstantUnion):
3270         (TConstTraverser::visitLoop):
3271         (TConstTraverser::visitBranch):
3272         (TIntermediate::parseConstTree):
3273         * src/compiler/preprocessor/64bit-tokenizer-safety.patch: Added.
3274         * src/compiler/preprocessor/Tokenizer.cpp:
3275         (yy_get_previous_state):
3276         (yy_try_NUL_trans):
3277         * src/compiler/preprocessor/Tokenizer.l:
3278         * src/compiler/preprocessor/preprocessor.vcxproj: Added.
3279         * src/compiler/preprocessor/preprocessor.vcxproj.filters: Added.
3280         * src/compiler/timing/RestrictVertexShaderTiming.cpp:
3281         (RestrictVertexShaderTiming::visitSymbol):
3282         * src/compiler/translator_common.vcxproj: Added.
3283         * src/compiler/translator_common.vcxproj.filters: Added.
3284         * src/compiler/translator_hlsl.vcxproj: Added.
3285         * src/compiler/translator_hlsl.vcxproj.filters: Added.
3286         * src/libEGL/Config.cpp: Added.
3287         (egl::Config::Config):
3288         (egl::Config::getHandle):
3289         (egl::SortConfig::SortConfig):
3290         (egl::SortConfig::scanForWantedComponents):
3291         (egl::SortConfig::wantedComponentsSize):
3292         (egl::SortConfig::operator()):
3293         (egl::ConfigSet::ConfigSet):
3294         (egl::ConfigSet::add):
3295         (egl::ConfigSet::size):
3296         (egl::ConfigSet::getConfigs):
3297         (egl::ConfigSet::get):
3298         * src/libEGL/Config.h: Added.
3299         * src/libEGL/Display.cpp: Added.
3300         (egl::Display::getDisplay):
3301         (egl::Display::Display):
3302         (egl::Display::~Display):
3303         (egl::Display::initialize):
3304         (egl::Display::terminate):
3305         (egl::Display::getConfigs):
3306         (egl::Display::getConfigAttrib):
3307         (egl::Display::createWindowSurface):
3308         (egl::Display::createOffscreenSurface):
3309         (egl::Display::createContext):
3310         (egl::Display::restoreLostDevice):
3311         (egl::Display::destroySurface):
3312         (egl::Display::destroyContext):
3313         (egl::Display::notifyDeviceLost):
3314         (egl::Display::recreateSwapChains):
3315         (egl::Display::isInitialized):
3316         (egl::Display::isValidConfig):
3317         (egl::Display::isValidContext):
3318         (egl::Display::isValidSurface):
3319         (egl::Display::hasExistingWindowSurface):
3320         (egl::Display::initExtensionString):
3321         (egl::Display::getExtensionString):
3322         (egl::Display::initVendorString):
3323         (egl::Display::getVendorString):
3324         * src/libEGL/Display.h: Added.
3325         (egl::Display::getRenderer):
3326         * src/libEGL/Surface.cpp: Added.
3327         (egl::Surface::Surface):
3328         (egl::Surface::~Surface):
3329         (egl::Surface::initialize):
3330         (egl::Surface::release):
3331         (egl::Surface::resetSwapChain):
3332         (egl::Surface::resizeSwapChain):
3333         (egl::Surface::swapRect):
3334         (egl::Surface::getWindowHandle):
3335         (egl::SurfaceWindowProc):
3336         (egl::Surface::subclassWindow):
3337         (egl::Surface::unsubclassWindow):
3338         (egl::Surface::checkForOutOfDateSwapChain):
3339         (egl::Surface::swap):
3340         (egl::Surface::postSubBuffer):
3341         (egl::Surface::getWidth):
3342         (egl::Surface::getHeight):
3343         (egl::Surface::isPostSubBufferSupported):
3344         (egl::Surface::getSwapChain):
3345         (egl::Surface::setSwapInterval):
3346         (egl::Surface::getTextureFormat):
3347         (egl::Surface::getTextureTarget):
3348         (egl::Surface::setBoundTexture):
3349         (egl::Surface::getBoundTexture):
3350         (egl::Surface::getFormat):
3351         * src/libEGL/Surface.h: Added.
3352         * src/libEGL/libEGL.cpp: Added.
3353         (validateDisplay):
3354         (validateConfig):
3355         (validateContext):
3356         (validateSurface):
3357         * src/libEGL/libEGL.def: Added.
3358         * src/libEGL/libEGL.rc: Added.
3359         * src/libEGL/libEGL.vcxproj: Added.
3360         * src/libEGL/libEGL.vcxproj.filters: Added.
3361         * src/libEGL/main.cpp: Added.
3362         (DllMain):
3363         (egl::setCurrentError):
3364         (egl::getCurrentError):
3365         (egl::setCurrentAPI):
3366         (egl::getCurrentAPI):
3367         (egl::setCurrentDisplay):
3368         (egl::getCurrentDisplay):
3369         (egl::setCurrentDrawSurface):
3370         (egl::getCurrentDrawSurface):
3371         (egl::setCurrentReadSurface):
3372         (egl::getCurrentReadSurface):
3373         (egl::error):
3374         * src/libEGL/main.h: Added.
3375         (egl::error):
3376         (egl::success):
3377         * src/libEGL/resource.h: Added.
3378         * src/libGLESv2/BinaryStream.h: Added.
3379         (gl::BinaryInputStream::BinaryInputStream):
3380         (gl::BinaryInputStream::read):
3381         (gl::BinaryInputStream::skip):
3382         (gl::BinaryInputStream::offset):
3383         (gl::BinaryInputStream::error):
3384         (gl::BinaryInputStream::endOfStream):
3385         (gl::BinaryOutputStream::BinaryOutputStream):
3386         (gl::BinaryOutputStream::write):
3387         (gl::BinaryOutputStream::length):
3388         (gl::BinaryOutputStream::data):
3389         * src/libGLESv2/Buffer.cpp: Added.
3390         (gl::Buffer::Buffer):
3391         (gl::Buffer::~Buffer):
3392         (gl::Buffer::bufferData):
3393         (gl::Buffer::bufferSubData):
3394         (gl::Buffer::getStorage):
3395         (gl::Buffer::size):
3396         (gl::Buffer::usage):
3397         (gl::Buffer::getStaticVertexBuffer):
3398         (gl::Buffer::getStaticIndexBuffer):
3399         (gl::Buffer::invalidateStaticData):
3400         (gl::Buffer::promoteStaticUsage):
3401         * src/libGLESv2/Buffer.h: Added.
3402         * src/libGLESv2/Context.cpp: Added.
3403         (gl::makeStaticString):
3404         (gl::Context::Context):
3405         (gl::Context::~Context):
3406         (gl::Context::makeCurrent):
3407         (gl::Context::markContextLost):
3408         (gl::Context::isContextLost):
3409         (gl::Context::setClearColor):
3410         (gl::Context::setClearDepth):
3411         (gl::Context::setClearStencil):
3412         (gl::Context::setCullFace):
3413         (gl::Context::isCullFaceEnabled):
3414         (gl::Context::setCullMode):
3415         (gl::Context::setFrontFace):
3416         (gl::Context::setDepthTest):
3417         (gl::Context::isDepthTestEnabled):
3418         (gl::Context::setDepthFunc):
3419         (gl::Context::setDepthRange):
3420         (gl::Context::setBlend):
3421         (gl::Context::isBlendEnabled):
3422         (gl::Context::setBlendFactors):
3423         (gl::Context::setBlendColor):
3424         (gl::Context::setBlendEquation):
3425         (gl::Context::setStencilTest):
3426         (gl::Context::isStencilTestEnabled):
3427         (gl::Context::setStencilParams):
3428         (gl::Context::setStencilBackParams):
3429         (gl::Context::setStencilWritemask):
3430         (gl::Context::setStencilBackWritemask):
3431         (gl::Context::setStencilOperations):
3432         (gl::Context::setStencilBackOperations):
3433         (gl::Context::setPolygonOffsetFill):
3434         (gl::Context::isPolygonOffsetFillEnabled):
3435         (gl::Context::setPolygonOffsetParams):
3436         (gl::Context::setSampleAlphaToCoverage):
3437         (gl::Context::isSampleAlphaToCoverageEnabled):
3438         (gl::Context::setSampleCoverage):
3439         (gl::Context::isSampleCoverageEnabled):
3440         (gl::Context::setSampleCoverageParams):
3441         (gl::Context::setScissorTest):
3442         (gl::Context::isScissorTestEnabled):
3443         (gl::Context::setDither):
3444         (gl::Context::isDitherEnabled):
3445         (gl::Context::setLineWidth):
3446         (gl::Context::setGenerateMipmapHint):
3447         (gl::Context::setFragmentShaderDerivativeHint):
3448         (gl::Context::setViewportParams):
3449         (gl::Context::setScissorParams):
3450         (gl::Context::setColorMask):
3451         (gl::Context::setDepthMask):
3452         (gl::Context::setActiveSampler):
3453         (gl::Context::getReadFramebufferHandle):
3454         (gl::Context::getDrawFramebufferHandle):
3455         (gl::Context::getRenderbufferHandle):
3456         (gl::Context::getArrayBufferHandle):
3457         (gl::Context::getActiveQuery):
3458         (gl::Context::setEnableVertexAttribArray):
3459         (gl::Context::getVertexAttribState):
3460         (gl::Context::setVertexAttribState):
3461         (gl::Context::getVertexAttribPointer):
3462         (gl::Context::setPackAlignment):