Searched refs:bmpInfo (Results 1 – 2 of 2) sorted by relevance
60 BITMAPINFO* bmpInfo = reinterpret_cast<BITMAPINFO*>(fSurfaceMemory.get()); in resize() local61 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 …]
31 CGBitmapInfo bmpInfo = kCGBitmapByteOrder32Little; in createGraphics() local34 bmpInfo |= kCGImageAlphaNoneSkipFirst; in createGraphics()43 pBitmap->GetPitch(), colorSpace, bmpInfo); in createGraphics()