/external/webkit/Source/WebCore/platform/graphics/skia/ |
H A D | GraphicsContext3DSkia.cpp | 56 bool hasAlpha = skiaImage ? !skiaImage->isOpaque() : true; local 57 if ((!skiaImage || ignoreGammaAndColorProfile || (hasAlpha && !premultiplyAlpha)) && image->data()) { 64 hasAlpha = decoder.frameHasAlphaAtIndex(0); 72 if (hasAlpha && premultiplyAlpha) 74 } else if (!premultiplyAlpha && hasAlpha)
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
H A D | DeviceOrientationProviderQt.h | 46 bool hasAlpha() const { return m_rotation.property("hasZ").toBool(); } function in class:WebCore::DeviceOrientationProviderQt
|
H A D | DeviceMotionProviderQt.cpp | 59 m_deviceOrientation->hasAlpha(), m_deviceOrientation->orientation()->alpha(),
|
H A D | DeviceOrientationProviderQt.cpp | 61 // The Z (alpha) rotation angle is checked via hasAlpha() private method, 64 m_orientation = DeviceOrientation::create(hasAlpha(), reading->z(),
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 113 int hasAlpha; member in class:SkWEBPImageDecoder 148 static WEBP_CSP_MODE webp_decode_mode(SkBitmap* decodedBitmap, int hasAlpha) { argument 155 mode = hasAlpha ? MODE_rgbA : MODE_RGBA; 157 mode = hasAlpha ? MODE_rgbA_4444 : MODE_RGBA_4444; 217 int width, int height, int hasAlpha) { 218 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, hasAlpha); 245 SkIRect region, int hasAlpha) { 248 config, decodedBitmap, region.width(), region.height(), hasAlpha)) { 263 SkBitmap::Config config = this->getPrefConfig(k32Bit_SrcDepth, hasAlpha); 266 if (hasAlpha) { 215 webp_get_config_resize(WebPDecoderConfig& config, SkBitmap* decodedBitmap, int width, int height, int hasAlpha) argument 243 webp_get_config_resize_crop(WebPDecoderConfig& config, SkBitmap* decodedBitmap, SkIRect region, int hasAlpha) argument 290 int origWidth, origHeight, hasAlpha; local 391 int origWidth, origHeight, hasAlpha; local 567 int width, height, hasAlpha; local [all...] |
H A D | SkImageDecoder_libpng.cpp | 70 SkBitmap::Config *config, bool *hasAlpha, bool *doDither, 274 bool hasAlpha = false; local 278 if (getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, 313 decodePalette(png_ptr, info_ptr, &hasAlpha, 361 } else if (hasAlpha) { 641 bool hasAlpha = false; local 645 if (getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, 668 decodePalette(png_ptr, info_ptr, &hasAlpha, 735 } else if (hasAlpha) { 916 bool hasAlpha) { 915 choose_proc(SkBitmap::Config config, bool hasAlpha) argument 967 pack_palette(SkColorTable* ctable, png_color* SK_RESTRICT palette, png_byte* SK_RESTRICT trans, bool hasAlpha) argument 1032 const bool hasAlpha = !bitmap.isOpaque(); local 1092 doEncode(SkWStream* stream, const SkBitmap& bitmap, const bool& hasAlpha, int colorType, int bitDepth, SkBitmap::Config config, png_color_8& sig_bit) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | ImageHaiku.cpp | 131 bool hasAlpha = false; 138 for (uint32 y = 0; y < height && !hasAlpha; y++) { 140 for (uint32 x = 0; x < width && !hasAlpha; x++) { 141 hasAlpha = p[3] < 255; 148 if (hasAlpha)
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | GraphicsContextCairoWin.cpp | 39 static cairo_t* createCairoContextWithHDC(HDC hdc, bool hasAlpha) argument 67 GraphicsContext::GraphicsContext(HDC dc, bool hasAlpha) argument 70 platformInit(dc, hasAlpha); 73 void GraphicsContext::platformInit(HDC dc, bool hasAlpha) argument 77 cr = createCairoContextWithHDC(dc, hasAlpha);
|
H A D | GraphicsContextCGWin.cpp | 40 static CGContextRef CGContextWithHDC(HDC hdc, bool hasAlpha) argument 55 CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Little | (hasAlpha ? kCGImageAlphaPremultipliedFirst : kCGImageAlphaNoneSkipFirst); 69 GraphicsContext::GraphicsContext(HDC hdc, bool hasAlpha) argument 72 platformInit(hdc, hasAlpha); 75 void GraphicsContext::platformInit(HDC hdc, bool hasAlpha) argument 77 m_data = new GraphicsContextPlatformPrivate(CGContextWithHDC(hdc, hasAlpha));
|
H A D | QTDecompressionSession.cpp | 84 bool hasAlpha = pixelFormatInfo.formatFlags & kICMPixelFormatHasAlphaChannel; local 87 if (hasAlpha)
|
/external/webkit/Source/WebCore/html/ |
H A D | ColorInputType.cpp | 52 return color.isValid() && !color.hasAlpha();
|
/external/webkit/Source/WebKit/mac/Carbon/ |
H A D | CarbonUtils.m | 34 extern CGImageRef _NSCreateImageRef( unsigned char *const bitmapData[5], int pixelsWide, int pixelsHigh, int bitsPerSample, int samplesPerPixel, int bitsPerPixel, int bytesPerRow, BOOL isPlanar, BOOL hasAlpha, NSString *colorSpaceName, CGColorSpaceRef customColorSpace, id sourceObj); 125 [rep bytesPerRow], [rep isPlanar], [rep hasAlpha], [rep colorSpaceName],
|
/external/webkit/Source/WebCore/platform/image-decoders/png/ |
H A D | PNGImageDecoder.cpp | 155 bool hasAlpha() const { return m_hasAlpha; } function in class:WebCore::PNGImageReader 352 m_reader->createInterlaceBuffer((m_reader->hasAlpha() ? 4 : 3) * size().width() * size().height()); 387 bool hasAlpha = m_reader->hasAlpha(); local 388 unsigned colorChannels = hasAlpha ? 4 : 3; 407 unsigned alpha = hasAlpha ? pixel[3] : 255; 411 if (nonTrivialAlpha && !buffer.hasAlpha())
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | SharedBitmap.h | 48 static PassRefPtr<SharedBitmap> create(const Vector<unsigned>&, const IntSize&, bool hasAlpha = true); 66 bool hasAlpha() const { return m_hasAlpha; } function in class:WebCore::SharedBitmap 78 bool canUseDIBits() const { return !hasAlpha() && !usesTransparentColor(); }
|
H A D | SharedBitmap.cpp | 51 PassRefPtr<SharedBitmap> SharedBitmap::create(const Vector<unsigned>& data, const IntSize& size, bool hasAlpha) argument 57 result->setHasAlpha(hasAlpha); 227 m_hbitmap = createHandle(&pixels, &bmpInfo, -1, !hasAlpha()); 256 bool usingHandle = compositeOp == CompositeSourceOver && (hasAlpha() && hasAlphaBlendSupport() || usesTransparentColor()); 419 bool useAlpha = op == CompositeSourceOver && hasAlpha() && is32bit();
|
/external/skia/src/pdf/ |
H A D | SkPDFImage.cpp | 29 bool hasAlpha = false; local 79 hasAlpha = true; 93 hasAlpha = true; 134 hasAlpha = true; 166 hasAlpha = true; 178 hasAlpha = true; 199 hasAlpha = true; 220 if (isTransparent || !hasAlpha) {
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | RasterRenderer.cpp | 83 m_bitmap.setIsOpaque(!background->hasAlpha());
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | ImageQt.cpp | 123 ctxt->setCompositeOperation(!pixmap.hasAlpha() && op == CompositeSourceOver ? CompositeCopy : op); 136 if (pixmap.hasAlpha()) 190 m_frames[0].m_hasAlpha = pixmap->hasAlpha(); 225 ctxt->setCompositeOperation(!image->hasAlpha() && op == CompositeSourceOver ? CompositeCopy : op);
|
/external/webkit/Source/WebCore/platform/image-decoders/openvg/ |
H A D | ImageDecoderOpenVG.cpp | 41 const VGImageFormat imageFormat = hasAlpha() ? bufferFormat : VG_sRGB_565;
|
/external/webkit/Source/WebCore/platform/image-decoders/skia/ |
H A D | ImageDecoderSkia.cpp | 110 bool ImageFrame::hasAlpha() const function in class:WebCore::ImageFrame
|
/external/webkit/Source/WebCore/platform/image-decoders/qt/ |
H A D | ImageFrameQt.cpp | 118 bool ImageFrame::hasAlpha() const function in class:WebCore::ImageFrame
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | ImageSource.cpp | 180 || m_decoder->frameBufferAtIndex(index)->hasAlpha();
|
H A D | Color.cpp | 188 if (!hasAlpha()) { 309 if (!alpha() || !source.hasAlpha()) 326 if (hasAlpha())
|
H A D | Gradient.h | 92 bool hasAlpha() const;
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
H A D | GraphicsContext3DCG.cpp | 103 bool hasAlpha = image->isBitmapImage() ? static_cast<BitmapImage*>(image)->frameHasAlphaAtIndex(0) : true; local 104 if ((ignoreGammaAndColorProfile || (hasAlpha && !premultiplyAlpha)) && image->data()) {
|