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