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