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