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