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