ce20d198b28b6b116d89b9b87f119708d004bb9a
[WebKit.git] / Source / ThirdParty / ANGLE / ChangeLog
1 2011-01-18  Kenneth Russell  <kbr@google.com>
2
3         Unreviewed, release build fix. Explicitly cast away const.
4
5         * src/compiler/preprocessor/scanner.c:
6         (ScanFromString):
7
8 2011-01-18  Ben Vanik  <ben.vanik@gmail.com>
9
10         Reviewed by Kenneth Russell.
11
12         Updating ANGLE in WebKit to r533.
13         https://bugs.webkit.org/show_bug.cgi?id=47194
14
15         * ANGLE.xcodeproj/project.pbxproj:
16         * include/GLSLANG/ShaderLang.h:
17         * src/common/debug.cpp:
18         (gl::trace):
19         * src/common/debug.h:
20         * src/compiler/CodeGenGLSL.cpp:
21         (ConstructCompiler):
22         * src/compiler/CodeGenHLSL.cpp:
23         (ConstructCompiler):
24         * src/compiler/Common.h:
25         (EncodeSourceLoc):
26         (DecodeSourceLoc):
27         * src/compiler/Compiler.cpp: Added.
28         (TShHandleBase::TShHandleBase):
29         (TShHandleBase::~TShHandleBase):
30         (TCompiler::TCompiler):
31         (TCompiler::~TCompiler):
32         (TCompiler::Init):
33         (TCompiler::compile):
34         (TCompiler::InitBuiltInSymbolTable):
35         (TCompiler::clearResults):
36         (TCompiler::validateLimitations):
37         (TCompiler::collectAttribsUniforms):
38         * src/compiler/ExtensionBehavior.h: Added.
39         * src/compiler/InfoSink.cpp:
40         (TInfoSinkBase::location):
41         * src/compiler/InfoSink.h:
42         (TInfoSinkBase::size):
43         * src/compiler/Initialize.cpp:
44         (BuiltInFunctionsCommon):
45         (BuiltInFunctionsVertex):
46         (BuiltInFunctionsFragment):
47         (StandardUniforms):
48         (DefaultPrecisionVertex):
49         (DefaultPrecisionFragment):
50         (BuiltInConstants):
51         (TBuiltIns::initialize):
52         (IdentifyBuiltIns):
53         (InitExtensionBehavior):
54         * src/compiler/Initialize.h:
55         * src/compiler/IntermTraverse.cpp:
56         (TIntermLoop::traverse):
57         * src/compiler/Intermediate.cpp:
58         (getOperatorString):
59         (TIntermediate::addBinaryMath):
60         (TIntermediate::addLoop):
61         (TIntermediate::postProcess):
62         (TIntermBinary::promote):
63         * src/compiler/OutputGLSL.cpp:
64         (TOutputGLSL::visitUnary):
65         (TOutputGLSL::visitLoop):
66         * src/compiler/OutputHLSL.cpp:
67         (sh::OutputHLSL::OutputHLSL):
68         (sh::OutputHLSL::header):
69         (sh::OutputHLSL::visitBinary):
70         (sh::OutputHLSL::visitUnary):
71         (sh::OutputHLSL::visitAggregate):
72         (sh::OutputHLSL::visitLoop):
73         (sh::OutputHLSL::handleExcessiveLoop):
74         (sh::OutputHLSL::argumentString):
75         * src/compiler/OutputHLSL.h:
76         * src/compiler/ParseHelper.cpp:
77         (ReportInfo):
78         (DefineExtensionMacros):
79         (TParseContext::error):
80         (TParseContext::warning):
81         (TParseContext::reservedErrorCheck):
82         (TParseContext::constructorErrorCheck):
83         (TParseContext::arrayQualifierErrorCheck):
84         (TParseContext::extensionErrorCheck):
85         (TParseContext::areAllChildConst):
86         (PaParseStrings):
87         * src/compiler/ParseHelper.h:
88         (TParseContext::TParseContext):
89         * src/compiler/PoolAlloc.cpp:
90         (InitializeGlobalPools):
91         (FreeGlobalPools):
92         (SetGlobalPoolAllocator):
93         (TPoolAllocator::TPoolAllocator):
94         (TPoolAllocator::~TPoolAllocator):
95         (TAllocation::checkAllocList):
96         * src/compiler/PoolAlloc.h:
97         * src/compiler/SearchSymbol.cpp: Added.
98         (sh::SearchSymbol::SearchSymbol):
99         (sh::SearchSymbol::traverse):
100         (sh::SearchSymbol::visitSymbol):
101         (sh::SearchSymbol::foundMatch):
102         * src/compiler/SearchSymbol.h: Added.
103         * src/compiler/ShHandle.h:
104         (TCompiler::getAsCompiler):
105         (TCompiler::getInfoSink):
106         (TCompiler::getAttribs):
107         (TCompiler::getUniforms):
108         (TCompiler::getShaderType):
109         (TCompiler::getShaderSpec):
110         * src/compiler/ShaderLang.cpp:
111         (getVariableMaxLength):
112         (getVariableInfo):
113         (ShInitBuiltInResources):
114         (ShConstructCompiler):
115         (ShCompile):
116         (ShGetInfo):
117         (ShGetInfoLog):
118         (ShGetObjectCode):
119         (ShGetActiveAttrib):
120         (ShGetActiveUniform):
121         * src/compiler/SymbolTable.cpp:
122         (TSymbolTableLevel::relateToExtension):
123         * src/compiler/SymbolTable.h:
124         (TVariable::shareConstPointer):
125         (TFunction::relateToExtension):
126         (TFunction::getExtension):
127         (TFunction::getParamCount):
128         (TFunction::getParam):
129         (TSymbolTable::getGlobalLevel):
130         (TSymbolTable::relateToOperator):
131         (TSymbolTable::relateToExtension):
132         * src/compiler/TranslatorGLSL.cpp:
133         (writeVersion):
134         (TranslatorGLSL::TranslatorGLSL):
135         (TranslatorGLSL::translate):
136         * src/compiler/TranslatorGLSL.h:
137         * src/compiler/TranslatorHLSL.cpp:
138         (TranslatorHLSL::TranslatorHLSL):
139         (TranslatorHLSL::translate):
140         * src/compiler/TranslatorHLSL.h:
141         * src/compiler/Types.h:
142         (TType::TType):
143         * src/compiler/UnfoldSelect.cpp:
144         (sh::UnfoldSelect::visitSelection):
145         * src/compiler/UnfoldSelect.h:
146         * src/compiler/ValidateLimitations.cpp: Added.
147         (ValidateLimitations::ValidateLimitations):
148         (ValidateLimitations::visitSymbol):
149         (ValidateLimitations::visitConstantUnion):
150         (ValidateLimitations::visitBinary):
151         (ValidateLimitations::visitUnary):
152         (ValidateLimitations::visitSelection):
153         (ValidateLimitations::visitAggregate):
154         (ValidateLimitations::visitLoop):
155         (ValidateLimitations::visitBranch):
156         (ValidateLimitations::error):
157         (ValidateLimitations::withinLoopBody):
158         (ValidateLimitations::isLoopIndex):
159         (ValidateLimitations::validateLoopType):
160         (ValidateLimitations::validateForLoopHeader):
161         (ValidateLimitations::validateForLoopInit):
162         (ValidateLimitations::validateForLoopCond):
163         (ValidateLimitations::validateForLoopExpr):
164         (ValidateLimitations::validateFunctionCall):
165         (ValidateLimitations::validateOperation):
166         (ValidateLimitations::isConstExpr):
167         (ValidateLimitations::isConstIndexExpr):
168         (ValidateLimitations::validateIndexing):
169         * src/compiler/ValidateLimitations.h: Added.
170         (ValidateLimitations::numErrors):
171         * src/compiler/VariableInfo.cpp: Added.
172         (arrayBrackets):
173         (getVariableDataType):
174         (getVariableInfo):
175         (getBuiltInVariableInfo):
176         (getUserDefinedVariableInfo):
177         (CollectAttribsUniforms::CollectAttribsUniforms):
178         (CollectAttribsUniforms::visitSymbol):
179         (CollectAttribsUniforms::visitConstantUnion):
180         (CollectAttribsUniforms::visitBinary):
181         (CollectAttribsUniforms::visitUnary):
182         (CollectAttribsUniforms::visitSelection):
183         (CollectAttribsUniforms::visitAggregate):
184         (CollectAttribsUniforms::visitLoop):
185         (CollectAttribsUniforms::visitBranch):
186         * src/compiler/VariableInfo.h: Added.
187         * src/compiler/VersionGLSL.cpp: Added.
188         (TVersionGLSL::TVersionGLSL):
189         (TVersionGLSL::visitSymbol):
190         (TVersionGLSL::visitConstantUnion):
191         (TVersionGLSL::visitBinary):
192         (TVersionGLSL::visitUnary):
193         (TVersionGLSL::visitSelection):
194         (TVersionGLSL::visitAggregate):
195         (TVersionGLSL::visitLoop):
196         (TVersionGLSL::visitBranch):
197         (TVersionGLSL::updateVersion):
198         * src/compiler/VersionGLSL.h: Added.
199         (TVersionGLSL::getVersion):
200         * src/compiler/generate_glslang_lexer.sh: Added.
201         * src/compiler/generate_glslang_parser.sh: Added.
202         * src/compiler/glslang.h: Added.
203         * src/compiler/glslang.l:
204         * src/compiler/glslang.y:
205         * src/compiler/glslang_lex.cpp: Added.
206         (yy_get_next_buffer):
207         (yy_get_previous_state):
208         (yy_try_NUL_trans):
209         (input):
210         (yyrestart):
211         (yy_switch_to_buffer):
212         (yy_load_buffer_state):
213         (yy_create_buffer):
214         (yy_delete_buffer):
215         (yy_init_buffer):
216         (yy_flush_buffer):
217         (yypush_buffer_state):
218         (yypop_buffer_state):
219         (yyensure_buffer_stack):
220         (yy_scan_buffer):
221         (yy_scan_string):
222         (yy_scan_bytes):
223         (yy_push_state):
224         (yy_pop_state):
225         (yy_top_state):
226         (yy_fatal_error):
227         (yyget_extra):
228         (yyget_lineno):
229         (yyget_column):
230         (yyget_in):
231         (yyget_out):
232         (yyget_leng):
233         (yyget_text):
234         (yyset_extra):
235         (yyset_lineno):
236         (yyset_column):
237         (yyset_in):
238         (yyset_out):
239         (yyget_debug):
240         (yyset_debug):
241         (yyget_lval):
242         (yyset_lval):
243         (yylex_init):
244         (yylex_init_extra):
245         (yy_init_globals):
246         (yylex_destroy):
247         (yy_flex_strncpy):
248         (yy_flex_strlen):
249         (yyalloc):
250         (yyrealloc):
251         (yyfree):
252         (string_input):
253         (check_type):
254         (reserved_word):
255         (yyerror):
256         (glslang_initialize):
257         (glslang_finalize):
258         (glslang_scan):
259         * src/compiler/glslang_tab.cpp: Added.
260         (yytnamerr):
261         (yysyntax_error):
262         (glslang_parse):
263         * src/compiler/glslang_tab.h: Added.
264         * src/compiler/intermOut.cpp:
265         (TOutputTraverser::TOutputTraverser):
266         (OutputTreeText):
267         (TOutputTraverser::visitSymbol):
268         (TOutputTraverser::visitBinary):
269         (TOutputTraverser::visitUnary):
270         (TOutputTraverser::visitAggregate):
271         (TOutputTraverser::visitSelection):
272         (TOutputTraverser::visitConstantUnion):
273         (TOutputTraverser::visitLoop):
274         (TOutputTraverser::visitBranch):
275         (TIntermediate::outputTree):
276         * src/compiler/intermediate.h:
277         (TIntermLoop::TIntermLoop):
278         (TIntermLoop::getType):
279         (TIntermLoop::getInit):
280         (TIntermLoop::getCondition):
281         (TIntermLoop::getExpression):
282         (TIntermLoop::getBody):
283         * src/compiler/localintermediate.h:
284         * src/compiler/osinclude.h:
285         (OS_GetTLSValue):
286         * src/compiler/ossource_nspr.cpp: Added.
287         (OS_AllocTLSIndex):
288         (OS_SetTLSValue):
289         (OS_FreeTLSIndex):
290         * src/compiler/preprocessor/compile.h:
291         * src/compiler/preprocessor/cpp.c:
292         (CPPdefine):
293         (CPPelse):
294         (CPPif):
295         (CPPifdef):
296         (CPPerror):
297         (CPPextension):
298         (readCPPline):
299         * src/compiler/preprocessor/preprocess.h:
300         * src/compiler/preprocessor/scanner.c:
301         (str_getch):
302         (str_ungetch):
303         (ScanFromString):
304         (lFloatConst):
305         (byte_scan):
306         (yylex_CPP):
307         (check_EOF):
308         * src/compiler/preprocessor/scanner.h:
309         * src/compiler/preprocessor/tokens.c:
310         (RecordToken):
311         (ReadToken):
312         * src/compiler/tools: Removed.
313         * src/compiler/unistd.h: Removed.
314         * src/compiler/util.cpp: Added.
315         (atof_dot):
316         * src/compiler/util.h: Added.
317         * src/libEGL/Config.cpp:
318         (egl::Config::set):
319         * src/libEGL/Display.cpp:
320         (egl::Display::Display):
321         (egl::Display::initialize):
322         (egl::Display::terminate):
323         (egl::Display::createDevice):
324         (egl::Display::resetDevice):
325         (egl::Display::createContext):
326         (egl::Display::destroyContext):
327         (egl::Display::getMinSwapInterval):
328         (egl::Display::getMaxSwapInterval):
329         (egl::Display::getDevice):
330         (egl::Display::getFloatTextureSupport):
331         (egl::Display::getHalfFloatTextureSupport):
332         (egl::Display::getLuminanceTextureSupport):
333         (egl::Display::getLuminanceAlphaTextureSupport):
334         (egl::Display::getBufferPool):
335         (egl::Display::getEventQuerySupport):
336         (egl::Display::getDefaultPresentParameters):
337         * src/libEGL/Display.h:
338         * src/libEGL/Surface.cpp:
339         (egl::Surface::Surface):
340         (egl::Surface::~Surface):
341         (egl::Surface::release):
342         (egl::Surface::resetSwapChain):
343         (egl::Surface::writeRecordableFlipState):
344         (egl::Surface::restoreState):
345         (egl::SurfaceWindowProc):
346         (egl::Surface::subclassWindow):
347         (egl::Surface::unsubclassWindow):
348         (egl::Surface::checkForOutOfDateSwapChain):
349         (egl::Surface::convertInterval):
350         (egl::Surface::swap):
351         (egl::Surface::getRenderTarget):
352         (egl::Surface::setSwapInterval):
353         * src/libEGL/Surface.h:
354         * src/libEGL/libEGL.cpp:
355         * src/libGLESv2/Blit.cpp:
356         (gl::Blit::copySurfaceToTexture):
357         (gl::Blit::setCommonBlitState):
358         * src/libGLESv2/Buffer.cpp:
359         (gl::Buffer::Buffer):
360         (gl::Buffer::~Buffer):
361         (gl::Buffer::bufferData):
362         (gl::Buffer::bufferSubData):
363         (gl::Buffer::getVertexBuffer):
364         (gl::Buffer::getIndexBuffer):
365         (gl::Buffer::invalidateStaticData):
366         * src/libGLESv2/Buffer.h:
367         * src/libGLESv2/Context.cpp:
368         (gl::Context::Context):
369         (gl::Context::~Context):
370         (gl::Context::makeCurrent):
371         (gl::Context::markAllStateDirty):
372         (gl::Context::setFragmentShaderDerivativeHint):
373         (gl::Context::setEnableVertexAttribArray):
374         (gl::Context::getVertexAttribState):
375         (gl::Context::getVertexAttributes):
376         (gl::Context::createFence):
377         (gl::Context::deleteFence):
378         (gl::Context::bindTexture2D):
379         (gl::Context::bindTextureCubeMap):
380         (gl::Context::getFence):
381         (gl::Context::getTexture2D):
382         (gl::Context::getTextureCubeMap):
383         (gl::Context::getSamplerTexture):
384         (gl::Context::getBooleanv):
385         (gl::Context::getIntegerv):
386         (gl::Context::getQueryParameterInfo):
387         (gl::Context::applyRenderTarget):
388         (gl::Context::applyState):
389         (gl::Context::lookupAttributeMapping):
390         (gl::Context::applyVertexBuffer):
391         (gl::Context::applyIndexBuffer):
392         (gl::Context::readPixels):
393         (gl::Context::clear):
394         (gl::Context::drawArrays):
395         (gl::Context::drawElements):
396         (gl::Context::finish):
397         (gl::Context::drawClosingLine):
398         (gl::Context::getMaximumVaryingVectors):
399         (gl::Context::getMaximumFragmentUniformVectors):
400         (gl::Context::supportsEventQueries):
401         (gl::Context::supportsFloatTextures):
402         (gl::Context::supportsFloatLinearFilter):
403         (gl::Context::supportsFloatRenderableTextures):
404         (gl::Context::supportsHalfFloatTextures):
405         (gl::Context::supportsHalfFloatLinearFilter):
406         (gl::Context::supportsHalfFloatRenderableTextures):
407         (gl::Context::getMaximumRenderbufferDimension):
408         (gl::Context::getMaximumTextureDimension):
409         (gl::Context::getMaximumCubeTextureDimension):
410         (gl::Context::getMaximumTextureLevel):
411         (gl::Context::supportsLuminanceTextures):
412         (gl::Context::supportsLuminanceAlphaTextures):
413         (gl::Context::supports32bitIndices):
414         (gl::Context::getIncompleteTexture):
415         (gl::Context::setVertexAttrib):
416         (gl::Context::initExtensionString):
417         (gl::Context::blitFramebuffer):
418         * src/libGLESv2/Context.h:
419         (gl::VertexAttribute::VertexAttribute):
420         (gl::VertexAttribute::typeSize):
421         (gl::VertexAttribute::stride):
422         * src/libGLESv2/Fence.cpp: Added.
423         (gl::Fence::Fence):
424         (gl::Fence::~Fence):
425         (gl::Fence::isFence):
426         (gl::Fence::setFence):
427         (gl::Fence::testFence):
428         (gl::Fence::finishFence):
429         (gl::Fence::getFenceiv):
430         * src/libGLESv2/Fence.h: Added.
431         * src/libGLESv2/Framebuffer.cpp:
432         (gl::Framebuffer::completeness):
433         (gl::DefaultFramebuffer::DefaultFramebuffer):
434         (gl::DefaultFramebuffer::completeness):
435         * src/libGLESv2/Program.cpp:
436         (gl::Program::Program):
437         (gl::Program::getSamplerMapping):
438         (gl::Program::getUniformLocation):
439         (gl::Program::setUniform1iv):
440         (gl::Program::applyUniforms):
441         (gl::Program::packVaryings):
442         (gl::Program::linkVaryings):
443         (gl::Program::link):
444         (gl::Program::defineUniform):
445         (gl::Program::createUniform):
446         (gl::Program::applyUniform1iv):
447         (gl::Program::resetInfoLog):
448         (gl::Program::unlink):
449         (gl::Program::getActiveAttribute):
450         (gl::Program::getActiveUniform):
451         (gl::Program::getDxDepthRangeLocation):
452         * src/libGLESv2/Program.h:
453         * src/libGLESv2/RefCountObject.cpp:
454         (gl::RefCountObject::~RefCountObject):
455         * src/libGLESv2/Renderbuffer.cpp:
456         (gl::RenderbufferStorage::RenderbufferStorage):
457         (gl::RenderbufferStorage::isFloatingPoint):
458         (gl::Colorbuffer::Colorbuffer):
459         (gl::DepthStencilbuffer::DepthStencilbuffer):
460         * src/libGLESv2/Renderbuffer.h:
461         * src/libGLESv2/Shader.cpp:
462         (gl::Shader::Shader):
463         (gl::Shader::parseVaryings):
464         (gl::Shader::compileToHLSL):
465         (gl::VertexShader::parseAttributes):
466         * src/libGLESv2/Texture.cpp:
467         (gl::Texture::Texture):
468         (gl::Texture::isFloatingPoint):
469         (gl::Texture::isRenderableFormat):
470         (gl::Texture::selectFormat):
471         (gl::Texture::loadImageData):
472         (gl::Texture::loadAlphaFloatImageData):
473         (gl::Texture::loadAlphaHalfFloatImageData):
474         (gl::Texture::loadLuminanceImageData):
475         (gl::Texture::loadLuminanceFloatImageData):
476         (gl::Texture::loadLuminanceHalfFloatImageData):
477         (gl::Texture::loadLuminanceAlphaImageData):
478         (gl::Texture::loadLuminanceAlphaFloatImageData):
479         (gl::Texture::loadLuminanceAlphaHalfFloatImageData):
480         (gl::Texture::loadRGBFloatImageData):
481         (gl::Texture::loadRGBHalfFloatImageData):
482         (gl::Texture::loadRGBAFloatImageData):
483         (gl::Texture::loadRGBAHalfFloatImageData):
484         (gl::Texture::createSurface):
485         (gl::Texture::setImage):
486         (gl::Texture::setCompressedImage):
487         (gl::Texture::subImage):
488         (gl::Texture::subImageCompressed):
489         (gl::Texture::copyNonRenderable):
490         (gl::Texture::getD3DFormat):
491         (gl::Texture::isRenderable):
492         (gl::Texture2D::Texture2D):
493         (gl::Texture2D::~Texture2D):
494         (gl::Texture2D::redefineTexture):
495         (gl::Texture2D::setImage):
496         (gl::Texture2D::setCompressedImage):
497         (gl::Texture2D::copyImage):
498         (gl::Texture2D::copySubImage):
499         (gl::Texture2D::isComplete):
500         (gl::Texture2D::createTexture):
501         (gl::Texture2D::convertToRenderTarget):
502         (gl::Texture2D::generateMipmaps):
503         (gl::Texture2D::getColorbuffer):
504         (gl::Texture2D::getRenderTarget):
505         (gl::TextureCubeMap::TextureCubeMap):
506         (gl::TextureCubeMap::~TextureCubeMap):
507         (gl::TextureCubeMap::subImage):
508         (gl::TextureCubeMap::subImageCompressed):
509         (gl::TextureCubeMap::isComplete):
510         (gl::TextureCubeMap::createTexture):
511         (gl::TextureCubeMap::convertToRenderTarget):
512         (gl::TextureCubeMap::redefineTexture):
513         (gl::TextureCubeMap::copyImage):
514         (gl::TextureCubeMap::copySubImage):
515         (gl::TextureCubeMap::generateMipmaps):
516         (gl::TextureCubeMap::getColorbuffer):
517         (gl::TextureCubeMap::getRenderTarget):
518         (gl::Texture::TextureColorbufferProxy::TextureColorbufferProxy):
519         (gl::Texture::TextureColorbufferProxy::isFloatingPoint):
520         * src/libGLESv2/Texture.h:
521         * src/libGLESv2/geometry/IndexDataManager.cpp:
522         (gl::IndexDataManager::IndexDataManager):
523         (gl::IndexDataManager::~IndexDataManager):
524         (gl::convertIndices):
525         (gl::computeRange):
526         (gl::IndexDataManager::prepareIndexData):
527         (gl::IndexDataManager::indexSize):
528         (gl::IndexDataManager::typeSize):
529         (gl::IndexBuffer::IndexBuffer):
530         (gl::IndexBuffer::~IndexBuffer):
531         (gl::IndexBuffer::getBuffer):
532         (gl::IndexBuffer::unmap):
533         (gl::StreamingIndexBuffer::StreamingIndexBuffer):
534         (gl::StreamingIndexBuffer::~StreamingIndexBuffer):
535         (gl::StreamingIndexBuffer::map):
536         (gl::StreamingIndexBuffer::reserveSpace):
537         (gl::StaticIndexBuffer::StaticIndexBuffer):
538         (gl::StaticIndexBuffer::~StaticIndexBuffer):
539         (gl::StaticIndexBuffer::map):
540         (gl::StaticIndexBuffer::reserveSpace):
541         (gl::StaticIndexBuffer::lookupType):
542         (gl::StaticIndexBuffer::lookupRange):
543         (gl::StaticIndexBuffer::addRange):
544         * src/libGLESv2/geometry/IndexDataManager.h:
545         (gl::IndexBuffer::size):
546         * src/libGLESv2/geometry/VertexDataManager.cpp:
547         (gl::VertexDataManager::VertexDataManager):
548         (gl::VertexDataManager::~VertexDataManager):
549         (gl::VertexDataManager::writeAttributeData):
550         (gl::VertexDataManager::prepareVertexData):
551         (gl::VertexDataManager::spaceRequired):
552         (gl::VertexDataManager::checkVertexCaps):
553         (gl::VertexDataManager::typeIndex):
554         (gl::VertexDataManager::setupAttributes):
555         (gl::VertexBuffer::VertexBuffer):
556         (gl::VertexBuffer::~VertexBuffer):
557         (gl::VertexBuffer::unmap):
558         (gl::VertexBuffer::getBuffer):
559         (gl::ConstantVertexBuffer::ConstantVertexBuffer):
560         (gl::ConstantVertexBuffer::~ConstantVertexBuffer):
561         (gl::ArrayVertexBuffer::ArrayVertexBuffer):
562         (gl::ArrayVertexBuffer::~ArrayVertexBuffer):
563         (gl::ArrayVertexBuffer::addRequiredSpace):
564         (gl::ArrayVertexBuffer::addRequiredSpaceFor):
565         (gl::StreamingVertexBuffer::StreamingVertexBuffer):
566         (gl::StreamingVertexBuffer::~StreamingVertexBuffer):
567         (gl::StreamingVertexBuffer::map):
568         (gl::StreamingVertexBuffer::reserveRequiredSpace):
569         (gl::StaticVertexBuffer::StaticVertexBuffer):
570         (gl::StaticVertexBuffer::~StaticVertexBuffer):
571         (gl::StaticVertexBuffer::map):
572         (gl::StaticVertexBuffer::reserveRequiredSpace):
573         (gl::StaticVertexBuffer::lookupAttribute):
574         (gl::VertexDataManager::formatConverter):
575         * src/libGLESv2/geometry/VertexDataManager.h:
576         (gl::ArrayVertexBuffer::size):
577         (gl::VertexDataManager::dirtyCurrentValue):
578         * src/libGLESv2/geometry/backend.cpp: Removed.
579         * src/libGLESv2/geometry/backend.h: Removed.
580         * src/libGLESv2/geometry/dx9.cpp: Removed.
581         * src/libGLESv2/geometry/dx9.h: Removed.
582         * src/libGLESv2/libGLESv2.cpp:
583         * src/libGLESv2/libGLESv2.def:
584         * src/libGLESv2/libGLESv2.vcproj:
585         * src/libGLESv2/utilities.cpp:
586         (gl::UniformComponentCount):
587         (gl::UniformComponentType):
588         (gl::ComputePixelSize):
589         (gl::CheckTextureFormatType):
590         (gl::IsColorRenderable):
591         (gl::IsDepthRenderable):
592         (gl::IsStencilRenderable):
593         (es2dx::GetAlphaSize):
594         (es2dx::GetRedSize):
595         (es2dx::GetGreenSize):
596         (es2dx::GetBlueSize):
597         (es2dx::GetDepthSize):
598         (es2dx::ConvertPrimitiveType):
599         (dx2es::ConvertBackBufferFormat):
600         (dx2es::ConvertDepthStencilFormat):
601         * src/libGLESv2/utilities.h:
602
603 2011-01-17  Dan Bernstein  <mitz@apple.com>
604
605         Rubber-stamped by Mark Rowe.
606
607         Update xcodeproj svn:ignore to include xcuserdata.
608
609         * ANGLE.xcodeproj: Modified property svn:ignore.
610         * src/build_angle.xcodeproj: Modified property svn:ignore.
611
612 2010-12-01  Steve Falkenburg  <sfalken@apple.com>
613
614         Reviewed by Adam Roben.
615
616         vcproj changes can't be applied cleanly by the Windows EWS bot
617         https://bugs.webkit.org/show_bug.cgi?id=50328
618
619         * src/libEGL/libEGL.vcproj: Added property svn:eol-style.
620         * src/libGLESv2/libGLESv2.vcproj: Added property svn:eol-style.
621
622 2010-11-03  Darin Adler  <darin@apple.com>
623
624         Updated Xcode projects by opening them with Xcode 3.2.4.
625         Updated svn:ignore for Xcode projects.
626
627         * ANGLE.xcodeproj: Added property svn:ignore.
628         * ANGLE.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
629         * src/build_angle.xcodeproj: Added property svn:ignore.
630         * src/build_angle.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
631
632 2010-09-01  Zhenyao Mo  <zmo@google.com>
633
634         Reviewed by Kenneth Russell.
635
636         Roll ANGLE under webkit to r402
637         https://bugs.webkit.org/show_bug.cgi?id=45004
638
639         * ANGLE.xcodeproj/project.pbxproj:
640         * include/GLES2/gl2ext.h:
641         * include/GLSLANG/ResourceLimits.h: Removed.
642         * include/GLSLANG/ShaderLang.h:
643         * src/compiler/BaseTypes.h:
644         (getPrecisionString):
645         (getBasicString):
646         (IsSampler):
647         (getQualifierString):
648         * src/compiler/Initialize.cpp:
649         (BuiltInConstants):
650         (IdentifyBuiltIns):
651         * src/compiler/Initialize.h:
652         * src/compiler/InitializeDll.cpp:
653         (InitProcess):
654         (DetachProcess):
655         (InitThread):
656         (DetachThread):
657         * src/compiler/InitializeDll.h:
658         * src/compiler/InitializeParseContext.h:
659         * src/compiler/Intermediate.cpp:
660         (GetHigherPrecision):
661         (TIntermediate::addBinaryMath):
662         (TIntermediate::setAggregateOperator):
663         (TIntermediate::addComma):
664         (TIntermediate::postProcess):
665         (TIntermBinary::promote):
666         (CompareStruct):
667         * src/compiler/OutputGLSL.cpp:
668         (TOutputGLSL::writeFunctionParameters):
669         (TOutputGLSL::visitUnary):
670         (TOutputGLSL::visitBranch):
671         * src/compiler/OutputHLSL.cpp:
672         (sh::OutputHLSL::header):
673         (sh::OutputHLSL::visitBinary):
674         (sh::OutputHLSL::visitAggregate):
675         (sh::OutputHLSL::handleExcessiveLoop):
676         (sh::OutputHLSL::addConstructor):
677         * src/compiler/ParseHelper.cpp:
678         (TParseContext::constructorErrorCheck):
679         (TParseContext::samplerErrorCheck):
680         (TParseContext::paramErrorCheck):
681         (TParseContext::findFunction):
682         (TParseContext::executeInitializer):
683         (TParseContext::addConstructor):
684         (TParseContext::addConstStruct):
685         (FreeParseContextIndex):
686         (GetGlobalParseContext):
687         * src/compiler/PoolAlloc.h:
688         (TPoolAllocator::tHeader::tHeader):
689         (pool_allocator::allocate):
690         (pool_allocator::deallocate):
691         * src/compiler/ShaderLang.cpp:
692         (ShInitialize):
693         (ShFinalize):
694         (ShInitBuiltInResource):
695         * src/compiler/SymbolTable.cpp:
696         (TType::getStructSize):
697         * src/compiler/SymbolTable.h:
698         (TVariable::setQualifier):
699         * src/compiler/Types.h:
700         (TType::TType):
701         (TType::getBasicType):
702         (TType::setBasicType):
703         (TType::getPrecision):
704         (TType::setPrecision):
705         (TType::getQualifier):
706         (TType::setQualifier):
707         (TType::getNominalSize):
708         (TType::setNominalSize):
709         (TType::isMatrix):
710         (TType::setMatrix):
711         (TType::isArray):
712         (TType::getArraySize):
713         (TType::setArraySize):
714         (TType::getMaxArraySize):
715         (TType::setMaxArraySize):
716         (TType::clearArrayness):
717         (TType::setArrayInformationType):
718         (TType::getArrayInformationType):
719         (TType::isVector):
720         (TType::isScalar):
721         (TType::setStruct):
722         (TType::getTypeName):
723         (TType::setTypeName):
724         (TType::isField):
725         (TType::getFieldName):
726         (TType::setFieldName):
727         (TType::getBasicString):
728         (TType::getPrecisionString):
729         (TType::getQualifierString):
730         * src/compiler/glslang.l:
731         * src/compiler/glslang.y:
732         * src/compiler/intermediate.h:
733         (TIntermNode::getLine):
734         (TIntermNode::setLine):
735         (TIntermTyped::getAsTyped):
736         (TIntermTyped::setType):
737         (TIntermTyped::getType):
738         (TIntermTyped::getTypePointer):
739         (TIntermTyped::getBasicType):
740         (TIntermTyped::getQualifier):
741         (TIntermTyped::getPrecision):
742         (TIntermTyped::getNominalSize):
743         (TIntermTyped::isMatrix):
744         (TIntermTyped::isArray):
745         (TIntermTyped::isVector):
746         (TIntermTyped::isScalar):
747         (TIntermTyped::getBasicString):
748         (TIntermTyped::getQualifierString):
749         (TIntermSymbol::getId):
750         (TIntermSymbol::getSymbol):
751         (TIntermOperator::setOp):
752         (TIntermBinary::setLeft):
753         (TIntermBinary::setRight):
754         (TIntermBinary::getLeft):
755         (TIntermBinary::getRight):
756         (TIntermUnary::setOperand):
757         (TIntermUnary::getOperand):
758         (TIntermAggregate::getAsAggregate):
759         (TIntermAggregate::getSequence):
760         (TIntermAggregate::setName):
761         (TIntermAggregate::getName):
762         (TIntermAggregate::setUserDefined):
763         (TIntermAggregate::isUserDefined):
764         (TIntermAggregate::getQualifier):
765         (TIntermAggregate::setOptimize):
766         (TIntermAggregate::setDebug):
767         (TIntermSelection::getCondition):
768         (TIntermSelection::getTrueBlock):
769         (TIntermSelection::getFalseBlock):
770         (TIntermSelection::getAsSelectionNode):
771         * src/compiler/parseConst.cpp:
772         (TConstTraverser::TConstTraverser):
773         * src/compiler/preprocessor/atom.c:
774         (InitAtomTable):
775         * src/compiler/preprocessor/atom.h:
776         * src/compiler/preprocessor/compile.h:
777         * src/compiler/preprocessor/cpp.c:
778         * src/compiler/preprocessor/cpp.h:
779         * src/compiler/preprocessor/cppstruct.c:
780         * src/compiler/preprocessor/memory.c:
781         * src/compiler/preprocessor/memory.h:
782         * src/compiler/preprocessor/parser.h:
783         * src/compiler/preprocessor/preprocess.h:
784         * src/compiler/preprocessor/scanner.c:
785         * src/compiler/preprocessor/scanner.h:
786         * src/compiler/preprocessor/slglobals.h:
787         * src/compiler/preprocessor/symbols.c:
788         (NewSymbol):
789         * src/compiler/preprocessor/symbols.h:
790         * src/compiler/preprocessor/tokens.c:
791         (RecordToken):
792         * src/compiler/preprocessor/tokens.h:
793         * src/libEGL/Display.cpp:
794         (egl::Display::Display):
795         (egl::Display::initialize):
796         (egl::Display::terminate):
797         (egl::Display::createDevice):
798         (egl::Display::createWindowSurface):
799         (egl::Display::createContext):
800         (egl::Display::getMultiSampleSupport):
801         (egl::Display::getCompressedTextureSupport):
802         * src/libEGL/Display.h:
803         * src/libEGL/Surface.cpp:
804         (egl::Surface::Surface):
805         (egl::Surface::resetSwapChain):
806         (egl::Surface::getWindowHandle):
807         (egl::Surface::writeRecordableFlipState):
808         (egl::Surface::applyFlipState):
809         (egl::Surface::releaseRecordedState):
810         (egl::Surface::checkForWindowResize):
811         (egl::Surface::swap):
812         * src/libEGL/Surface.h:
813         * src/libEGL/libEGL.cpp:
814         * src/libEGL/libEGL.vcproj:
815         * src/libGLESv2/Blit.cpp:
816         (gl::Blit::setVertexShader):
817         (gl::Blit::setPixelShader):
818         (gl::Blit::setFormatConvertShaders):
819         * src/libGLESv2/Buffer.cpp:
820         (gl::Buffer::Buffer):
821         * src/libGLESv2/Buffer.h:
822         * src/libGLESv2/Context.cpp:
823         (gl::Context::Context):
824         (gl::Context::~Context):
825         (gl::Context::makeCurrent):
826         (gl::Context::markAllStateDirty):
827         (gl::Context::getReadFramebufferHandle):
828         (gl::Context::getDrawFramebufferHandle):
829         (gl::Context::getRenderbufferHandle):
830         (gl::Context::getArrayBufferHandle):
831         (gl::Context::setVertexAttribState):
832         (gl::Context::createBuffer):
833         (gl::Context::createProgram):
834         (gl::Context::createShader):
835         (gl::Context::createTexture):
836         (gl::Context::createRenderbuffer):
837         (gl::Context::deleteBuffer):
838         (gl::Context::deleteShader):
839         (gl::Context::deleteProgram):
840         (gl::Context::deleteTexture):
841         (gl::Context::deleteRenderbuffer):
842         (gl::Context::getBuffer):
843         (gl::Context::getShader):
844         (gl::Context::getProgram):
845         (gl::Context::getTexture):
846         (gl::Context::getRenderbuffer):
847         (gl::Context::getReadFramebuffer):
848         (gl::Context::getDrawFramebuffer):
849         (gl::Context::bindArrayBuffer):
850         (gl::Context::bindElementArrayBuffer):
851         (gl::Context::bindTexture2D):
852         (gl::Context::bindTextureCubeMap):
853         (gl::Context::bindReadFramebuffer):
854         (gl::Context::bindDrawFramebuffer):
855         (gl::Context::bindRenderbuffer):
856         (gl::Context::useProgram):
857         (gl::Context::setFramebufferZero):
858         (gl::Context::setRenderbufferStorage):
859         (gl::Context::getFramebuffer):
860         (gl::Context::getArrayBuffer):
861         (gl::Context::getElementArrayBuffer):
862         (gl::Context::getCurrentProgram):
863         (gl::Context::getTexture2D):
864         (gl::Context::getTextureCubeMap):
865         (gl::Context::getSamplerTexture):
866         (gl::Context::getFloatv):
867         (gl::Context::getIntegerv):
868         (gl::Context::getQueryParameterInfo):
869         (gl::Context::applyRenderTarget):
870         (gl::Context::applyState):
871         (gl::Context::applyIndexBuffer):
872         (gl::Context::readPixels):
873         (gl::Context::clear):
874         (gl::Context::finish):
875         (gl::Context::flush):
876         (gl::Context::supportsShaderModel3):
877         (gl::Context::getMaxSupportedSamples):
878         (gl::Context::getNearestSupportedSamples):
879         (gl::Context::supportsCompressedTextures):
880         (gl::Context::detachBuffer):
881         (gl::Context::detachTexture):
882         (gl::Context::detachFramebuffer):
883         (gl::Context::detachRenderbuffer):
884         (gl::Context::getIncompleteTexture):
885         (gl::Context::initExtensionString):
886         (gl::Context::blitFramebuffer):
887         * src/libGLESv2/Context.h:
888         (gl::AttributeState::AttributeState):
889         * src/libGLESv2/Framebuffer.cpp:
890         (gl::Framebuffer::Framebuffer):
891         (gl::Framebuffer::~Framebuffer):
892         (gl::Framebuffer::lookupRenderbuffer):
893         (gl::Framebuffer::setColorbuffer):
894         (gl::Framebuffer::setDepthbuffer):
895         (gl::Framebuffer::setStencilbuffer):
896         (gl::Framebuffer::detachTexture):
897         (gl::Framebuffer::detachRenderbuffer):
898         (gl::Framebuffer::getRenderTargetSerial):
899         (gl::Framebuffer::getRenderTarget):
900         (gl::Framebuffer::getDepthStencil):
901         (gl::Framebuffer::getDepthbufferSerial):
902         (gl::Framebuffer::getStencilbufferSerial):
903         (gl::Framebuffer::getColorbuffer):
904         (gl::Framebuffer::getDepthbuffer):
905         (gl::Framebuffer::getStencilbuffer):
906         (gl::Framebuffer::getColorbufferHandle):
907         (gl::Framebuffer::getDepthbufferHandle):
908         (gl::Framebuffer::getStencilbufferHandle):
909         (gl::Framebuffer::hasStencil):
910         (gl::Framebuffer::isMultisample):
911         (gl::Framebuffer::completeness):
912         (gl::DefaultFramebuffer::DefaultFramebuffer):
913         (gl::Framebuffer::getSamples):
914         (gl::DefaultFramebuffer::completeness):
915         * src/libGLESv2/Framebuffer.h:
916         * src/libGLESv2/Program.cpp:
917         (gl::Program::Program):
918         (gl::Program::~Program):
919         (gl::Program::attachShader):
920         (gl::Program::detachShader):
921         (gl::Program::linkVaryings):
922         (gl::Program::link):
923         (gl::Program::unlink):
924         (gl::Program::release):
925         (gl::Program::addRef):
926         (gl::Program::getRefCount):
927         (gl::Program::getDxViewportLocation):
928         * src/libGLESv2/Program.h:
929         * src/libGLESv2/RefCountObject.cpp: Added.
930         (gl::RefCountObject::RefCountObject):
931         (gl::RefCountObject::~RefCountObject):
932         (gl::RefCountObject::addRef):
933         (gl::RefCountObject::release):
934         (gl::RefCountObjectBindingPointer::set):
935         * src/libGLESv2/RefCountObject.h: Added.
936         (gl::RefCountObject::id):
937         (gl::RefCountObjectBindingPointer::RefCountObjectBindingPointer):
938         (gl::RefCountObjectBindingPointer::~RefCountObjectBindingPointer):
939         (gl::RefCountObjectBindingPointer::get):
940         (gl::RefCountObjectBindingPointer::id):
941         (gl::RefCountObjectBindingPointer::operator ! ):
942         (gl::BindingPointer::set):
943         (gl::BindingPointer::get):
944         (gl::BindingPointer::operator -> ):
945         * src/libGLESv2/Renderbuffer.cpp:
946         (gl::Renderbuffer::Renderbuffer):
947         (gl::Renderbuffer::~Renderbuffer):
948         (gl::Renderbuffer::isColorbuffer):
949         (gl::Renderbuffer::isDepthbuffer):
950         (gl::Renderbuffer::isStencilbuffer):
951         (gl::Renderbuffer::getRenderTarget):
952         (gl::Renderbuffer::getDepthStencil):
953         (gl::Renderbuffer::getWidth):
954         (gl::Renderbuffer::getHeight):
955         (gl::Renderbuffer::getFormat):
956         (gl::Renderbuffer::getD3DFormat):
957         (gl::Renderbuffer::getSerial):
958         (gl::Renderbuffer::setStorage):
959         (gl::RenderbufferStorage::RenderbufferStorage):
960         (gl::RenderbufferStorage::~RenderbufferStorage):
961         (gl::RenderbufferStorage::isColorbuffer):
962         (gl::RenderbufferStorage::isDepthbuffer):
963         (gl::RenderbufferStorage::isStencilbuffer):
964         (gl::RenderbufferStorage::getRenderTarget):
965         (gl::RenderbufferStorage::getDepthStencil):
966         (gl::RenderbufferStorage::getWidth):
967         (gl::RenderbufferStorage::getHeight):
968         (gl::RenderbufferStorage::setSize):
969         (gl::RenderbufferStorage::getFormat):
970         (gl::RenderbufferStorage::getD3DFormat):
971         (gl::RenderbufferStorage::getSamples):
972         (gl::RenderbufferStorage::getSerial):
973         (gl::RenderbufferStorage::issueSerial):
974         (gl::Colorbuffer::Colorbuffer):
975         (gl::Colorbuffer::isColorbuffer):
976         (gl::Colorbuffer::getRedSize):
977         (gl::Colorbuffer::getGreenSize):
978         (gl::Colorbuffer::getBlueSize):
979         (gl::Colorbuffer::getAlphaSize):
980         (gl::DepthStencilbuffer::DepthStencilbuffer):
981         (gl::DepthStencilbuffer::~DepthStencilbuffer):
982         (gl::DepthStencilbuffer::isDepthbuffer):
983         (gl::DepthStencilbuffer::isStencilbuffer):
984         (gl::DepthStencilbuffer::getDepthSize):
985         (gl::DepthStencilbuffer::getStencilSize):
986         (gl::DepthStencilbuffer::getDepthStencil):
987         (gl::Depthbuffer::Depthbuffer):
988         (gl::Depthbuffer::~Depthbuffer):
989         (gl::Depthbuffer::isDepthbuffer):
990         (gl::Depthbuffer::isStencilbuffer):
991         (gl::Stencilbuffer::Stencilbuffer):
992         (gl::Stencilbuffer::~Stencilbuffer):
993         (gl::Stencilbuffer::isDepthbuffer):
994         (gl::Stencilbuffer::isStencilbuffer):
995         * src/libGLESv2/Renderbuffer.h:
996         (gl::Renderbuffer::getStorage):
997         * src/libGLESv2/ResourceManager.cpp: Added.
998         (gl::ResourceManager::ResourceManager):
999         (gl::ResourceManager::~ResourceManager):
1000         (gl::ResourceManager::addRef):
1001         (gl::ResourceManager::release):
1002         (gl::ResourceManager::createBuffer):
1003         (gl::ResourceManager::createShader):
1004         (gl::ResourceManager::createProgram):
1005         (gl::ResourceManager::createTexture):
1006         (gl::ResourceManager::createRenderbuffer):
1007         (gl::ResourceManager::deleteBuffer):
1008         (gl::ResourceManager::deleteShader):
1009         (gl::ResourceManager::deleteProgram):
1010         (gl::ResourceManager::deleteTexture):
1011         (gl::ResourceManager::deleteRenderbuffer):
1012         (gl::ResourceManager::getBuffer):
1013         (gl::ResourceManager::getShader):
1014         (gl::ResourceManager::getTexture):
1015         (gl::ResourceManager::getProgram):
1016         (gl::ResourceManager::getRenderbuffer):
1017         (gl::ResourceManager::setRenderbuffer):
1018         (gl::ResourceManager::checkBufferAllocation):
1019         (gl::ResourceManager::checkTextureAllocation):
1020         (gl::ResourceManager::checkRenderbufferAllocation):
1021         * src/libGLESv2/ResourceManager.h: Added.
1022         * src/libGLESv2/Shader.cpp:
1023         (gl::Shader::Shader):
1024         (gl::Shader::addRef):
1025         (gl::Shader::release):
1026         (gl::Shader::getRefCount):
1027         (gl::Shader::parseVaryings):
1028         (gl::VertexShader::VertexShader):
1029         (gl::FragmentShader::FragmentShader):
1030         * src/libGLESv2/Shader.h:
1031         * src/libGLESv2/Texture.cpp:
1032         (gl::Texture::Image::Image):
1033         (gl::Texture::Texture):
1034         (gl::Texture::getBlitter):
1035         (gl::Texture::selectFormat):
1036         (gl::Texture::loadImageData):
1037         (gl::Texture::loadAlphaImageData):
1038         (gl::Texture::loadLuminanceImageData):
1039         (gl::Texture::loadLuminanceAlphaImageData):
1040         (gl::Texture::loadRGBUByteImageData):
1041         (gl::Texture::loadRGB565ImageData):
1042         (gl::Texture::loadRGBAUByteImageData):
1043         (gl::Texture::loadRGBA4444ImageData):
1044         (gl::Texture::loadRGBA5551ImageData):
1045         (gl::Texture::loadBGRAImageData):
1046         (gl::Texture::createSurface):
1047         (gl::Texture::setImage):
1048         (gl::Texture::setCompressedImage):
1049         (gl::Texture::subImage):
1050         (gl::Texture::subImageCompressed):
1051         (gl::Texture2D::Texture2D):
1052         (gl::Texture2D::getFormat):
1053         (gl::Texture2D::setCompressedImage):
1054         (gl::Texture2D::subImage):
1055         (gl::Texture2D::subImageCompressed):
1056         (gl::Texture2D::copyImage):
1057         (gl::Texture2D::copySubImage):
1058         (gl::Texture2D::isCompressed):
1059         (gl::Texture2D::getColorbuffer):
1060         (gl::TextureCubeMap::TextureCubeMap):
1061         (gl::TextureCubeMap::getFormat):
1062         (gl::TextureCubeMap::setCompressedImage):
1063         (gl::TextureCubeMap::subImage):
1064         (gl::TextureCubeMap::subImageCompressed):
1065         (gl::TextureCubeMap::isCompressed):
1066         (gl::TextureCubeMap::copyImage):
1067         (gl::TextureCubeMap::copySubImage):
1068         (gl::TextureCubeMap::getColorbuffer):
1069         (gl::Texture::TextureColorbufferProxy::addRef):
1070         (gl::Texture::TextureColorbufferProxy::release):
1071         (gl::Texture::TextureColorbufferProxy::getWidth):
1072         (gl::Texture::TextureColorbufferProxy::getHeight):
1073         (gl::Texture::TextureColorbufferProxy::getFormat):
1074         * src/libGLESv2/Texture.h:
1075         * src/libGLESv2/libGLESv2.cpp:
1076         * src/libGLESv2/libGLESv2.def:
1077         * src/libGLESv2/libGLESv2.vcproj:
1078         * src/libGLESv2/main.h:
1079         * src/libGLESv2/utilities.cpp:
1080         (gl::ComputeCompressedPitch):
1081         (gl::ComputeCompressedSize):
1082         (gl::IsCompressed):
1083         (gl::ComputePixelSize):
1084         (gl::CheckTextureFormatType):
1085         (es2dx::ConvertRenderbufferFormat):
1086         (es2dx::GetSamplesFromMultisampleType):
1087         (es2dx::GetMultisampleTypeFromSamples):
1088         * src/libGLESv2/utilities.h:
1089
1090 2010-08-17  Chris Marrin  <cmarrin@apple.com>
1091
1092         Unreviewed.
1093
1094         Moved previous link error fix to Base.xcconfig.
1095
1096         * ANGLE.xcodeproj/project.pbxproj:
1097         * Configurations/Base.xcconfig:
1098
1099 2010-08-17  Chris Marrin  <cmarrin@apple.com>
1100
1101         Unreviewed.
1102
1103         Got rid of link errors in WebCore.
1104
1105         Changed GCC_INLINES_ARE_PRIVATE_EXTERN to YES and
1106         GCC_SYMBOLS_PRIVATE_EXTERN to NO to match WebCore
1107         flags.
1108
1109         * ANGLE.xcodeproj/project.pbxproj:
1110
1111 2010-08-04  Kenneth Russell  <kbr@google.com>
1112
1113         Reviewed by Dimitri Glazkov.
1114
1115         Update ANGLE to r352
1116         https://bugs.webkit.org/show_bug.cgi?id=43500
1117
1118         Updated ANGLE to r352 (July 26, 2010). Built WebKit to test.
1119
1120         * include/GLSLANG/ShaderLang.h:
1121         * src/compiler/Initialize.cpp:
1122         (BuiltInFunctionsCommon):
1123         (BuiltInFunctionsVertex):
1124         (BuiltInFunctionsFragment):
1125         (StandardUniforms):
1126         (DefaultPrecisionVertex):
1127         (DefaultPrecisionFragment):
1128         (BuiltInConstants):
1129         (TBuiltIns::initialize):
1130         (IdentifyBuiltIns):
1131         * src/compiler/Initialize.h:
1132         (TBuiltIns::getBuiltInStrings):
1133         * src/compiler/OutputGLSL.cpp:
1134         (TOutputGLSL::visitSelection):
1135         * src/compiler/ShHandle.h:
1136         (TCompiler::getLanguage):
1137         (TCompiler::getSpec):
1138         (TCompiler::getSymbolTable):
1139         (TCompiler::getInfoSink):
1140         * src/compiler/ShaderLang.cpp:
1141         (InitializeSymbolTable):
1142         (GenerateBuiltInSymbolTable):
1143         (ShInitialize):
1144         (ShConstructCompiler):
1145         (ShFinalize):
1146         (ShCompile):
1147         * src/compiler/SymbolTable.h:
1148         (TSymbolTable::atBuiltInLevel):
1149         (TSymbolTable::atGlobalLevel):
1150         (TSymbolTable::push):
1151         (TSymbolTable::getGlobalLevel):
1152         (TSymbolTable::currentLevel):
1153         * src/libGLESv2/Shader.cpp:
1154         (gl::Shader::Shader):
1155         (gl::Shader::compileToHLSL):
1156
1157 2010-08-03  Mark Rowe  <mrowe@apple.com>
1158
1159         Rubber-stamped by Adele Peterson.
1160
1161         Remove some unnecessary files from the ANGLE tree.
1162
1163         * src/compiler/tools/COPYING.bison: Removed.
1164         * src/compiler/tools/COPYING.flex: Removed.
1165         * src/compiler/tools/README: Removed.
1166         * src/compiler/tools/bison.hairy: Removed.
1167         * src/compiler/tools/bison.simple: Removed.
1168
1169 2010-08-03  Mark Rowe  <mrowe@apple.com>
1170
1171         Rubber-stamped by Adele Peterson.
1172
1173         Clean up the ANGLE Xcode project.
1174
1175         Main changes include:
1176         • Adding a Production configuration.
1177         • Modifying the library name from libangle.a to libANGLE.a.
1178         • Installing the headers in a subdirectory of /usr/local/include to avoid polluting the top-level directory.
1179         • Generating derived sources in to the built products directory so they're saved along with the symroot.
1180         • Switching to using .xcconfig files for maximum cleanliness.
1181
1182         * ANGLE.xcodeproj/project.pbxproj:
1183         * Configurations/ANGLE.xcconfig: Added.
1184         * Configurations/Base.xcconfig: Added.
1185         * Configurations/DebugRelease.xcconfig: Added.
1186
1187 2010-08-02  Paul Sawaya  <psawaya@apple.com>
1188
1189         Reviewed by Adele Peterson.
1190
1191         Add ANGLE library to WebKit. From the repository (http://angleproject.googlecode.com) as of July 22.
1192         https://bugs.webkit.org/show_bug.cgi?id=42789
1193