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