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