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