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