/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/ |
H A D | ImageCairoWin.cpp | 62 BITMAP bmpInfo; local 63 GetObject(bmp, sizeof(BITMAP), &bmpInfo); 66 if (bmpInfo.bmBitsPixel == 32 && bmpInfo.bmBits) { 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 [all...] |
H A D | ImageCGWin.cpp | 66 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 D | DIBPixelData.cpp | 41 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 D | GraphicsContextWin.cpp | 48 BITMAP bmpInfo; local 49 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo); 50 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight; 51 memset(bmpInfo.bmBits, 0, bufferSize);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/wince/ |
H A D | ImageWinCE.cpp | 67 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, BlendModeNormal);
|
H A D | SharedBitmap.cpp | 189 PassOwnPtr<HBITMAP> SharedBitmap::createHandle(void** pixels, BitmapInfo* bmpInfo, int height, bool use16bit) const argument 196 *bmpInfo = BitmapInfo::createBottomUp(IntSize(width(), height), (use16bit || is16bit()) ? BitmapInfo::BitCount16 : BitmapInfo::BitCount32); 198 OwnPtr<HBITMAP> hbmp = adoptPtr(CreateDIBSection(0, bmpInfo, DIB_RGB_COLORS, pixels, 0, 0)); 224 BitmapInfo bmpInfo; 226 m_hbitmap = createHandle(&pixels, &bmpInfo, -1, !hasAlpha()); 233 m_bmpInfo = bmpInfo; 262 BitmapInfo bmpInfo; local 263 hTempBitmap = createHandle(&pixels, &bmpInfo, -1, usesTransparentColor()); 295 PassOwnPtr<HBITMAP> SharedBitmap::clipBitmap(const IntRect& rect, bool useAlpha, BitmapInfo& bmpInfo, void*& pixels) argument 307 bmpInfo 522 BitmapInfo bmpInfo; local [all...] |
H A D | SharedBitmap.h | 70 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);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/win/ |
H A D | DragImageCGWin.cpp | 49 BitmapInfo bmpInfo = BitmapInfo::create(size); local 52 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, deviceRGBColorSpaceRef(),
|
H A D | DragImageCairoWin.cpp | 47 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);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/wince/ |
H A D | PasteboardWinCE.cpp | 229 BitmapInfo bmpInfo; local 231 HBITMAP resultBitmap = sourceBmp->clipBitmap(rect, true, bmpInfo, pixels);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/qt/ |
H A D | GraphicsContextQt.cpp | 1569 BITMAP bmpInfo; local 1570 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo); 1571 int bufferSize = bmpInfo.bmWidthBytes * bmpInfo.bmHeight; 1572 memset(bmpInfo.bmBits, 0, bufferSize);
|
/macosx-10.9.5/WebKit-7537.78.2/win/ |
H A D | WebView.cpp | 1043 BITMAP bmpInfo; local 1044 ::GetObject(m_backingStoreBitmap->handle(), sizeof(bmpInfo), &bmpInfo); 1045 SIZE windowSize = { bmpInfo.bmWidth, bmpInfo.bmHeight };
|