/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageFrame.h | 120 bool premultiplyAlpha() const { return m_premultiplyAlpha; } 140 void setPremultiplyAlpha(bool premultiplyAlpha) { m_premultiplyAlpha = premultiplyAlpha; }
|
ImageFrame.cpp | 67 setPremultiplyAlpha(other.premultiplyAlpha());
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLVideoElement.h | 58 bool copyVideoTextureToPlatformTexture(GraphicsContext3D*, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY);
|
HTMLVideoElement.cpp | 192 bool HTMLVideoElement::copyVideoTextureToPlatformTexture(GraphicsContext3D* context, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY) 196 return player()->copyVideoTextureToPlatformTexture(context, texture, level, type, internalFormat, premultiplyAlpha, flipY);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebMediaPlayer.h | 146 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned level, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; }
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
DrawingBuffer.h | 133 GC3Denum destType, GC3Dint level, bool premultiplyAlpha, bool flipY);
|
DrawingBuffer.cpp | 301 bool DrawingBuffer::copyToPlatformTexture(GraphicsContext3D& context, Platform3DObject texture, GC3Denum internalFormat, GC3Denum destType, GC3Dint level, bool premultiplyAlpha, bool flipY) 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/platform/graphics/ |
Extensions3D.cpp | 126 void Extensions3D::paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer* imageBuffer) 128 m_context->paintFramebufferToCanvas(framebuffer, width, height, premultiplyAlpha, imageBuffer);
|
GraphicsContext3D.h | 427 ImageExtractor(Image*, ImageHtmlDomSource, bool premultiplyAlpha, bool ignoreGammaAndColorProfile); 442 bool extractImage(bool premultiplyAlpha, bool ignoreGammaAndColorProfile); 466 // and obeying the flipY and premultiplyAlpha flags. Returns true 468 static bool extractImageData(const uint8_t*, const IntSize&, GC3Denum format, GC3Denum type, bool flipY, bool premultiplyAlpha, Vector<uint8_t>& data); 471 // data, applying the flipY and premultiplyAlpha parameters. 475 static bool extractTextureData(unsigned width, unsigned height, GC3Denum format, GC3Denum type, unsigned unpackAlignment, bool flipY, bool premultiplyAlpha, const void* pixels, Vector<uint8_t>& data); 503 void paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer*);
|
Extensions3D.h | 285 void paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer*);
|
GraphicsContext3D.cpp | 697 GraphicsContext3D::ImageExtractor::ImageExtractor(Image* image, ImageHtmlDomSource imageHtmlDomSource, bool premultiplyAlpha, bool ignoreGammaAndColorProfile) 701 m_extractSucceeded = extractImage(premultiplyAlpha, ignoreGammaAndColorProfile); 710 bool GraphicsContext3D::ImageExtractor::extractImage(bool premultiplyAlpha, bool ignoreGammaAndColorProfile) 717 if ((!m_skiaImage || ignoreGammaAndColorProfile || (hasAlpha && !premultiplyAlpha)) && m_image->data()) { 738 if (hasAlpha && premultiplyAlpha) 740 } else if (!premultiplyAlpha && hasAlpha) { 741 // 1. For texImage2D with HTMLVideoElment input, assume no PremultiplyAlpha had been applied and the alpha value for each pixel is 0xFF [all...] |
ImageBuffer.cpp | 135 bool ImageBuffer::copyToPlatformTexture(GraphicsContext3D& context, Platform3DObject texture, GC3Denum internalFormat, GC3Denum destType, GC3Dint level, bool premultiplyAlpha, bool flipY) 149 context.pixelStorei(Extensions3D::UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, !premultiplyAlpha);
|
GraphicsContext3DImagePacking.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
TestPlugin.cpp | 77 void premultiplyAlpha(const unsigned colorIn[3], float alpha, float colorOut[4]) 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/ |
WebMediaPlayerClientImpl.h | 122 virtual bool copyVideoTextureToPlatformTexture(WebCore::GraphicsContext3D*, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY) OVERRIDE;
|
WebMediaPlayerClientImpl.cpp | 480 bool WebMediaPlayerClientImpl::copyVideoTextureToPlatformTexture(WebCore::GraphicsContext3D* context, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY) 489 return m_webMediaPlayer->copyVideoTextureToPlatformTexture(webGraphicsContext3D, texture, level, internalFormat, type, premultiplyAlpha, flipY);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLRenderingContext.h | 672 void texImage2DImpl(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Denum format, GC3Denum type, Image*, GraphicsContext3D::ImageHtmlDomSource, bool flipY, bool premultiplyAlpha, ExceptionState&); 674 void texSubImage2DImpl(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint yoffset, GC3Denum format, GC3Denum type, Image*, GraphicsContext3D::ImageHtmlDomSource, bool flipY, bool premultiplyAlpha, ExceptionState&); [all...] |
WebGLRenderingContext.cpp | [all...] |