Home
last modified time | relevance | path

Searched refs:bmpInfo (Results 1 – 2 of 2) sorted by relevance

/external/skia/tools/viewer/sk_app/win/
DRasterWindowContext_win.cpp60 BITMAPINFO* bmpInfo = reinterpret_cast<BITMAPINFO*>(fSurfaceMemory.get()); in resize() local
61 ZeroMemory(bmpInfo, sizeof(BITMAPINFO)); in resize()
62 bmpInfo->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in resize()
63 bmpInfo->bmiHeader.biWidth = w; in resize()
64 bmpInfo->bmiHeader.biHeight = -h; // negative means top-down bitmap. Skia draws top-down. in resize()
65 bmpInfo->bmiHeader.biPlanes = 1; in resize()
66 bmpInfo->bmiHeader.biBitCount = 32; in resize()
67 bmpInfo->bmiHeader.biCompression = BI_RGB; in resize()
68 void* pixels = bmpInfo->bmiColors; in resize()
78 BITMAPINFO* bmpInfo = reinterpret_cast<BITMAPINFO*>(fSurfaceMemory.get()); in swapBuffers() local
[all …]
/external/pdfium/core/fxge/apple/
Dfx_quartz_device.cpp31 CGBitmapInfo bmpInfo = kCGBitmapByteOrder32Little; in createGraphics() local
34 bmpInfo |= kCGImageAlphaNoneSkipFirst; in createGraphics()
43 pBitmap->GetPitch(), colorSpace, bmpInfo); in createGraphics()