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