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