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