Searched defs:premultiplyAlpha (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLVideoElement.cpp192 bool HTMLVideoElement::copyVideoTextureToPlatformTexture(GraphicsContext3D* context, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY) argument
196 return player()->copyVideoTextureToPlatformTexture(context, texture, level, type, internalFormat, premultiplyAlpha, flipY);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebMediaPlayer.h146 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned level, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; } argument
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageBuffer.cpp135 bool ImageBuffer::copyToPlatformTexture(GraphicsContext3D& context, Platform3DObject texture, GC3Denum internalFormat, GC3Denum destType, GC3Dint level, bool premultiplyAlpha, bool flipY) argument
149 context.pixelStorei(Extensions3D::UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, !premultiplyAlpha);
H A DExtensions3D.cpp126 void Extensions3D::paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer* imageBuffer) argument
128 m_context->paintFramebufferToCanvas(framebuffer, width, height, premultiplyAlpha, imageBuffer);
H A DGraphicsContext3DImagePacking.cpp1497 bool premultiplyAlpha,
1511 if (!packPixels(imageData, DataFormatRGBA8, width, height, 0, format, type, premultiplyAlpha ? AlphaDoPremultiply : AlphaDoNothing, data.data(), flipY))
1522 bool flipY, bool premultiplyAlpha,
1536 if (!packPixels(static_cast<const uint8_t*>(pixels), sourceDataFormat, width, height, unpackAlignment, format, type, (premultiplyAlpha ? AlphaDoPremultiply : AlphaDoNothing), data.data(), flipY))
1491 extractImageData( const uint8_t* imageData, const IntSize& imageDataSize, GC3Denum format, GC3Denum type, bool flipY, bool premultiplyAlpha, Vector<uint8_t>& data) argument
1517 extractTextureData( unsigned width, unsigned height, GC3Denum format, GC3Denum type, unsigned unpackAlignment, bool flipY, bool premultiplyAlpha, const void* pixels, Vector<uint8_t>& data) argument
H A DGraphicsContext3D.cpp697 GraphicsContext3D::ImageExtractor::ImageExtractor(Image* image, ImageHtmlDomSource imageHtmlDomSource, bool premultiplyAlpha, bool ignoreGammaAndColorProfile) argument
701 m_extractSucceeded = extractImage(premultiplyAlpha, ignoreGammaAndColorProfile);
710 bool GraphicsContext3D::ImageExtractor::extractImage(bool premultiplyAlpha, bool ignoreGammaAndColorProfile) argument
717 if ((!m_skiaImage || ignoreGammaAndColorProfile || (hasAlpha && !premultiplyAlpha)) && m_image->data()) {
738 if (hasAlpha && premultiplyAlpha)
740 } else if (!premultiplyAlpha && hasAlpha) {
814 void GraphicsContext3D::paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer* imageBuffer) argument
843 readBackFramebuffer(pixels, width, height, ReadbackSkia, premultiplyAlpha ? AlphaDoPremultiply : AlphaDoNothing);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DDrawingBuffer.cpp301 bool DrawingBuffer::copyToPlatformTexture(GraphicsContext3D& context, Platform3DObject texture, GC3Denum internalFormat, GC3Denum destType, GC3Dint level, bool premultiplyAlpha, bool flipY) argument
326 if (m_attributes.alpha && m_attributes.premultipliedAlpha && !premultiplyAlpha)
328 else if (m_attributes.alpha && !m_attributes.premultipliedAlpha && premultiplyAlpha)
/external/chromium_org/third_party/WebKit/Source/testing/runner/
H A DTestPlugin.cpp77 void premultiplyAlpha(const unsigned colorIn[3], float alpha, float colorOut[4]) function in namespace:WebTestRunner::__anon11205
339 premultiplyAlpha(m_scene.backgroundColor, m_scene.opacity, color);
441 premultiplyAlpha(m_scene.primitiveColor, m_scene.opacity, color);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebMediaPlayerClientImpl.cpp480 bool WebMediaPlayerClientImpl::copyVideoTextureToPlatformTexture(WebCore::GraphicsContext3D* context, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY) argument
489 return m_webMediaPlayer->copyVideoTextureToPlatformTexture(webGraphicsContext3D, texture, level, internalFormat, type, premultiplyAlpha, flipY);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLRenderingContext.cpp3299 void WebGLRenderingContext::texImage2DImpl(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Denum format, GC3Denum type, Image* image, GraphicsContext3D::ImageHtmlDomSource domSource, bool flipY, bool premultiplyAlpha, ExceptionState& exceptionState) argument
3303 GraphicsContext3D::ImageExtractor imageExtractor(image, domSource, premultiplyAlpha, m_unpackColorspaceConversion == GL_NONE);
3595 void WebGLRenderingContext::texSubImage2DImpl(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint yoffset, GC3Denum format, GC3Denum type, Image* image, GraphicsContext3D::ImageHtmlDomSource domSource, bool flipY, bool premultiplyAlpha, ExceptionState& exceptionState) argument
3599 GraphicsContext3D::ImageExtractor imageExtractor(image, domSource, premultiplyAlpha, m_unpackColorspaceConversion == GL_NONE);

Completed in 156 milliseconds