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