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