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