Searched refs:bmpInfo (Results 1 – 3 of 3) 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 …]
27 CGBitmapInfo bmpInfo = kCGBitmapByteOrder32Little; in CreateGraphics() local30 bmpInfo |= kCGImageAlphaNoneSkipFirst; in CreateGraphics()39 pBitmap->GetPitch(), colorSpace, bmpInfo); in CreateGraphics()