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