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