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