Home
last modified time | relevance | path

Searched refs:bitmapInfo (Results 1 – 22 of 22) sorted by relevance

/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebDragClientWin.cpp70 BITMAPINFO bitmapInfo = {0}; in startDrag() local
71 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in startDrag()
72 GetDIBits(bitmapDC.get(), image, 0, 0, 0, &bitmapInfo, DIB_RGB_COLORS); in startDrag()
73 if (bitmapInfo.bmiHeader.biSizeImage <= 0) in startDrag()
74bitmapInfo.bmiHeader.biSizeImage = bitmapInfo.bmiHeader.biWidth * abs(bitmapInfo.bmiHeader.biHeigh… in startDrag()
76 RefPtr<SharedMemory> memoryBuffer = SharedMemory::create(bitmapInfo.bmiHeader.biSizeImage); in startDrag()
78 bitmapInfo.bmiHeader.biCompression = BI_RGB; in startDrag()
79 …GetDIBits(bitmapDC.get(), image, 0, bitmapInfo.bmiHeader.biHeight, memoryBuffer->data(), &bitmapIn… in startDrag()
86 …n, dragPoint, okEffect, dragData.dragDataMap(), IntSize(bitmapInfo.bmiHeader.biWidth, bitmapInfo.b… in startDrag()
/external/webkit/Source/WebCore/platform/win/
DBitmapInfo.cpp38 BitmapInfo bitmapInfo; in bitmapInfoForSize() local
39 bitmapInfo.bmiHeader.biWidth = width; in bitmapInfoForSize()
40 bitmapInfo.bmiHeader.biHeight = height; in bitmapInfoForSize()
41 bitmapInfo.bmiHeader.biPlanes = 1; in bitmapInfoForSize()
42 bitmapInfo.bmiHeader.biBitCount = bitCount; in bitmapInfoForSize()
43 bitmapInfo.bmiHeader.biCompression = BI_RGB; in bitmapInfoForSize()
45 return bitmapInfo; in bitmapInfoForSize()
DPopupMenuWin.cpp584 … BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(clientRect().size(), BitmapInfo::BitCount16); in paint() local
586 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(clientRect().size()); in paint()
589 m_bmp = ::CreateDIBSection(m_DC, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0); in paint()
/external/webkit/Source/WebCore/platform/brew/
DScreenBrew.cpp54 AEEBitmapInfo bitmapInfo; in getDisplayInfo() local
55 IBitmap_GetInfo(bitmap.get(), &bitmapInfo, sizeof(AEEBitmapInfo)); in getDisplayInfo()
57 info.width = bitmapInfo.cx; in getDisplayInfo()
58 info.height = bitmapInfo.cy; in getDisplayInfo()
59 info.depth = bitmapInfo.nDepth; in getDisplayInfo()
/external/webkit/Source/WebKit2/UIProcess/win/
DChunkedUpdateDrawingAreaProxyWin.cpp48 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(size()); in ensureBackingStore() local
51 m_backingStoreBitmap.set(::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0)); in ensureBackingStore()
85 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(updateChunk->rect().size()); in drawUpdateChunkIntoBackingStore() local
93 …OwnPtr<HBITMAP> hBitmap(::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &pixels, updateChunkHan… in drawUpdateChunkIntoBackingStore()
DWebPopupMenuProxyWin.cpp828 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(clientRect().size()); in paint() local
830 m_bmp = ::CreateDIBSection(m_DC, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0); in paint()
DWebView.cpp1405 BitmapInfo bitmapInfo = BitmapInfo::create(contentImage->size()); in setFindIndicator() local
1407 … hbmp = CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0); in setFindIndicator()
/external/webkit/Source/WebCore/platform/graphics/wx/
DGraphicsContextWx.cpp617 BITMAPINFO bitmapInfo; in getWindowsContext() local
618 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in getWindowsContext()
619 bitmapInfo.bmiHeader.biWidth = dstRect.width(); in getWindowsContext()
620 bitmapInfo.bmiHeader.biHeight = dstRect.height(); in getWindowsContext()
621 bitmapInfo.bmiHeader.biPlanes = 1; in getWindowsContext()
622 bitmapInfo.bmiHeader.biBitCount = 32; in getWindowsContext()
623 bitmapInfo.bmiHeader.biCompression = BI_RGB; in getWindowsContext()
624 bitmapInfo.bmiHeader.biSizeImage = 0; in getWindowsContext()
625 bitmapInfo.bmiHeader.biXPelsPerMeter = 0; in getWindowsContext()
626 bitmapInfo.bmiHeader.biYPelsPerMeter = 0; in getWindowsContext()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsContextWin.cpp69 BitmapInfo bitmapInfo = BitmapInfo::create(size); in WindowsBitmap() local
72 m_bitmap = CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &storage, 0, 0); in WindowsBitmap()
108 BitmapInfo bitmapInfo = BitmapInfo::create(dstRect.size()); in getWindowsContext() local
111 HBITMAP bitmap = ::CreateDIBSection(NULL, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0); in getWindowsContext()
DGraphicsContextCGWin.cpp55 …CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Little | (hasAlpha ? kCGImageAlphaPremultipliedFirst… in CGContextWithHDC() local
57 … pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), bitmapInfo); in CGContextWithHDC()
/external/webkit/Source/WebKit2/Shared/cg/
DShareableBitmapCG.cpp37 static CGBitmapInfo bitmapInfo(ShareableBitmap::Flags flags) in bitmapInfo() function
56 bitmapInfo(m_flags), releaseBitmapContextData, this)); in createGraphicsContext()
83 …width(), m_size.height(), 8, 32, m_size.width() * 4, colorSpace.get(), bitmapInfo(m_flags), dataPr… in makeCGImage()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp1296 BITMAPINFO bitmapInfo; in getWindowsContext() local
1297 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in getWindowsContext()
1298 bitmapInfo.bmiHeader.biWidth = dstRect.width(); in getWindowsContext()
1299 bitmapInfo.bmiHeader.biHeight = dstRect.height(); in getWindowsContext()
1300 bitmapInfo.bmiHeader.biPlanes = 1; in getWindowsContext()
1301 bitmapInfo.bmiHeader.biBitCount = 32; in getWindowsContext()
1302 bitmapInfo.bmiHeader.biCompression = BI_RGB; in getWindowsContext()
1303 bitmapInfo.bmiHeader.biSizeImage = 0; in getWindowsContext()
1304 bitmapInfo.bmiHeader.biXPelsPerMeter = 0; in getWindowsContext()
1305 bitmapInfo.bmiHeader.biYPelsPerMeter = 0; in getWindowsContext()
[all …]
/external/webkit/Source/WebKit/win/
DWebNodeHighlight.cpp148 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(IntSize(size)); in update() local
151 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(hdc, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0)); in update()
DFullscreenVideoController.cpp439 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(IntSize(windowWidth, windowHeight)); in createHUDWindow() local
440 m_bitmap.set(::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0)); in createHUDWindow()
DWebView.cpp781 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(IntSize(m_backingStoreSize)); in ensureBackingStore() local
784 …m_backingStoreBitmap = RefCountedHBITMAP::create(::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS… in ensureBackingStore()
/external/webkit/Source/WebCore/platform/graphics/wince/
DSharedBitmap.h50 const BitmapInfo& bitmapInfo() const { return m_bmpInfo; } in bitmapInfo() function
DSharedBitmap.cpp318 bytes(), &bitmapInfo(), DIB_RGB_COLORS, SRCCOPY); in clipBitmap()
341 bytes(), &bitmapInfo(), DIB_RGB_COLORS, SRCCOPY); in clipBitmap()
368 bmp->bytes(), &bmp->bitmapInfo(), DIB_RGB_COLORS, SRCCOPY); in drawPatternSimple()
DGraphicsContextWinCE.cpp296 … const unsigned* const pixelsEnd = pixels + bmp->bitmapInfo().numPixels(); in getTransparentLayerBitmap()
308 memset(bmp->bytes(), 0xFF, bmp->bitmapInfo().numPixels() * 4); in getTransparentLayerBitmap()
327 const unsigned* const pixelsEnd = pixels + bmp->bitmapInfo().numPixels(); in paintBackTransparentLayerBitmap()
559 const unsigned* const pixelsEnd = pixels + m_bitmap->bitmapInfo().numPixels(); in fillAlphaChannel()
/external/webkit/Source/WebKit2/UIProcess/
DWebPageProxy.cpp773 BitmapInfo bitmapInfo = BitmapInfo::create(dragImageSize); in startDragDrop() local
775 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &bits, 0, 0)); in startDragDrop()
779 sdi.sizeDragImage.cx = bitmapInfo.bmiHeader.biWidth; in startDragDrop()
780 sdi.sizeDragImage.cy = bitmapInfo.bmiHeader.biHeight; in startDragDrop()
786 sdi.ptOffset.y = bitmapInfo.bmiHeader.biHeight - sdi.ptOffset.y; in startDragDrop()
/external/clang/test/Analysis/
Dretain-release.m1143 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1148 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1157 bytesPerRow, space, bitmapInfo, releaseCallback, number);
/external/webkit/Source/WebKit2/
DChangeLog5326 (WebKit::bitmapInfo): New helper function. Includes an alpha channel only if specified in
/external/webkit/Source/WebCore/
DChangeLog-2007-10-1432272 … In Cairo version of Image::getHBITMAP, use correct bitmapInfo field and return true for success.