Lines Matching refs:bmpInfo
60 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
80 StretchDIBits(dc, 0, 0, fWidth, fHeight, 0, 0, fWidth, fHeight, bmpInfo->bmiColors, bmpInfo, in swapBuffers()