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