ANGLE shouldn't try to use internal SDKs. It doesn't need them!
[WebKit-https.git] / Source / ThirdParty / ANGLE / ChangeLog
1 2011-06-30  Mark Rowe  <mrowe@apple.com>
2
3         Rubber-stamped by Dan Bernstein.
4
5         ANGLE shouldn't try to use internal SDKs. It doesn't need them!
6
7         * Configurations/Base.xcconfig:
8
9 2011-06-20  Zhenyao Mo  <zmo@google.com>
10
11         Reviewed by Kenneth Russell.
12
13         Update ANGLE to r696
14         https://bugs.webkit.org/show_bug.cgi?id=56396
15
16         * ANGLE.xcodeproj/project.pbxproj:
17         * include/EGL/eglext.h:
18         * include/GLSLANG/ShaderLang.h:
19         * src/build_angle.xcodeproj/project.pbxproj:
20         * src/common/debug.cpp:
21         (gl::output):
22         (gl::trace):
23         (gl::perfActive):
24         (gl::ScopedPerfEventHelper::ScopedPerfEventHelper):
25         (gl::ScopedPerfEventHelper::~ScopedPerfEventHelper):
26         * src/common/debug.h:
27         * src/common/version.h: Added.
28         * src/compiler/CodeGenGLSL.cpp:
29         (ConstructCompiler):
30         * src/compiler/CodeGenHLSL.cpp:
31         (ConstructCompiler):
32         * src/compiler/Compiler.cpp:
33         (TCompiler::compile):
34         (TCompiler::mapLongVariableNames):
35         (TCompiler::getMappedNameMaxLength):
36         (TCompiler::getExtensionBehavior):
37         * src/compiler/ConstantUnion.h:
38         (ConstantUnion::operator==):
39         (ConstantUnion::operator>):
40         (ConstantUnion::operator<):
41         * src/compiler/ExtensionBehavior.h:
42         (getBehaviorString):
43         * src/compiler/ForLoopUnroll.cpp: Added.
44         (ForLoopUnroll::FillLoopIndexInfo):
45         (ForLoopUnroll::Step):
46         (ForLoopUnroll::SatisfiesLoopCondition):
47         (ForLoopUnroll::NeedsToReplaceSymbolWithValue):
48         (ForLoopUnroll::GetLoopIndexValue):
49         (ForLoopUnroll::Push):
50         (ForLoopUnroll::Pop):
51         (ForLoopUnroll::getLoopIncrement):
52         (ForLoopUnroll::evaluateIntConstant):
53         * src/compiler/ForLoopUnroll.h: Added.
54         (ForLoopUnroll::ForLoopUnroll):
55         * src/compiler/Initialize.cpp:
56         (BuiltInFunctionsVertex):
57         * src/compiler/MapLongVariableNames.cpp: Added.
58         (MapLongVariableNames::MapLongVariableNames):
59         (MapLongVariableNames::visitSymbol):
60         (MapLongVariableNames::visitConstantUnion):
61         (MapLongVariableNames::visitBinary):
62         (MapLongVariableNames::visitUnary):
63         (MapLongVariableNames::visitSelection):
64         (MapLongVariableNames::visitAggregate):
65         (MapLongVariableNames::visitLoop):
66         (MapLongVariableNames::visitBranch):
67         (MapLongVariableNames::mapVaryingLongName):
68         * src/compiler/MapLongVariableNames.h: Added.
69         * src/compiler/OutputESSL.cpp: Added.
70         (TOutputESSL::TOutputESSL):
71         (TOutputESSL::writeVariablePrecision):
72         * src/compiler/OutputESSL.h: Added.
73         * src/compiler/OutputGLSL.cpp:
74         (TOutputGLSL::TOutputGLSL):
75         (TOutputGLSL::writeVariablePrecision):
76         * src/compiler/OutputGLSL.h:
77         * src/compiler/OutputGLSLBase.cpp: Added.
78         (TOutputGLSLBase::TOutputGLSLBase):
79         (TOutputGLSLBase::writeTriplet):
80         (TOutputGLSLBase::writeVariableType):
81         (TOutputGLSLBase::writeFunctionParameters):
82         (TOutputGLSLBase::writeConstantUnion):
83         (TOutputGLSLBase::visitSymbol):
84         (TOutputGLSLBase::visitConstantUnion):
85         (TOutputGLSLBase::visitBinary):
86         (TOutputGLSLBase::visitUnary):
87         (TOutputGLSLBase::visitSelection):
88         (TOutputGLSLBase::visitAggregate):
89         (TOutputGLSLBase::visitLoop):
90         (TOutputGLSLBase::visitBranch):
91         (TOutputGLSLBase::visitCodeBlock):
92         * src/compiler/OutputGLSLBase.h: Added.
93         (TOutputGLSLBase::objSink):
94         * src/compiler/OutputHLSL.cpp:
95         (sh::OutputHLSL::OutputHLSL):
96         (sh::OutputHLSL::header):
97         (sh::OutputHLSL::visitUnary):
98         (sh::OutputHLSL::visitAggregate):
99         (sh::OutputHLSL::visitSelection):
100         (sh::OutputHLSL::visitLoop):
101         (sh::OutputHLSL::visitBranch):
102         (sh::OutputHLSL::handleExcessiveLoop):
103         (sh::OutputHLSL::outputLineDirective):
104         * src/compiler/OutputHLSL.h:
105         * src/compiler/ParseHelper.cpp:
106         (TParseContext::precisionErrorCheck):
107         (TParseContext::constructorErrorCheck):
108         (TParseContext::nonInitErrorCheck):
109         * src/compiler/ParseHelper.h:
110         (TParseContext::TParseContext):
111         * src/compiler/ShHandle.h:
112         * src/compiler/ShaderLang.cpp:
113         (getVariableInfo):
114         (ShConstructCompiler):
115         (ShGetInfo):
116         (ShGetActiveAttrib):
117         (ShGetActiveUniform):
118         * src/compiler/TranslatorESSL.cpp: Added.
119         (TranslatorESSL::TranslatorESSL):
120         (TranslatorESSL::translate):
121         (TranslatorESSL::writeExtensionBehavior):
122         * src/compiler/TranslatorESSL.h: Added.
123         * src/compiler/ValidateLimitations.cpp:
124         (ValidateLimitations::visitBinary):
125         (ValidateLimitations::visitLoop):
126         * src/compiler/ValidateLimitations.h:
127         * src/compiler/VariableInfo.cpp:
128         (getVariableInfo):
129         (getBuiltInVariableInfo):
130         (getUserDefinedVariableInfo):
131         (CollectAttribsUniforms::visitAggregate):
132         * src/compiler/VariableInfo.h:
133         * src/compiler/VersionGLSL.cpp:
134         (TVersionGLSL::visitSymbol):
135         (TVersionGLSL::visitConstantUnion):
136         (TVersionGLSL::visitBinary):
137         (TVersionGLSL::visitUnary):
138         (TVersionGLSL::visitSelection):
139         (TVersionGLSL::visitAggregate):
140         (TVersionGLSL::visitLoop):
141         (TVersionGLSL::visitBranch):
142         * src/compiler/VersionGLSL.h:
143         * src/compiler/glslang.y:
144         * src/compiler/glslang_tab.cpp:
145         * src/compiler/glslang_tab.h:
146         * src/compiler/intermediate.h:
147         (TIntermLoop::TIntermLoop):
148         (TIntermLoop::setUnrollFlag):
149         (TIntermLoop::getUnrollFlag):
150         (TIntermSymbol::TIntermSymbol):
151         (TIntermSymbol::setId):
152         (TIntermSymbol::setSymbol):
153         (TIntermSymbol::getOriginalSymbol):
154         (TIntermAggregate::TIntermAggregate):
155         (TIntermAggregate::setEndLine):
156         (TIntermAggregate::getEndLine):
157         * src/compiler/preprocessor/atom.c:
158         (AddString):
159         * src/compiler/preprocessor/compile.h:
160         * src/compiler/preprocessor/cpp.c:
161         (CPPelse):
162         (eval):
163         (CPPif):
164         (CPPifdef):
165         (readCPPline):
166         (ChkCorrectElseNesting):
167         * src/compiler/preprocessor/cppstruct.c:
168         (ResetPreprocessor):
169         * src/compiler/preprocessor/scanner.c:
170         (byte_scan):
171         (yylex_CPP):
172         * src/compiler/preprocessor/scanner.h:
173         * src/libEGL/Config.cpp:
174         (egl::Config::Config):
175         (egl::Config::set):
176         (egl::ConfigSet::add):
177         (egl::ConfigSet::getConfigs):
178         * src/libEGL/Config.h:
179         * src/libEGL/Display.cpp:
180         (egl::Display::Display):
181         (egl::Display::initialize):
182         (egl::Display::terminate):
183         (egl::Display::getConfigAttrib):
184         (egl::Display::createDevice):
185         (egl::Display::createWindowSurface):
186         (egl::Display::createOffscreenSurface):
187         (egl::Display::createContext):
188         (egl::Display::destroyContext):
189         (egl::Display::isInitialized):
190         (egl::Display::getAdapterIdentifier):
191         (egl::Display::isDeviceLost):
192         (egl::Display::getBufferPool):
193         (egl::Display::initExtensionString):
194         (egl::Display::getExtensionString):
195         (egl::Display::getVertexTextureSupport):
196         (egl::Display::getNonPower2TextureSupport):
197         * src/libEGL/Display.h:
198         (egl::Display::isD3d9ExDevice):
199         * src/libEGL/Surface.cpp:
200         (egl::Surface::Surface):
201         (egl::Surface::initialize):
202         (egl::Surface::release):
203         (egl::Surface::resetSwapChain):
204         (egl::SurfaceWindowProc):
205         (egl::Surface::subclassWindow):
206         (egl::Surface::unsubclassWindow):
207         (egl::Surface::swap):
208         (egl::Surface::getRenderTarget):
209         (egl::Surface::getOffscreenTexture):
210         (egl::Surface::getTextureFormat):
211         (egl::Surface::getTextureTarget):
212         (egl::Surface::setBoundTexture):
213         (egl::Surface::getBoundTexture):
214         (egl::Surface::getFormat):
215         * src/libEGL/Surface.h:
216         (egl::Surface::getShareHandle):
217         * src/libEGL/libEGL.cpp:
218         (validateDisplay):
219         (validateConfig):
220         (validateContext):
221         (validateSurface):
222         * src/libEGL/libEGL.rc: Added.
223         * src/libEGL/libEGL.vcproj:
224         * src/libEGL/main.cpp:
225         (DllMain):
226         * src/libEGL/main.h:
227         * src/libEGL/resource.h: Added.
228         * src/libGLESv2/Blit.cpp:
229         (gl::Blit::initGeometry):
230         (gl::Blit::copy):
231         * src/libGLESv2/Blit.h:
232         * src/libGLESv2/Buffer.cpp:
233         (gl::Buffer::Buffer):
234         (gl::Buffer::~Buffer):
235         (gl::Buffer::bufferData):
236         (gl::Buffer::bufferSubData):
237         (gl::Buffer::getStaticVertexBuffer):
238         (gl::Buffer::getStaticIndexBuffer):
239         (gl::Buffer::invalidateStaticData):
240         (gl::Buffer::promoteStaticUsage):
241         * src/libGLESv2/Buffer.h:
242         * src/libGLESv2/Context.cpp:
243         (gl::Context::Context):
244         (gl::Context::~Context):
245         (gl::Context::makeCurrent):
246         (gl::Context::markAllStateDirty):
247         (gl::Context::setActiveSampler):
248         (gl::Context::createFramebuffer):
249         (gl::Context::createFence):
250         (gl::Context::deleteFramebuffer):
251         (gl::Context::deleteFence):
252         (gl::Context::bindTexture2D):
253         (gl::Context::bindTextureCubeMap):
254         (gl::Context::getTexture2D):
255         (gl::Context::getTextureCubeMap):
256         (gl::Context::getSamplerTexture):
257         (gl::Context::getIntegerv):
258         (gl::Context::applyRenderTarget):
259         (gl::Context::applyState):
260         (gl::Context::applyVertexBuffer):
261         (gl::Context::applyShaders):
262         (gl::Context::applyTextures):
263         (gl::Context::readPixels):
264         (gl::Context::clear):
265         (gl::Context::drawArrays):
266         (gl::Context::drawElements):
267         (gl::Context::finish):
268         (gl::Context::flush):
269         (gl::Context::drawClosingLine):
270         (gl::Context::getMaximumVertexTextureImageUnits):
271         (gl::Context::getMaximumCombinedTextureImageUnits):
272         (gl::Context::supportsNonPower2Texture):
273         (gl::Context::detachTexture):
274         (gl::Context::getIncompleteTexture):
275         (gl::Context::initExtensionString):
276         (gl::Context::blitFramebuffer):
277         (gl::VertexDeclarationCache::VertexDeclarationCache):
278         (gl::VertexDeclarationCache::~VertexDeclarationCache):
279         (gl::VertexDeclarationCache::applyDeclaration):
280         * src/libGLESv2/Context.h:
281         * src/libGLESv2/Framebuffer.cpp:
282         (gl::Framebuffer::lookupRenderbuffer):
283         (gl::Framebuffer::completeness):
284         * src/libGLESv2/Framebuffer.h:
285         * src/libGLESv2/HandleAllocator.cpp: Added.
286         (gl::HandleAllocator::HandleAllocator):
287         (gl::HandleAllocator::~HandleAllocator):
288         (gl::HandleAllocator::setBaseHandle):
289         (gl::HandleAllocator::allocate):
290         (gl::HandleAllocator::release):
291         * src/libGLESv2/HandleAllocator.h: Added.
292         * src/libGLESv2/IndexDataManager.cpp: Added.
293         (gl::IndexDataManager::IndexDataManager):
294         (gl::IndexDataManager::~IndexDataManager):
295         (gl::convertIndices):
296         (gl::computeRange):
297         (gl::IndexDataManager::prepareIndexData):
298         (gl::IndexDataManager::indexSize):
299         (gl::IndexDataManager::typeSize):
300         (gl::IndexBuffer::IndexBuffer):
301         (gl::IndexBuffer::~IndexBuffer):
302         (gl::IndexBuffer::getBuffer):
303         (gl::IndexBuffer::unmap):
304         (gl::StreamingIndexBuffer::StreamingIndexBuffer):
305         (gl::StreamingIndexBuffer::~StreamingIndexBuffer):
306         (gl::StreamingIndexBuffer::map):
307         (gl::StreamingIndexBuffer::reserveSpace):
308         (gl::StaticIndexBuffer::StaticIndexBuffer):
309         (gl::StaticIndexBuffer::~StaticIndexBuffer):
310         (gl::StaticIndexBuffer::map):
311         (gl::StaticIndexBuffer::reserveSpace):
312         (gl::StaticIndexBuffer::lookupType):
313         (gl::StaticIndexBuffer::lookupRange):
314         (gl::StaticIndexBuffer::addRange):
315         * src/libGLESv2/IndexDataManager.h: Added.
316         (gl::IndexBuffer::size):
317         * src/libGLESv2/Program.cpp:
318         (gl::Program::getSemanticIndex):
319         (gl::Program::getSamplerMapping):
320         (gl::Program::getSamplerTextureType):
321         (gl::Program::compileToBinary):
322         (gl::Program::packVaryings):
323         (gl::Program::linkVaryings):
324         (gl::Program::link):
325         (gl::Program::linkUniforms):
326         (gl::Program::defineUniform):
327         (gl::Program::applyUniform1iv):
328         (gl::Program::appendToInfoLogSanitized):
329         (gl::Program::unlink):
330         (gl::Program::getActiveUniformMaxLength):
331         (gl::Program::validate):
332         (gl::Program::validateSamplers):
333         * src/libGLESv2/Program.h:
334         * src/libGLESv2/Renderbuffer.cpp:
335         (gl::Renderbuffer::getWidth):
336         (gl::Renderbuffer::getHeight):
337         (gl::Renderbuffer::getInternalFormat):
338         (gl::Renderbuffer::getRedSize):
339         (gl::Renderbuffer::getGreenSize):
340         (gl::Renderbuffer::getBlueSize):
341         (gl::Renderbuffer::getAlphaSize):
342         (gl::Renderbuffer::getDepthSize):
343         (gl::Renderbuffer::getStencilSize):
344         (gl::Renderbuffer::getSamples):
345         (gl::RenderbufferStorage::RenderbufferStorage):
346         (gl::RenderbufferStorage::getWidth):
347         (gl::RenderbufferStorage::getHeight):
348         (gl::RenderbufferStorage::getInternalFormat):
349         (gl::RenderbufferStorage::getRedSize):
350         (gl::RenderbufferStorage::getGreenSize):
351         (gl::RenderbufferStorage::getBlueSize):
352         (gl::RenderbufferStorage::getAlphaSize):
353         (gl::RenderbufferStorage::getDepthSize):
354         (gl::RenderbufferStorage::getStencilSize):
355         (gl::RenderbufferStorage::getD3DFormat):
356         (gl::Colorbuffer::Colorbuffer):
357         (gl::Colorbuffer::getWidth):
358         (gl::Colorbuffer::getHeight):
359         (gl::Colorbuffer::getInternalFormat):
360         (gl::Colorbuffer::getType):
361         (gl::Colorbuffer::getD3DFormat):
362         (gl::Colorbuffer::isColorbuffer):
363         (gl::Colorbuffer::getRenderTarget):
364         (gl::DepthStencilbuffer::DepthStencilbuffer):
365         (gl::Depthbuffer::Depthbuffer):
366         (gl::Stencilbuffer::Stencilbuffer):
367         * src/libGLESv2/Renderbuffer.h:
368         * src/libGLESv2/ResourceManager.cpp:
369         (gl::ResourceManager::createBuffer):
370         (gl::ResourceManager::createShader):
371         (gl::ResourceManager::createProgram):
372         (gl::ResourceManager::createTexture):
373         (gl::ResourceManager::createRenderbuffer):
374         (gl::ResourceManager::deleteBuffer):
375         (gl::ResourceManager::deleteShader):
376         (gl::ResourceManager::deleteProgram):
377         (gl::ResourceManager::deleteTexture):
378         (gl::ResourceManager::deleteRenderbuffer):
379         (gl::ResourceManager::checkTextureAllocation):
380         * src/libGLESv2/ResourceManager.h:
381         * src/libGLESv2/Shader.cpp:
382         (gl::Shader::Shader):
383         (gl::Shader::compileToHLSL):
384         * src/libGLESv2/Shader.h:
385         * src/libGLESv2/Texture.cpp:
386         (gl::Texture::Image::Image):
387         (gl::Texture::Image::~Image):
388         (gl::Texture::Image::isRenderable):
389         (gl::Texture::Image::getD3DFormat):
390         (gl::Texture::Texture):
391         (gl::Texture::setMinFilter):
392         (gl::Texture::setMagFilter):
393         (gl::Texture::setWrapS):
394         (gl::Texture::setWrapT):
395         (gl::Texture::loadImageData):
396         (gl::Texture::loadAlphaImageData):
397         (gl::Texture::loadAlphaFloatImageData):
398         (gl::Texture::loadAlphaHalfFloatImageData):
399         (gl::Texture::loadLuminanceImageData):
400         (gl::Texture::loadLuminanceFloatImageData):
401         (gl::Texture::loadLuminanceHalfFloatImageData):
402         (gl::Texture::loadLuminanceAlphaImageData):
403         (gl::Texture::loadLuminanceAlphaFloatImageData):
404         (gl::Texture::loadLuminanceAlphaHalfFloatImageData):
405         (gl::Texture::loadRGBUByteImageData):
406         (gl::Texture::loadRGB565ImageData):
407         (gl::Texture::loadRGBFloatImageData):
408         (gl::Texture::loadRGBHalfFloatImageData):
409         (gl::Texture::loadRGBAUByteImageDataSSE2):
410         (gl::Texture::loadRGBAUByteImageData):
411         (gl::Texture::loadRGBA4444ImageData):
412         (gl::Texture::loadRGBA5551ImageData):
413         (gl::Texture::loadRGBAFloatImageData):
414         (gl::Texture::loadRGBAHalfFloatImageData):
415         (gl::Texture::loadBGRAImageData):
416         (gl::Texture::loadCompressedImageData):
417         (gl::Texture::createSurface):
418         (gl::Texture::setImage):
419         (gl::Texture::setCompressedImage):
420         (gl::Texture::subImage):
421         (gl::Texture::subImageCompressed):
422         (gl::Texture::copyToImage):
423         (gl::Texture::getTexture):
424         (gl::Texture::isDirtyParameter):
425         (gl::Texture::isDirtyImage):
426         (gl::Texture::resetDirty):
427         (gl::Texture::getSerial):
428         (gl::Texture::creationLevels):
429         (gl::Texture::levelCount):
430         (gl::Texture::issueSerial):
431         (gl::Texture2D::Texture2D):
432         (gl::Texture2D::~Texture2D):
433         (gl::Texture2D::getWidth):
434         (gl::Texture2D::getHeight):
435         (gl::Texture2D::getInternalFormat):
436         (gl::Texture2D::getType):
437         (gl::Texture2D::getD3DFormat):
438         (gl::Texture2D::redefineTexture):
439         (gl::Texture2D::setImage):
440         (gl::Texture2D::bindTexImage):
441         (gl::Texture2D::releaseTexImage):
442         (gl::Texture2D::setCompressedImage):
443         (gl::Texture2D::commitRect):
444         (gl::Texture2D::copyImage):
445         (gl::Texture2D::copySubImage):
446         (gl::Texture2D::isComplete):
447         (gl::Texture2D::isCompressed):
448         (gl::Texture2D::getBaseTexture):
449         (gl::Texture2D::createTexture):
450         (gl::Texture2D::updateTexture):
451         (gl::Texture2D::convertToRenderTarget):
452         (gl::Texture2D::generateMipmaps):
453         (gl::Texture2D::getRenderbuffer):
454         (gl::Texture2D::getRenderTarget):
455         (gl::TextureCubeMap::getWidth):
456         (gl::TextureCubeMap::getHeight):
457         (gl::TextureCubeMap::getInternalFormat):
458         (gl::TextureCubeMap::getType):
459         (gl::TextureCubeMap::getD3DFormat):
460         (gl::TextureCubeMap::setImagePosX):
461         (gl::TextureCubeMap::setImageNegX):
462         (gl::TextureCubeMap::setImagePosY):
463         (gl::TextureCubeMap::setImageNegY):
464         (gl::TextureCubeMap::setImagePosZ):
465         (gl::TextureCubeMap::setImageNegZ):
466         (gl::TextureCubeMap::setCompressedImage):
467         (gl::TextureCubeMap::commitRect):
468         (gl::TextureCubeMap::isComplete):
469         (gl::TextureCubeMap::isCompressed):
470         (gl::TextureCubeMap::getBaseTexture):
471         (gl::TextureCubeMap::createTexture):
472         (gl::TextureCubeMap::updateTexture):
473         (gl::TextureCubeMap::convertToRenderTarget):
474         (gl::TextureCubeMap::setImage):
475         (gl::TextureCubeMap::redefineTexture):
476         (gl::TextureCubeMap::copyImage):
477         (gl::TextureCubeMap::getCubeMapSurface):
478         (gl::TextureCubeMap::copySubImage):
479         (gl::TextureCubeMap::generateMipmaps):
480         (gl::TextureCubeMap::getRenderbuffer):
481         (gl::TextureCubeMap::getRenderTarget):
482         * src/libGLESv2/Texture.h:
483         * src/libGLESv2/VertexDataManager.cpp: Added.
484         (gl::VertexDataManager::VertexDataManager):
485         (gl::VertexDataManager::~VertexDataManager):
486         (gl::VertexDataManager::writeAttributeData):
487         (gl::VertexDataManager::prepareVertexData):
488         (gl::VertexDataManager::spaceRequired):
489         (gl::VertexDataManager::checkVertexCaps):
490         (gl::VertexDataManager::typeIndex):
491         (gl::VertexBuffer::VertexBuffer):
492         (gl::VertexBuffer::~VertexBuffer):
493         (gl::VertexBuffer::unmap):
494         (gl::VertexBuffer::getBuffer):
495         (gl::ConstantVertexBuffer::ConstantVertexBuffer):
496         (gl::ConstantVertexBuffer::~ConstantVertexBuffer):
497         (gl::ArrayVertexBuffer::ArrayVertexBuffer):
498         (gl::ArrayVertexBuffer::~ArrayVertexBuffer):
499         (gl::ArrayVertexBuffer::addRequiredSpace):
500         (gl::ArrayVertexBuffer::addRequiredSpaceFor):
501         (gl::StreamingVertexBuffer::StreamingVertexBuffer):
502         (gl::StreamingVertexBuffer::~StreamingVertexBuffer):
503         (gl::StreamingVertexBuffer::map):
504         (gl::StreamingVertexBuffer::reserveRequiredSpace):
505         (gl::StaticVertexBuffer::StaticVertexBuffer):
506         (gl::StaticVertexBuffer::~StaticVertexBuffer):
507         (gl::StaticVertexBuffer::map):
508         (gl::StaticVertexBuffer::reserveRequiredSpace):
509         (gl::StaticVertexBuffer::lookupAttribute):
510         (gl::VertexDataManager::formatConverter):
511         * src/libGLESv2/VertexDataManager.h: Added.
512         (gl::ArrayVertexBuffer::size):
513         (gl::VertexDataManager::dirtyCurrentValue):
514         * src/libGLESv2/libGLESv2.cpp:
515         (validImageSize):
516         (Extension::glBindTexImage):
517         * src/libGLESv2/libGLESv2.def:
518         * src/libGLESv2/libGLESv2.rc: Added.
519         * src/libGLESv2/libGLESv2.vcproj:
520         * src/libGLESv2/main.cpp:
521         (error):
522         * src/libGLESv2/mathutil.h:
523         (gl::clamp):
524         (gl::clamp01):
525         (gl::transformPixelRect):
526         (gl::transformPixelYOffset):
527         (gl::adjustWinding):
528         (gl::supportsSSE2):
529         * src/libGLESv2/resource.h: Added.
530         * src/libGLESv2/utilities.cpp:
531         (gl::ComputeCompressedPitch):
532         (es2dx::ConvertCubeFace):
533         (es2dx::ConvertPrimitiveType):
534         (es2dx::ConvertRenderbufferFormat):
535         (es2dx::GetMultisampleTypeFromSamples):
536         (dx2es::GetStencilSize):
537         (dx2es::GetAlphaSize):
538         (dx2es::GetRedSize):
539         (dx2es::GetGreenSize):
540         (dx2es::GetBlueSize):
541         (dx2es::GetDepthSize):
542         (getTempPath):
543         (writeFile):
544         * src/libGLESv2/utilities.h:
545         * src/libGLESv2/vertexconversion.h: Added.
546         (gl::Identity::convert):
547         (gl::Cast::convert):
548         (gl::Normalize::convert):
549         (gl::FixedToFloat::convert):
550         (gl::SimpleDefaultValues::zero):
551         (gl::SimpleDefaultValues::one):
552         (gl::NormalizedDefaultValues::zero):
553         (gl::NormalizedDefaultValues::one):
554         (gl::VertexDataConverter::convertArray):
555         (gl::VertexDataConverter::pointerAddBytes):
556         (gl::VertexDataConverter::copyComponent):
557
558 2011-05-24  David Kilzer  <ddkilzer@apple.com>
559
560         Part 2 of 2: <http://webkit.org/b/60805> Enable -Wnewline-eof on ANGLE
561
562         Reviewed by Adam Roben.
563
564         * Configurations/Base.xcconfig:
565         (GCC_WARN_ABOUT_MISSING_NEWLINE): Added. Set to YES.
566
567 2011-05-23  David Kilzer  <ddkilzer@apple.com>
568
569         Part 1 of 2: <http://webkit.org/b/60805> Enable -Wnewline-eof on ANGLE
570
571         Merge ANGLE upstream commit r653 for Issue 154.
572
573         * src/compiler/PoolAlloc.h: Added newline to end of file.
574         * src/compiler/ShHandle.h: Ditto.
575         * src/libEGL/Display.cpp: Ditto.
576
577 2011-05-16  David Kilzer  <ddkilzer@apple.com>
578
579         <http://webkit.org/b/60913> C++ exceptions should not be enabled when building with llvm-gcc-4.2
580         <rdar://problem/9446430>
581
582         Reviewed by Mark Rowe.
583
584         * Configurations/Base.xcconfig: Fixed typo.
585
586 2011-05-04  David Kilzer  <ddkilzer@apple.com>
587
588         Part 2 of 2: <http://webkit.org/b/56337> Enable -Werror on ANGLE
589
590         Reviewed by Adam Barth.
591
592         * Configurations/Base.xcconfig:
593         (GCC_TREAT_WARNINGS_AS_ERRORS): Set to YES.
594
595 2011-05-04  David Kilzer  <ddkilzer@apple.com>
596
597         Part 1 of 2: <http://webkit.org/b/56337> Enable -Werror on ANGLE
598
599         Merge ANGLE upstream commits r572, r573, r574, r575.
600
601         This unblocks enabling -Werror on ANGLE.  Since all changes are
602         in the upstream repository, they may be safely overwritten
603         during the next ANGLE update.
604
605         * src/compiler/ConstantUnion.h:
606         (ConstantUnion::operator==): Added a default case.
607         * src/compiler/Intermediate.cpp:
608         (TIntermBinary::promote): Added parentheses.
609         * src/compiler/ParseHelper.cpp:
610         (TParseContext::precisionErrorCheck): Added a default case.
611         * src/compiler/PoolAlloc.cpp:
612         (TAllocation::checkGuardBlock): Changed '%u' to '%lu' for size_t
613         variable.  Put for loop inside #ifdef GUARD_BLOCKS/#endif macros
614         to fix tautological-compare warning.
615         (TAllocation::checkAllocList): Added newline to end of file.
616
617 2011-04-26  Dan Bernstein  <mitz@apple.com>
618
619         Build fix.
620
621         * Configurations/CompilerVersion.xcconfig:
622
623 2011-04-26  Dan Bernstein  <mitz@apple.com>
624
625         Reviewed by Mark Rowe.
626
627         Choose the compiler based on the Xcode version for Snow Leopard debug builds.
628
629         * Configurations/Base.xcconfig:
630         * Configurations/CompilerVersion.xcconfig: Added.
631
632 2011-03-17  Jeff Miller  <jeffm@apple.com>
633
634         Use a consistent set of file patterns in the svn:ignore property for all .xcodeproj directories, specifically:
635         
636         *.mode*
637         *.pbxuser
638         *.perspective*
639         project.xcworkspace
640         xcuserdata
641
642         * ANGLE.xcodeproj: Modified property svn:ignore.
643         * src/build_angle.xcodeproj: Modified property svn:ignore.
644
645 2011-01-18  Kenneth Russell  <kbr@google.com>
646
647         Unreviewed, Leopard build fix. Remove flex/bison targets for GLSL
648         grammar because the generated sources are already checked in.
649
650         * ANGLE.xcodeproj/project.pbxproj:
651         * src/build_angle.xcodeproj/project.pbxproj:
652
653 2011-01-18  Kenneth Russell  <kbr@google.com>
654
655         Unreviewed, release build fix. Explicitly cast away const.
656
657         * src/compiler/preprocessor/scanner.c:
658         (ScanFromString):
659
660 2011-01-18  Ben Vanik  <ben.vanik@gmail.com>
661
662         Reviewed by Kenneth Russell.
663
664         Updating ANGLE in WebKit to r533.
665         https://bugs.webkit.org/show_bug.cgi?id=47194
666
667         * ANGLE.xcodeproj/project.pbxproj:
668         * include/GLSLANG/ShaderLang.h:
669         * src/common/debug.cpp:
670         (gl::trace):
671         * src/common/debug.h:
672         * src/compiler/CodeGenGLSL.cpp:
673         (ConstructCompiler):
674         * src/compiler/CodeGenHLSL.cpp:
675         (ConstructCompiler):
676         * src/compiler/Common.h:
677         (EncodeSourceLoc):
678         (DecodeSourceLoc):
679         * src/compiler/Compiler.cpp: Added.
680         (TShHandleBase::TShHandleBase):
681         (TShHandleBase::~TShHandleBase):
682         (TCompiler::TCompiler):
683         (TCompiler::~TCompiler):
684         (TCompiler::Init):
685         (TCompiler::compile):
686         (TCompiler::InitBuiltInSymbolTable):
687         (TCompiler::clearResults):
688         (TCompiler::validateLimitations):
689         (TCompiler::collectAttribsUniforms):
690         * src/compiler/ExtensionBehavior.h: Added.
691         * src/compiler/InfoSink.cpp:
692         (TInfoSinkBase::location):
693         * src/compiler/InfoSink.h:
694         (TInfoSinkBase::size):
695         * src/compiler/Initialize.cpp:
696         (BuiltInFunctionsCommon):
697         (BuiltInFunctionsVertex):
698         (BuiltInFunctionsFragment):
699         (StandardUniforms):
700         (DefaultPrecisionVertex):
701         (DefaultPrecisionFragment):
702         (BuiltInConstants):
703         (TBuiltIns::initialize):
704         (IdentifyBuiltIns):
705         (InitExtensionBehavior):
706         * src/compiler/Initialize.h:
707         * src/compiler/IntermTraverse.cpp:
708         (TIntermLoop::traverse):
709         * src/compiler/Intermediate.cpp:
710         (getOperatorString):
711         (TIntermediate::addBinaryMath):
712         (TIntermediate::addLoop):
713         (TIntermediate::postProcess):
714         (TIntermBinary::promote):
715         * src/compiler/OutputGLSL.cpp:
716         (TOutputGLSL::visitUnary):
717         (TOutputGLSL::visitLoop):
718         * src/compiler/OutputHLSL.cpp:
719         (sh::OutputHLSL::OutputHLSL):
720         (sh::OutputHLSL::header):
721         (sh::OutputHLSL::visitBinary):
722         (sh::OutputHLSL::visitUnary):
723         (sh::OutputHLSL::visitAggregate):
724         (sh::OutputHLSL::visitLoop):
725         (sh::OutputHLSL::handleExcessiveLoop):
726         (sh::OutputHLSL::argumentString):
727         * src/compiler/OutputHLSL.h:
728         * src/compiler/ParseHelper.cpp:
729         (ReportInfo):
730         (DefineExtensionMacros):
731         (TParseContext::error):
732         (TParseContext::warning):
733         (TParseContext::reservedErrorCheck):
734         (TParseContext::constructorErrorCheck):
735         (TParseContext::arrayQualifierErrorCheck):
736         (TParseContext::extensionErrorCheck):
737         (TParseContext::areAllChildConst):
738         (PaParseStrings):
739         * src/compiler/ParseHelper.h:
740         (TParseContext::TParseContext):
741         * src/compiler/PoolAlloc.cpp:
742         (InitializeGlobalPools):
743         (FreeGlobalPools):
744         (SetGlobalPoolAllocator):
745         (TPoolAllocator::TPoolAllocator):
746         (TPoolAllocator::~TPoolAllocator):
747         (TAllocation::checkAllocList):
748         * src/compiler/PoolAlloc.h:
749         * src/compiler/SearchSymbol.cpp: Added.
750         (sh::SearchSymbol::SearchSymbol):
751         (sh::SearchSymbol::traverse):
752         (sh::SearchSymbol::visitSymbol):
753         (sh::SearchSymbol::foundMatch):
754         * src/compiler/SearchSymbol.h: Added.
755         * src/compiler/ShHandle.h:
756         (TCompiler::getAsCompiler):
757         (TCompiler::getInfoSink):
758         (TCompiler::getAttribs):
759         (TCompiler::getUniforms):
760         (TCompiler::getShaderType):
761         (TCompiler::getShaderSpec):
762         * src/compiler/ShaderLang.cpp:
763         (getVariableMaxLength):
764         (getVariableInfo):
765         (ShInitBuiltInResources):
766         (ShConstructCompiler):
767         (ShCompile):
768         (ShGetInfo):
769         (ShGetInfoLog):
770         (ShGetObjectCode):
771         (ShGetActiveAttrib):
772         (ShGetActiveUniform):
773         * src/compiler/SymbolTable.cpp:
774         (TSymbolTableLevel::relateToExtension):
775         * src/compiler/SymbolTable.h:
776         (TVariable::shareConstPointer):
777         (TFunction::relateToExtension):
778         (TFunction::getExtension):
779         (TFunction::getParamCount):
780         (TFunction::getParam):
781         (TSymbolTable::getGlobalLevel):
782         (TSymbolTable::relateToOperator):
783         (TSymbolTable::relateToExtension):
784         * src/compiler/TranslatorGLSL.cpp:
785         (writeVersion):
786         (TranslatorGLSL::TranslatorGLSL):
787         (TranslatorGLSL::translate):
788         * src/compiler/TranslatorGLSL.h:
789         * src/compiler/TranslatorHLSL.cpp:
790         (TranslatorHLSL::TranslatorHLSL):
791         (TranslatorHLSL::translate):
792         * src/compiler/TranslatorHLSL.h:
793         * src/compiler/Types.h:
794         (TType::TType):
795         * src/compiler/UnfoldSelect.cpp:
796         (sh::UnfoldSelect::visitSelection):
797         * src/compiler/UnfoldSelect.h:
798         * src/compiler/ValidateLimitations.cpp: Added.
799         (ValidateLimitations::ValidateLimitations):
800         (ValidateLimitations::visitSymbol):
801         (ValidateLimitations::visitConstantUnion):
802         (ValidateLimitations::visitBinary):
803         (ValidateLimitations::visitUnary):
804         (ValidateLimitations::visitSelection):
805         (ValidateLimitations::visitAggregate):
806         (ValidateLimitations::visitLoop):
807         (ValidateLimitations::visitBranch):
808         (ValidateLimitations::error):
809         (ValidateLimitations::withinLoopBody):
810         (ValidateLimitations::isLoopIndex):
811         (ValidateLimitations::validateLoopType):
812         (ValidateLimitations::validateForLoopHeader):
813         (ValidateLimitations::validateForLoopInit):
814         (ValidateLimitations::validateForLoopCond):
815         (ValidateLimitations::validateForLoopExpr):
816         (ValidateLimitations::validateFunctionCall):
817         (ValidateLimitations::validateOperation):
818         (ValidateLimitations::isConstExpr):
819         (ValidateLimitations::isConstIndexExpr):
820         (ValidateLimitations::validateIndexing):
821         * src/compiler/ValidateLimitations.h: Added.
822         (ValidateLimitations::numErrors):
823         * src/compiler/VariableInfo.cpp: Added.
824         (arrayBrackets):
825         (getVariableDataType):
826         (getVariableInfo):
827         (getBuiltInVariableInfo):
828         (getUserDefinedVariableInfo):
829         (CollectAttribsUniforms::CollectAttribsUniforms):
830         (CollectAttribsUniforms::visitSymbol):
831         (CollectAttribsUniforms::visitConstantUnion):
832         (CollectAttribsUniforms::visitBinary):
833         (CollectAttribsUniforms::visitUnary):
834         (CollectAttribsUniforms::visitSelection):
835         (CollectAttribsUniforms::visitAggregate):
836         (CollectAttribsUniforms::visitLoop):
837         (CollectAttribsUniforms::visitBranch):
838         * src/compiler/VariableInfo.h: Added.
839         * src/compiler/VersionGLSL.cpp: Added.
840         (TVersionGLSL::TVersionGLSL):
841         (TVersionGLSL::visitSymbol):
842         (TVersionGLSL::visitConstantUnion):
843         (TVersionGLSL::visitBinary):
844         (TVersionGLSL::visitUnary):
845         (TVersionGLSL::visitSelection):
846         (TVersionGLSL::visitAggregate):
847         (TVersionGLSL::visitLoop):
848         (TVersionGLSL::visitBranch):
849         (TVersionGLSL::updateVersion):
850         * src/compiler/VersionGLSL.h: Added.
851         (TVersionGLSL::getVersion):
852         * src/compiler/generate_glslang_lexer.sh: Added.
853         * src/compiler/generate_glslang_parser.sh: Added.
854         * src/compiler/glslang.h: Added.
855         * src/compiler/glslang.l:
856         * src/compiler/glslang.y:
857         * src/compiler/glslang_lex.cpp: Added.
858         (yy_get_next_buffer):
859         (yy_get_previous_state):
860         (yy_try_NUL_trans):
861         (input):
862         (yyrestart):
863         (yy_switch_to_buffer):
864         (yy_load_buffer_state):
865         (yy_create_buffer):
866         (yy_delete_buffer):
867         (yy_init_buffer):
868         (yy_flush_buffer):
869         (yypush_buffer_state):
870         (yypop_buffer_state):
871         (yyensure_buffer_stack):
872         (yy_scan_buffer):
873         (yy_scan_string):
874         (yy_scan_bytes):
875         (yy_push_state):
876         (yy_pop_state):
877         (yy_top_state):
878         (yy_fatal_error):
879         (yyget_extra):
880         (yyget_lineno):
881         (yyget_column):
882         (yyget_in):
883         (yyget_out):
884         (yyget_leng):
885         (yyget_text):
886         (yyset_extra):
887         (yyset_lineno):
888         (yyset_column):
889         (yyset_in):
890         (yyset_out):
891         (yyget_debug):
892         (yyset_debug):
893         (yyget_lval):
894         (yyset_lval):
895         (yylex_init):
896         (yylex_init_extra):
897         (yy_init_globals):
898         (yylex_destroy):
899         (yy_flex_strncpy):
900         (yy_flex_strlen):
901         (yyalloc):
902         (yyrealloc):
903         (yyfree):
904         (string_input):
905         (check_type):
906         (reserved_word):
907         (yyerror):
908         (glslang_initialize):
909         (glslang_finalize):
910         (glslang_scan):
911         * src/compiler/glslang_tab.cpp: Added.
912         (yytnamerr):
913         (yysyntax_error):
914         (glslang_parse):
915         * src/compiler/glslang_tab.h: Added.
916         * src/compiler/intermOut.cpp:
917         (TOutputTraverser::TOutputTraverser):
918         (OutputTreeText):
919         (TOutputTraverser::visitSymbol):
920         (TOutputTraverser::visitBinary):
921         (TOutputTraverser::visitUnary):
922         (TOutputTraverser::visitAggregate):
923         (TOutputTraverser::visitSelection):
924         (TOutputTraverser::visitConstantUnion):
925         (TOutputTraverser::visitLoop):
926         (TOutputTraverser::visitBranch):
927         (TIntermediate::outputTree):
928         * src/compiler/intermediate.h:
929         (TIntermLoop::TIntermLoop):
930         (TIntermLoop::getType):
931         (TIntermLoop::getInit):
932         (TIntermLoop::getCondition):
933         (TIntermLoop::getExpression):
934         (TIntermLoop::getBody):
935         * src/compiler/localintermediate.h:
936         * src/compiler/osinclude.h:
937         (OS_GetTLSValue):
938         * src/compiler/ossource_nspr.cpp: Added.
939         (OS_AllocTLSIndex):
940         (OS_SetTLSValue):
941         (OS_FreeTLSIndex):
942         * src/compiler/preprocessor/compile.h:
943         * src/compiler/preprocessor/cpp.c:
944         (CPPdefine):
945         (CPPelse):
946         (CPPif):
947         (CPPifdef):
948         (CPPerror):
949         (CPPextension):
950         (readCPPline):
951         * src/compiler/preprocessor/preprocess.h:
952         * src/compiler/preprocessor/scanner.c:
953         (str_getch):
954         (str_ungetch):
955         (ScanFromString):
956         (lFloatConst):
957         (byte_scan):
958         (yylex_CPP):
959         (check_EOF):
960         * src/compiler/preprocessor/scanner.h:
961         * src/compiler/preprocessor/tokens.c:
962         (RecordToken):
963         (ReadToken):
964         * src/compiler/tools: Removed.
965         * src/compiler/unistd.h: Removed.
966         * src/compiler/util.cpp: Added.
967         (atof_dot):
968         * src/compiler/util.h: Added.
969         * src/libEGL/Config.cpp:
970         (egl::Config::set):
971         * src/libEGL/Display.cpp:
972         (egl::Display::Display):
973         (egl::Display::initialize):
974         (egl::Display::terminate):
975         (egl::Display::createDevice):
976         (egl::Display::resetDevice):
977         (egl::Display::createContext):
978         (egl::Display::destroyContext):
979         (egl::Display::getMinSwapInterval):
980         (egl::Display::getMaxSwapInterval):
981         (egl::Display::getDevice):
982         (egl::Display::getFloatTextureSupport):
983         (egl::Display::getHalfFloatTextureSupport):
984         (egl::Display::getLuminanceTextureSupport):
985         (egl::Display::getLuminanceAlphaTextureSupport):
986         (egl::Display::getBufferPool):
987         (egl::Display::getEventQuerySupport):
988         (egl::Display::getDefaultPresentParameters):
989         * src/libEGL/Display.h:
990         * src/libEGL/Surface.cpp:
991         (egl::Surface::Surface):
992         (egl::Surface::~Surface):
993         (egl::Surface::release):
994         (egl::Surface::resetSwapChain):
995         (egl::Surface::writeRecordableFlipState):
996         (egl::Surface::restoreState):
997         (egl::SurfaceWindowProc):
998         (egl::Surface::subclassWindow):
999         (egl::Surface::unsubclassWindow):
1000         (egl::Surface::checkForOutOfDateSwapChain):
1001         (egl::Surface::convertInterval):
1002         (egl::Surface::swap):
1003         (egl::Surface::getRenderTarget):
1004         (egl::Surface::setSwapInterval):
1005         * src/libEGL/Surface.h:
1006         * src/libEGL/libEGL.cpp:
1007         * src/libGLESv2/Blit.cpp:
1008         (gl::Blit::copySurfaceToTexture):
1009         (gl::Blit::setCommonBlitState):
1010         * src/libGLESv2/Buffer.cpp:
1011         (gl::Buffer::Buffer):
1012         (gl::Buffer::~Buffer):
1013         (gl::Buffer::bufferData):
1014         (gl::Buffer::bufferSubData):
1015         (gl::Buffer::getVertexBuffer):
1016         (gl::Buffer::getIndexBuffer):
1017         (gl::Buffer::invalidateStaticData):
1018         * src/libGLESv2/Buffer.h:
1019         * src/libGLESv2/Context.cpp:
1020         (gl::Context::Context):
1021         (gl::Context::~Context):
1022         (gl::Context::makeCurrent):
1023         (gl::Context::markAllStateDirty):
1024         (gl::Context::setFragmentShaderDerivativeHint):
1025         (gl::Context::setEnableVertexAttribArray):
1026         (gl::Context::getVertexAttribState):
1027         (gl::Context::getVertexAttributes):
1028         (gl::Context::createFence):
1029         (gl::Context::deleteFence):
1030         (gl::Context::bindTexture2D):
1031         (gl::Context::bindTextureCubeMap):
1032         (gl::Context::getFence):
1033         (gl::Context::getTexture2D):
1034         (gl::Context::getTextureCubeMap):
1035         (gl::Context::getSamplerTexture):
1036         (gl::Context::getBooleanv):
1037         (gl::Context::getIntegerv):
1038         (gl::Context::getQueryParameterInfo):
1039         (gl::Context::applyRenderTarget):
1040         (gl::Context::applyState):
1041         (gl::Context::lookupAttributeMapping):
1042         (gl::Context::applyVertexBuffer):
1043         (gl::Context::applyIndexBuffer):
1044         (gl::Context::readPixels):
1045         (gl::Context::clear):
1046         (gl::Context::drawArrays):
1047         (gl::Context::drawElements):
1048         (gl::Context::finish):
1049         (gl::Context::drawClosingLine):
1050         (gl::Context::getMaximumVaryingVectors):
1051         (gl::Context::getMaximumFragmentUniformVectors):
1052         (gl::Context::supportsEventQueries):
1053         (gl::Context::supportsFloatTextures):
1054         (gl::Context::supportsFloatLinearFilter):
1055         (gl::Context::supportsFloatRenderableTextures):
1056         (gl::Context::supportsHalfFloatTextures):
1057         (gl::Context::supportsHalfFloatLinearFilter):
1058         (gl::Context::supportsHalfFloatRenderableTextures):
1059         (gl::Context::getMaximumRenderbufferDimension):
1060         (gl::Context::getMaximumTextureDimension):
1061         (gl::Context::getMaximumCubeTextureDimension):
1062         (gl::Context::getMaximumTextureLevel):
1063         (gl::Context::supportsLuminanceTextures):
1064         (gl::Context::supportsLuminanceAlphaTextures):
1065         (gl::Context::supports32bitIndices):
1066         (gl::Context::getIncompleteTexture):
1067         (gl::Context::setVertexAttrib):
1068         (gl::Context::initExtensionString):
1069         (gl::Context::blitFramebuffer):
1070         * src/libGLESv2/Context.h:
1071         (gl::VertexAttribute::VertexAttribute):
1072         (gl::VertexAttribute::typeSize):
1073         (gl::VertexAttribute::stride):
1074         * src/libGLESv2/Fence.cpp: Added.
1075         (gl::Fence::Fence):
1076         (gl::Fence::~Fence):
1077         (gl::Fence::isFence):
1078         (gl::Fence::setFence):
1079         (gl::Fence::testFence):
1080         (gl::Fence::finishFence):
1081         (gl::Fence::getFenceiv):
1082         * src/libGLESv2/Fence.h: Added.
1083         * src/libGLESv2/Framebuffer.cpp:
1084         (gl::Framebuffer::completeness):
1085         (gl::DefaultFramebuffer::DefaultFramebuffer):
1086         (gl::DefaultFramebuffer::completeness):
1087         * src/libGLESv2/Program.cpp:
1088         (gl::Program::Program):
1089         (gl::Program::getSamplerMapping):
1090         (gl::Program::getUniformLocation):
1091         (gl::Program::setUniform1iv):
1092         (gl::Program::applyUniforms):
1093         (gl::Program::packVaryings):
1094         (gl::Program::linkVaryings):
1095         (gl::Program::link):
1096         (gl::Program::defineUniform):
1097         (gl::Program::createUniform):
1098         (gl::Program::applyUniform1iv):
1099         (gl::Program::resetInfoLog):
1100         (gl::Program::unlink):
1101         (gl::Program::getActiveAttribute):
1102         (gl::Program::getActiveUniform):
1103         (gl::Program::getDxDepthRangeLocation):
1104         * src/libGLESv2/Program.h:
1105         * src/libGLESv2/RefCountObject.cpp:
1106         (gl::RefCountObject::~RefCountObject):
1107         * src/libGLESv2/Renderbuffer.cpp:
1108         (gl::RenderbufferStorage::RenderbufferStorage):
1109         (gl::RenderbufferStorage::isFloatingPoint):
1110         (gl::Colorbuffer::Colorbuffer):
1111         (gl::DepthStencilbuffer::DepthStencilbuffer):
1112         * src/libGLESv2/Renderbuffer.h:
1113         * src/libGLESv2/Shader.cpp:
1114         (gl::Shader::Shader):
1115         (gl::Shader::parseVaryings):
1116         (gl::Shader::compileToHLSL):
1117         (gl::VertexShader::parseAttributes):
1118         * src/libGLESv2/Texture.cpp:
1119         (gl::Texture::Texture):
1120         (gl::Texture::isFloatingPoint):
1121         (gl::Texture::isRenderableFormat):
1122         (gl::Texture::selectFormat):
1123         (gl::Texture::loadImageData):
1124         (gl::Texture::loadAlphaFloatImageData):
1125         (gl::Texture::loadAlphaHalfFloatImageData):
1126         (gl::Texture::loadLuminanceImageData):
1127         (gl::Texture::loadLuminanceFloatImageData):
1128         (gl::Texture::loadLuminanceHalfFloatImageData):
1129         (gl::Texture::loadLuminanceAlphaImageData):
1130         (gl::Texture::loadLuminanceAlphaFloatImageData):
1131         (gl::Texture::loadLuminanceAlphaHalfFloatImageData):
1132         (gl::Texture::loadRGBFloatImageData):
1133         (gl::Texture::loadRGBHalfFloatImageData):
1134         (gl::Texture::loadRGBAFloatImageData):
1135         (gl::Texture::loadRGBAHalfFloatImageData):
1136         (gl::Texture::createSurface):
1137         (gl::Texture::setImage):
1138         (gl::Texture::setCompressedImage):
1139         (gl::Texture::subImage):
1140         (gl::Texture::subImageCompressed):
1141         (gl::Texture::copyNonRenderable):
1142         (gl::Texture::getD3DFormat):
1143         (gl::Texture::isRenderable):
1144         (gl::Texture2D::Texture2D):
1145         (gl::Texture2D::~Texture2D):
1146         (gl::Texture2D::redefineTexture):
1147         (gl::Texture2D::setImage):
1148         (gl::Texture2D::setCompressedImage):
1149         (gl::Texture2D::copyImage):
1150         (gl::Texture2D::copySubImage):
1151         (gl::Texture2D::isComplete):
1152         (gl::Texture2D::createTexture):
1153         (gl::Texture2D::convertToRenderTarget):
1154         (gl::Texture2D::generateMipmaps):
1155         (gl::Texture2D::getColorbuffer):
1156         (gl::Texture2D::getRenderTarget):
1157         (gl::TextureCubeMap::TextureCubeMap):
1158         (gl::TextureCubeMap::~TextureCubeMap):
1159         (gl::TextureCubeMap::subImage):
1160         (gl::TextureCubeMap::subImageCompressed):
1161         (gl::TextureCubeMap::isComplete):
1162         (gl::TextureCubeMap::createTexture):
1163         (gl::TextureCubeMap::convertToRenderTarget):
1164         (gl::TextureCubeMap::redefineTexture):
1165         (gl::TextureCubeMap::copyImage):
1166         (gl::TextureCubeMap::copySubImage):
1167         (gl::TextureCubeMap::generateMipmaps):
1168         (gl::TextureCubeMap::getColorbuffer):
1169         (gl::TextureCubeMap::getRenderTarget):
1170         (gl::Texture::TextureColorbufferProxy::TextureColorbufferProxy):
1171         (gl::Texture::TextureColorbufferProxy::isFloatingPoint):
1172         * src/libGLESv2/Texture.h:
1173         * src/libGLESv2/geometry/IndexDataManager.cpp:
1174         (gl::IndexDataManager::IndexDataManager):
1175         (gl::IndexDataManager::~IndexDataManager):
1176         (gl::convertIndices):
1177         (gl::computeRange):
1178         (gl::IndexDataManager::prepareIndexData):
1179         (gl::IndexDataManager::indexSize):
1180         (gl::IndexDataManager::typeSize):
1181         (gl::IndexBuffer::IndexBuffer):
1182         (gl::IndexBuffer::~IndexBuffer):
1183         (gl::IndexBuffer::getBuffer):
1184         (gl::IndexBuffer::unmap):
1185         (gl::StreamingIndexBuffer::StreamingIndexBuffer):
1186         (gl::StreamingIndexBuffer::~StreamingIndexBuffer):
1187         (gl::StreamingIndexBuffer::map):
1188         (gl::StreamingIndexBuffer::reserveSpace):
1189         (gl::StaticIndexBuffer::StaticIndexBuffer):
1190         (gl::StaticIndexBuffer::~StaticIndexBuffer):
1191         (gl::StaticIndexBuffer::map):
1192         (gl::StaticIndexBuffer::reserveSpace):
1193         (gl::StaticIndexBuffer::lookupType):
1194         (gl::StaticIndexBuffer::lookupRange):
1195         (gl::StaticIndexBuffer::addRange):
1196         * src/libGLESv2/geometry/IndexDataManager.h:
1197         (gl::IndexBuffer::size):
1198         * src/libGLESv2/geometry/VertexDataManager.cpp:
1199         (gl::VertexDataManager::VertexDataManager):
1200         (gl::VertexDataManager::~VertexDataManager):
1201         (gl::VertexDataManager::writeAttributeData):
1202         (gl::VertexDataManager::prepareVertexData):
1203         (gl::VertexDataManager::spaceRequired):
1204         (gl::VertexDataManager::checkVertexCaps):
1205         (gl::VertexDataManager::typeIndex):
1206         (gl::VertexDataManager::setupAttributes):
1207         (gl::VertexBuffer::VertexBuffer):
1208         (gl::VertexBuffer::~VertexBuffer):
1209         (gl::VertexBuffer::unmap):
1210         (gl::VertexBuffer::getBuffer):
1211         (gl::ConstantVertexBuffer::ConstantVertexBuffer):
1212         (gl::ConstantVertexBuffer::~ConstantVertexBuffer):
1213         (gl::ArrayVertexBuffer::ArrayVertexBuffer):
1214         (gl::ArrayVertexBuffer::~ArrayVertexBuffer):
1215         (gl::ArrayVertexBuffer::addRequiredSpace):
1216         (gl::ArrayVertexBuffer::addRequiredSpaceFor):
1217         (gl::StreamingVertexBuffer::StreamingVertexBuffer):
1218         (gl::StreamingVertexBuffer::~StreamingVertexBuffer):
1219         (gl::StreamingVertexBuffer::map):
1220         (gl::StreamingVertexBuffer::reserveRequiredSpace):
1221         (gl::StaticVertexBuffer::StaticVertexBuffer):
1222         (gl::StaticVertexBuffer::~StaticVertexBuffer):
1223         (gl::StaticVertexBuffer::map):
1224         (gl::StaticVertexBuffer::reserveRequiredSpace):
1225         (gl::StaticVertexBuffer::lookupAttribute):
1226         (gl::VertexDataManager::formatConverter):
1227         * src/libGLESv2/geometry/VertexDataManager.h:
1228         (gl::ArrayVertexBuffer::size):
1229         (gl::VertexDataManager::dirtyCurrentValue):
1230         * src/libGLESv2/geometry/backend.cpp: Removed.
1231         * src/libGLESv2/geometry/backend.h: Removed.
1232         * src/libGLESv2/geometry/dx9.cpp: Removed.
1233         * src/libGLESv2/geometry/dx9.h: Removed.
1234         * src/libGLESv2/libGLESv2.cpp:
1235         * src/libGLESv2/libGLESv2.def:
1236         * src/libGLESv2/libGLESv2.vcproj:
1237         * src/libGLESv2/utilities.cpp:
1238         (gl::UniformComponentCount):
1239         (gl::UniformComponentType):
1240         (gl::ComputePixelSize):
1241         (gl::CheckTextureFormatType):
1242         (gl::IsColorRenderable):
1243         (gl::IsDepthRenderable):
1244         (gl::IsStencilRenderable):
1245         (es2dx::GetAlphaSize):
1246         (es2dx::GetRedSize):
1247         (es2dx::GetGreenSize):
1248         (es2dx::GetBlueSize):
1249         (es2dx::GetDepthSize):
1250         (es2dx::ConvertPrimitiveType):
1251         (dx2es::ConvertBackBufferFormat):
1252         (dx2es::ConvertDepthStencilFormat):
1253         * src/libGLESv2/utilities.h:
1254
1255 2011-01-17  Dan Bernstein  <mitz@apple.com>
1256
1257         Rubber-stamped by Mark Rowe.
1258
1259         Update xcodeproj svn:ignore to include xcuserdata.
1260
1261         * ANGLE.xcodeproj: Modified property svn:ignore.
1262         * src/build_angle.xcodeproj: Modified property svn:ignore.
1263
1264 2010-12-01  Steve Falkenburg  <sfalken@apple.com>
1265
1266         Reviewed by Adam Roben.
1267
1268         vcproj changes can't be applied cleanly by the Windows EWS bot
1269         https://bugs.webkit.org/show_bug.cgi?id=50328
1270
1271         * src/libEGL/libEGL.vcproj: Added property svn:eol-style.
1272         * src/libGLESv2/libGLESv2.vcproj: Added property svn:eol-style.
1273
1274 2010-11-03  Darin Adler  <darin@apple.com>
1275
1276         Updated Xcode projects by opening them with Xcode 3.2.4.
1277         Updated svn:ignore for Xcode projects.
1278
1279         * ANGLE.xcodeproj: Added property svn:ignore.
1280         * ANGLE.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
1281         * src/build_angle.xcodeproj: Added property svn:ignore.
1282         * src/build_angle.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
1283
1284 2010-09-01  Zhenyao Mo  <zmo@google.com>
1285
1286         Reviewed by Kenneth Russell.
1287
1288         Roll ANGLE under webkit to r402
1289         https://bugs.webkit.org/show_bug.cgi?id=45004
1290
1291         * ANGLE.xcodeproj/project.pbxproj:
1292         * include/GLES2/gl2ext.h:
1293         * include/GLSLANG/ResourceLimits.h: Removed.
1294         * include/GLSLANG/ShaderLang.h:
1295         * src/compiler/BaseTypes.h:
1296         (getPrecisionString):
1297         (getBasicString):
1298         (IsSampler):
1299         (getQualifierString):
1300         * src/compiler/Initialize.cpp:
1301         (BuiltInConstants):
1302         (IdentifyBuiltIns):
1303         * src/compiler/Initialize.h:
1304         * src/compiler/InitializeDll.cpp:
1305         (InitProcess):
1306         (DetachProcess):
1307         (InitThread):
1308         (DetachThread):
1309         * src/compiler/InitializeDll.h:
1310         * src/compiler/InitializeParseContext.h:
1311         * src/compiler/Intermediate.cpp:
1312         (GetHigherPrecision):
1313         (TIntermediate::addBinaryMath):
1314         (TIntermediate::setAggregateOperator):
1315         (TIntermediate::addComma):
1316         (TIntermediate::postProcess):
1317         (TIntermBinary::promote):
1318         (CompareStruct):
1319         * src/compiler/OutputGLSL.cpp:
1320         (TOutputGLSL::writeFunctionParameters):
1321         (TOutputGLSL::visitUnary):
1322         (TOutputGLSL::visitBranch):
1323         * src/compiler/OutputHLSL.cpp:
1324         (sh::OutputHLSL::header):
1325         (sh::OutputHLSL::visitBinary):
1326         (sh::OutputHLSL::visitAggregate):
1327         (sh::OutputHLSL::handleExcessiveLoop):
1328         (sh::OutputHLSL::addConstructor):
1329         * src/compiler/ParseHelper.cpp:
1330         (TParseContext::constructorErrorCheck):
1331         (TParseContext::samplerErrorCheck):
1332         (TParseContext::paramErrorCheck):
1333         (TParseContext::findFunction):
1334         (TParseContext::executeInitializer):
1335         (TParseContext::addConstructor):
1336         (TParseContext::addConstStruct):
1337         (FreeParseContextIndex):
1338         (GetGlobalParseContext):
1339         * src/compiler/PoolAlloc.h:
1340         (TPoolAllocator::tHeader::tHeader):
1341         (pool_allocator::allocate):
1342         (pool_allocator::deallocate):
1343         * src/compiler/ShaderLang.cpp:
1344         (ShInitialize):
1345         (ShFinalize):
1346         (ShInitBuiltInResource):
1347         * src/compiler/SymbolTable.cpp:
1348         (TType::getStructSize):
1349         * src/compiler/SymbolTable.h:
1350         (TVariable::setQualifier):
1351         * src/compiler/Types.h:
1352         (TType::TType):
1353         (TType::getBasicType):
1354         (TType::setBasicType):
1355         (TType::getPrecision):
1356         (TType::setPrecision):
1357         (TType::getQualifier):
1358         (TType::setQualifier):
1359         (TType::getNominalSize):
1360         (TType::setNominalSize):
1361         (TType::isMatrix):
1362         (TType::setMatrix):
1363         (TType::isArray):
1364         (TType::getArraySize):
1365         (TType::setArraySize):
1366         (TType::getMaxArraySize):
1367         (TType::setMaxArraySize):
1368         (TType::clearArrayness):
1369         (TType::setArrayInformationType):
1370         (TType::getArrayInformationType):
1371         (TType::isVector):
1372         (TType::isScalar):
1373         (TType::setStruct):
1374         (TType::getTypeName):
1375         (TType::setTypeName):
1376         (TType::isField):
1377         (TType::getFieldName):
1378         (TType::setFieldName):
1379         (TType::getBasicString):
1380         (TType::getPrecisionString):
1381         (TType::getQualifierString):
1382         * src/compiler/glslang.l:
1383         * src/compiler/glslang.y:
1384         * src/compiler/intermediate.h:
1385         (TIntermNode::getLine):
1386         (TIntermNode::setLine):
1387         (TIntermTyped::getAsTyped):
1388         (TIntermTyped::setType):
1389         (TIntermTyped::getType):
1390         (TIntermTyped::getTypePointer):
1391         (TIntermTyped::getBasicType):
1392         (TIntermTyped::getQualifier):
1393         (TIntermTyped::getPrecision):
1394         (TIntermTyped::getNominalSize):
1395         (TIntermTyped::isMatrix):
1396         (TIntermTyped::isArray):
1397         (TIntermTyped::isVector):
1398         (TIntermTyped::isScalar):
1399         (TIntermTyped::getBasicString):
1400         (TIntermTyped::getQualifierString):
1401         (TIntermSymbol::getId):
1402         (TIntermSymbol::getSymbol):
1403         (TIntermOperator::setOp):
1404         (TIntermBinary::setLeft):
1405         (TIntermBinary::setRight):
1406         (TIntermBinary::getLeft):
1407         (TIntermBinary::getRight):
1408         (TIntermUnary::setOperand):
1409         (TIntermUnary::getOperand):
1410         (TIntermAggregate::getAsAggregate):
1411         (TIntermAggregate::getSequence):
1412         (TIntermAggregate::setName):
1413         (TIntermAggregate::getName):
1414         (TIntermAggregate::setUserDefined):
1415         (TIntermAggregate::isUserDefined):
1416         (TIntermAggregate::getQualifier):
1417         (TIntermAggregate::setOptimize):
1418         (TIntermAggregate::setDebug):
1419         (TIntermSelection::getCondition):
1420         (TIntermSelection::getTrueBlock):
1421         (TIntermSelection::getFalseBlock):
1422         (TIntermSelection::getAsSelectionNode):
1423         * src/compiler/parseConst.cpp:
1424         (TConstTraverser::TConstTraverser):
1425         * src/compiler/preprocessor/atom.c:
1426         (InitAtomTable):
1427         * src/compiler/preprocessor/atom.h:
1428         * src/compiler/preprocessor/compile.h:
1429         * src/compiler/preprocessor/cpp.c:
1430         * src/compiler/preprocessor/cpp.h:
1431         * src/compiler/preprocessor/cppstruct.c:
1432         * src/compiler/preprocessor/memory.c:
1433         * src/compiler/preprocessor/memory.h:
1434         * src/compiler/preprocessor/parser.h:
1435         * src/compiler/preprocessor/preprocess.h:
1436         * src/compiler/preprocessor/scanner.c:
1437         * src/compiler/preprocessor/scanner.h:
1438         * src/compiler/preprocessor/slglobals.h:
1439         * src/compiler/preprocessor/symbols.c:
1440         (NewSymbol):
1441         * src/compiler/preprocessor/symbols.h:
1442         * src/compiler/preprocessor/tokens.c:
1443         (RecordToken):
1444         * src/compiler/preprocessor/tokens.h:
1445         * src/libEGL/Display.cpp:
1446         (egl::Display::Display):
1447         (egl::Display::initialize):
1448         (egl::Display::terminate):
1449         (egl::Display::createDevice):
1450         (egl::Display::createWindowSurface):
1451         (egl::Display::createContext):
1452         (egl::Display::getMultiSampleSupport):
1453         (egl::Display::getCompressedTextureSupport):
1454         * src/libEGL/Display.h:
1455         * src/libEGL/Surface.cpp:
1456         (egl::Surface::Surface):
1457         (egl::Surface::resetSwapChain):
1458         (egl::Surface::getWindowHandle):
1459         (egl::Surface::writeRecordableFlipState):
1460         (egl::Surface::applyFlipState):
1461         (egl::Surface::releaseRecordedState):
1462         (egl::Surface::checkForWindowResize):
1463         (egl::Surface::swap):
1464         * src/libEGL/Surface.h:
1465         * src/libEGL/libEGL.cpp:
1466         * src/libEGL/libEGL.vcproj:
1467         * src/libGLESv2/Blit.cpp:
1468         (gl::Blit::setVertexShader):
1469         (gl::Blit::setPixelShader):
1470         (gl::Blit::setFormatConvertShaders):
1471         * src/libGLESv2/Buffer.cpp:
1472         (gl::Buffer::Buffer):
1473         * src/libGLESv2/Buffer.h:
1474         * src/libGLESv2/Context.cpp:
1475         (gl::Context::Context):
1476         (gl::Context::~Context):
1477         (gl::Context::makeCurrent):
1478         (gl::Context::markAllStateDirty):
1479         (gl::Context::getReadFramebufferHandle):
1480         (gl::Context::getDrawFramebufferHandle):
1481         (gl::Context::getRenderbufferHandle):
1482         (gl::Context::getArrayBufferHandle):
1483         (gl::Context::setVertexAttribState):
1484         (gl::Context::createBuffer):
1485         (gl::Context::createProgram):
1486         (gl::Context::createShader):
1487         (gl::Context::createTexture):
1488         (gl::Context::createRenderbuffer):
1489         (gl::Context::deleteBuffer):
1490         (gl::Context::deleteShader):
1491         (gl::Context::deleteProgram):
1492         (gl::Context::deleteTexture):
1493         (gl::Context::deleteRenderbuffer):
1494         (gl::Context::getBuffer):
1495         (gl::Context::getShader):
1496         (gl::Context::getProgram):
1497         (gl::Context::getTexture):
1498         (gl::Context::getRenderbuffer):
1499         (gl::Context::getReadFramebuffer):
1500         (gl::Context::getDrawFramebuffer):
1501         (gl::Context::bindArrayBuffer):
1502         (gl::Context::bindElementArrayBuffer):
1503         (gl::Context::bindTexture2D):
1504         (gl::Context::bindTextureCubeMap):
1505         (gl::Context::bindReadFramebuffer):
1506         (gl::Context::bindDrawFramebuffer):
1507         (gl::Context::bindRenderbuffer):
1508         (gl::Context::useProgram):
1509         (gl::Context::setFramebufferZero):
1510         (gl::Context::setRenderbufferStorage):
1511         (gl::Context::getFramebuffer):
1512         (gl::Context::getArrayBuffer):
1513         (gl::Context::getElementArrayBuffer):
1514         (gl::Context::getCurrentProgram):
1515         (gl::Context::getTexture2D):
1516         (gl::Context::getTextureCubeMap):
1517         (gl::Context::getSamplerTexture):
1518         (gl::Context::getFloatv):
1519         (gl::Context::getIntegerv):
1520         (gl::Context::getQueryParameterInfo):
1521         (gl::Context::applyRenderTarget):
1522         (gl::Context::applyState):
1523         (gl::Context::applyIndexBuffer):
1524         (gl::Context::readPixels):
1525         (gl::Context::clear):
1526         (gl::Context::finish):
1527         (gl::Context::flush):
1528         (gl::Context::supportsShaderModel3):
1529         (gl::Context::getMaxSupportedSamples):
1530         (gl::Context::getNearestSupportedSamples):
1531         (gl::Context::supportsCompressedTextures):
1532         (gl::Context::detachBuffer):
1533         (gl::Context::detachTexture):
1534         (gl::Context::detachFramebuffer):
1535         (gl::Context::detachRenderbuffer):
1536         (gl::Context::getIncompleteTexture):
1537         (gl::Context::initExtensionString):
1538         (gl::Context::blitFramebuffer):
1539         * src/libGLESv2/Context.h:
1540         (gl::AttributeState::AttributeState):
1541         * src/libGLESv2/Framebuffer.cpp:
1542         (gl::Framebuffer::Framebuffer):
1543         (gl::Framebuffer::~Framebuffer):
1544         (gl::Framebuffer::lookupRenderbuffer):
1545         (gl::Framebuffer::setColorbuffer):
1546         (gl::Framebuffer::setDepthbuffer):
1547         (gl::Framebuffer::setStencilbuffer):
1548         (gl::Framebuffer::detachTexture):
1549         (gl::Framebuffer::detachRenderbuffer):
1550         (gl::Framebuffer::getRenderTargetSerial):
1551         (gl::Framebuffer::getRenderTarget):
1552         (gl::Framebuffer::getDepthStencil):
1553         (gl::Framebuffer::getDepthbufferSerial):
1554         (gl::Framebuffer::getStencilbufferSerial):
1555         (gl::Framebuffer::getColorbuffer):
1556         (gl::Framebuffer::getDepthbuffer):
1557         (gl::Framebuffer::getStencilbuffer):
1558         (gl::Framebuffer::getColorbufferHandle):
1559         (gl::Framebuffer::getDepthbufferHandle):
1560         (gl::Framebuffer::getStencilbufferHandle):
1561         (gl::Framebuffer::hasStencil):
1562         (gl::Framebuffer::isMultisample):
1563         (gl::Framebuffer::completeness):
1564         (gl::DefaultFramebuffer::DefaultFramebuffer):
1565         (gl::Framebuffer::getSamples):
1566         (gl::DefaultFramebuffer::completeness):
1567         * src/libGLESv2/Framebuffer.h:
1568         * src/libGLESv2/Program.cpp:
1569         (gl::Program::Program):
1570         (gl::Program::~Program):
1571         (gl::Program::attachShader):
1572         (gl::Program::detachShader):
1573         (gl::Program::linkVaryings):
1574         (gl::Program::link):
1575         (gl::Program::unlink):
1576         (gl::Program::release):
1577         (gl::Program::addRef):
1578         (gl::Program::getRefCount):
1579         (gl::Program::getDxViewportLocation):
1580         * src/libGLESv2/Program.h:
1581         * src/libGLESv2/RefCountObject.cpp: Added.
1582         (gl::RefCountObject::RefCountObject):
1583         (gl::RefCountObject::~RefCountObject):
1584         (gl::RefCountObject::addRef):
1585         (gl::RefCountObject::release):
1586         (gl::RefCountObjectBindingPointer::set):
1587         * src/libGLESv2/RefCountObject.h: Added.
1588         (gl::RefCountObject::id):
1589         (gl::RefCountObjectBindingPointer::RefCountObjectBindingPointer):
1590         (gl::RefCountObjectBindingPointer::~RefCountObjectBindingPointer):
1591         (gl::RefCountObjectBindingPointer::get):
1592         (gl::RefCountObjectBindingPointer::id):
1593         (gl::RefCountObjectBindingPointer::operator ! ):
1594         (gl::BindingPointer::set):
1595         (gl::BindingPointer::get):
1596         (gl::BindingPointer::operator -> ):
1597         * src/libGLESv2/Renderbuffer.cpp:
1598         (gl::Renderbuffer::Renderbuffer):
1599         (gl::Renderbuffer::~Renderbuffer):
1600         (gl::Renderbuffer::isColorbuffer):
1601         (gl::Renderbuffer::isDepthbuffer):
1602         (gl::Renderbuffer::isStencilbuffer):
1603         (gl::Renderbuffer::getRenderTarget):
1604         (gl::Renderbuffer::getDepthStencil):
1605         (gl::Renderbuffer::getWidth):
1606         (gl::Renderbuffer::getHeight):
1607         (gl::Renderbuffer::getFormat):
1608         (gl::Renderbuffer::getD3DFormat):
1609         (gl::Renderbuffer::getSerial):
1610         (gl::Renderbuffer::setStorage):
1611         (gl::RenderbufferStorage::RenderbufferStorage):
1612         (gl::RenderbufferStorage::~RenderbufferStorage):
1613         (gl::RenderbufferStorage::isColorbuffer):
1614         (gl::RenderbufferStorage::isDepthbuffer):
1615         (gl::RenderbufferStorage::isStencilbuffer):
1616         (gl::RenderbufferStorage::getRenderTarget):
1617         (gl::RenderbufferStorage::getDepthStencil):
1618         (gl::RenderbufferStorage::getWidth):
1619         (gl::RenderbufferStorage::getHeight):
1620         (gl::RenderbufferStorage::setSize):
1621         (gl::RenderbufferStorage::getFormat):
1622         (gl::RenderbufferStorage::getD3DFormat):
1623         (gl::RenderbufferStorage::getSamples):
1624         (gl::RenderbufferStorage::getSerial):
1625         (gl::RenderbufferStorage::issueSerial):
1626         (gl::Colorbuffer::Colorbuffer):
1627         (gl::Colorbuffer::isColorbuffer):
1628         (gl::Colorbuffer::getRedSize):
1629         (gl::Colorbuffer::getGreenSize):
1630         (gl::Colorbuffer::getBlueSize):
1631         (gl::Colorbuffer::getAlphaSize):
1632         (gl::DepthStencilbuffer::DepthStencilbuffer):
1633         (gl::DepthStencilbuffer::~DepthStencilbuffer):
1634         (gl::DepthStencilbuffer::isDepthbuffer):
1635         (gl::DepthStencilbuffer::isStencilbuffer):
1636         (gl::DepthStencilbuffer::getDepthSize):
1637         (gl::DepthStencilbuffer::getStencilSize):
1638         (gl::DepthStencilbuffer::getDepthStencil):
1639         (gl::Depthbuffer::Depthbuffer):
1640         (gl::Depthbuffer::~Depthbuffer):
1641         (gl::Depthbuffer::isDepthbuffer):
1642         (gl::Depthbuffer::isStencilbuffer):
1643         (gl::Stencilbuffer::Stencilbuffer):
1644         (gl::Stencilbuffer::~Stencilbuffer):
1645         (gl::Stencilbuffer::isDepthbuffer):
1646         (gl::Stencilbuffer::isStencilbuffer):
1647         * src/libGLESv2/Renderbuffer.h:
1648         (gl::Renderbuffer::getStorage):
1649         * src/libGLESv2/ResourceManager.cpp: Added.
1650         (gl::ResourceManager::ResourceManager):
1651         (gl::ResourceManager::~ResourceManager):
1652         (gl::ResourceManager::addRef):
1653         (gl::ResourceManager::release):
1654         (gl::ResourceManager::createBuffer):
1655         (gl::ResourceManager::createShader):
1656         (gl::ResourceManager::createProgram):
1657         (gl::ResourceManager::createTexture):
1658         (gl::ResourceManager::createRenderbuffer):
1659         (gl::ResourceManager::deleteBuffer):
1660         (gl::ResourceManager::deleteShader):
1661         (gl::ResourceManager::deleteProgram):
1662         (gl::ResourceManager::deleteTexture):
1663         (gl::ResourceManager::deleteRenderbuffer):
1664         (gl::ResourceManager::getBuffer):
1665         (gl::ResourceManager::getShader):
1666         (gl::ResourceManager::getTexture):
1667         (gl::ResourceManager::getProgram):
1668         (gl::ResourceManager::getRenderbuffer):
1669         (gl::ResourceManager::setRenderbuffer):
1670         (gl::ResourceManager::checkBufferAllocation):
1671         (gl::ResourceManager::checkTextureAllocation):
1672         (gl::ResourceManager::checkRenderbufferAllocation):
1673         * src/libGLESv2/ResourceManager.h: Added.
1674         * src/libGLESv2/Shader.cpp:
1675         (gl::Shader::Shader):
1676         (gl::Shader::addRef):
1677         (gl::Shader::release):
1678         (gl::Shader::getRefCount):
1679         (gl::Shader::parseVaryings):
1680         (gl::VertexShader::VertexShader):
1681         (gl::FragmentShader::FragmentShader):
1682         * src/libGLESv2/Shader.h:
1683         * src/libGLESv2/Texture.cpp:
1684         (gl::Texture::Image::Image):
1685         (gl::Texture::Texture):
1686         (gl::Texture::getBlitter):
1687         (gl::Texture::selectFormat):
1688         (gl::Texture::loadImageData):
1689         (gl::Texture::loadAlphaImageData):
1690         (gl::Texture::loadLuminanceImageData):
1691         (gl::Texture::loadLuminanceAlphaImageData):
1692         (gl::Texture::loadRGBUByteImageData):
1693         (gl::Texture::loadRGB565ImageData):
1694         (gl::Texture::loadRGBAUByteImageData):
1695         (gl::Texture::loadRGBA4444ImageData):
1696         (gl::Texture::loadRGBA5551ImageData):
1697         (gl::Texture::loadBGRAImageData):
1698         (gl::Texture::createSurface):
1699         (gl::Texture::setImage):
1700         (gl::Texture::setCompressedImage):
1701         (gl::Texture::subImage):
1702         (gl::Texture::subImageCompressed):
1703         (gl::Texture2D::Texture2D):
1704         (gl::Texture2D::getFormat):
1705         (gl::Texture2D::setCompressedImage):
1706         (gl::Texture2D::subImage):
1707         (gl::Texture2D::subImageCompressed):
1708         (gl::Texture2D::copyImage):
1709         (gl::Texture2D::copySubImage):
1710         (gl::Texture2D::isCompressed):
1711         (gl::Texture2D::getColorbuffer):
1712         (gl::TextureCubeMap::TextureCubeMap):
1713         (gl::TextureCubeMap::getFormat):
1714         (gl::TextureCubeMap::setCompressedImage):
1715         (gl::TextureCubeMap::subImage):
1716         (gl::TextureCubeMap::subImageCompressed):
1717         (gl::TextureCubeMap::isCompressed):
1718         (gl::TextureCubeMap::copyImage):
1719         (gl::TextureCubeMap::copySubImage):
1720         (gl::TextureCubeMap::getColorbuffer):
1721         (gl::Texture::TextureColorbufferProxy::addRef):
1722         (gl::Texture::TextureColorbufferProxy::release):
1723         (gl::Texture::TextureColorbufferProxy::getWidth):
1724         (gl::Texture::TextureColorbufferProxy::getHeight):
1725         (gl::Texture::TextureColorbufferProxy::getFormat):
1726         * src/libGLESv2/Texture.h:
1727         * src/libGLESv2/libGLESv2.cpp:
1728         * src/libGLESv2/libGLESv2.def:
1729         * src/libGLESv2/libGLESv2.vcproj:
1730         * src/libGLESv2/main.h:
1731         * src/libGLESv2/utilities.cpp:
1732         (gl::ComputeCompressedPitch):
1733         (gl::ComputeCompressedSize):
1734         (gl::IsCompressed):
1735         (gl::ComputePixelSize):
1736         (gl::CheckTextureFormatType):
1737         (es2dx::ConvertRenderbufferFormat):
1738         (es2dx::GetSamplesFromMultisampleType):
1739         (es2dx::GetMultisampleTypeFromSamples):
1740         * src/libGLESv2/utilities.h:
1741
1742 2010-08-17  Chris Marrin  <cmarrin@apple.com>
1743
1744         Unreviewed.
1745
1746         Moved previous link error fix to Base.xcconfig.
1747
1748         * ANGLE.xcodeproj/project.pbxproj:
1749         * Configurations/Base.xcconfig:
1750
1751 2010-08-17  Chris Marrin  <cmarrin@apple.com>
1752
1753         Unreviewed.
1754
1755         Got rid of link errors in WebCore.
1756
1757         Changed GCC_INLINES_ARE_PRIVATE_EXTERN to YES and
1758         GCC_SYMBOLS_PRIVATE_EXTERN to NO to match WebCore
1759         flags.
1760
1761         * ANGLE.xcodeproj/project.pbxproj:
1762
1763 2010-08-04  Kenneth Russell  <kbr@google.com>
1764
1765         Reviewed by Dimitri Glazkov.
1766
1767         Update ANGLE to r352
1768         https://bugs.webkit.org/show_bug.cgi?id=43500
1769
1770         Updated ANGLE to r352 (July 26, 2010). Built WebKit to test.
1771
1772         * include/GLSLANG/ShaderLang.h:
1773         * src/compiler/Initialize.cpp:
1774         (BuiltInFunctionsCommon):
1775         (BuiltInFunctionsVertex):
1776         (BuiltInFunctionsFragment):
1777         (StandardUniforms):
1778         (DefaultPrecisionVertex):
1779         (DefaultPrecisionFragment):
1780         (BuiltInConstants):
1781         (TBuiltIns::initialize):
1782         (IdentifyBuiltIns):
1783         * src/compiler/Initialize.h:
1784         (TBuiltIns::getBuiltInStrings):
1785         * src/compiler/OutputGLSL.cpp:
1786         (TOutputGLSL::visitSelection):
1787         * src/compiler/ShHandle.h:
1788         (TCompiler::getLanguage):
1789         (TCompiler::getSpec):
1790         (TCompiler::getSymbolTable):
1791         (TCompiler::getInfoSink):
1792         * src/compiler/ShaderLang.cpp:
1793         (InitializeSymbolTable):
1794         (GenerateBuiltInSymbolTable):
1795         (ShInitialize):
1796         (ShConstructCompiler):
1797         (ShFinalize):
1798         (ShCompile):
1799         * src/compiler/SymbolTable.h:
1800         (TSymbolTable::atBuiltInLevel):
1801         (TSymbolTable::atGlobalLevel):
1802         (TSymbolTable::push):
1803         (TSymbolTable::getGlobalLevel):
1804         (TSymbolTable::currentLevel):
1805         * src/libGLESv2/Shader.cpp:
1806         (gl::Shader::Shader):
1807         (gl::Shader::compileToHLSL):
1808
1809 2010-08-03  Mark Rowe  <mrowe@apple.com>
1810
1811         Rubber-stamped by Adele Peterson.
1812
1813         Remove some unnecessary files from the ANGLE tree.
1814
1815         * src/compiler/tools/COPYING.bison: Removed.
1816         * src/compiler/tools/COPYING.flex: Removed.
1817         * src/compiler/tools/README: Removed.
1818         * src/compiler/tools/bison.hairy: Removed.
1819         * src/compiler/tools/bison.simple: Removed.
1820
1821 2010-08-03  Mark Rowe  <mrowe@apple.com>
1822
1823         Rubber-stamped by Adele Peterson.
1824
1825         Clean up the ANGLE Xcode project.
1826
1827         Main changes include:
1828         • Adding a Production configuration.
1829         • Modifying the library name from libangle.a to libANGLE.a.
1830         • Installing the headers in a subdirectory of /usr/local/include to avoid polluting the top-level directory.
1831         • Generating derived sources in to the built products directory so they're saved along with the symroot.
1832         • Switching to using .xcconfig files for maximum cleanliness.
1833
1834         * ANGLE.xcodeproj/project.pbxproj:
1835         * Configurations/ANGLE.xcconfig: Added.
1836         * Configurations/Base.xcconfig: Added.
1837         * Configurations/DebugRelease.xcconfig: Added.
1838
1839 2010-08-02  Paul Sawaya  <psawaya@apple.com>
1840
1841         Reviewed by Adele Peterson.
1842
1843         Add ANGLE library to WebKit. From the repository (http://angleproject.googlecode.com) as of July 22.
1844         https://bugs.webkit.org/show_bug.cgi?id=42789
1845