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