Split up top-level .gitignore and .gitattributes
[WebKit-https.git] / Source / ThirdParty / ANGLE / ChangeLog
1 2012-03-26  Dean Jackson  <dino@apple.com>
2
3         Update ANGLE in WebKit
4         https://bugs.webkit.org/show_bug.cgi?id=81717
5
6         Reviewed by Kenneth Russell.
7
8         Update angleproject to r1009. Synced the source directory
9         between the angle repository and WebKit. Ran the OS X Lion
10         version of Bison over the glslang.l input which generates
11         a slightly different output than angle provided.
12
13         * include/EGL/eglext.h:
14         * include/GLES2/gl2ext.h:
15         * include/GLSLANG/ShaderLang.h:
16         * src/common/RefCountObject.cpp: Renamed from Source/ThirdParty/ANGLE/src/libGLESv2/RefCountObject.cpp.
17         (RefCountObject::RefCountObject):
18         (RefCountObject::~RefCountObject):
19         (RefCountObject::addRef):
20         (RefCountObject::release):
21         (RefCountObjectBindingPointer::set):
22         * src/common/RefCountObject.h: Renamed from Source/ThirdParty/ANGLE/src/libGLESv2/RefCountObject.h.
23         (RefCountObject):
24         (RefCountObject::id):
25         (RefCountObjectBindingPointer):
26         (RefCountObjectBindingPointer::RefCountObjectBindingPointer):
27         (RefCountObjectBindingPointer::~RefCountObjectBindingPointer):
28         (RefCountObjectBindingPointer::get):
29         (RefCountObjectBindingPointer::id):
30         (RefCountObjectBindingPointer::operator ! ):
31         (BindingPointer):
32         (BindingPointer::set):
33         (BindingPointer::get):
34         (BindingPointer::operator -> ):
35         * src/common/debug.cpp:
36         (gl::output):
37         * src/common/version.h:
38         * src/compiler/BaseTypes.h:
39         * src/compiler/Compiler.cpp:
40         (TCompiler::TCompiler):
41         (TCompiler::~TCompiler):
42         (TCompiler::mapLongVariableNames):
43         * src/compiler/ConstantUnion.h:
44         (ConstantUnion::ConstantUnion):
45         (ConstantUnion::operator==):
46         (ConstantUnion::operator>):
47         (ConstantUnion::operator<):
48         * src/compiler/Intermediate.cpp:
49         (TIntermConstantUnion::fold):
50         * src/compiler/MapLongVariableNames.cpp:
51         (LongNameMap::LongNameMap):
52         (LongNameMap::~LongNameMap):
53         (LongNameMap::GetInstance):
54         (LongNameMap::Release):
55         (LongNameMap::Find):
56         (LongNameMap::Insert):
57         (LongNameMap::Size):
58         (MapLongVariableNames::MapLongVariableNames):
59         (MapLongVariableNames::visitSymbol):
60         (MapLongVariableNames::mapGlobalLongName):
61         * src/compiler/MapLongVariableNames.h:
62         (LongNameMap):
63         (MapLongVariableNames):
64         * src/compiler/OutputHLSL.cpp:
65         (sh::OutputHLSL::OutputHLSL):
66         (sh::OutputHLSL::header):
67         (sh::OutputHLSL::visitSymbol):
68         (sh::OutputHLSL::visitUnary):
69         (sh::OutputHLSL::visitAggregate):
70         (sh::OutputHLSL::visitLoop):
71         (sh::OutputHLSL::handleExcessiveLoop):
72         (sh::OutputHLSL::typeString):
73         (sh::OutputHLSL::addConstructor):
74         (sh::OutputHLSL::decorateUniform):
75         * src/compiler/OutputHLSL.h:
76         (OutputHLSL):
77         * src/compiler/PoolAlloc.cpp:
78         (TAllocation::checkGuardBlock):
79         * src/compiler/ShHandle.h:
80         (TCompiler):
81         * src/compiler/SymbolTable.cpp:
82         * src/compiler/SymbolTable.h:
83         (TSymbolTable):
84         (TSymbolTable::getOuterLevel):
85         * src/compiler/VariableInfo.cpp:
86         (getVariableDataType):
87         * src/compiler/glslang.l:
88         * src/compiler/glslang.y:
89         * src/compiler/glslang_lex.cpp:
90         (yy_buffer_state):
91         (yyguts_t):
92         (input):
93         (yyensure_buffer_stack):
94         (yy_scan_bytes):
95         (yyget_leng):
96         * src/compiler/glslang_tab.cpp:
97         * src/compiler/osinclude.h:
98         * src/compiler/preprocessor/cpp.c:
99         * src/compiler/preprocessor/memory.c:
100         * src/compiler/preprocessor/new/Context.cpp: Added.
101         (isMacroNameReserved):
102         (pp):
103         (pp::Context::Context):
104         (pp::Context::~Context):
105         (pp::Context::init):
106         (pp::Context::process):
107         (pp::Context::defineMacro):
108         (pp::Context::undefineMacro):
109         (pp::Context::isMacroDefined):
110         (pp::Context::reset):
111         (pp::Context::defineBuiltInMacro):
112         * src/compiler/preprocessor/new/Context.h: Added.
113         (pp):
114         (Context):
115         (pp::Context::lexer):
116         (pp::Context::output):
117         * src/compiler/preprocessor/new/Input.cpp: Added.
118         (pp):
119         (pp::Input::Input):
120         (pp::Input::eof):
121         (pp::Input::read):
122         (pp::Input::getChar):
123         (pp::Input::peekChar):
124         (pp::Input::switchToNextString):
125         (pp::Input::isStringEmpty):
126         (pp::Input::stringLength):
127         * src/compiler/preprocessor/new/Input.h: Added.
128         (pp):
129         (Input):
130         (pp::Input::error):
131         (pp::Input::stringIndex):
132         * src/compiler/preprocessor/new/Macro.cpp: Added.
133         (pp):
134         (pp::Macro::Macro):
135         (pp::Macro::~Macro):
136         * src/compiler/preprocessor/new/Macro.h: Added.
137         (pp):
138         (Macro):
139         (pp::Macro::type):
140         (pp::Macro::identifier):
141         (pp::Macro::parameters):
142         (pp::Macro::replacements):
143         * src/compiler/preprocessor/new/Preprocessor.cpp: Added.
144         (pp):
145         (pp::Preprocessor::Preprocessor):
146         (pp::Preprocessor::~Preprocessor):
147         (pp::Preprocessor::init):
148         (pp::Preprocessor::process):
149         (pp::Preprocessor::reset):
150         * src/compiler/preprocessor/new/Preprocessor.h: Added.
151         (pp):
152         (Preprocessor):
153         (pp::Preprocessor::begin):
154         (pp::Preprocessor::end):
155         * src/compiler/preprocessor/new/Token.cpp: Added.
156         (pp):
157         (pp::Token::encodeLocation):
158         (pp::Token::decodeLocation):
159         (pp::Token::Token):
160         (pp::Token::~Token):
161         (pp::operator<<):
162         * src/compiler/preprocessor/new/Token.h: Added.
163         (pp):
164         (Token):
165         (pp::Token::location):
166         (pp::Token::type):
167         (pp::Token::value):
168         * src/compiler/preprocessor/new/generate_parser.sh: Added.
169         * src/compiler/preprocessor/new/pp.l: Added.
170         * src/compiler/preprocessor/new/pp.y: Added.
171         * src/compiler/preprocessor/new/pp_lex.cpp: Added.
172         (yy_buffer_state):
173         (yy_trans_info):
174         (yyguts_t):
175         (yy_get_previous_state):
176         (yy_try_NUL_trans):
177         (input):
178         (pprestart):
179         (pp_switch_to_buffer):
180         (pp_load_buffer_state):
181         (pp_create_buffer):
182         (pp_delete_buffer):
183         (pp_init_buffer):
184         (pp_flush_buffer):
185         (pppush_buffer_state):
186         (pppop_buffer_state):
187         (ppensure_buffer_stack):
188         (pp_scan_buffer):
189         (pp_scan_string):
190         (pp_scan_bytes):
191         (yy_push_state):
192         (yy_pop_state):
193         (yy_top_state):
194         (yy_fatal_error):
195         (ppget_extra):
196         (ppget_lineno):
197         (ppget_column):
198         (ppget_in):
199         (ppget_out):
200         (ppget_leng):
201         (ppget_text):
202         (ppset_extra):
203         (ppset_lineno):
204         (ppset_column):
205         (ppset_in):
206         (ppset_out):
207         (ppget_debug):
208         (ppset_debug):
209         (ppget_lval):
210         (ppset_lval):
211         (ppget_lloc):
212         (ppset_lloc):
213         (pplex_init):
214         (pplex_init_extra):
215         (yy_init_globals):
216         (pplex_destroy):
217         (yy_flex_strncpy):
218         (yy_flex_strlen):
219         (ppalloc):
220         (pprealloc):
221         (ppfree):
222         (extractMacroName):
223         (pp):
224         (pp::Context::readInput):
225         (pp::Context::initLexer):
226         (pp::Context::destroyLexer):
227         * src/compiler/preprocessor/new/pp_tab.cpp: Added.
228         (YYLTYPE):
229         (yysyntax_error):
230         (yyerror):
231         (pushConditionalBlock):
232         (popConditionalBlock):
233         (pp::Context::parse):
234         * src/compiler/preprocessor/new/pp_tab.h: Added.
235         (YYLTYPE):
236         * src/compiler/preprocessor/new/stl_utils.h: Added.
237         (pp):
238         (Delete):
239         (pp::Delete::operator()):
240         (DeleteSecond):
241         (pp::DeleteSecond::operator()):
242         * src/compiler/preprocessor/new/token_type.h: Added.
243         * src/compiler/preprocessor/scanner.c:
244         (yylex_CPP):
245         * src/compiler/preprocessor/symbols.c:
246         * src/compiler/preprocessor/tokens.c:
247         * src/libEGL/Config.cpp:
248         (egl::ConfigSet::getConfigs):
249         * src/libEGL/Display.cpp:
250         (egl::Display::initialize):
251         (egl::Display::terminate):
252         (egl::Display::restoreLostDevice):
253         (egl::Display::sync):
254         (egl):
255         (egl::Display::allocateEventQuery):
256         (egl::Display::freeEventQuery):
257         (egl::Display::getFloat32TextureSupport):
258         (egl::Display::getFloat16TextureSupport):
259         (egl::Display::getEventQuerySupport):
260         (egl::Display::initExtensionString):
261         (egl::Display::shareHandleSupported):
262         (egl::Display::getOcclusionQuerySupport):
263         (egl::Display::getInstancingSupport):
264         * src/libEGL/Display.h:
265         (Display):
266         (egl::Display::isD3d9ExDevice):
267         * src/libEGL/Surface.cpp:
268         (egl::Surface::resetSwapChain):
269         * src/libEGL/libEGL.cpp:
270         * src/libEGL/libEGL.vcproj:
271         * src/libGLESv2/Blit.cpp:
272         (gl::Blit::setCommonBlitState):
273         * src/libGLESv2/Buffer.h:
274         (Buffer):
275         * src/libGLESv2/Context.cpp:
276         (gl::Context::Context):
277         (gl::Context::~Context):
278         (gl::Context::makeCurrent):
279         (gl::Context::getActiveQuery):
280         (gl):
281         (gl::Context::createFence):
282         (gl::Context::createQuery):
283         (gl::Context::deleteQuery):
284         (gl::Context::beginQuery):
285         (gl::Context::endQuery):
286         (gl::Context::getQuery):
287         (gl::Context::applyVertexBuffer):
288         (gl::Context::applyIndexBuffer):
289         (gl::Context::readPixels):
290         (gl::Context::clear):
291         (gl::Context::drawArrays):
292         (gl::Context::drawElements):
293         (gl::Context::sync):
294         (gl::Context::drawLineLoop):
295         (gl::Context::supportsOcclusionQueries):
296         (gl::Context::supportsInstancing):
297         (gl::Context::setVertexAttribDivisor):
298         (gl::Context::initExtensionString):
299         (gl::VertexDeclarationCache::applyDeclaration):
300         (gl::VertexDeclarationCache::markStateDirty):
301         * src/libGLESv2/Context.h:
302         (gl):
303         (gl::VertexAttribute::VertexAttribute):
304         (State):
305         (VertexDeclarationCache):
306         (Context):
307         * src/libGLESv2/Fence.cpp:
308         (gl::Fence::Fence):
309         (gl::Fence::~Fence):
310         (gl::Fence::setFence):
311         * src/libGLESv2/Fence.h:
312         (egl):
313         (Fence):
314         * src/libGLESv2/Framebuffer.cpp:
315         (gl::Framebuffer::lookupRenderbuffer):
316         (gl::Framebuffer::detachTexture):
317         (gl::Framebuffer::completeness):
318         * src/libGLESv2/Framebuffer.h:
319         * src/libGLESv2/IndexDataManager.cpp:
320         (gl::IndexDataManager::IndexDataManager):
321         (gl::IndexDataManager::~IndexDataManager):
322         (gl::computeRange):
323         (gl::IndexDataManager::prepareIndexData):
324         (gl::IndexDataManager::getCountingIndices):
325         (gl):
326         * src/libGLESv2/IndexDataManager.h:
327         (IndexDataManager):
328         * src/libGLESv2/Program.cpp:
329         (gl::Program::getUniformLocation):
330         (gl::Program::setUniform1fv):
331         (gl::Program::setUniform2fv):
332         (gl::Program::setUniform3fv):
333         (gl::Program::setUniform4fv):
334         (gl::Program::setUniform1iv):
335         (gl::Program::setUniform2iv):
336         (gl::Program::setUniform3iv):
337         (gl::Program::setUniform4iv):
338         (gl::Program::packVaryings):
339         (gl::Program::linkVaryings):
340         (gl::Program::defineUniform):
341         (gl::Program::createUniform):
342         (gl::Program::applyUniformnbv):
343         (gl::Program::applyUniform1iv):
344         (gl::Program::applyUniform2iv):
345         (gl::Program::applyUniform3iv):
346         (gl::Program::applyUniform4iv):
347         (gl::Program::getInfoLog):
348         * src/libGLESv2/Program.h:
349         (Program):
350         * src/libGLESv2/Query.cpp: Added.
351         (gl):
352         (gl::Query::Query):
353         (gl::Query::~Query):
354         (gl::Query::begin):
355         (gl::Query::end):
356         (gl::Query::getResult):
357         (gl::Query::isResultAvailable):
358         (gl::Query::getType):
359         (gl::Query::testQuery):
360         * src/libGLESv2/Query.h: Added.
361         (gl):
362         (Query):
363         * src/libGLESv2/Renderbuffer.cpp:
364         (gl):
365         (gl::RenderbufferInterface::addProxyRef):
366         (gl::RenderbufferInterface::releaseProxy):
367         (gl::RenderbufferTexture::RenderbufferTexture):
368         (gl::RenderbufferTexture::~RenderbufferTexture):
369         (gl::RenderbufferTexture::addProxyRef):
370         (gl::RenderbufferTexture::releaseProxy):
371         (gl::Renderbuffer::addRef):
372         (gl::Renderbuffer::release):
373         * src/libGLESv2/Renderbuffer.h:
374         (gl):
375         (RenderbufferInterface):
376         (RenderbufferTexture):
377         (Renderbuffer):
378         * src/libGLESv2/Shader.cpp:
379         (gl::Shader::Shader):
380         (gl::Shader::getInfoLog):
381         (gl::Shader::getSourceImpl):
382         (gl):
383         (gl::Shader::initializeCompiler):
384         (gl::Shader::parseVaryings):
385         (gl::Shader::uncompile):
386         (gl::Shader::compileToHLSL):
387         (gl::VertexShader::uncompile):
388         (gl::VertexShader::compile):
389         (gl::VertexShader::parseAttributes):
390         (gl::FragmentShader::compile):
391         * src/libGLESv2/Shader.h:
392         (Shader):
393         (VertexShader):
394         * src/libGLESv2/Texture.cpp:
395         (gl::Texture2D::Texture2D):
396         (gl::Texture2D::~Texture2D):
397         (gl):
398         (gl::Texture2D::addProxyRef):
399         (gl::Texture2D::releaseProxy):
400         (gl::Texture2D::getRenderbuffer):
401         (gl::TextureCubeMap::TextureCubeMap):
402         (gl::TextureCubeMap::~TextureCubeMap):
403         (gl::TextureCubeMap::addProxyRef):
404         (gl::TextureCubeMap::releaseProxy):
405         (gl::TextureCubeMap::isSamplerComplete):
406         (gl::TextureCubeMap::convertToRenderTarget):
407         (gl::TextureCubeMap::getRenderbuffer):
408         * src/libGLESv2/Texture.h:
409         (Texture):
410         (Texture2D):
411         (TextureCubeMap):
412         * src/libGLESv2/VertexDataManager.cpp:
413         (gl::VertexDataManager::writeAttributeData):
414         (gl::VertexDataManager::prepareVertexData):
415         (gl::VertexDataManager::spaceRequired):
416         (gl):
417         * src/libGLESv2/VertexDataManager.h:
418         (TranslatedAttribute):
419         (VertexDataManager):
420         * src/libGLESv2/libGLESv2.cpp:
421         * src/libGLESv2/libGLESv2.def:
422         * src/libGLESv2/libGLESv2.vcproj:
423         * src/libGLESv2/utilities.cpp:
424         (gl::IsInternalTextureTarget):
425         * src/libGLESv2/utilities.h:
426         (gl):
427
428 2012-03-09  Ashod Nakashian  <ashodnakashian@yahoo.com>
429
430         Bash scripts should support LF endings only
431         https://bugs.webkit.org/show_bug.cgi?id=79509
432
433         Reviewed by David Kilzer.
434
435         * src/compiler/generate_parser.sh: Added property svn:eol-style.
436
437 2012-02-21  Sam Weinig  <sam@webkit.org>
438
439         Attempt to fix the Snow Leopard build.
440
441         * Configurations/Base.xcconfig:
442
443 2012-02-21  Sam Weinig  <sam@webkit.org>
444
445         Use libc++ when building with Clang on Mac
446         https://bugs.webkit.org/show_bug.cgi?id=78981
447
448         Reviewed by Dan Bernstein.
449
450         * Configurations/Base.xcconfig:
451
452 2012-01-07  Chris Marrin  <cmarrin@apple.com>
453
454         Fixed a warning in GTK build of ANGLE
455
456         Unreviewed.
457
458         * src/compiler/DetectRecursion.cpp:
459         (DetectRecursion::~DetectRecursion):
460
461 2012-01-06  Mark Rowe  <mrowe@apple.com>
462
463         Regenerate a few files with a more appropriate version of bison.
464
465         Rubber-stamped by Dan Bernstein.
466
467         * src/compiler/glslang.l: Tweak the input so that it generates code that compiles without warnings.
468         * src/compiler/glslang_lex.cpp:
469         * src/compiler/glslang_tab.cpp:
470         * src/compiler/glslang_tab.h:
471
472 2012-01-06  Chris Marrin  <cmarrin@apple.com>
473
474         Update ANGLE in WebKit tree
475         https://bugs.webkit.org/show_bug.cgi?id=75753
476
477         Reviewed by Simon Fraser.
478
479         Updated ANGLE to r939. Fixed a compiler error (missing case in switch statement)
480         and added 5 new files to xcodeproj. Other than that it is a straight copy of
481         the files from the ANGLE repository.
482
483         * ANGLE.xcodeproj/project.pbxproj:
484         * include/EGL/eglext.h:
485         * include/EGL/eglplatform.h:
486         * include/GLES2/gl2ext.h:
487         * include/GLSLANG/ShaderLang.h:
488         * src/common/debug.cpp:
489         (gl::output):
490         (gl::trace):
491         (gl::perfActive):
492         (gl::ScopedPerfEventHelper::ScopedPerfEventHelper):
493         (gl::ScopedPerfEventHelper::~ScopedPerfEventHelper):
494         * src/common/version.h:
495         * src/compiler/BaseTypes.h:
496         (getBasicString):
497         * src/compiler/BuiltInFunctionEmulator.cpp: Added.
498         (BuiltInFunctionEmulator::BuiltInFunctionEmulator):
499         (BuiltInFunctionEmulator::SetFunctionCalled):
500         (BuiltInFunctionEmulator::OutputEmulatedFunctionDefinition):
501         (BuiltInFunctionEmulator::IdentifyFunction):
502         (BuiltInFunctionEmulator::MarkBuiltInFunctionsForEmulation):
503         (BuiltInFunctionEmulator::Cleanup):
504         (BuiltInFunctionEmulator::GetEmulatedFunctionName):
505         * src/compiler/BuiltInFunctionEmulator.h: Added.
506         * src/compiler/Compiler.cpp:
507         (TCompiler::TCompiler):
508         (TCompiler::compile):
509         (TCompiler::clearResults):
510         (TCompiler::detectRecursion):
511         (TCompiler::getMappedNameMaxLength):
512         (TCompiler::getBuiltInFunctionEmulator):
513         * src/compiler/DetectRecursion.cpp: Added.
514         (DetectRecursion::FunctionNode::FunctionNode):
515         (DetectRecursion::FunctionNode::getName):
516         (DetectRecursion::FunctionNode::addCallee):
517         (DetectRecursion::FunctionNode::detectRecursion):
518         (DetectRecursion::DetectRecursion):
519         (DetectRecursion::~DetectRecursion):
520         (DetectRecursion::visitAggregate):
521         (DetectRecursion::detectRecursion):
522         (DetectRecursion::findFunctionByName):
523         * src/compiler/DetectRecursion.h: Added.
524         * src/compiler/ExtensionBehavior.h:
525         * src/compiler/ForLoopUnroll.cpp:
526         (ForLoopUnroll::MarkForLoopsWithIntegerIndicesForUnrolling):
527         * src/compiler/ForLoopUnroll.h:
528         * src/compiler/Initialize.cpp:
529         (BuiltInFunctionsCommon):
530         (BuiltInFunctionsVertex):
531         (BuiltInFunctionsFragment):
532         (TBuiltIns::initialize):
533         (IdentifyBuiltIns):
534         (InitExtensionBehavior):
535         * src/compiler/MapLongVariableNames.cpp:
536         (MapLongVariableNames::MapLongVariableNames):
537         (MapLongVariableNames::visitSymbol):
538         (MapLongVariableNames::mapVaryingLongName):
539         * src/compiler/MapLongVariableNames.h:
540         * src/compiler/OutputGLSLBase.cpp:
541         (TOutputGLSLBase::visitUnary):
542         (TOutputGLSLBase::visitAggregate):
543         * src/compiler/OutputHLSL.cpp:
544         (sh::OutputHLSL::OutputHLSL):
545         (sh::OutputHLSL::header):
546         (sh::OutputHLSL::visitSymbol):
547         (sh::OutputHLSL::visitAggregate):
548         (sh::OutputHLSL::visitSelection):
549         (sh::OutputHLSL::visitLoop):
550         (sh::OutputHLSL::handleExcessiveLoop):
551         (sh::OutputHLSL::addConstructor):
552         (sh::OutputHLSL::decorate):
553         (sh::OutputHLSL::decorateUniform):
554         * src/compiler/OutputHLSL.h:
555         * src/compiler/ParseHelper.cpp:
556         (TParseContext::recover):
557         (TParseContext::reservedErrorCheck):
558         (TParseContext::constructorErrorCheck):
559         (TParseContext::extensionErrorCheck):
560         (TParseContext::supportsExtension):
561         (TParseContext::enterStructDeclaration):
562         (TParseContext::exitStructDeclaration):
563         (TParseContext::structNestingErrorCheck):
564         * src/compiler/ParseHelper.h:
565         (TParseContext::TParseContext):
566         * src/compiler/PoolAlloc.h:
567         (pool_allocator::pool_allocator):
568         (pool_allocator::operator=):
569         (pool_allocator::setAllocator):
570         (pool_allocator::getAllocator):
571         * src/compiler/ShHandle.h:
572         * src/compiler/ShaderLang.cpp:
573         (checkActiveUniformAndAttribMaxLengths):
574         (checkMappedNameMaxLength):
575         (getVariableInfo):
576         (ShInitBuiltInResources):
577         (ShGetInfo):
578         * src/compiler/SymbolTable.cpp:
579         (TType::computeDeepestStructNesting):
580         * src/compiler/TranslatorESSL.cpp:
581         (TranslatorESSL::translate):
582         (TranslatorESSL::writeExtensionBehavior):
583         * src/compiler/TranslatorGLSL.cpp:
584         (TranslatorGLSL::translate):
585         * src/compiler/Types.h:
586         (TType::TType):
587         (TType::copyType):
588         (TType::setStruct):
589         (TType::getDeepestStructNesting):
590         * src/compiler/UnfoldSelect.cpp:
591         (sh::UnfoldSelect::traverse):
592         (sh::UnfoldSelect::visitSelection):
593         (sh::UnfoldSelect::visitLoop):
594         (sh::UnfoldSelect::getNextTemporaryIndex):
595         * src/compiler/UnfoldSelect.h:
596         * src/compiler/ValidateLimitations.cpp:
597         * src/compiler/ValidateLimitations.h:
598         * src/compiler/VariableInfo.cpp:
599         (getVariableDataType):
600         * src/compiler/generate_glslang_lexer.sh: Removed.
601         * src/compiler/generate_glslang_parser.sh: Removed.
602         * src/compiler/generate_parser.sh: Added.
603         * src/compiler/glslang.l:
604         * src/compiler/glslang.y:
605         * src/compiler/glslang_lex.cpp:
606         (yy_get_previous_state):
607         (yy_try_NUL_trans):
608         * src/compiler/glslang_tab.cpp:
609         * src/compiler/glslang_tab.h:
610         * src/compiler/intermOut.cpp:
611         (TOutputTraverser::visitAggregate):
612         * src/compiler/intermediate.h:
613         (TIntermUnary::TIntermUnary):
614         (TIntermUnary::setUseEmulatedFunction):
615         (TIntermUnary::getUseEmulatedFunction):
616         (TIntermAggregate::TIntermAggregate):
617         (TIntermAggregate::setUseEmulatedFunction):
618         (TIntermAggregate::getUseEmulatedFunction):
619         * src/compiler/osinclude.h:
620         * src/compiler/ossource_posix.cpp:
621         (OS_AllocTLSIndex):
622         (OS_SetTLSValue):
623         (OS_FreeTLSIndex):
624         * src/compiler/preprocessor/atom.c:
625         (GrowAtomTable):
626         * src/compiler/preprocessor/length_limits.h: Added.
627         * src/compiler/preprocessor/scanner.h:
628         * src/libEGL/Display.cpp:
629         (egl::Display::getDisplay):
630         (egl::Display::Display):
631         (egl::Display::~Display):
632         (egl::Display::initialize):
633         (egl::Display::terminate):
634         (egl::Display::startScene):
635         (egl::Display::endScene):
636         (egl::Display::createDevice):
637         (egl::Display::initializeDevice):
638         (egl::Display::resetDevice):
639         (egl::Display::createWindowSurface):
640         (egl::Display::createOffscreenSurface):
641         (egl::Display::createContext):
642         (egl::Display::restoreLostDevice):
643         (egl::Display::notifyDeviceLost):
644         (egl::Display::isDeviceLost):
645         (egl::Display::testDeviceLost):
646         (egl::Display::testDeviceResettable):
647         (egl::Display::getDXT1TextureSupport):
648         (egl::Display::getDXT3TextureSupport):
649         (egl::Display::getDXT5TextureSupport):
650         (egl::Display::getFloat32TextureSupport):
651         (egl::Display::getFloat16TextureSupport):
652         (egl::Display::getTexturePool):
653         (egl::Display::initExtensionString):
654         * src/libEGL/Display.h:
655         * src/libEGL/Surface.cpp:
656         (egl::Surface::Surface):
657         (egl::Surface::initialize):
658         (egl::Surface::resetSwapChain):
659         (egl::Surface::subclassWindow):
660         (egl::Surface::unsubclassWindow):
661         (egl::Surface::swap):
662         (egl::Surface::postSubBuffer):
663         (egl::Surface::isPostSubBufferSupported):
664         * src/libEGL/Surface.h:
665         * src/libEGL/libEGL.cpp:
666         * src/libEGL/libEGL.rc:
667         * src/libEGL/libEGL.vcproj:
668         * src/libGLESv2/Buffer.cpp:
669         (gl::Buffer::bufferSubData):
670         * src/libGLESv2/Context.cpp:
671         (gl::Context::Context):
672         (gl::Context::makeCurrent):
673         (gl::Context::markAllStateDirty):
674         (gl::Context::markContextLost):
675         (gl::Context::isContextLost):
676         (gl::Context::setPackReverseRowOrder):
677         (gl::Context::getPackReverseRowOrder):
678         (gl::Context::deleteProgram):
679         (gl::Context::getDrawFramebuffer):
680         (gl::Context::bindDrawFramebuffer):
681         (gl::Context::useProgram):
682         (gl::Context::setFramebufferZero):
683         (gl::Context::getCurrentProgram):
684         (gl::Context::getBooleanv):
685         (gl::Context::getIntegerv):
686         (gl::Context::getQueryParameterInfo):
687         (gl::Context::applyRenderTarget):
688         (gl::Context::applyState):
689         (gl::Context::applyVertexBuffer):
690         (gl::Context::applyIndexBuffer):
691         (gl::Context::applyShaders):
692         (gl::Context::applyTextures):
693         (gl::Context::readPixels):
694         (gl::Context::clear):
695         (gl::Context::drawArrays):
696         (gl::Context::drawElements):
697         (gl::Context::sync):
698         (gl::Context::drawClosingLine):
699         (gl::Context::getResetStatus):
700         (gl::Context::isResetNotificationEnabled):
701         (gl::Context::supportsDXT1Textures):
702         (gl::Context::supportsDXT3Textures):
703         (gl::Context::supportsDXT5Textures):
704         (gl::Context::supportsFloat32Textures):
705         (gl::Context::supportsFloat32LinearFilter):
706         (gl::Context::supportsFloat32RenderableTextures):
707         (gl::Context::supportsFloat16Textures):
708         (gl::Context::supportsFloat16LinearFilter):
709         (gl::Context::supportsFloat16RenderableTextures):
710         (gl::Context::initExtensionString):
711         (gl::Context::initRendererString):
712         (gl::Context::getRendererString):
713         (gl::Context::blitFramebuffer):
714         (gl::VertexDeclarationCache::applyDeclaration):
715         (gl::VertexDeclarationCache::markStateDirty):
716         * src/libGLESv2/Context.h:
717         * src/libGLESv2/Fence.cpp:
718         (gl::Fence::testFence):
719         (gl::Fence::getFenceiv):
720         * src/libGLESv2/Framebuffer.cpp:
721         (gl::Framebuffer::setColorbuffer):
722         (gl::Framebuffer::setDepthbuffer):
723         (gl::Framebuffer::setStencilbuffer):
724         (gl::Framebuffer::getColorbuffer):
725         (gl::Framebuffer::getDepthbuffer):
726         (gl::Framebuffer::getStencilbuffer):
727         (gl::Framebuffer::hasStencil):
728         (gl::Framebuffer::completeness):
729         (gl::DefaultFramebuffer::DefaultFramebuffer):
730         * src/libGLESv2/Framebuffer.h:
731         * src/libGLESv2/IndexDataManager.cpp:
732         (gl::IndexDataManager::prepareIndexData):
733         (gl::IndexBuffer::IndexBuffer):
734         (gl::IndexBuffer::getSerial):
735         (gl::IndexBuffer::issueSerial):
736         (gl::StreamingIndexBuffer::reserveSpace):
737         (gl::StaticIndexBuffer::reserveSpace):
738         (gl::StaticIndexBuffer::lookupRange):
739         (gl::StaticIndexBuffer::addRange):
740         * src/libGLESv2/IndexDataManager.h:
741         (gl::StaticIndexBuffer::IndexRange::operator<):
742         * src/libGLESv2/Program.cpp:
743         (gl::Uniform::Uniform):
744         (gl::Uniform::isArray):
745         (gl::UniformLocation::UniformLocation):
746         (gl::Program::Program):
747         (gl::Program::detachShader):
748         (gl::Program::getUsedSamplerRange):
749         (gl::Program::getSamplerMapping):
750         (gl::Program::getUniformLocation):
751         (gl::Program::setUniform1fv):
752         (gl::Program::setUniform2fv):
753         (gl::Program::setUniform3fv):
754         (gl::transposeMatrix):
755         (gl::Program::setUniformMatrix2fv):
756         (gl::Program::setUniformMatrix3fv):
757         (gl::Program::setUniformMatrix4fv):
758         (gl::Program::getUniformfv):
759         (gl::Program::getUniformiv):
760         (gl::Program::applyUniforms):
761         (gl::Program::compileToBinary):
762         (gl::Program::linkVaryings):
763         (gl::Program::link):
764         (gl::Program::defineUniform):
765         (gl::Program::createUniform):
766         (gl::Program::decorateAttribute):
767         (gl::Program::undecorateUniform):
768         (gl::Program::applyUniformnbv):
769         (gl::Program::applyUniformnfv):
770         (gl::Program::applyUniform1iv):
771         (gl::Program::applyUniform2iv):
772         (gl::Program::applyUniform3iv):
773         (gl::Program::applyUniform4iv):
774         (gl::Program::applyUniformniv):
775         (gl::Program::appendToInfoLogSanitized):
776         (gl::Program::unlink):
777         (gl::Program::getActiveUniform):
778         (gl::Program::getActiveUniformCount):
779         (gl::Program::getActiveUniformMaxLength):
780         (gl::Program::validateSamplers):
781         (gl::Program::initializeConstantHandles):
782         (gl::Program::getDxCoordLocation):
783         * src/libGLESv2/Program.h:
784         * src/libGLESv2/Renderbuffer.cpp:
785         (gl::RenderbufferInterface::RenderbufferInterface):
786         (gl::RenderbufferInterface::getRedSize):
787         (gl::RenderbufferInterface::getGreenSize):
788         (gl::RenderbufferInterface::getBlueSize):
789         (gl::RenderbufferInterface::getAlphaSize):
790         (gl::RenderbufferInterface::getDepthSize):
791         (gl::RenderbufferInterface::getStencilSize):
792         (gl::RenderbufferTexture::RenderbufferTexture):
793         (gl::RenderbufferTexture::~RenderbufferTexture):
794         (gl::RenderbufferTexture::getRenderTarget):
795         (gl::RenderbufferTexture::getDepthStencil):
796         (gl::RenderbufferTexture::getWidth):
797         (gl::RenderbufferTexture::getHeight):
798         (gl::RenderbufferTexture::getInternalFormat):
799         (gl::RenderbufferTexture::getD3DFormat):
800         (gl::RenderbufferTexture::getSamples):
801         (gl::RenderbufferTexture::getSerial):
802         (gl::Renderbuffer::Renderbuffer):
803         (gl::Renderbuffer::~Renderbuffer):
804         (gl::Renderbuffer::getRenderTarget):
805         (gl::Renderbuffer::getDepthStencil):
806         (gl::Renderbuffer::getWidth):
807         (gl::Renderbuffer::getHeight):
808         (gl::Renderbuffer::getInternalFormat):
809         (gl::Renderbuffer::getD3DFormat):
810         (gl::Renderbuffer::getRedSize):
811         (gl::Renderbuffer::getGreenSize):
812         (gl::Renderbuffer::getBlueSize):
813         (gl::Renderbuffer::getAlphaSize):
814         (gl::Renderbuffer::getDepthSize):
815         (gl::Renderbuffer::getStencilSize):
816         (gl::Renderbuffer::getSamples):
817         (gl::Renderbuffer::getSerial):
818         (gl::Renderbuffer::setStorage):
819         (gl::RenderbufferStorage::getD3DFormat):
820         (gl::RenderbufferStorage::issueCubeSerials):
821         (gl::Colorbuffer::Colorbuffer):
822         (gl::Colorbuffer::getRenderTarget):
823         (gl::Depthbuffer::Depthbuffer):
824         (gl::Stencilbuffer::Stencilbuffer):
825         * src/libGLESv2/Renderbuffer.h:
826         (gl::RenderbufferInterface::~RenderbufferInterface):
827         * src/libGLESv2/Shader.cpp:
828         (gl::Shader::getTranslatedSourceLength):
829         (gl::Shader::getSourceImpl):
830         (gl::Shader::getSource):
831         (gl::Shader::getTranslatedSource):
832         * src/libGLESv2/Shader.h:
833         * src/libGLESv2/Texture.cpp:
834         (gl::ConvertTextureFormatType):
835         (gl::IsTextureFormatRenderable):
836         (gl::Image::Image):
837         (gl::Image::~Image):
838         (gl::Image::redefine):
839         (gl::Image::createSurface):
840         (gl::Image::lock):
841         (gl::Image::unlock):
842         (gl::Image::isRenderableFormat):
843         (gl::Image::getD3DFormat):
844         (gl::Image::getSurface):
845         (gl::Image::setManagedSurface):
846         (gl::Image::updateSurface):
847         (gl::Image::loadData):
848         (gl::Image::loadAlphaData):
849         (gl::Image::loadAlphaFloatData):
850         (gl::Image::loadAlphaHalfFloatData):
851         (gl::Image::loadLuminanceData):
852         (gl::Image::loadLuminanceFloatData):
853         (gl::Image::loadLuminanceHalfFloatData):
854         (gl::Image::loadLuminanceAlphaData):
855         (gl::Image::loadLuminanceAlphaFloatData):
856         (gl::Image::loadLuminanceAlphaHalfFloatData):
857         (gl::Image::loadRGBUByteData):
858         (gl::Image::loadRGB565Data):
859         (gl::Image::loadRGBFloatData):
860         (gl::Image::loadRGBHalfFloatData):
861         (gl::Image::loadRGBAUByteDataSSE2):
862         (gl::Image::loadRGBAUByteData):
863         (gl::Image::loadRGBA4444Data):
864         (gl::Image::loadRGBA5551Data):
865         (gl::Image::loadRGBAFloatData):
866         (gl::Image::loadRGBAHalfFloatData):
867         (gl::Image::loadBGRAData):
868         (gl::Image::loadCompressedData):
869         (gl::FlipCopyDXT1BlockFull):
870         (gl::FlipCopyDXT1BlockHalf):
871         (gl::FlipCopyDXT3BlockFull):
872         (gl::FlipCopyDXT3BlockHalf):
873         (gl::FlipCopyDXT5BlockFull):
874         (gl::FlipCopyDXT5BlockHalf):
875         (gl::Image::loadDXT1Data):
876         (gl::Image::loadDXT3Data):
877         (gl::Image::loadDXT5Data):
878         (gl::Image::copy):
879         (gl::TextureStorage::TextureStorage):
880         (gl::TextureStorage::~TextureStorage):
881         (gl::TextureStorage::isRenderTarget):
882         (gl::TextureStorage::isManaged):
883         (gl::TextureStorage::getPool):
884         (gl::TextureStorage::getTextureSerial):
885         (gl::TextureStorage::issueTextureSerial):
886         (gl::Texture::Texture):
887         (gl::Texture::~Texture):
888         (gl::Texture::setMinFilter):
889         (gl::Texture::setMagFilter):
890         (gl::Texture::setWrapS):
891         (gl::Texture::setWrapT):
892         (gl::Texture::setUsage):
893         (gl::Texture::getMinFilter):
894         (gl::Texture::getMagFilter):
895         (gl::Texture::getWrapS):
896         (gl::Texture::getWrapT):
897         (gl::Texture::getUsage):
898         (gl::Texture::setImage):
899         (gl::Texture::setCompressedImage):
900         (gl::Texture::subImage):
901         (gl::Texture::subImageCompressed):
902         (gl::Texture::getTexture):
903         (gl::Texture::hasDirtyParameters):
904         (gl::Texture::hasDirtyImages):
905         (gl::Texture::resetDirty):
906         (gl::Texture::getTextureSerial):
907         (gl::Texture::getRenderTargetSerial):
908         (gl::Texture::isImmutable):
909         (gl::Texture::creationLevels):
910         (gl::Texture::getBlitter):
911         (gl::Texture::copyToRenderTarget):
912         (gl::TextureStorage2D::TextureStorage2D):
913         (gl::TextureStorage2D::~TextureStorage2D):
914         (gl::TextureStorage2D::getSurfaceLevel):
915         (gl::TextureStorage2D::getBaseTexture):
916         (gl::TextureStorage2D::getRenderTargetSerial):
917         (gl::Texture2D::Texture2D):
918         (gl::Texture2D::~Texture2D):
919         (gl::Texture2D::getWidth):
920         (gl::Texture2D::getHeight):
921         (gl::Texture2D::getInternalFormat):
922         (gl::Texture2D::getType):
923         (gl::Texture2D::redefineImage):
924         (gl::Texture2D::setImage):
925         (gl::Texture2D::bindTexImage):
926         (gl::Texture2D::releaseTexImage):
927         (gl::Texture2D::setCompressedImage):
928         (gl::Texture2D::commitRect):
929         (gl::Texture2D::copyImage):
930         (gl::Texture2D::copySubImage):
931         (gl::Texture2D::storage):
932         (gl::Texture2D::isSamplerComplete):
933         (gl::Texture2D::isMipmapComplete):
934         (gl::Texture2D::getBaseTexture):
935         (gl::Texture2D::createTexture):
936         (gl::Texture2D::updateTexture):
937         (gl::Texture2D::convertToRenderTarget):
938         (gl::Texture2D::generateMipmaps):
939         (gl::Texture2D::getRenderbuffer):
940         (gl::Texture2D::getRenderTarget):
941         (gl::Texture2D::getStorage):
942         (gl::TextureStorageCubeMap::TextureStorageCubeMap):
943         (gl::TextureStorageCubeMap::~TextureStorageCubeMap):
944         (gl::TextureStorageCubeMap::getCubeMapSurface):
945         (gl::TextureStorageCubeMap::getBaseTexture):
946         (gl::TextureStorageCubeMap::getRenderTargetSerial):
947         (gl::TextureCubeMap::TextureCubeMap):
948         (gl::TextureCubeMap::~TextureCubeMap):
949         (gl::TextureCubeMap::getWidth):
950         (gl::TextureCubeMap::getHeight):
951         (gl::TextureCubeMap::getInternalFormat):
952         (gl::TextureCubeMap::getType):
953         (gl::TextureCubeMap::setCompressedImage):
954         (gl::TextureCubeMap::commitRect):
955         (gl::TextureCubeMap::subImage):
956         (gl::TextureCubeMap::subImageCompressed):
957         (gl::TextureCubeMap::isSamplerComplete):
958         (gl::TextureCubeMap::isCubeComplete):
959         (gl::TextureCubeMap::isMipmapCubeComplete):
960         (gl::TextureCubeMap::getBaseTexture):
961         (gl::TextureCubeMap::createTexture):
962         (gl::TextureCubeMap::updateTexture):
963         (gl::TextureCubeMap::convertToRenderTarget):
964         (gl::TextureCubeMap::setImage):
965         (gl::TextureCubeMap::redefineImage):
966         (gl::TextureCubeMap::copyImage):
967         (gl::TextureCubeMap::copySubImage):
968         (gl::TextureCubeMap::storage):
969         (gl::TextureCubeMap::generateMipmaps):
970         (gl::TextureCubeMap::getRenderbuffer):
971         (gl::TextureCubeMap::getRenderTarget):
972         (gl::TextureCubeMap::getStorage):
973         * src/libGLESv2/Texture.h:
974         (gl::Image::markDirty):
975         (gl::Image::markClean):
976         (gl::Image::getWidth):
977         (gl::Image::getHeight):
978         (gl::Image::getFormat):
979         (gl::Image::getType):
980         (gl::Image::isDirty):
981         * src/libGLESv2/VertexDataManager.cpp:
982         (gl::elementsInBuffer):
983         (gl::VertexDataManager::VertexDataManager):
984         (gl::VertexDataManager::writeAttributeData):
985         (gl::VertexDataManager::prepareVertexData):
986         (gl::VertexBuffer::VertexBuffer):
987         (gl::VertexBuffer::getSerial):
988         (gl::VertexBuffer::issueSerial):
989         (gl::StreamingVertexBuffer::reserveRequiredSpace):
990         (gl::StaticVertexBuffer::map):
991         (gl::StaticVertexBuffer::reserveRequiredSpace):
992         (gl::StaticVertexBuffer::lookupAttribute):
993         * src/libGLESv2/VertexDataManager.h:
994         (gl::ArrayVertexBuffer::size):
995         * src/libGLESv2/geometry/IndexDataManager.cpp: Removed.
996         * src/libGLESv2/geometry/IndexDataManager.h: Removed.
997         * src/libGLESv2/geometry/VertexDataManager.cpp: Removed.
998         * src/libGLESv2/geometry/VertexDataManager.h: Removed.
999         * src/libGLESv2/geometry/vertexconversion.h: Removed.
1000         * src/libGLESv2/libGLESv2.cpp:
1001         (validateSubImageParams):
1002         (validReadFormatType):
1003         (Extension::glBindTexImage):
1004         * src/libGLESv2/libGLESv2.def:
1005         * src/libGLESv2/libGLESv2.rc:
1006         * src/libGLESv2/libGLESv2.vcproj:
1007         * src/libGLESv2/main.cpp:
1008         (gl::getNonLostContext):
1009         (gl::checkDeviceLost):
1010         * src/libGLESv2/main.h:
1011         * src/libGLESv2/utilities.cpp:
1012         (gl::UniformExternalComponentCount):
1013         (gl::UniformInternalComponentCount):
1014         (gl::UniformComponentSize):
1015         (gl::UniformInternalSize):
1016         (gl::UniformExternalSize):
1017         (gl::ComputeCompressedSize):
1018         (gl::IsCompressed):
1019         (gl::ExtractFormat):
1020         (gl::ExtractType):
1021         (dx2es::IsFloat32Format):
1022         (dx2es::IsFloat16Format):
1023         * src/libGLESv2/utilities.h:
1024         (isDeviceLostError):
1025
1026 2011-11-11  Darin Adler  <darin@apple.com>
1027
1028         * ANGLE.xcodeproj/project.pbxproj: Let a newer Xcode update this file.
1029         If an older Xcode downgrades this file and we have a risk of some kind of
1030         oscillating commit situation, please contact me so I know not to do this again.
1031
1032 2011-09-19  Adam Roben  <aroben@apple.com>
1033
1034         Let Xcode 4 do its thang with ANGLE.xcodeproj
1035
1036         * ANGLE.xcodeproj/project.pbxproj:
1037
1038 2011-09-13  Anders Carlsson  <andersca@apple.com>
1039
1040         Disable C++ exceptions when building with clang
1041         https://bugs.webkit.org/show_bug.cgi?id=68031
1042         <rdar://problem/9556880>
1043
1044         Reviewed by Mark Rowe.
1045
1046         * Configurations/Base.xcconfig:
1047
1048 2011-09-08  Andras Becsi  <andras.becsi@nokia.com>
1049
1050         [Qt] Build fails with strict compiler
1051         https://bugs.webkit.org/show_bug.cgi?id=67778
1052
1053         Reviewed by Csaba Osztrogonác.
1054
1055         * src/compiler/glslang_lex.cpp: Regenerate with generate_glslang_lexer.sh using a newer flex
1056         to suppress warning and fix the build when using [-Werror=unused-result]
1057
1058 2011-08-12  Mark Rowe  <mrowe@apple.com>
1059
1060         Be more forward-looking in the choice of compiler.
1061
1062         Rubber-stamped by Jon Honeycutt.
1063
1064         * Configurations/CompilerVersion.xcconfig:
1065
1066 2011-08-11  Renata Hodovan  <reni@webkit.org>
1067
1068         [Qt]Fix warnings after r92805.
1069
1070         Reviewed by Csaba Osztrogonác.
1071
1072         Control reached the end non-void functions.
1073
1074         * src/compiler/ossource_posix.cpp:
1075         (OS_AllocTLSIndex):
1076         (OS_SetTLSValue):
1077
1078 2011-08-11  Renata Hodovan  <reni@webkit.org>
1079
1080         Build fix on Qt Windows 32-bit Release/Debug after r92805.
1081
1082         Unreviewed.
1083
1084         * src/compiler/ossource_posix.cpp:
1085         (OS_FreeTLSIndex):
1086
1087 2011-08-04  Mark Rowe  <mrowe@apple.com>
1088
1089         Future-proof Xcode configuration settings.
1090
1091         * Configurations/Base.xcconfig:
1092         * Configurations/CompilerVersion.xcconfig:
1093         * Configurations/DebugRelease.xcconfig:
1094
1095 2011-06-30  Mark Rowe  <mrowe@apple.com>
1096
1097         Rubber-stamped by Dan Bernstein.
1098
1099         ANGLE shouldn't try to use internal SDKs. It doesn't need them!
1100
1101         * Configurations/Base.xcconfig:
1102
1103 2011-06-20  Zhenyao Mo  <zmo@google.com>
1104
1105         Reviewed by Kenneth Russell.
1106
1107         Update ANGLE to r696
1108         https://bugs.webkit.org/show_bug.cgi?id=56396
1109
1110         * ANGLE.xcodeproj/project.pbxproj:
1111         * include/EGL/eglext.h:
1112         * include/GLSLANG/ShaderLang.h:
1113         * src/build_angle.xcodeproj/project.pbxproj:
1114         * src/common/debug.cpp:
1115         (gl::output):
1116         (gl::trace):
1117         (gl::perfActive):
1118         (gl::ScopedPerfEventHelper::ScopedPerfEventHelper):
1119         (gl::ScopedPerfEventHelper::~ScopedPerfEventHelper):
1120         * src/common/debug.h:
1121         * src/common/version.h: Added.
1122         * src/compiler/CodeGenGLSL.cpp:
1123         (ConstructCompiler):
1124         * src/compiler/CodeGenHLSL.cpp:
1125         (ConstructCompiler):
1126         * src/compiler/Compiler.cpp:
1127         (TCompiler::compile):
1128         (TCompiler::mapLongVariableNames):
1129         (TCompiler::getMappedNameMaxLength):
1130         (TCompiler::getExtensionBehavior):
1131         * src/compiler/ConstantUnion.h:
1132         (ConstantUnion::operator==):
1133         (ConstantUnion::operator>):
1134         (ConstantUnion::operator<):
1135         * src/compiler/ExtensionBehavior.h:
1136         (getBehaviorString):
1137         * src/compiler/ForLoopUnroll.cpp: Added.
1138         (ForLoopUnroll::FillLoopIndexInfo):
1139         (ForLoopUnroll::Step):
1140         (ForLoopUnroll::SatisfiesLoopCondition):
1141         (ForLoopUnroll::NeedsToReplaceSymbolWithValue):
1142         (ForLoopUnroll::GetLoopIndexValue):
1143         (ForLoopUnroll::Push):
1144         (ForLoopUnroll::Pop):
1145         (ForLoopUnroll::getLoopIncrement):
1146         (ForLoopUnroll::evaluateIntConstant):
1147         * src/compiler/ForLoopUnroll.h: Added.
1148         (ForLoopUnroll::ForLoopUnroll):
1149         * src/compiler/Initialize.cpp:
1150         (BuiltInFunctionsVertex):
1151         * src/compiler/MapLongVariableNames.cpp: Added.
1152         (MapLongVariableNames::MapLongVariableNames):
1153         (MapLongVariableNames::visitSymbol):
1154         (MapLongVariableNames::visitConstantUnion):
1155         (MapLongVariableNames::visitBinary):
1156         (MapLongVariableNames::visitUnary):
1157         (MapLongVariableNames::visitSelection):
1158         (MapLongVariableNames::visitAggregate):
1159         (MapLongVariableNames::visitLoop):
1160         (MapLongVariableNames::visitBranch):
1161         (MapLongVariableNames::mapVaryingLongName):
1162         * src/compiler/MapLongVariableNames.h: Added.
1163         * src/compiler/OutputESSL.cpp: Added.
1164         (TOutputESSL::TOutputESSL):
1165         (TOutputESSL::writeVariablePrecision):
1166         * src/compiler/OutputESSL.h: Added.
1167         * src/compiler/OutputGLSL.cpp:
1168         (TOutputGLSL::TOutputGLSL):
1169         (TOutputGLSL::writeVariablePrecision):
1170         * src/compiler/OutputGLSL.h:
1171         * src/compiler/OutputGLSLBase.cpp: Added.
1172         (TOutputGLSLBase::TOutputGLSLBase):
1173         (TOutputGLSLBase::writeTriplet):
1174         (TOutputGLSLBase::writeVariableType):
1175         (TOutputGLSLBase::writeFunctionParameters):
1176         (TOutputGLSLBase::writeConstantUnion):
1177         (TOutputGLSLBase::visitSymbol):
1178         (TOutputGLSLBase::visitConstantUnion):
1179         (TOutputGLSLBase::visitBinary):
1180         (TOutputGLSLBase::visitUnary):
1181         (TOutputGLSLBase::visitSelection):
1182         (TOutputGLSLBase::visitAggregate):
1183         (TOutputGLSLBase::visitLoop):
1184         (TOutputGLSLBase::visitBranch):
1185         (TOutputGLSLBase::visitCodeBlock):
1186         * src/compiler/OutputGLSLBase.h: Added.
1187         (TOutputGLSLBase::objSink):
1188         * src/compiler/OutputHLSL.cpp:
1189         (sh::OutputHLSL::OutputHLSL):
1190         (sh::OutputHLSL::header):
1191         (sh::OutputHLSL::visitUnary):
1192         (sh::OutputHLSL::visitAggregate):
1193         (sh::OutputHLSL::visitSelection):
1194         (sh::OutputHLSL::visitLoop):
1195         (sh::OutputHLSL::visitBranch):
1196         (sh::OutputHLSL::handleExcessiveLoop):
1197         (sh::OutputHLSL::outputLineDirective):
1198         * src/compiler/OutputHLSL.h:
1199         * src/compiler/ParseHelper.cpp:
1200         (TParseContext::precisionErrorCheck):
1201         (TParseContext::constructorErrorCheck):
1202         (TParseContext::nonInitErrorCheck):
1203         * src/compiler/ParseHelper.h:
1204         (TParseContext::TParseContext):
1205         * src/compiler/ShHandle.h:
1206         * src/compiler/ShaderLang.cpp:
1207         (getVariableInfo):
1208         (ShConstructCompiler):
1209         (ShGetInfo):
1210         (ShGetActiveAttrib):
1211         (ShGetActiveUniform):
1212         * src/compiler/TranslatorESSL.cpp: Added.
1213         (TranslatorESSL::TranslatorESSL):
1214         (TranslatorESSL::translate):
1215         (TranslatorESSL::writeExtensionBehavior):
1216         * src/compiler/TranslatorESSL.h: Added.
1217         * src/compiler/ValidateLimitations.cpp:
1218         (ValidateLimitations::visitBinary):
1219         (ValidateLimitations::visitLoop):
1220         * src/compiler/ValidateLimitations.h:
1221         * src/compiler/VariableInfo.cpp:
1222         (getVariableInfo):
1223         (getBuiltInVariableInfo):
1224         (getUserDefinedVariableInfo):
1225         (CollectAttribsUniforms::visitAggregate):
1226         * src/compiler/VariableInfo.h:
1227         * src/compiler/VersionGLSL.cpp:
1228         (TVersionGLSL::visitSymbol):
1229         (TVersionGLSL::visitConstantUnion):
1230         (TVersionGLSL::visitBinary):
1231         (TVersionGLSL::visitUnary):
1232         (TVersionGLSL::visitSelection):
1233         (TVersionGLSL::visitAggregate):
1234         (TVersionGLSL::visitLoop):
1235         (TVersionGLSL::visitBranch):
1236         * src/compiler/VersionGLSL.h:
1237         * src/compiler/glslang.y:
1238         * src/compiler/glslang_tab.cpp:
1239         * src/compiler/glslang_tab.h:
1240         * src/compiler/intermediate.h:
1241         (TIntermLoop::TIntermLoop):
1242         (TIntermLoop::setUnrollFlag):
1243         (TIntermLoop::getUnrollFlag):
1244         (TIntermSymbol::TIntermSymbol):
1245         (TIntermSymbol::setId):
1246         (TIntermSymbol::setSymbol):
1247         (TIntermSymbol::getOriginalSymbol):
1248         (TIntermAggregate::TIntermAggregate):
1249         (TIntermAggregate::setEndLine):
1250         (TIntermAggregate::getEndLine):
1251         * src/compiler/preprocessor/atom.c:
1252         (AddString):
1253         * src/compiler/preprocessor/compile.h:
1254         * src/compiler/preprocessor/cpp.c:
1255         (CPPelse):
1256         (eval):
1257         (CPPif):
1258         (CPPifdef):
1259         (readCPPline):
1260         (ChkCorrectElseNesting):
1261         * src/compiler/preprocessor/cppstruct.c:
1262         (ResetPreprocessor):
1263         * src/compiler/preprocessor/scanner.c:
1264         (byte_scan):
1265         (yylex_CPP):
1266         * src/compiler/preprocessor/scanner.h:
1267         * src/libEGL/Config.cpp:
1268         (egl::Config::Config):
1269         (egl::Config::set):
1270         (egl::ConfigSet::add):
1271         (egl::ConfigSet::getConfigs):
1272         * src/libEGL/Config.h:
1273         * src/libEGL/Display.cpp:
1274         (egl::Display::Display):
1275         (egl::Display::initialize):
1276         (egl::Display::terminate):
1277         (egl::Display::getConfigAttrib):
1278         (egl::Display::createDevice):
1279         (egl::Display::createWindowSurface):
1280         (egl::Display::createOffscreenSurface):
1281         (egl::Display::createContext):
1282         (egl::Display::destroyContext):
1283         (egl::Display::isInitialized):
1284         (egl::Display::getAdapterIdentifier):
1285         (egl::Display::isDeviceLost):
1286         (egl::Display::getBufferPool):
1287         (egl::Display::initExtensionString):
1288         (egl::Display::getExtensionString):
1289         (egl::Display::getVertexTextureSupport):
1290         (egl::Display::getNonPower2TextureSupport):
1291         * src/libEGL/Display.h:
1292         (egl::Display::isD3d9ExDevice):
1293         * src/libEGL/Surface.cpp:
1294         (egl::Surface::Surface):
1295         (egl::Surface::initialize):
1296         (egl::Surface::release):
1297         (egl::Surface::resetSwapChain):
1298         (egl::SurfaceWindowProc):
1299         (egl::Surface::subclassWindow):
1300         (egl::Surface::unsubclassWindow):
1301         (egl::Surface::swap):
1302         (egl::Surface::getRenderTarget):
1303         (egl::Surface::getOffscreenTexture):
1304         (egl::Surface::getTextureFormat):
1305         (egl::Surface::getTextureTarget):
1306         (egl::Surface::setBoundTexture):
1307         (egl::Surface::getBoundTexture):
1308         (egl::Surface::getFormat):
1309         * src/libEGL/Surface.h:
1310         (egl::Surface::getShareHandle):
1311         * src/libEGL/libEGL.cpp:
1312         (validateDisplay):
1313         (validateConfig):
1314         (validateContext):
1315         (validateSurface):
1316         * src/libEGL/libEGL.rc: Added.
1317         * src/libEGL/libEGL.vcproj:
1318         * src/libEGL/main.cpp:
1319         (DllMain):
1320         * src/libEGL/main.h:
1321         * src/libEGL/resource.h: Added.
1322         * src/libGLESv2/Blit.cpp:
1323         (gl::Blit::initGeometry):
1324         (gl::Blit::copy):
1325         * src/libGLESv2/Blit.h:
1326         * src/libGLESv2/Buffer.cpp:
1327         (gl::Buffer::Buffer):
1328         (gl::Buffer::~Buffer):
1329         (gl::Buffer::bufferData):
1330         (gl::Buffer::bufferSubData):
1331         (gl::Buffer::getStaticVertexBuffer):
1332         (gl::Buffer::getStaticIndexBuffer):
1333         (gl::Buffer::invalidateStaticData):
1334         (gl::Buffer::promoteStaticUsage):
1335         * src/libGLESv2/Buffer.h:
1336         * src/libGLESv2/Context.cpp:
1337         (gl::Context::Context):
1338         (gl::Context::~Context):
1339         (gl::Context::makeCurrent):
1340         (gl::Context::markAllStateDirty):
1341         (gl::Context::setActiveSampler):
1342         (gl::Context::createFramebuffer):
1343         (gl::Context::createFence):
1344         (gl::Context::deleteFramebuffer):
1345         (gl::Context::deleteFence):
1346         (gl::Context::bindTexture2D):
1347         (gl::Context::bindTextureCubeMap):
1348         (gl::Context::getTexture2D):
1349         (gl::Context::getTextureCubeMap):
1350         (gl::Context::getSamplerTexture):
1351         (gl::Context::getIntegerv):
1352         (gl::Context::applyRenderTarget):
1353         (gl::Context::applyState):
1354         (gl::Context::applyVertexBuffer):
1355         (gl::Context::applyShaders):
1356         (gl::Context::applyTextures):
1357         (gl::Context::readPixels):
1358         (gl::Context::clear):
1359         (gl::Context::drawArrays):
1360         (gl::Context::drawElements):
1361         (gl::Context::finish):
1362         (gl::Context::flush):
1363         (gl::Context::drawClosingLine):
1364         (gl::Context::getMaximumVertexTextureImageUnits):
1365         (gl::Context::getMaximumCombinedTextureImageUnits):
1366         (gl::Context::supportsNonPower2Texture):
1367         (gl::Context::detachTexture):
1368         (gl::Context::getIncompleteTexture):
1369         (gl::Context::initExtensionString):
1370         (gl::Context::blitFramebuffer):
1371         (gl::VertexDeclarationCache::VertexDeclarationCache):
1372         (gl::VertexDeclarationCache::~VertexDeclarationCache):
1373         (gl::VertexDeclarationCache::applyDeclaration):
1374         * src/libGLESv2/Context.h:
1375         * src/libGLESv2/Framebuffer.cpp:
1376         (gl::Framebuffer::lookupRenderbuffer):
1377         (gl::Framebuffer::completeness):
1378         * src/libGLESv2/Framebuffer.h:
1379         * src/libGLESv2/HandleAllocator.cpp: Added.
1380         (gl::HandleAllocator::HandleAllocator):
1381         (gl::HandleAllocator::~HandleAllocator):
1382         (gl::HandleAllocator::setBaseHandle):
1383         (gl::HandleAllocator::allocate):
1384         (gl::HandleAllocator::release):
1385         * src/libGLESv2/HandleAllocator.h: Added.
1386         * src/libGLESv2/IndexDataManager.cpp: Added.
1387         (gl::IndexDataManager::IndexDataManager):
1388         (gl::IndexDataManager::~IndexDataManager):
1389         (gl::convertIndices):
1390         (gl::computeRange):
1391         (gl::IndexDataManager::prepareIndexData):
1392         (gl::IndexDataManager::indexSize):
1393         (gl::IndexDataManager::typeSize):
1394         (gl::IndexBuffer::IndexBuffer):
1395         (gl::IndexBuffer::~IndexBuffer):
1396         (gl::IndexBuffer::getBuffer):
1397         (gl::IndexBuffer::unmap):
1398         (gl::StreamingIndexBuffer::StreamingIndexBuffer):
1399         (gl::StreamingIndexBuffer::~StreamingIndexBuffer):
1400         (gl::StreamingIndexBuffer::map):
1401         (gl::StreamingIndexBuffer::reserveSpace):
1402         (gl::StaticIndexBuffer::StaticIndexBuffer):
1403         (gl::StaticIndexBuffer::~StaticIndexBuffer):
1404         (gl::StaticIndexBuffer::map):
1405         (gl::StaticIndexBuffer::reserveSpace):
1406         (gl::StaticIndexBuffer::lookupType):
1407         (gl::StaticIndexBuffer::lookupRange):
1408         (gl::StaticIndexBuffer::addRange):
1409         * src/libGLESv2/IndexDataManager.h: Added.
1410         (gl::IndexBuffer::size):
1411         * src/libGLESv2/Program.cpp:
1412         (gl::Program::getSemanticIndex):
1413         (gl::Program::getSamplerMapping):
1414         (gl::Program::getSamplerTextureType):
1415         (gl::Program::compileToBinary):
1416         (gl::Program::packVaryings):
1417         (gl::Program::linkVaryings):
1418         (gl::Program::link):
1419         (gl::Program::linkUniforms):
1420         (gl::Program::defineUniform):
1421         (gl::Program::applyUniform1iv):
1422         (gl::Program::appendToInfoLogSanitized):
1423         (gl::Program::unlink):
1424         (gl::Program::getActiveUniformMaxLength):
1425         (gl::Program::validate):
1426         (gl::Program::validateSamplers):
1427         * src/libGLESv2/Program.h:
1428         * src/libGLESv2/Renderbuffer.cpp:
1429         (gl::Renderbuffer::getWidth):
1430         (gl::Renderbuffer::getHeight):
1431         (gl::Renderbuffer::getInternalFormat):
1432         (gl::Renderbuffer::getRedSize):
1433         (gl::Renderbuffer::getGreenSize):
1434         (gl::Renderbuffer::getBlueSize):
1435         (gl::Renderbuffer::getAlphaSize):
1436         (gl::Renderbuffer::getDepthSize):
1437         (gl::Renderbuffer::getStencilSize):
1438         (gl::Renderbuffer::getSamples):
1439         (gl::RenderbufferStorage::RenderbufferStorage):
1440         (gl::RenderbufferStorage::getWidth):
1441         (gl::RenderbufferStorage::getHeight):
1442         (gl::RenderbufferStorage::getInternalFormat):
1443         (gl::RenderbufferStorage::getRedSize):
1444         (gl::RenderbufferStorage::getGreenSize):
1445         (gl::RenderbufferStorage::getBlueSize):
1446         (gl::RenderbufferStorage::getAlphaSize):
1447         (gl::RenderbufferStorage::getDepthSize):
1448         (gl::RenderbufferStorage::getStencilSize):
1449         (gl::RenderbufferStorage::getD3DFormat):
1450         (gl::Colorbuffer::Colorbuffer):
1451         (gl::Colorbuffer::getWidth):
1452         (gl::Colorbuffer::getHeight):
1453         (gl::Colorbuffer::getInternalFormat):
1454         (gl::Colorbuffer::getType):
1455         (gl::Colorbuffer::getD3DFormat):
1456         (gl::Colorbuffer::isColorbuffer):
1457         (gl::Colorbuffer::getRenderTarget):
1458         (gl::DepthStencilbuffer::DepthStencilbuffer):
1459         (gl::Depthbuffer::Depthbuffer):
1460         (gl::Stencilbuffer::Stencilbuffer):
1461         * src/libGLESv2/Renderbuffer.h:
1462         * src/libGLESv2/ResourceManager.cpp:
1463         (gl::ResourceManager::createBuffer):
1464         (gl::ResourceManager::createShader):
1465         (gl::ResourceManager::createProgram):
1466         (gl::ResourceManager::createTexture):
1467         (gl::ResourceManager::createRenderbuffer):
1468         (gl::ResourceManager::deleteBuffer):
1469         (gl::ResourceManager::deleteShader):
1470         (gl::ResourceManager::deleteProgram):
1471         (gl::ResourceManager::deleteTexture):
1472         (gl::ResourceManager::deleteRenderbuffer):
1473         (gl::ResourceManager::checkTextureAllocation):
1474         * src/libGLESv2/ResourceManager.h:
1475         * src/libGLESv2/Shader.cpp:
1476         (gl::Shader::Shader):
1477         (gl::Shader::compileToHLSL):
1478         * src/libGLESv2/Shader.h:
1479         * src/libGLESv2/Texture.cpp:
1480         (gl::Texture::Image::Image):
1481         (gl::Texture::Image::~Image):
1482         (gl::Texture::Image::isRenderable):
1483         (gl::Texture::Image::getD3DFormat):
1484         (gl::Texture::Texture):
1485         (gl::Texture::setMinFilter):
1486         (gl::Texture::setMagFilter):
1487         (gl::Texture::setWrapS):
1488         (gl::Texture::setWrapT):
1489         (gl::Texture::loadImageData):
1490         (gl::Texture::loadAlphaImageData):
1491         (gl::Texture::loadAlphaFloatImageData):
1492         (gl::Texture::loadAlphaHalfFloatImageData):
1493         (gl::Texture::loadLuminanceImageData):
1494         (gl::Texture::loadLuminanceFloatImageData):
1495         (gl::Texture::loadLuminanceHalfFloatImageData):
1496         (gl::Texture::loadLuminanceAlphaImageData):
1497         (gl::Texture::loadLuminanceAlphaFloatImageData):
1498         (gl::Texture::loadLuminanceAlphaHalfFloatImageData):
1499         (gl::Texture::loadRGBUByteImageData):
1500         (gl::Texture::loadRGB565ImageData):
1501         (gl::Texture::loadRGBFloatImageData):
1502         (gl::Texture::loadRGBHalfFloatImageData):
1503         (gl::Texture::loadRGBAUByteImageDataSSE2):
1504         (gl::Texture::loadRGBAUByteImageData):
1505         (gl::Texture::loadRGBA4444ImageData):
1506         (gl::Texture::loadRGBA5551ImageData):
1507         (gl::Texture::loadRGBAFloatImageData):
1508         (gl::Texture::loadRGBAHalfFloatImageData):
1509         (gl::Texture::loadBGRAImageData):
1510         (gl::Texture::loadCompressedImageData):
1511         (gl::Texture::createSurface):
1512         (gl::Texture::setImage):
1513         (gl::Texture::setCompressedImage):
1514         (gl::Texture::subImage):
1515         (gl::Texture::subImageCompressed):
1516         (gl::Texture::copyToImage):
1517         (gl::Texture::getTexture):
1518         (gl::Texture::isDirtyParameter):
1519         (gl::Texture::isDirtyImage):
1520         (gl::Texture::resetDirty):
1521         (gl::Texture::getSerial):
1522         (gl::Texture::creationLevels):
1523         (gl::Texture::levelCount):
1524         (gl::Texture::issueSerial):
1525         (gl::Texture2D::Texture2D):
1526         (gl::Texture2D::~Texture2D):
1527         (gl::Texture2D::getWidth):
1528         (gl::Texture2D::getHeight):
1529         (gl::Texture2D::getInternalFormat):
1530         (gl::Texture2D::getType):
1531         (gl::Texture2D::getD3DFormat):
1532         (gl::Texture2D::redefineTexture):
1533         (gl::Texture2D::setImage):
1534         (gl::Texture2D::bindTexImage):
1535         (gl::Texture2D::releaseTexImage):
1536         (gl::Texture2D::setCompressedImage):
1537         (gl::Texture2D::commitRect):
1538         (gl::Texture2D::copyImage):
1539         (gl::Texture2D::copySubImage):
1540         (gl::Texture2D::isComplete):
1541         (gl::Texture2D::isCompressed):
1542         (gl::Texture2D::getBaseTexture):
1543         (gl::Texture2D::createTexture):
1544         (gl::Texture2D::updateTexture):
1545         (gl::Texture2D::convertToRenderTarget):
1546         (gl::Texture2D::generateMipmaps):
1547         (gl::Texture2D::getRenderbuffer):
1548         (gl::Texture2D::getRenderTarget):
1549         (gl::TextureCubeMap::getWidth):
1550         (gl::TextureCubeMap::getHeight):
1551         (gl::TextureCubeMap::getInternalFormat):
1552         (gl::TextureCubeMap::getType):
1553         (gl::TextureCubeMap::getD3DFormat):
1554         (gl::TextureCubeMap::setImagePosX):
1555         (gl::TextureCubeMap::setImageNegX):
1556         (gl::TextureCubeMap::setImagePosY):
1557         (gl::TextureCubeMap::setImageNegY):
1558         (gl::TextureCubeMap::setImagePosZ):
1559         (gl::TextureCubeMap::setImageNegZ):
1560         (gl::TextureCubeMap::setCompressedImage):
1561         (gl::TextureCubeMap::commitRect):
1562         (gl::TextureCubeMap::isComplete):
1563         (gl::TextureCubeMap::isCompressed):
1564         (gl::TextureCubeMap::getBaseTexture):
1565         (gl::TextureCubeMap::createTexture):
1566         (gl::TextureCubeMap::updateTexture):
1567         (gl::TextureCubeMap::convertToRenderTarget):
1568         (gl::TextureCubeMap::setImage):
1569         (gl::TextureCubeMap::redefineTexture):
1570         (gl::TextureCubeMap::copyImage):
1571         (gl::TextureCubeMap::getCubeMapSurface):
1572         (gl::TextureCubeMap::copySubImage):
1573         (gl::TextureCubeMap::generateMipmaps):
1574         (gl::TextureCubeMap::getRenderbuffer):
1575         (gl::TextureCubeMap::getRenderTarget):
1576         * src/libGLESv2/Texture.h:
1577         * src/libGLESv2/VertexDataManager.cpp: Added.
1578         (gl::VertexDataManager::VertexDataManager):
1579         (gl::VertexDataManager::~VertexDataManager):
1580         (gl::VertexDataManager::writeAttributeData):
1581         (gl::VertexDataManager::prepareVertexData):
1582         (gl::VertexDataManager::spaceRequired):
1583         (gl::VertexDataManager::checkVertexCaps):
1584         (gl::VertexDataManager::typeIndex):
1585         (gl::VertexBuffer::VertexBuffer):
1586         (gl::VertexBuffer::~VertexBuffer):
1587         (gl::VertexBuffer::unmap):
1588         (gl::VertexBuffer::getBuffer):
1589         (gl::ConstantVertexBuffer::ConstantVertexBuffer):
1590         (gl::ConstantVertexBuffer::~ConstantVertexBuffer):
1591         (gl::ArrayVertexBuffer::ArrayVertexBuffer):
1592         (gl::ArrayVertexBuffer::~ArrayVertexBuffer):
1593         (gl::ArrayVertexBuffer::addRequiredSpace):
1594         (gl::ArrayVertexBuffer::addRequiredSpaceFor):
1595         (gl::StreamingVertexBuffer::StreamingVertexBuffer):
1596         (gl::StreamingVertexBuffer::~StreamingVertexBuffer):
1597         (gl::StreamingVertexBuffer::map):
1598         (gl::StreamingVertexBuffer::reserveRequiredSpace):
1599         (gl::StaticVertexBuffer::StaticVertexBuffer):
1600         (gl::StaticVertexBuffer::~StaticVertexBuffer):
1601         (gl::StaticVertexBuffer::map):
1602         (gl::StaticVertexBuffer::reserveRequiredSpace):
1603         (gl::StaticVertexBuffer::lookupAttribute):
1604         (gl::VertexDataManager::formatConverter):
1605         * src/libGLESv2/VertexDataManager.h: Added.
1606         (gl::ArrayVertexBuffer::size):
1607         (gl::VertexDataManager::dirtyCurrentValue):
1608         * src/libGLESv2/libGLESv2.cpp:
1609         (validImageSize):
1610         (Extension::glBindTexImage):
1611         * src/libGLESv2/libGLESv2.def:
1612         * src/libGLESv2/libGLESv2.rc: Added.
1613         * src/libGLESv2/libGLESv2.vcproj:
1614         * src/libGLESv2/main.cpp:
1615         (error):
1616         * src/libGLESv2/mathutil.h:
1617         (gl::clamp):
1618         (gl::clamp01):
1619         (gl::transformPixelRect):
1620         (gl::transformPixelYOffset):
1621         (gl::adjustWinding):
1622         (gl::supportsSSE2):
1623         * src/libGLESv2/resource.h: Added.
1624         * src/libGLESv2/utilities.cpp:
1625         (gl::ComputeCompressedPitch):
1626         (es2dx::ConvertCubeFace):
1627         (es2dx::ConvertPrimitiveType):
1628         (es2dx::ConvertRenderbufferFormat):
1629         (es2dx::GetMultisampleTypeFromSamples):
1630         (dx2es::GetStencilSize):
1631         (dx2es::GetAlphaSize):
1632         (dx2es::GetRedSize):
1633         (dx2es::GetGreenSize):
1634         (dx2es::GetBlueSize):
1635         (dx2es::GetDepthSize):
1636         (getTempPath):
1637         (writeFile):
1638         * src/libGLESv2/utilities.h:
1639         * src/libGLESv2/vertexconversion.h: Added.
1640         (gl::Identity::convert):
1641         (gl::Cast::convert):
1642         (gl::Normalize::convert):
1643         (gl::FixedToFloat::convert):
1644         (gl::SimpleDefaultValues::zero):
1645         (gl::SimpleDefaultValues::one):
1646         (gl::NormalizedDefaultValues::zero):
1647         (gl::NormalizedDefaultValues::one):
1648         (gl::VertexDataConverter::convertArray):
1649         (gl::VertexDataConverter::pointerAddBytes):
1650         (gl::VertexDataConverter::copyComponent):
1651
1652 2011-05-24  David Kilzer  <ddkilzer@apple.com>
1653
1654         Part 2 of 2: <http://webkit.org/b/60805> Enable -Wnewline-eof on ANGLE
1655
1656         Reviewed by Adam Roben.
1657
1658         * Configurations/Base.xcconfig:
1659         (GCC_WARN_ABOUT_MISSING_NEWLINE): Added. Set to YES.
1660
1661 2011-05-23  David Kilzer  <ddkilzer@apple.com>
1662
1663         Part 1 of 2: <http://webkit.org/b/60805> Enable -Wnewline-eof on ANGLE
1664
1665         Merge ANGLE upstream commit r653 for Issue 154.
1666
1667         * src/compiler/PoolAlloc.h: Added newline to end of file.
1668         * src/compiler/ShHandle.h: Ditto.
1669         * src/libEGL/Display.cpp: Ditto.
1670
1671 2011-05-16  David Kilzer  <ddkilzer@apple.com>
1672
1673         <http://webkit.org/b/60913> C++ exceptions should not be enabled when building with llvm-gcc-4.2
1674         <rdar://problem/9446430>
1675
1676         Reviewed by Mark Rowe.
1677
1678         * Configurations/Base.xcconfig: Fixed typo.
1679
1680 2011-05-04  David Kilzer  <ddkilzer@apple.com>
1681
1682         Part 2 of 2: <http://webkit.org/b/56337> Enable -Werror on ANGLE
1683
1684         Reviewed by Adam Barth.
1685
1686         * Configurations/Base.xcconfig:
1687         (GCC_TREAT_WARNINGS_AS_ERRORS): Set to YES.
1688
1689 2011-05-04  David Kilzer  <ddkilzer@apple.com>
1690
1691         Part 1 of 2: <http://webkit.org/b/56337> Enable -Werror on ANGLE
1692
1693         Merge ANGLE upstream commits r572, r573, r574, r575.
1694
1695         This unblocks enabling -Werror on ANGLE.  Since all changes are
1696         in the upstream repository, they may be safely overwritten
1697         during the next ANGLE update.
1698
1699         * src/compiler/ConstantUnion.h:
1700         (ConstantUnion::operator==): Added a default case.
1701         * src/compiler/Intermediate.cpp:
1702         (TIntermBinary::promote): Added parentheses.
1703         * src/compiler/ParseHelper.cpp:
1704         (TParseContext::precisionErrorCheck): Added a default case.
1705         * src/compiler/PoolAlloc.cpp:
1706         (TAllocation::checkGuardBlock): Changed '%u' to '%lu' for size_t
1707         variable.  Put for loop inside #ifdef GUARD_BLOCKS/#endif macros
1708         to fix tautological-compare warning.
1709         (TAllocation::checkAllocList): Added newline to end of file.
1710
1711 2011-04-26  Dan Bernstein  <mitz@apple.com>
1712
1713         Build fix.
1714
1715         * Configurations/CompilerVersion.xcconfig:
1716
1717 2011-04-26  Dan Bernstein  <mitz@apple.com>
1718
1719         Reviewed by Mark Rowe.
1720
1721         Choose the compiler based on the Xcode version for Snow Leopard debug builds.
1722
1723         * Configurations/Base.xcconfig:
1724         * Configurations/CompilerVersion.xcconfig: Added.
1725
1726 2011-03-17  Jeff Miller  <jeffm@apple.com>
1727
1728         Use a consistent set of file patterns in the svn:ignore property for all .xcodeproj directories, specifically:
1729         
1730         *.mode*
1731         *.pbxuser
1732         *.perspective*
1733         project.xcworkspace
1734         xcuserdata
1735
1736         * ANGLE.xcodeproj: Modified property svn:ignore.
1737         * src/build_angle.xcodeproj: Modified property svn:ignore.
1738
1739 2011-01-18  Kenneth Russell  <kbr@google.com>
1740
1741         Unreviewed, Leopard build fix. Remove flex/bison targets for GLSL
1742         grammar because the generated sources are already checked in.
1743
1744         * ANGLE.xcodeproj/project.pbxproj:
1745         * src/build_angle.xcodeproj/project.pbxproj:
1746
1747 2011-01-18  Kenneth Russell  <kbr@google.com>
1748
1749         Unreviewed, release build fix. Explicitly cast away const.
1750
1751         * src/compiler/preprocessor/scanner.c:
1752         (ScanFromString):
1753
1754 2011-01-18  Ben Vanik  <ben.vanik@gmail.com>
1755
1756         Reviewed by Kenneth Russell.
1757
1758         Updating ANGLE in WebKit to r533.
1759         https://bugs.webkit.org/show_bug.cgi?id=47194
1760
1761         * ANGLE.xcodeproj/project.pbxproj:
1762         * include/GLSLANG/ShaderLang.h:
1763         * src/common/debug.cpp:
1764         (gl::trace):
1765         * src/common/debug.h:
1766         * src/compiler/CodeGenGLSL.cpp:
1767         (ConstructCompiler):
1768         * src/compiler/CodeGenHLSL.cpp:
1769         (ConstructCompiler):
1770         * src/compiler/Common.h:
1771         (EncodeSourceLoc):
1772         (DecodeSourceLoc):
1773         * src/compiler/Compiler.cpp: Added.
1774         (TShHandleBase::TShHandleBase):
1775         (TShHandleBase::~TShHandleBase):
1776         (TCompiler::TCompiler):
1777         (TCompiler::~TCompiler):
1778         (TCompiler::Init):
1779         (TCompiler::compile):
1780         (TCompiler::InitBuiltInSymbolTable):
1781         (TCompiler::clearResults):
1782         (TCompiler::validateLimitations):
1783         (TCompiler::collectAttribsUniforms):
1784         * src/compiler/ExtensionBehavior.h: Added.
1785         * src/compiler/InfoSink.cpp:
1786         (TInfoSinkBase::location):
1787         * src/compiler/InfoSink.h:
1788         (TInfoSinkBase::size):
1789         * src/compiler/Initialize.cpp:
1790         (BuiltInFunctionsCommon):
1791         (BuiltInFunctionsVertex):
1792         (BuiltInFunctionsFragment):
1793         (StandardUniforms):
1794         (DefaultPrecisionVertex):
1795         (DefaultPrecisionFragment):
1796         (BuiltInConstants):
1797         (TBuiltIns::initialize):
1798         (IdentifyBuiltIns):
1799         (InitExtensionBehavior):
1800         * src/compiler/Initialize.h:
1801         * src/compiler/IntermTraverse.cpp:
1802         (TIntermLoop::traverse):
1803         * src/compiler/Intermediate.cpp:
1804         (getOperatorString):
1805         (TIntermediate::addBinaryMath):
1806         (TIntermediate::addLoop):
1807         (TIntermediate::postProcess):
1808         (TIntermBinary::promote):
1809         * src/compiler/OutputGLSL.cpp:
1810         (TOutputGLSL::visitUnary):
1811         (TOutputGLSL::visitLoop):
1812         * src/compiler/OutputHLSL.cpp:
1813         (sh::OutputHLSL::OutputHLSL):
1814         (sh::OutputHLSL::header):
1815         (sh::OutputHLSL::visitBinary):
1816         (sh::OutputHLSL::visitUnary):
1817         (sh::OutputHLSL::visitAggregate):
1818         (sh::OutputHLSL::visitLoop):
1819         (sh::OutputHLSL::handleExcessiveLoop):
1820         (sh::OutputHLSL::argumentString):
1821         * src/compiler/OutputHLSL.h:
1822         * src/compiler/ParseHelper.cpp:
1823         (ReportInfo):
1824         (DefineExtensionMacros):
1825         (TParseContext::error):
1826         (TParseContext::warning):
1827         (TParseContext::reservedErrorCheck):
1828         (TParseContext::constructorErrorCheck):
1829         (TParseContext::arrayQualifierErrorCheck):
1830         (TParseContext::extensionErrorCheck):
1831         (TParseContext::areAllChildConst):
1832         (PaParseStrings):
1833         * src/compiler/ParseHelper.h:
1834         (TParseContext::TParseContext):
1835         * src/compiler/PoolAlloc.cpp:
1836         (InitializeGlobalPools):
1837         (FreeGlobalPools):
1838         (SetGlobalPoolAllocator):
1839         (TPoolAllocator::TPoolAllocator):
1840         (TPoolAllocator::~TPoolAllocator):
1841         (TAllocation::checkAllocList):
1842         * src/compiler/PoolAlloc.h:
1843         * src/compiler/SearchSymbol.cpp: Added.
1844         (sh::SearchSymbol::SearchSymbol):
1845         (sh::SearchSymbol::traverse):
1846         (sh::SearchSymbol::visitSymbol):
1847         (sh::SearchSymbol::foundMatch):
1848         * src/compiler/SearchSymbol.h: Added.
1849         * src/compiler/ShHandle.h:
1850         (TCompiler::getAsCompiler):
1851         (TCompiler::getInfoSink):
1852         (TCompiler::getAttribs):
1853         (TCompiler::getUniforms):
1854         (TCompiler::getShaderType):
1855         (TCompiler::getShaderSpec):
1856         * src/compiler/ShaderLang.cpp:
1857         (getVariableMaxLength):
1858         (getVariableInfo):
1859         (ShInitBuiltInResources):
1860         (ShConstructCompiler):
1861         (ShCompile):
1862         (ShGetInfo):
1863         (ShGetInfoLog):
1864         (ShGetObjectCode):
1865         (ShGetActiveAttrib):
1866         (ShGetActiveUniform):
1867         * src/compiler/SymbolTable.cpp:
1868         (TSymbolTableLevel::relateToExtension):
1869         * src/compiler/SymbolTable.h:
1870         (TVariable::shareConstPointer):
1871         (TFunction::relateToExtension):
1872         (TFunction::getExtension):
1873         (TFunction::getParamCount):
1874         (TFunction::getParam):
1875         (TSymbolTable::getGlobalLevel):
1876         (TSymbolTable::relateToOperator):
1877         (TSymbolTable::relateToExtension):
1878         * src/compiler/TranslatorGLSL.cpp:
1879         (writeVersion):
1880         (TranslatorGLSL::TranslatorGLSL):
1881         (TranslatorGLSL::translate):
1882         * src/compiler/TranslatorGLSL.h:
1883         * src/compiler/TranslatorHLSL.cpp:
1884         (TranslatorHLSL::TranslatorHLSL):
1885         (TranslatorHLSL::translate):
1886         * src/compiler/TranslatorHLSL.h:
1887         * src/compiler/Types.h:
1888         (TType::TType):
1889         * src/compiler/UnfoldSelect.cpp:
1890         (sh::UnfoldSelect::visitSelection):
1891         * src/compiler/UnfoldSelect.h:
1892         * src/compiler/ValidateLimitations.cpp: Added.
1893         (ValidateLimitations::ValidateLimitations):
1894         (ValidateLimitations::visitSymbol):
1895         (ValidateLimitations::visitConstantUnion):
1896         (ValidateLimitations::visitBinary):
1897         (ValidateLimitations::visitUnary):
1898         (ValidateLimitations::visitSelection):
1899         (ValidateLimitations::visitAggregate):
1900         (ValidateLimitations::visitLoop):
1901         (ValidateLimitations::visitBranch):
1902         (ValidateLimitations::error):
1903         (ValidateLimitations::withinLoopBody):
1904         (ValidateLimitations::isLoopIndex):
1905         (ValidateLimitations::validateLoopType):
1906         (ValidateLimitations::validateForLoopHeader):
1907         (ValidateLimitations::validateForLoopInit):
1908         (ValidateLimitations::validateForLoopCond):
1909         (ValidateLimitations::validateForLoopExpr):
1910         (ValidateLimitations::validateFunctionCall):
1911         (ValidateLimitations::validateOperation):
1912         (ValidateLimitations::isConstExpr):
1913         (ValidateLimitations::isConstIndexExpr):
1914         (ValidateLimitations::validateIndexing):
1915         * src/compiler/ValidateLimitations.h: Added.
1916         (ValidateLimitations::numErrors):
1917         * src/compiler/VariableInfo.cpp: Added.
1918         (arrayBrackets):
1919         (getVariableDataType):
1920         (getVariableInfo):
1921         (getBuiltInVariableInfo):
1922         (getUserDefinedVariableInfo):
1923         (CollectAttribsUniforms::CollectAttribsUniforms):
1924         (CollectAttribsUniforms::visitSymbol):
1925         (CollectAttribsUniforms::visitConstantUnion):
1926         (CollectAttribsUniforms::visitBinary):
1927         (CollectAttribsUniforms::visitUnary):
1928         (CollectAttribsUniforms::visitSelection):
1929         (CollectAttribsUniforms::visitAggregate):
1930         (CollectAttribsUniforms::visitLoop):
1931         (CollectAttribsUniforms::visitBranch):
1932         * src/compiler/VariableInfo.h: Added.
1933         * src/compiler/VersionGLSL.cpp: Added.
1934         (TVersionGLSL::TVersionGLSL):
1935         (TVersionGLSL::visitSymbol):
1936         (TVersionGLSL::visitConstantUnion):
1937         (TVersionGLSL::visitBinary):
1938         (TVersionGLSL::visitUnary):
1939         (TVersionGLSL::visitSelection):
1940         (TVersionGLSL::visitAggregate):
1941         (TVersionGLSL::visitLoop):
1942         (TVersionGLSL::visitBranch):
1943         (TVersionGLSL::updateVersion):
1944         * src/compiler/VersionGLSL.h: Added.
1945         (TVersionGLSL::getVersion):
1946         * src/compiler/generate_glslang_lexer.sh: Added.
1947         * src/compiler/generate_glslang_parser.sh: Added.
1948         * src/compiler/glslang.h: Added.
1949         * src/compiler/glslang.l:
1950         * src/compiler/glslang.y:
1951         * src/compiler/glslang_lex.cpp: Added.
1952         (yy_get_next_buffer):
1953         (yy_get_previous_state):
1954         (yy_try_NUL_trans):
1955         (input):
1956         (yyrestart):
1957         (yy_switch_to_buffer):
1958         (yy_load_buffer_state):
1959         (yy_create_buffer):
1960         (yy_delete_buffer):
1961         (yy_init_buffer):
1962         (yy_flush_buffer):
1963         (yypush_buffer_state):
1964         (yypop_buffer_state):
1965         (yyensure_buffer_stack):
1966         (yy_scan_buffer):
1967         (yy_scan_string):
1968         (yy_scan_bytes):
1969         (yy_push_state):
1970         (yy_pop_state):
1971         (yy_top_state):
1972         (yy_fatal_error):
1973         (yyget_extra):
1974         (yyget_lineno):
1975         (yyget_column):
1976         (yyget_in):
1977         (yyget_out):
1978         (yyget_leng):
1979         (yyget_text):
1980         (yyset_extra):
1981         (yyset_lineno):
1982         (yyset_column):
1983         (yyset_in):
1984         (yyset_out):
1985         (yyget_debug):
1986         (yyset_debug):
1987         (yyget_lval):
1988         (yyset_lval):
1989         (yylex_init):
1990         (yylex_init_extra):
1991         (yy_init_globals):
1992         (yylex_destroy):
1993         (yy_flex_strncpy):
1994         (yy_flex_strlen):
1995         (yyalloc):
1996         (yyrealloc):
1997         (yyfree):
1998         (string_input):
1999         (check_type):
2000         (reserved_word):
2001         (yyerror):
2002         (glslang_initialize):
2003         (glslang_finalize):
2004         (glslang_scan):
2005         * src/compiler/glslang_tab.cpp: Added.
2006         (yytnamerr):
2007         (yysyntax_error):
2008         (glslang_parse):
2009         * src/compiler/glslang_tab.h: Added.
2010         * src/compiler/intermOut.cpp:
2011         (TOutputTraverser::TOutputTraverser):
2012         (OutputTreeText):
2013         (TOutputTraverser::visitSymbol):
2014         (TOutputTraverser::visitBinary):
2015         (TOutputTraverser::visitUnary):
2016         (TOutputTraverser::visitAggregate):
2017         (TOutputTraverser::visitSelection):
2018         (TOutputTraverser::visitConstantUnion):
2019         (TOutputTraverser::visitLoop):
2020         (TOutputTraverser::visitBranch):
2021         (TIntermediate::outputTree):
2022         * src/compiler/intermediate.h:
2023         (TIntermLoop::TIntermLoop):
2024         (TIntermLoop::getType):
2025         (TIntermLoop::getInit):
2026         (TIntermLoop::getCondition):
2027         (TIntermLoop::getExpression):
2028         (TIntermLoop::getBody):
2029         * src/compiler/localintermediate.h:
2030         * src/compiler/osinclude.h:
2031         (OS_GetTLSValue):
2032         * src/compiler/ossource_nspr.cpp: Added.
2033         (OS_AllocTLSIndex):
2034         (OS_SetTLSValue):
2035         (OS_FreeTLSIndex):
2036         * src/compiler/preprocessor/compile.h:
2037         * src/compiler/preprocessor/cpp.c:
2038         (CPPdefine):
2039         (CPPelse):
2040         (CPPif):
2041         (CPPifdef):
2042         (CPPerror):
2043         (CPPextension):
2044         (readCPPline):
2045         * src/compiler/preprocessor/preprocess.h:
2046         * src/compiler/preprocessor/scanner.c:
2047         (str_getch):
2048         (str_ungetch):
2049         (ScanFromString):
2050         (lFloatConst):
2051         (byte_scan):
2052         (yylex_CPP):
2053         (check_EOF):
2054         * src/compiler/preprocessor/scanner.h:
2055         * src/compiler/preprocessor/tokens.c:
2056         (RecordToken):
2057         (ReadToken):
2058         * src/compiler/tools: Removed.
2059         * src/compiler/unistd.h: Removed.
2060         * src/compiler/util.cpp: Added.
2061         (atof_dot):
2062         * src/compiler/util.h: Added.
2063         * src/libEGL/Config.cpp:
2064         (egl::Config::set):
2065         * src/libEGL/Display.cpp:
2066         (egl::Display::Display):
2067         (egl::Display::initialize):
2068         (egl::Display::terminate):
2069         (egl::Display::createDevice):
2070         (egl::Display::resetDevice):
2071         (egl::Display::createContext):
2072         (egl::Display::destroyContext):
2073         (egl::Display::getMinSwapInterval):
2074         (egl::Display::getMaxSwapInterval):
2075         (egl::Display::getDevice):
2076         (egl::Display::getFloatTextureSupport):
2077         (egl::Display::getHalfFloatTextureSupport):
2078         (egl::Display::getLuminanceTextureSupport):
2079         (egl::Display::getLuminanceAlphaTextureSupport):
2080         (egl::Display::getBufferPool):
2081         (egl::Display::getEventQuerySupport):
2082         (egl::Display::getDefaultPresentParameters):
2083         * src/libEGL/Display.h:
2084         * src/libEGL/Surface.cpp:
2085         (egl::Surface::Surface):
2086         (egl::Surface::~Surface):
2087         (egl::Surface::release):
2088         (egl::Surface::resetSwapChain):
2089         (egl::Surface::writeRecordableFlipState):
2090         (egl::Surface::restoreState):
2091         (egl::SurfaceWindowProc):
2092         (egl::Surface::subclassWindow):
2093         (egl::Surface::unsubclassWindow):
2094         (egl::Surface::checkForOutOfDateSwapChain):
2095         (egl::Surface::convertInterval):
2096         (egl::Surface::swap):
2097         (egl::Surface::getRenderTarget):
2098         (egl::Surface::setSwapInterval):
2099         * src/libEGL/Surface.h:
2100         * src/libEGL/libEGL.cpp:
2101         * src/libGLESv2/Blit.cpp:
2102         (gl::Blit::copySurfaceToTexture):
2103         (gl::Blit::setCommonBlitState):
2104         * src/libGLESv2/Buffer.cpp:
2105         (gl::Buffer::Buffer):
2106         (gl::Buffer::~Buffer):
2107         (gl::Buffer::bufferData):
2108         (gl::Buffer::bufferSubData):
2109         (gl::Buffer::getVertexBuffer):
2110         (gl::Buffer::getIndexBuffer):
2111         (gl::Buffer::invalidateStaticData):
2112         * src/libGLESv2/Buffer.h:
2113         * src/libGLESv2/Context.cpp:
2114         (gl::Context::Context):
2115         (gl::Context::~Context):
2116         (gl::Context::makeCurrent):
2117         (gl::Context::markAllStateDirty):
2118         (gl::Context::setFragmentShaderDerivativeHint):
2119         (gl::Context::setEnableVertexAttribArray):
2120         (gl::Context::getVertexAttribState):
2121         (gl::Context::getVertexAttributes):
2122         (gl::Context::createFence):
2123         (gl::Context::deleteFence):
2124         (gl::Context::bindTexture2D):
2125         (gl::Context::bindTextureCubeMap):
2126         (gl::Context::getFence):
2127         (gl::Context::getTexture2D):
2128         (gl::Context::getTextureCubeMap):
2129         (gl::Context::getSamplerTexture):
2130         (gl::Context::getBooleanv):
2131         (gl::Context::getIntegerv):
2132         (gl::Context::getQueryParameterInfo):
2133         (gl::Context::applyRenderTarget):
2134         (gl::Context::applyState):
2135         (gl::Context::lookupAttributeMapping):
2136         (gl::Context::applyVertexBuffer):
2137         (gl::Context::applyIndexBuffer):
2138         (gl::Context::readPixels):
2139         (gl::Context::clear):
2140         (gl::Context::drawArrays):
2141         (gl::Context::drawElements):
2142         (gl::Context::finish):
2143         (gl::Context::drawClosingLine):
2144         (gl::Context::getMaximumVaryingVectors):
2145         (gl::Context::getMaximumFragmentUniformVectors):
2146         (gl::Context::supportsEventQueries):
2147         (gl::Context::supportsFloatTextures):
2148         (gl::Context::supportsFloatLinearFilter):
2149         (gl::Context::supportsFloatRenderableTextures):
2150         (gl::Context::supportsHalfFloatTextures):
2151         (gl::Context::supportsHalfFloatLinearFilter):
2152         (gl::Context::supportsHalfFloatRenderableTextures):
2153         (gl::Context::getMaximumRenderbufferDimension):
2154         (gl::Context::getMaximumTextureDimension):
2155         (gl::Context::getMaximumCubeTextureDimension):
2156         (gl::Context::getMaximumTextureLevel):
2157         (gl::Context::supportsLuminanceTextures):
2158         (gl::Context::supportsLuminanceAlphaTextures):
2159         (gl::Context::supports32bitIndices):
2160         (gl::Context::getIncompleteTexture):
2161         (gl::Context::setVertexAttrib):
2162         (gl::Context::initExtensionString):
2163         (gl::Context::blitFramebuffer):
2164         * src/libGLESv2/Context.h:
2165         (gl::VertexAttribute::VertexAttribute):
2166         (gl::VertexAttribute::typeSize):
2167         (gl::VertexAttribute::stride):
2168         * src/libGLESv2/Fence.cpp: Added.
2169         (gl::Fence::Fence):
2170         (gl::Fence::~Fence):
2171         (gl::Fence::isFence):
2172         (gl::Fence::setFence):
2173         (gl::Fence::testFence):
2174         (gl::Fence::finishFence):
2175         (gl::Fence::getFenceiv):
2176         * src/libGLESv2/Fence.h: Added.
2177         * src/libGLESv2/Framebuffer.cpp:
2178         (gl::Framebuffer::completeness):
2179         (gl::DefaultFramebuffer::DefaultFramebuffer):
2180         (gl::DefaultFramebuffer::completeness):
2181         * src/libGLESv2/Program.cpp:
2182         (gl::Program::Program):
2183         (gl::Program::getSamplerMapping):
2184         (gl::Program::getUniformLocation):
2185         (gl::Program::setUniform1iv):
2186         (gl::Program::applyUniforms):
2187         (gl::Program::packVaryings):
2188         (gl::Program::linkVaryings):
2189         (gl::Program::link):
2190         (gl::Program::defineUniform):
2191         (gl::Program::createUniform):
2192         (gl::Program::applyUniform1iv):
2193         (gl::Program::resetInfoLog):
2194         (gl::Program::unlink):
2195         (gl::Program::getActiveAttribute):
2196         (gl::Program::getActiveUniform):
2197         (gl::Program::getDxDepthRangeLocation):
2198         * src/libGLESv2/Program.h:
2199         * src/libGLESv2/RefCountObject.cpp:
2200         (gl::RefCountObject::~RefCountObject):
2201         * src/libGLESv2/Renderbuffer.cpp:
2202         (gl::RenderbufferStorage::RenderbufferStorage):
2203         (gl::RenderbufferStorage::isFloatingPoint):
2204         (gl::Colorbuffer::Colorbuffer):
2205         (gl::DepthStencilbuffer::DepthStencilbuffer):
2206         * src/libGLESv2/Renderbuffer.h:
2207         * src/libGLESv2/Shader.cpp:
2208         (gl::Shader::Shader):
2209         (gl::Shader::parseVaryings):
2210         (gl::Shader::compileToHLSL):
2211         (gl::VertexShader::parseAttributes):
2212         * src/libGLESv2/Texture.cpp:
2213         (gl::Texture::Texture):
2214         (gl::Texture::isFloatingPoint):
2215         (gl::Texture::isRenderableFormat):
2216         (gl::Texture::selectFormat):
2217         (gl::Texture::loadImageData):
2218         (gl::Texture::loadAlphaFloatImageData):
2219         (gl::Texture::loadAlphaHalfFloatImageData):
2220         (gl::Texture::loadLuminanceImageData):
2221         (gl::Texture::loadLuminanceFloatImageData):
2222         (gl::Texture::loadLuminanceHalfFloatImageData):
2223         (gl::Texture::loadLuminanceAlphaImageData):
2224         (gl::Texture::loadLuminanceAlphaFloatImageData):
2225         (gl::Texture::loadLuminanceAlphaHalfFloatImageData):
2226         (gl::Texture::loadRGBFloatImageData):
2227         (gl::Texture::loadRGBHalfFloatImageData):
2228         (gl::Texture::loadRGBAFloatImageData):
2229         (gl::Texture::loadRGBAHalfFloatImageData):
2230         (gl::Texture::createSurface):
2231         (gl::Texture::setImage):
2232         (gl::Texture::setCompressedImage):
2233         (gl::Texture::subImage):
2234         (gl::Texture::subImageCompressed):
2235         (gl::Texture::copyNonRenderable):
2236         (gl::Texture::getD3DFormat):
2237         (gl::Texture::isRenderable):
2238         (gl::Texture2D::Texture2D):
2239         (gl::Texture2D::~Texture2D):
2240         (gl::Texture2D::redefineTexture):
2241         (gl::Texture2D::setImage):
2242         (gl::Texture2D::setCompressedImage):
2243         (gl::Texture2D::copyImage):
2244         (gl::Texture2D::copySubImage):
2245         (gl::Texture2D::isComplete):
2246         (gl::Texture2D::createTexture):
2247         (gl::Texture2D::convertToRenderTarget):
2248         (gl::Texture2D::generateMipmaps):
2249         (gl::Texture2D::getColorbuffer):
2250         (gl::Texture2D::getRenderTarget):
2251         (gl::TextureCubeMap::TextureCubeMap):
2252         (gl::TextureCubeMap::~TextureCubeMap):
2253         (gl::TextureCubeMap::subImage):
2254         (gl::TextureCubeMap::subImageCompressed):
2255         (gl::TextureCubeMap::isComplete):
2256         (gl::TextureCubeMap::createTexture):
2257         (gl::TextureCubeMap::convertToRenderTarget):
2258         (gl::TextureCubeMap::redefineTexture):
2259         (gl::TextureCubeMap::copyImage):
2260         (gl::TextureCubeMap::copySubImage):
2261         (gl::TextureCubeMap::generateMipmaps):
2262         (gl::TextureCubeMap::getColorbuffer):
2263         (gl::TextureCubeMap::getRenderTarget):
2264         (gl::Texture::TextureColorbufferProxy::TextureColorbufferProxy):
2265         (gl::Texture::TextureColorbufferProxy::isFloatingPoint):
2266         * src/libGLESv2/Texture.h:
2267         * src/libGLESv2/geometry/IndexDataManager.cpp:
2268         (gl::IndexDataManager::IndexDataManager):
2269         (gl::IndexDataManager::~IndexDataManager):
2270         (gl::convertIndices):
2271         (gl::computeRange):
2272         (gl::IndexDataManager::prepareIndexData):
2273         (gl::IndexDataManager::indexSize):
2274         (gl::IndexDataManager::typeSize):
2275         (gl::IndexBuffer::IndexBuffer):
2276         (gl::IndexBuffer::~IndexBuffer):
2277         (gl::IndexBuffer::getBuffer):
2278         (gl::IndexBuffer::unmap):
2279         (gl::StreamingIndexBuffer::StreamingIndexBuffer):
2280         (gl::StreamingIndexBuffer::~StreamingIndexBuffer):
2281         (gl::StreamingIndexBuffer::map):
2282         (gl::StreamingIndexBuffer::reserveSpace):
2283         (gl::StaticIndexBuffer::StaticIndexBuffer):
2284         (gl::StaticIndexBuffer::~StaticIndexBuffer):
2285         (gl::StaticIndexBuffer::map):
2286         (gl::StaticIndexBuffer::reserveSpace):
2287         (gl::StaticIndexBuffer::lookupType):
2288         (gl::StaticIndexBuffer::lookupRange):
2289         (gl::StaticIndexBuffer::addRange):
2290         * src/libGLESv2/geometry/IndexDataManager.h:
2291         (gl::IndexBuffer::size):
2292         * src/libGLESv2/geometry/VertexDataManager.cpp:
2293         (gl::VertexDataManager::VertexDataManager):
2294         (gl::VertexDataManager::~VertexDataManager):
2295         (gl::VertexDataManager::writeAttributeData):
2296         (gl::VertexDataManager::prepareVertexData):
2297         (gl::VertexDataManager::spaceRequired):
2298         (gl::VertexDataManager::checkVertexCaps):
2299         (gl::VertexDataManager::typeIndex):
2300         (gl::VertexDataManager::setupAttributes):
2301         (gl::VertexBuffer::VertexBuffer):
2302         (gl::VertexBuffer::~VertexBuffer):
2303         (gl::VertexBuffer::unmap):
2304         (gl::VertexBuffer::getBuffer):
2305         (gl::ConstantVertexBuffer::ConstantVertexBuffer):
2306         (gl::ConstantVertexBuffer::~ConstantVertexBuffer):
2307         (gl::ArrayVertexBuffer::ArrayVertexBuffer):
2308         (gl::ArrayVertexBuffer::~ArrayVertexBuffer):
2309         (gl::ArrayVertexBuffer::addRequiredSpace):
2310         (gl::ArrayVertexBuffer::addRequiredSpaceFor):
2311         (gl::StreamingVertexBuffer::StreamingVertexBuffer):
2312         (gl::StreamingVertexBuffer::~StreamingVertexBuffer):
2313         (gl::StreamingVertexBuffer::map):
2314         (gl::StreamingVertexBuffer::reserveRequiredSpace):
2315         (gl::StaticVertexBuffer::StaticVertexBuffer):
2316         (gl::StaticVertexBuffer::~StaticVertexBuffer):
2317         (gl::StaticVertexBuffer::map):
2318         (gl::StaticVertexBuffer::reserveRequiredSpace):
2319         (gl::StaticVertexBuffer::lookupAttribute):
2320         (gl::VertexDataManager::formatConverter):
2321         * src/libGLESv2/geometry/VertexDataManager.h:
2322         (gl::ArrayVertexBuffer::size):
2323         (gl::VertexDataManager::dirtyCurrentValue):
2324         * src/libGLESv2/geometry/backend.cpp: Removed.
2325         * src/libGLESv2/geometry/backend.h: Removed.
2326         * src/libGLESv2/geometry/dx9.cpp: Removed.
2327         * src/libGLESv2/geometry/dx9.h: Removed.
2328         * src/libGLESv2/libGLESv2.cpp:
2329         * src/libGLESv2/libGLESv2.def:
2330         * src/libGLESv2/libGLESv2.vcproj:
2331         * src/libGLESv2/utilities.cpp:
2332         (gl::UniformComponentCount):
2333         (gl::UniformComponentType):
2334         (gl::ComputePixelSize):
2335         (gl::CheckTextureFormatType):
2336         (gl::IsColorRenderable):
2337         (gl::IsDepthRenderable):
2338         (gl::IsStencilRenderable):
2339         (es2dx::GetAlphaSize):
2340         (es2dx::GetRedSize):
2341         (es2dx::GetGreenSize):
2342         (es2dx::GetBlueSize):
2343         (es2dx::GetDepthSize):
2344         (es2dx::ConvertPrimitiveType):
2345         (dx2es::ConvertBackBufferFormat):
2346         (dx2es::ConvertDepthStencilFormat):
2347         * src/libGLESv2/utilities.h:
2348
2349 2011-01-17  Dan Bernstein  <mitz@apple.com>
2350
2351         Rubber-stamped by Mark Rowe.
2352
2353         Update xcodeproj svn:ignore to include xcuserdata.
2354
2355         * ANGLE.xcodeproj: Modified property svn:ignore.
2356         * src/build_angle.xcodeproj: Modified property svn:ignore.
2357
2358 2010-12-01  Steve Falkenburg  <sfalken@apple.com>
2359
2360         Reviewed by Adam Roben.
2361
2362         vcproj changes can't be applied cleanly by the Windows EWS bot
2363         https://bugs.webkit.org/show_bug.cgi?id=50328
2364
2365         * src/libEGL/libEGL.vcproj: Added property svn:eol-style.
2366         * src/libGLESv2/libGLESv2.vcproj: Added property svn:eol-style.
2367
2368 2010-11-03  Darin Adler  <darin@apple.com>
2369
2370         Updated Xcode projects by opening them with Xcode 3.2.4.
2371         Updated svn:ignore for Xcode projects.
2372
2373         * ANGLE.xcodeproj: Added property svn:ignore.
2374         * ANGLE.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
2375         * src/build_angle.xcodeproj: Added property svn:ignore.
2376         * src/build_angle.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
2377
2378 2010-09-01  Zhenyao Mo  <zmo@google.com>
2379
2380         Reviewed by Kenneth Russell.
2381
2382         Roll ANGLE under webkit to r402
2383         https://bugs.webkit.org/show_bug.cgi?id=45004
2384
2385         * ANGLE.xcodeproj/project.pbxproj:
2386         * include/GLES2/gl2ext.h:
2387         * include/GLSLANG/ResourceLimits.h: Removed.
2388         * include/GLSLANG/ShaderLang.h:
2389         * src/compiler/BaseTypes.h:
2390         (getPrecisionString):
2391         (getBasicString):
2392         (IsSampler):
2393         (getQualifierString):
2394         * src/compiler/Initialize.cpp:
2395         (BuiltInConstants):
2396         (IdentifyBuiltIns):
2397         * src/compiler/Initialize.h:
2398         * src/compiler/InitializeDll.cpp:
2399         (InitProcess):
2400         (DetachProcess):
2401         (InitThread):
2402         (DetachThread):
2403         * src/compiler/InitializeDll.h:
2404         * src/compiler/InitializeParseContext.h:
2405         * src/compiler/Intermediate.cpp:
2406         (GetHigherPrecision):
2407         (TIntermediate::addBinaryMath):
2408         (TIntermediate::setAggregateOperator):
2409         (TIntermediate::addComma):
2410         (TIntermediate::postProcess):
2411         (TIntermBinary::promote):
2412         (CompareStruct):
2413         * src/compiler/OutputGLSL.cpp:
2414         (TOutputGLSL::writeFunctionParameters):
2415         (TOutputGLSL::visitUnary):
2416         (TOutputGLSL::visitBranch):
2417         * src/compiler/OutputHLSL.cpp:
2418         (sh::OutputHLSL::header):
2419         (sh::OutputHLSL::visitBinary):
2420         (sh::OutputHLSL::visitAggregate):
2421         (sh::OutputHLSL::handleExcessiveLoop):
2422         (sh::OutputHLSL::addConstructor):
2423         * src/compiler/ParseHelper.cpp:
2424         (TParseContext::constructorErrorCheck):
2425         (TParseContext::samplerErrorCheck):
2426         (TParseContext::paramErrorCheck):
2427         (TParseContext::findFunction):
2428         (TParseContext::executeInitializer):
2429         (TParseContext::addConstructor):
2430         (TParseContext::addConstStruct):
2431         (FreeParseContextIndex):
2432         (GetGlobalParseContext):
2433         * src/compiler/PoolAlloc.h:
2434         (TPoolAllocator::tHeader::tHeader):
2435         (pool_allocator::allocate):
2436         (pool_allocator::deallocate):
2437         * src/compiler/ShaderLang.cpp:
2438         (ShInitialize):
2439         (ShFinalize):
2440         (ShInitBuiltInResource):
2441         * src/compiler/SymbolTable.cpp:
2442         (TType::getStructSize):
2443         * src/compiler/SymbolTable.h:
2444         (TVariable::setQualifier):
2445         * src/compiler/Types.h:
2446         (TType::TType):
2447         (TType::getBasicType):
2448         (TType::setBasicType):
2449         (TType::getPrecision):
2450         (TType::setPrecision):
2451         (TType::getQualifier):
2452         (TType::setQualifier):
2453         (TType::getNominalSize):
2454         (TType::setNominalSize):
2455         (TType::isMatrix):
2456         (TType::setMatrix):
2457         (TType::isArray):
2458         (TType::getArraySize):
2459         (TType::setArraySize):
2460         (TType::getMaxArraySize):
2461         (TType::setMaxArraySize):
2462         (TType::clearArrayness):
2463         (TType::setArrayInformationType):
2464         (TType::getArrayInformationType):
2465         (TType::isVector):
2466         (TType::isScalar):
2467         (TType::setStruct):
2468         (TType::getTypeName):
2469         (TType::setTypeName):
2470         (TType::isField):
2471         (TType::getFieldName):
2472         (TType::setFieldName):
2473         (TType::getBasicString):
2474         (TType::getPrecisionString):
2475         (TType::getQualifierString):
2476         * src/compiler/glslang.l:
2477         * src/compiler/glslang.y:
2478         * src/compiler/intermediate.h:
2479         (TIntermNode::getLine):
2480         (TIntermNode::setLine):
2481         (TIntermTyped::getAsTyped):
2482         (TIntermTyped::setType):
2483         (TIntermTyped::getType):
2484         (TIntermTyped::getTypePointer):
2485         (TIntermTyped::getBasicType):
2486         (TIntermTyped::getQualifier):
2487         (TIntermTyped::getPrecision):
2488         (TIntermTyped::getNominalSize):
2489         (TIntermTyped::isMatrix):
2490         (TIntermTyped::isArray):
2491         (TIntermTyped::isVector):
2492         (TIntermTyped::isScalar):
2493         (TIntermTyped::getBasicString):
2494         (TIntermTyped::getQualifierString):
2495         (TIntermSymbol::getId):
2496         (TIntermSymbol::getSymbol):
2497         (TIntermOperator::setOp):
2498         (TIntermBinary::setLeft):
2499         (TIntermBinary::setRight):
2500         (TIntermBinary::getLeft):
2501         (TIntermBinary::getRight):
2502         (TIntermUnary::setOperand):
2503         (TIntermUnary::getOperand):
2504         (TIntermAggregate::getAsAggregate):
2505         (TIntermAggregate::getSequence):
2506         (TIntermAggregate::setName):
2507         (TIntermAggregate::getName):
2508         (TIntermAggregate::setUserDefined):
2509         (TIntermAggregate::isUserDefined):
2510         (TIntermAggregate::getQualifier):
2511         (TIntermAggregate::setOptimize):
2512         (TIntermAggregate::setDebug):
2513         (TIntermSelection::getCondition):
2514         (TIntermSelection::getTrueBlock):
2515         (TIntermSelection::getFalseBlock):
2516         (TIntermSelection::getAsSelectionNode):
2517         * src/compiler/parseConst.cpp:
2518         (TConstTraverser::TConstTraverser):
2519         * src/compiler/preprocessor/atom.c:
2520         (InitAtomTable):
2521         * src/compiler/preprocessor/atom.h:
2522         * src/compiler/preprocessor/compile.h:
2523         * src/compiler/preprocessor/cpp.c:
2524         * src/compiler/preprocessor/cpp.h:
2525         * src/compiler/preprocessor/cppstruct.c:
2526         * src/compiler/preprocessor/memory.c:
2527         * src/compiler/preprocessor/memory.h:
2528         * src/compiler/preprocessor/parser.h:
2529         * src/compiler/preprocessor/preprocess.h:
2530         * src/compiler/preprocessor/scanner.c:
2531         * src/compiler/preprocessor/scanner.h:
2532         * src/compiler/preprocessor/slglobals.h:
2533         * src/compiler/preprocessor/symbols.c:
2534         (NewSymbol):
2535         * src/compiler/preprocessor/symbols.h:
2536         * src/compiler/preprocessor/tokens.c:
2537         (RecordToken):
2538         * src/compiler/preprocessor/tokens.h:
2539         * src/libEGL/Display.cpp:
2540         (egl::Display::Display):
2541         (egl::Display::initialize):
2542         (egl::Display::terminate):
2543         (egl::Display::createDevice):
2544         (egl::Display::createWindowSurface):
2545         (egl::Display::createContext):
2546         (egl::Display::getMultiSampleSupport):
2547         (egl::Display::getCompressedTextureSupport):
2548         * src/libEGL/Display.h:
2549         * src/libEGL/Surface.cpp:
2550         (egl::Surface::Surface):
2551         (egl::Surface::resetSwapChain):
2552         (egl::Surface::getWindowHandle):
2553         (egl::Surface::writeRecordableFlipState):
2554         (egl::Surface::applyFlipState):
2555         (egl::Surface::releaseRecordedState):
2556         (egl::Surface::checkForWindowResize):
2557         (egl::Surface::swap):
2558         * src/libEGL/Surface.h:
2559         * src/libEGL/libEGL.cpp:
2560         * src/libEGL/libEGL.vcproj:
2561         * src/libGLESv2/Blit.cpp:
2562         (gl::Blit::setVertexShader):
2563         (gl::Blit::setPixelShader):
2564         (gl::Blit::setFormatConvertShaders):
2565         * src/libGLESv2/Buffer.cpp:
2566         (gl::Buffer::Buffer):
2567         * src/libGLESv2/Buffer.h:
2568         * src/libGLESv2/Context.cpp:
2569         (gl::Context::Context):
2570         (gl::Context::~Context):
2571         (gl::Context::makeCurrent):
2572         (gl::Context::markAllStateDirty):
2573         (gl::Context::getReadFramebufferHandle):
2574         (gl::Context::getDrawFramebufferHandle):
2575         (gl::Context::getRenderbufferHandle):
2576         (gl::Context::getArrayBufferHandle):
2577         (gl::Context::setVertexAttribState):
2578         (gl::Context::createBuffer):
2579         (gl::Context::createProgram):
2580         (gl::Context::createShader):
2581         (gl::Context::createTexture):
2582         (gl::Context::createRenderbuffer):
2583         (gl::Context::deleteBuffer):
2584         (gl::Context::deleteShader):
2585         (gl::Context::deleteProgram):
2586         (gl::Context::deleteTexture):
2587         (gl::Context::deleteRenderbuffer):
2588         (gl::Context::getBuffer):
2589         (gl::Context::getShader):
2590         (gl::Context::getProgram):
2591         (gl::Context::getTexture):
2592         (gl::Context::getRenderbuffer):
2593         (gl::Context::getReadFramebuffer):
2594         (gl::Context::getDrawFramebuffer):
2595         (gl::Context::bindArrayBuffer):
2596         (gl::Context::bindElementArrayBuffer):
2597         (gl::Context::bindTexture2D):
2598         (gl::Context::bindTextureCubeMap):
2599         (gl::Context::bindReadFramebuffer):
2600         (gl::Context::bindDrawFramebuffer):
2601         (gl::Context::bindRenderbuffer):
2602         (gl::Context::useProgram):
2603         (gl::Context::setFramebufferZero):
2604         (gl::Context::setRenderbufferStorage):
2605         (gl::Context::getFramebuffer):
2606         (gl::Context::getArrayBuffer):
2607         (gl::Context::getElementArrayBuffer):
2608         (gl::Context::getCurrentProgram):
2609         (gl::Context::getTexture2D):
2610         (gl::Context::getTextureCubeMap):
2611         (gl::Context::getSamplerTexture):
2612         (gl::Context::getFloatv):
2613         (gl::Context::getIntegerv):
2614         (gl::Context::getQueryParameterInfo):
2615         (gl::Context::applyRenderTarget):
2616         (gl::Context::applyState):
2617         (gl::Context::applyIndexBuffer):
2618         (gl::Context::readPixels):
2619         (gl::Context::clear):
2620         (gl::Context::finish):
2621         (gl::Context::flush):
2622         (gl::Context::supportsShaderModel3):
2623         (gl::Context::getMaxSupportedSamples):
2624         (gl::Context::getNearestSupportedSamples):
2625         (gl::Context::supportsCompressedTextures):
2626         (gl::Context::detachBuffer):
2627         (gl::Context::detachTexture):
2628         (gl::Context::detachFramebuffer):
2629         (gl::Context::detachRenderbuffer):
2630         (gl::Context::getIncompleteTexture):
2631         (gl::Context::initExtensionString):
2632         (gl::Context::blitFramebuffer):
2633         * src/libGLESv2/Context.h:
2634         (gl::AttributeState::AttributeState):
2635         * src/libGLESv2/Framebuffer.cpp:
2636         (gl::Framebuffer::Framebuffer):
2637         (gl::Framebuffer::~Framebuffer):
2638         (gl::Framebuffer::lookupRenderbuffer):
2639         (gl::Framebuffer::setColorbuffer):
2640         (gl::Framebuffer::setDepthbuffer):
2641         (gl::Framebuffer::setStencilbuffer):
2642         (gl::Framebuffer::detachTexture):
2643         (gl::Framebuffer::detachRenderbuffer):
2644         (gl::Framebuffer::getRenderTargetSerial):
2645         (gl::Framebuffer::getRenderTarget):
2646         (gl::Framebuffer::getDepthStencil):
2647         (gl::Framebuffer::getDepthbufferSerial):
2648         (gl::Framebuffer::getStencilbufferSerial):
2649         (gl::Framebuffer::getColorbuffer):
2650         (gl::Framebuffer::getDepthbuffer):
2651         (gl::Framebuffer::getStencilbuffer):
2652         (gl::Framebuffer::getColorbufferHandle):
2653         (gl::Framebuffer::getDepthbufferHandle):
2654         (gl::Framebuffer::getStencilbufferHandle):
2655         (gl::Framebuffer::hasStencil):
2656         (gl::Framebuffer::isMultisample):
2657         (gl::Framebuffer::completeness):
2658         (gl::DefaultFramebuffer::DefaultFramebuffer):
2659         (gl::Framebuffer::getSamples):
2660         (gl::DefaultFramebuffer::completeness):
2661         * src/libGLESv2/Framebuffer.h:
2662         * src/libGLESv2/Program.cpp:
2663         (gl::Program::Program):
2664         (gl::Program::~Program):
2665         (gl::Program::attachShader):
2666         (gl::Program::detachShader):
2667         (gl::Program::linkVaryings):
2668         (gl::Program::link):
2669         (gl::Program::unlink):
2670         (gl::Program::release):
2671         (gl::Program::addRef):
2672         (gl::Program::getRefCount):
2673         (gl::Program::getDxViewportLocation):
2674         * src/libGLESv2/Program.h:
2675         * src/libGLESv2/RefCountObject.cpp: Added.
2676         (gl::RefCountObject::RefCountObject):
2677         (gl::RefCountObject::~RefCountObject):
2678         (gl::RefCountObject::addRef):
2679         (gl::RefCountObject::release):
2680         (gl::RefCountObjectBindingPointer::set):
2681         * src/libGLESv2/RefCountObject.h: Added.
2682         (gl::RefCountObject::id):
2683         (gl::RefCountObjectBindingPointer::RefCountObjectBindingPointer):
2684         (gl::RefCountObjectBindingPointer::~RefCountObjectBindingPointer):
2685         (gl::RefCountObjectBindingPointer::get):
2686         (gl::RefCountObjectBindingPointer::id):
2687         (gl::RefCountObjectBindingPointer::operator ! ):
2688         (gl::BindingPointer::set):
2689         (gl::BindingPointer::get):
2690         (gl::BindingPointer::operator -> ):
2691         * src/libGLESv2/Renderbuffer.cpp:
2692         (gl::Renderbuffer::Renderbuffer):
2693         (gl::Renderbuffer::~Renderbuffer):
2694         (gl::Renderbuffer::isColorbuffer):
2695         (gl::Renderbuffer::isDepthbuffer):
2696         (gl::Renderbuffer::isStencilbuffer):
2697         (gl::Renderbuffer::getRenderTarget):
2698         (gl::Renderbuffer::getDepthStencil):
2699         (gl::Renderbuffer::getWidth):
2700         (gl::Renderbuffer::getHeight):
2701         (gl::Renderbuffer::getFormat):
2702         (gl::Renderbuffer::getD3DFormat):
2703         (gl::Renderbuffer::getSerial):
2704         (gl::Renderbuffer::setStorage):
2705         (gl::RenderbufferStorage::RenderbufferStorage):
2706         (gl::RenderbufferStorage::~RenderbufferStorage):
2707         (gl::RenderbufferStorage::isColorbuffer):
2708         (gl::RenderbufferStorage::isDepthbuffer):
2709         (gl::RenderbufferStorage::isStencilbuffer):
2710         (gl::RenderbufferStorage::getRenderTarget):
2711         (gl::RenderbufferStorage::getDepthStencil):
2712         (gl::RenderbufferStorage::getWidth):
2713         (gl::RenderbufferStorage::getHeight):
2714         (gl::RenderbufferStorage::setSize):
2715         (gl::RenderbufferStorage::getFormat):
2716         (gl::RenderbufferStorage::getD3DFormat):
2717         (gl::RenderbufferStorage::getSamples):
2718         (gl::RenderbufferStorage::getSerial):
2719         (gl::RenderbufferStorage::issueSerial):
2720         (gl::Colorbuffer::Colorbuffer):
2721         (gl::Colorbuffer::isColorbuffer):
2722         (gl::Colorbuffer::getRedSize):
2723         (gl::Colorbuffer::getGreenSize):
2724         (gl::Colorbuffer::getBlueSize):
2725         (gl::Colorbuffer::getAlphaSize):
2726         (gl::DepthStencilbuffer::DepthStencilbuffer):
2727         (gl::DepthStencilbuffer::~DepthStencilbuffer):
2728         (gl::DepthStencilbuffer::isDepthbuffer):
2729         (gl::DepthStencilbuffer::isStencilbuffer):
2730         (gl::DepthStencilbuffer::getDepthSize):
2731         (gl::DepthStencilbuffer::getStencilSize):
2732         (gl::DepthStencilbuffer::getDepthStencil):
2733         (gl::Depthbuffer::Depthbuffer):
2734         (gl::Depthbuffer::~Depthbuffer):
2735         (gl::Depthbuffer::isDepthbuffer):
2736         (gl::Depthbuffer::isStencilbuffer):
2737         (gl::Stencilbuffer::Stencilbuffer):
2738         (gl::Stencilbuffer::~Stencilbuffer):
2739         (gl::Stencilbuffer::isDepthbuffer):
2740         (gl::Stencilbuffer::isStencilbuffer):
2741         * src/libGLESv2/Renderbuffer.h:
2742         (gl::Renderbuffer::getStorage):
2743         * src/libGLESv2/ResourceManager.cpp: Added.
2744         (gl::ResourceManager::ResourceManager):
2745         (gl::ResourceManager::~ResourceManager):
2746         (gl::ResourceManager::addRef):
2747         (gl::ResourceManager::release):
2748         (gl::ResourceManager::createBuffer):
2749         (gl::ResourceManager::createShader):
2750         (gl::ResourceManager::createProgram):
2751         (gl::ResourceManager::createTexture):
2752         (gl::ResourceManager::createRenderbuffer):
2753         (gl::ResourceManager::deleteBuffer):
2754         (gl::ResourceManager::deleteShader):
2755         (gl::ResourceManager::deleteProgram):
2756         (gl::ResourceManager::deleteTexture):
2757         (gl::ResourceManager::deleteRenderbuffer):
2758         (gl::ResourceManager::getBuffer):
2759         (gl::ResourceManager::getShader):
2760         (gl::ResourceManager::getTexture):
2761         (gl::ResourceManager::getProgram):
2762         (gl::ResourceManager::getRenderbuffer):
2763         (gl::ResourceManager::setRenderbuffer):
2764         (gl::ResourceManager::checkBufferAllocation):
2765         (gl::ResourceManager::checkTextureAllocation):
2766         (gl::ResourceManager::checkRenderbufferAllocation):
2767         * src/libGLESv2/ResourceManager.h: Added.
2768         * src/libGLESv2/Shader.cpp:
2769         (gl::Shader::Shader):
2770         (gl::Shader::addRef):
2771         (gl::Shader::release):
2772         (gl::Shader::getRefCount):
2773         (gl::Shader::parseVaryings):
2774         (gl::VertexShader::VertexShader):
2775         (gl::FragmentShader::FragmentShader):
2776         * src/libGLESv2/Shader.h:
2777         * src/libGLESv2/Texture.cpp:
2778         (gl::Texture::Image::Image):
2779         (gl::Texture::Texture):
2780         (gl::Texture::getBlitter):
2781         (gl::Texture::selectFormat):
2782         (gl::Texture::loadImageData):
2783         (gl::Texture::loadAlphaImageData):
2784         (gl::Texture::loadLuminanceImageData):
2785         (gl::Texture::loadLuminanceAlphaImageData):
2786         (gl::Texture::loadRGBUByteImageData):
2787         (gl::Texture::loadRGB565ImageData):
2788         (gl::Texture::loadRGBAUByteImageData):
2789         (gl::Texture::loadRGBA4444ImageData):
2790         (gl::Texture::loadRGBA5551ImageData):
2791         (gl::Texture::loadBGRAImageData):
2792         (gl::Texture::createSurface):
2793         (gl::Texture::setImage):
2794         (gl::Texture::setCompressedImage):
2795         (gl::Texture::subImage):
2796         (gl::Texture::subImageCompressed):
2797         (gl::Texture2D::Texture2D):
2798         (gl::Texture2D::getFormat):
2799         (gl::Texture2D::setCompressedImage):
2800         (gl::Texture2D::subImage):
2801         (gl::Texture2D::subImageCompressed):
2802         (gl::Texture2D::copyImage):
2803         (gl::Texture2D::copySubImage):
2804         (gl::Texture2D::isCompressed):
2805         (gl::Texture2D::getColorbuffer):
2806         (gl::TextureCubeMap::TextureCubeMap):
2807         (gl::TextureCubeMap::getFormat):
2808         (gl::TextureCubeMap::setCompressedImage):
2809         (gl::TextureCubeMap::subImage):
2810         (gl::TextureCubeMap::subImageCompressed):
2811         (gl::TextureCubeMap::isCompressed):
2812         (gl::TextureCubeMap::copyImage):
2813         (gl::TextureCubeMap::copySubImage):
2814         (gl::TextureCubeMap::getColorbuffer):
2815         (gl::Texture::TextureColorbufferProxy::addRef):
2816         (gl::Texture::TextureColorbufferProxy::release):
2817         (gl::Texture::TextureColorbufferProxy::getWidth):
2818         (gl::Texture::TextureColorbufferProxy::getHeight):
2819         (gl::Texture::TextureColorbufferProxy::getFormat):
2820         * src/libGLESv2/Texture.h:
2821         * src/libGLESv2/libGLESv2.cpp:
2822         * src/libGLESv2/libGLESv2.def:
2823         * src/libGLESv2/libGLESv2.vcproj:
2824         * src/libGLESv2/main.h:
2825         * src/libGLESv2/utilities.cpp:
2826         (gl::ComputeCompressedPitch):
2827         (gl::ComputeCompressedSize):
2828         (gl::IsCompressed):
2829         (gl::ComputePixelSize):
2830         (gl::CheckTextureFormatType):
2831         (es2dx::ConvertRenderbufferFormat):
2832         (es2dx::GetSamplesFromMultisampleType):
2833         (es2dx::GetMultisampleTypeFromSamples):
2834         * src/libGLESv2/utilities.h:
2835
2836 2010-08-17  Chris Marrin  <cmarrin@apple.com>
2837
2838         Unreviewed.
2839
2840         Moved previous link error fix to Base.xcconfig.
2841
2842         * ANGLE.xcodeproj/project.pbxproj:
2843         * Configurations/Base.xcconfig:
2844
2845 2010-08-17  Chris Marrin  <cmarrin@apple.com>
2846
2847         Unreviewed.
2848
2849         Got rid of link errors in WebCore.
2850
2851         Changed GCC_INLINES_ARE_PRIVATE_EXTERN to YES and
2852         GCC_SYMBOLS_PRIVATE_EXTERN to NO to match WebCore
2853         flags.
2854
2855         * ANGLE.xcodeproj/project.pbxproj:
2856
2857 2010-08-04  Kenneth Russell  <kbr@google.com>
2858
2859         Reviewed by Dimitri Glazkov.
2860
2861         Update ANGLE to r352
2862         https://bugs.webkit.org/show_bug.cgi?id=43500
2863
2864         Updated ANGLE to r352 (July 26, 2010). Built WebKit to test.
2865
2866         * include/GLSLANG/ShaderLang.h:
2867         * src/compiler/Initialize.cpp:
2868         (BuiltInFunctionsCommon):
2869         (BuiltInFunctionsVertex):
2870         (BuiltInFunctionsFragment):
2871         (StandardUniforms):
2872         (DefaultPrecisionVertex):
2873         (DefaultPrecisionFragment):
2874         (BuiltInConstants):
2875         (TBuiltIns::initialize):
2876         (IdentifyBuiltIns):
2877         * src/compiler/Initialize.h:
2878         (TBuiltIns::getBuiltInStrings):
2879         * src/compiler/OutputGLSL.cpp:
2880         (TOutputGLSL::visitSelection):
2881         * src/compiler/ShHandle.h:
2882         (TCompiler::getLanguage):
2883         (TCompiler::getSpec):
2884         (TCompiler::getSymbolTable):
2885         (TCompiler::getInfoSink):
2886         * src/compiler/ShaderLang.cpp:
2887         (InitializeSymbolTable):
2888         (GenerateBuiltInSymbolTable):
2889         (ShInitialize):
2890         (ShConstructCompiler):
2891         (ShFinalize):
2892         (ShCompile):
2893         * src/compiler/SymbolTable.h:
2894         (TSymbolTable::atBuiltInLevel):
2895         (TSymbolTable::atGlobalLevel):
2896         (TSymbolTable::push):
2897         (TSymbolTable::getGlobalLevel):
2898         (TSymbolTable::currentLevel):
2899         * src/libGLESv2/Shader.cpp:
2900         (gl::Shader::Shader):
2901         (gl::Shader::compileToHLSL):
2902
2903 2010-08-03  Mark Rowe  <mrowe@apple.com>
2904
2905         Rubber-stamped by Adele Peterson.
2906
2907         Remove some unnecessary files from the ANGLE tree.
2908
2909         * src/compiler/tools/COPYING.bison: Removed.
2910         * src/compiler/tools/COPYING.flex: Removed.
2911         * src/compiler/tools/README: Removed.
2912         * src/compiler/tools/bison.hairy: Removed.
2913         * src/compiler/tools/bison.simple: Removed.
2914
2915 2010-08-03  Mark Rowe  <mrowe@apple.com>
2916
2917         Rubber-stamped by Adele Peterson.
2918
2919         Clean up the ANGLE Xcode project.
2920
2921         Main changes include:
2922         • Adding a Production configuration.
2923         • Modifying the library name from libangle.a to libANGLE.a.
2924         • Installing the headers in a subdirectory of /usr/local/include to avoid polluting the top-level directory.
2925         • Generating derived sources in to the built products directory so they're saved along with the symroot.
2926         • Switching to using .xcconfig files for maximum cleanliness.
2927
2928         * ANGLE.xcodeproj/project.pbxproj:
2929         * Configurations/ANGLE.xcconfig: Added.
2930         * Configurations/Base.xcconfig: Added.
2931         * Configurations/DebugRelease.xcconfig: Added.
2932
2933 2010-08-02  Paul Sawaya  <psawaya@apple.com>
2934
2935         Reviewed by Adele Peterson.
2936
2937         Add ANGLE library to WebKit. From the repository (http://angleproject.googlecode.com) as of July 22.
2938         https://bugs.webkit.org/show_bug.cgi?id=42789
2939