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