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