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