Searched refs:bmpInfo (Results 1 - 12 of 12) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/win/
H A DDIBPixelData.cpp41 BITMAP bmpInfo; local
42 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
44 m_bitmapBuffer = reinterpret_cast<UInt8*>(bmpInfo.bmBits);
45 m_bitmapBufferLength = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
46 m_size = IntSize(bmpInfo.bmWidth, bmpInfo.bmHeight);
47 m_bytesPerRow = bmpInfo.bmWidthBytes;
48 m_bitsPerPixel = bmpInfo
[all...]
H A DImageCairoWin.cpp62 BITMAP bmpInfo; local
63 GetObject(bmp, sizeof(BITMAP), &bmpInfo);
66 if (bmpInfo.bmBitsPixel == 32) {
67 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
68 memset(bmpInfo.bmBits, 255, bufferSize);
71 cairo_surface_t* image = cairo_image_surface_create_for_data((unsigned char*)bmpInfo.bmBits,
73 bmpInfo.bmWidth,
74 bmpInfo.bmHeight,
75 bmpInfo
[all...]
H A DImageCGWin.cpp66 BITMAP bmpInfo; local
67 GetObject(bmp, sizeof(BITMAP), &bmpInfo);
69 ASSERT(bmpInfo.bmBitsPixel == 32);
70 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
72 CGContextRef cgContext = CGBitmapContextCreate(bmpInfo.bmBits, bmpInfo.bmWidth, bmpInfo.bmHeight,
73 8, bmpInfo.bmWidthBytes, deviceRGBColorSpaceRef(), kCGBitmapByteOrder32Little | kCGImageAlphaPremultipliedFirst);
79 drawFrameMatchingSourceSize(&gc, FloatRect(0.0f, 0.0f, bmpInfo
[all...]
H A DGraphicsContextWin.cpp48 BITMAP bmpInfo; local
49 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
50 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
51 memset(bmpInfo.bmBits, 0, bufferSize);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DImageWinCE.cpp67 BITMAP bmpInfo;
68 GetObject(bmp, sizeof(BITMAP), &bmpInfo);
70 ASSERT(bmpInfo.bmBitsPixel == 32);
71 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
81 drawFrameMatchingSourceSize(&gc, FloatRect(0, 0, bmpInfo.bmWidth, bmpInfo.bmHeight), IntSize(*size), ColorSpaceDeviceRGB, CompositeCopy);
83 draw(&gc, FloatRect(0, 0, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0, 0, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy);
H A DSharedBitmap.cpp190 PassOwnPtr<HBITMAP> SharedBitmap::createHandle(void** pixels, BitmapInfo* bmpInfo, int height, bool use16bit) const argument
197 *bmpInfo = BitmapInfo::createBottomUp(IntSize(width(), height), (use16bit || is16bit()) ? BitmapInfo::BitCount16 : BitmapInfo::BitCount32);
199 OwnPtr<HBITMAP> hbmp = adoptPtr(CreateDIBSection(0, bmpInfo, DIB_RGB_COLORS, pixels, 0, 0));
225 BitmapInfo bmpInfo;
227 m_hbitmap = createHandle(&pixels, &bmpInfo, -1, !hasAlpha());
234 m_bmpInfo = bmpInfo;
263 BitmapInfo bmpInfo; local
264 hTempBitmap = createHandle(&pixels, &bmpInfo, -1, usesTransparentColor());
296 PassOwnPtr<HBITMAP> SharedBitmap::clipBitmap(const IntRect& rect, bool useAlpha, BitmapInfo& bmpInfo, void*& pixels) argument
308 bmpInfo
523 BitmapInfo bmpInfo; local
[all...]
H A DSharedBitmap.h70 PassOwnPtr<HBITMAP> createHandle(void** pixels, BitmapInfo* bmpInfo, int h = -1, bool use16bit = true) const;
80 PassOwnPtr<HBITMAP> clipBitmap(const IntRect& rect, bool useAlpha, BitmapInfo& bmpInfo, void*& pixels);
/external/webkit/Source/WebCore/platform/win/
H A DDragImageCGWin.cpp48 BitmapInfo bmpInfo = BitmapInfo::create(size); local
51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0);
56 CGContextRef bitmapContext = CGBitmapContextCreate(bits, bmpInfo.bmiHeader.biWidth, bmpInfo.bmiHeader.biHeight, 8,
57 bmpInfo.bmiHeader.biWidth * 4, deviceRGBColorSpaceRef(),
H A DDragImageCairoWin.cpp47 BitmapInfo bmpInfo = BitmapInfo::create(size); local
50 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0);
60 bmpInfo.bmiHeader.biWidth,
61 bmpInfo.bmiHeader.biHeight,
62 bmpInfo.bmiHeader.biWidth * 4);
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp643 BITMAP bmpInfo; local
644 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
645 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
646 memset(bmpInfo.bmBits, 0, bufferSize);
/external/webkit/Source/WebCore/platform/wince/
H A DPasteboardWinCE.cpp217 BitmapInfo bmpInfo; local
219 HBITMAP resultBitmap = sourceBmp->clipBitmap(rect, true, bmpInfo, pixels);
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DGraphicsContextQt.cpp1322 BITMAP bmpInfo; local
1323 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
1324 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
1325 memset(bmpInfo.bmBits, 0, bufferSize);

Completed in 141 milliseconds