Home
last modified time | relevance | path

Searched refs:alphaMask (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/qt/
DTransparencyLayer.h48 TransparencyLayer(const QPainter* p, const QRect &rect, qreal opacity, QPixmap& alphaMask) in TransparencyLayer()
51 , alphaMask(alphaMask) in TransparencyLayer()
75 QPixmap alphaMask; member
DImageBufferQt.cpp164 QPixmap alphaMask = *nativeImage; in clip() local
165 if (alphaMask.width() != rect.width() || alphaMask.height() != rect.height()) in clip()
166 alphaMask = alphaMask.scaled(rect.width(), rect.height()); in clip()
168 context->pushTransparencyLayerInternal(rect, 1.0, alphaMask); in clip()
DGraphicsContextQt.cpp299 if (!m_data->layers.isEmpty() && !m_data->layers.top()->alphaMask.isNull()) in savePlatformState()
307 if (!m_data->layers.isEmpty() && !m_data->layers.top()->alphaMask.isNull()) in restorePlatformState()
952 …raphicsContext::pushTransparencyLayerInternal(const QRect &rect, qreal opacity, QPixmap& alphaMask) in pushTransparencyLayerInternal() argument
955 m_data->layers.push(new TransparencyLayer(p, p->transform().mapRect(rect), 1.0, alphaMask)); in pushTransparencyLayerInternal()
988 if (!layer->alphaMask.isNull()) { in endTransparencyLayer()
991 layer->painter.drawPixmap(QPoint(), layer->alphaMask); in endTransparencyLayer()
/external/skia/src/images/
DSkScaledBitmapSampler.cpp43 unsigned alphaMask = 0xFF; in Sample_RGBA_D8888() local
48 alphaMask &= alpha; in Sample_RGBA_D8888()
50 return alphaMask != 0xFF; in Sample_RGBA_D8888()
169 unsigned alphaMask = 0xFF; in Sample_RGBA_D4444() local
176 alphaMask &= alpha; in Sample_RGBA_D4444()
178 return alphaMask != 0xFF; in Sample_RGBA_D4444()
185 unsigned alphaMask = 0xFF; in Sample_RGBA_D4444_D() local
193 alphaMask &= alpha; in Sample_RGBA_D4444_D()
195 return alphaMask != 0xFF; in Sample_RGBA_D4444_D()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDDSLoader.java113 private int redMask, greenMask, blueMask, alphaMask; field in DDSLoader
323 alphaMask = in.readInt(); in readPixelFormat()
476 alphaCount = count(alphaMask); in readRGB2D()
479 if (alphaMask == 0xFF000000 && bpp == 32) { in readRGB2D()
506 byte alpha = (byte) (((i & alphaMask) >> alphaCount)); in readRGB2D()
514 if (alphaMask == 0) { in readRGB2D()
617 alphaCount = count(alphaMask); in readRGB3D()
620 if (alphaMask == 0xFF000000 && bpp == 32) { in readRGB3D()
648 byte alpha = (byte) (((i & alphaMask) >> alphaCount)); in readRGB3D()
656 if (alphaMask == 0) { in readRGB3D()
/external/webkit/Source/WebCore/platform/graphics/
DGraphicsContext.h522 void pushTransparencyLayerInternal(const QRect &rect, qreal opacity, QPixmap& alphaMask);
/external/webkit/Source/WebCore/plugins/gtk/
DPluginViewGtk.cpp752 if (format->type == PictTypeDirect && format->direct.alphaMask) { in getVisualAndColormap()
/external/webkit/Source/WebCore/plugins/qt/
DPluginViewQt.cpp899 if (format->type == PictTypeDirect && format->direct.alphaMask) { in getVisualAndColormap()
/external/mesa3d/src/mesa/main/
Dmtypes.h480 GLuint redMask, greenMask, blueMask, alphaMask; member