/external/webkit/Source/WebCore/platform/graphics/win/ |
DIBPixelData.cpp | 41 BITMAP bmpInfo; 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.bmBitsPixel [all...] |
ImageCairoWin.cpp | 62 BITMAP bmpInfo; 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.bmWidthBytes) [all...] |
ImageCGWin.cpp | 66 BITMAP bmpInfo; 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.bmWidth, bmpInfo.bmHeight), IntSize(*size), ColorSpaceDeviceRGB, CompositeCopy) [all...] |
GraphicsContextWin.cpp | 48 BITMAP bmpInfo; 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/ |
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);
|
SharedBitmap.cpp | 190 PassOwnPtr<HBITMAP> SharedBitmap::createHandle(void** pixels, BitmapInfo* bmpInfo, int height, bool use16bit) const 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; 264 hTempBitmap = createHandle(&pixels, &bmpInfo, -1, usesTransparentColor()); 296 PassOwnPtr<HBITMAP> SharedBitmap::clipBitmap(const IntRect& rect, bool useAlpha, BitmapInfo& bmpInfo, void*& pixels) 308 bmpInfo = BitmapInfo::createBottomUp(IntSize(copyWidth, copyHeight), (useAlpha && is32bit()) ? BitmapInfo: (…) [all...] |
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);
|
/external/webkit/Source/WebCore/platform/win/ |
DragImageCGWin.cpp | 48 BitmapInfo bmpInfo = BitmapInfo::create(size); 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(),
|
DragImageCairoWin.cpp | 47 BitmapInfo bmpInfo = BitmapInfo::create(size); 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/ |
GraphicsContextWx.cpp | 643 BITMAP bmpInfo; 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/ |
PasteboardWinCE.cpp | 217 BitmapInfo bmpInfo; 219 HBITMAP resultBitmap = sourceBmp->clipBitmap(rect, true, bmpInfo, pixels);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
GraphicsContextQt.cpp | [all...] |