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