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