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

/external/webkit/WebCore/platform/graphics/win/
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;
73 CGContextRef cgContext = CGBitmapContextCreate(bmpInfo.bmBits, bmpInfo.bmWidth, bmpInfo.bmHeight,
74 8, bmpInfo.bmWidthBytes, deviceRGB, kCGBitmapByteOrder32Little | kCGImageAlphaPremultipliedFirst);
80 drawFrameMatchingSourceSize(&gc, FloatRect(0.0f, 0.0f, bmpInfo
[all...]
H A DGraphicsContextWin.cpp50 BITMAP bmpInfo; local
51 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
52 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
53 memset(bmpInfo.bmBits, 0, bufferSize);
81 BITMAP bmpInfo; local
82 GetObject(m_bitmap, sizeof(bmpInfo), &bmpInfo);
83 m_bytesPerRow = bmpInfo
[all...]
/external/webkit/WebCore/platform/win/
H A DDragImageCairoWin.cpp53 BitmapInfo bmpInfo = BitmapInfo::create(size); local
56 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0);
66 bmpInfo.bmiHeader.biWidth,
67 bmpInfo.bmiHeader.biHeight,
68 bmpInfo.bmiHeader.biWidth * 4);
H A DDragImageCGWin.cpp48 BitmapInfo bmpInfo = BitmapInfo::create(size); local
51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0);
57 CGContextRef bitmapContext = CGBitmapContextCreate(bits, bmpInfo.bmiHeader.biWidth, bmpInfo.bmiHeader.biHeight, 8,
58 bmpInfo.bmiHeader.biWidth * 4, deviceRGB,
/external/webkit/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp607 BITMAP bmpInfo; local
608 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
609 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
610 memset(bmpInfo.bmBits, 0, bufferSize);
/external/webkit/WebCore/platform/wince/
H A DPasteboardWince.cpp216 BitmapInfo bmpInfo; local
218 HBITMAP resultBitmap = sourceBmp->clipBitmap(rect, true, bmpInfo, pixels);
/external/webkit/WebCore/platform/graphics/qt/
H A DGraphicsContextQt.cpp1191 BITMAP bmpInfo; local
1192 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
1193 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight;
1194 memset(bmpInfo.bmBits, 0, bufferSize);

Completed in 40 milliseconds