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