Home
last modified time | relevance | path

Searched refs:hbmp (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/win/
DDragImageCairoWin.cpp50 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); in allocImage() local
56 return hbmp; in allocImage()
65 DeleteObject(hbmp); in allocImage()
85 return hbmp; in allocImage()
114 HBITMAP hbmp = 0; in scaleDragImage() local
122 hbmp = allocImage(dstDC, dstSize, &targetContext); in scaleDragImage()
123 if (!hbmp) in scaleDragImage()
145 if (!hbmp) in scaleDragImage()
146 hbmp = image; in scaleDragImage()
150 return hbmp; in scaleDragImage()
[all …]
DDragImageCGWin.cpp51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); in allocImage() local
54 return hbmp; in allocImage()
60 DeleteObject(hbmp); in allocImage()
65 return hbmp; in allocImage()
91 HBITMAP hbmp = 0; in scaleDragImage() local
97 hbmp = allocImage(dstDC, dstSize, &targetContext); in scaleDragImage()
98 if (!hbmp) in scaleDragImage()
115 if (!hbmp) in scaleDragImage()
116 hbmp = image; in scaleDragImage()
120 return hbmp; in scaleDragImage()
[all …]
/external/webkit/Source/WebCore/page/win/
DFrameCGWin.cpp64 HBITMAP hbmp = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0); in imageFromRect() local
65 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc, hbmp)); in imageFromRect()
80 return hbmp; in imageFromRect()
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/
DChunkedUpdateDrawingAreaWin.cpp44 …OwnPtr<HBITMAP> hbmp(::CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, updateChunk->memory(), 0)); in paintIntoUpdateChunk() local
46 HBITMAP hbmpOld = static_cast<HBITMAP>(::SelectObject(hdc.get(), hbmp.get())); in paintIntoUpdateChunk()
/external/webkit/Source/WebCore/platform/graphics/wince/
DSharedBitmap.cpp199 OwnPtr<HBITMAP> hbmp = adoptPtr(CreateDIBSection(0, bmpInfo, DIB_RGB_COLORS, pixels, 0, 0)); in createHandle() local
201 if (!hbmp) in createHandle()
205 HGDIOBJ hOldBmp = SelectObject(bmpDC.get(), hbmp.get()); in createHandle()
211 return hbmp.release(); in createHandle()
346 static void drawPatternSimple(HDC hdc, const RECT& destRect, HBITMAP hbmp, const POINT& phase) in drawPatternSimple() argument
348 OwnPtr<HBRUSH> hBrush = adoptPtr(CreatePatternBrush(hbmp)); in drawPatternSimple()
524 OwnPtr<HBITMAP> hbmp = createHandle(&pixels, &bmpInfo, -1, false); in drawPattern() local
525 if (hbmp) in drawPattern()
526 drawPatternSimple(hmemdc.get(), srcRectWin, hbmp.get(), phaseWin); in drawPattern()
/external/webkit/Source/WebKit/win/
DWebNodeHighlight.cpp151 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(hdc, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0)); in update() local
153 ::SelectObject(hdc, hbmp.get()); in update()
/external/webkit/Source/WebCore/plugins/win/
DPluginViewWin.cpp1036 OwnPtr<HBITMAP> hbmp(CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, 0, 0)); in snapshot() local
1038 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc.get(), hbmp.get())); in snapshot()
1044 return BitmapImage::create(hbmp.get()); in snapshot()
/external/webkit/Source/WebKit2/UIProcess/win/
DWebView.cpp1395 HBITMAP hbmp = 0; in setFindIndicator() local
1407hbmp = CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0); in setFindIndicator()
1408 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc, hbmp)); in setFindIndicator()
1427 …(*m_findIndicatorCallback)(toAPI(this), hbmp, selectionRect, fadeOut, m_findIndicatorCallbackConte… in setFindIndicator()
/external/webkit/Source/WebKit2/UIProcess/
DWebPageProxy.cpp775 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &bits, 0, 0)); in startDragDrop() local
782 sdi.hbmpDragImage = hbmp.leakPtr(); in startDragDrop()