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