Home
last modified time | relevance | path

Searched refs:m_pixmap (Results 1 – 12 of 12) sorted by relevance

/external/webkit/Source/WebCore/platform/image-decoders/qt/
DImageFrameQt.cpp62 m_pixmap = QPixmap(); in clearPixelData()
73 if (m_pixmap.isNull() && !m_image.isNull()) { in zeroFillPixelData()
74 m_pixmap = QPixmap(m_image.width(), m_image.height()); in zeroFillPixelData()
77 m_pixmap.fill(QColor(0, 0, 0, 0)); in zeroFillPixelData()
86 m_pixmap = other.m_pixmap; in copyBitmapData()
100 m_pixmap = QPixmap(newWidth, newHeight); in setSize()
101 if (m_pixmap.isNull()) in setSize()
111 if (m_pixmap.isNull() && !m_image.isNull()) { in asNewNativeImage()
112 m_pixmap = QPixmap::fromImage(m_image); in asNewNativeImage()
115 return new QPixmap(m_pixmap); in asNewNativeImage()
[all …]
/external/webkit/Source/WebCore/platform/graphics/qt/
DTextureMapperQt.cpp35 if (m_pixmap.paintingActive()) in destroy()
37 m_pixmap = QPixmap(); in destroy()
44 …if (size.width() > m_pixmap.size().width() || size.height() > m_pixmap.size().height() || m_pixmap in reset()
45 m_pixmap = QPixmap(size.width(), size.height()); in reset()
47 m_pixmap.fill(Qt::transparent); in reset()
52 m_painter.begin(&m_pixmap); in beginPaint()
67 return m_pixmap.save(path, "PNG"); in save()
78 m_pixmap = *pixmap; in setContentsToImage()
83 if (m_pixmap.isNull()) in pack()
86 m_image = m_pixmap.toImage(); in pack()
[all …]
DStillImageQt.cpp40 : m_pixmap(new QPixmap(pixmap)) in StillImage()
45 : m_pixmap(pixmap) in StillImage()
52 delete m_pixmap; in ~StillImage()
57 return IntSize(m_pixmap->width(), m_pixmap->height()); in size()
62 return const_cast<NativeImagePtr>(m_pixmap); in nativeImageForCurrentFrame()
68 if (m_pixmap->isNull()) in draw()
82 shadowPainter->drawPixmap(normalizedDst, *m_pixmap, normalizedSrc); in draw()
87 ctxt->platformContext()->drawPixmap(normalizedDst, *m_pixmap, normalizedSrc); in draw()
DImageBufferQt.cpp51 : m_pixmap(size) in ImageBufferData()
54 if (m_pixmap.isNull()) in ImageBufferData()
57 m_pixmap.fill(QColor(Qt::transparent)); in ImageBufferData()
62 if (!painter->begin(&m_pixmap)) in ImageBufferData()
80 m_image = StillImage::createForRendering(&m_pixmap); in ImageBufferData()
85 QPaintEngine* paintEngine = m_pixmap.paintEngine(); in toQImage()
87 return m_pixmap.toImage(); in toQImage()
93 QImage image = m_pixmap.toImage(); in toQImage()
132 return StillImage::create(m_data.m_pixmap); in copyImage()
194 m_data.m_pixmap = QPixmap::fromImage(image); in platformTransformColorSpace()
[all …]
DTextureMapperQt.h33 virtual IntSize size() const { return IntSize(m_pixmap.width(), m_pixmap.height()); } in size()
39 virtual bool isValid() const { return !m_pixmap.isNull() || !m_image.isNull(); } in isValid()
47 QPixmap m_pixmap; variable
DImageBufferDataQt.h43 QPixmap m_pixmap; variable
DStillImageQt.h61 const QPixmap* m_pixmap; variable
/external/webkit/Source/WebCore/platform/graphics/gtk/
DGraphicsContext3DInternal.cpp198 , m_pixmap(0) in GraphicsContext3DInternal()
206 , m_pixmap(pixmap) in GraphicsContext3DInternal()
231 if (m_pixmap) { in ~GraphicsContext3DInternal()
232 XFreePixmap(sharedDisplay(), m_pixmap); in ~GraphicsContext3DInternal()
233 m_pixmap = 0; in ~GraphicsContext3DInternal()
DGraphicsContext3DInternal.h52 Pixmap m_pixmap; variable
/external/webkit/Source/WebCore/platform/image-decoders/
DImageDecoder.h164 m_image = m_pixmap.toImage(); in getAddr()
165 m_pixmap = QPixmap(); in getAddr()
197 mutable QPixmap m_pixmap; variable
/external/webkit/Source/WebCore/plugins/mac/
DPluginViewMac.mm455 m_pixmap = QPixmap(m_windowRect.size());
456 m_pixmap.fill(Qt::transparent);
457 m_contextRef = m_pixmap.isNull() ? 0 : qt_mac_cg_context(&m_pixmap);
504 QPainter painter(&m_pixmap);
528 painter->drawPixmap(targetRect.x(), targetRect.y(), m_pixmap,
/external/webkit/Source/WebCore/plugins/
DPluginView.h449 QPixmap m_pixmap;