Home
last modified time | relevance | path

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

/external/skqp/tools/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/skia/tools/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.cpp27 CGBitmapInfo bmpInfo = kCGBitmapByteOrder32Little; in CreateGraphics() local
30 bmpInfo |= kCGImageAlphaNoneSkipFirst; in CreateGraphics()
39 pBitmap->GetPitch(), colorSpace, bmpInfo); in CreateGraphics()