Searched refs:bitmapInfo (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/third_party/externals/angle2/util/windows/win32/ |
D | Win32Pixmap.cpp | 23 BITMAPINFO bitmapInfo; in initialize() local 24 memset(&bitmapInfo, 0, sizeof(bitmapInfo)); in initialize() 31 bitmapInfo.bmiHeader.biSize = sizeof(bitmapInfo); in initialize() 32 bitmapInfo.bmiHeader.biWidth = static_cast<LONG>(width); in initialize() 33 bitmapInfo.bmiHeader.biHeight = static_cast<LONG>(height); in initialize() 34 bitmapInfo.bmiHeader.biPlanes = 1; in initialize() 35 bitmapInfo.bmiHeader.biBitCount = static_cast<WORD>(depth); in initialize() 36 bitmapInfo.bmiHeader.biCompression = BI_RGB; in initialize() 37 bitmapInfo.bmiHeader.biSizeImage = 0; in initialize() 38 bitmapInfo.bmiHeader.biXPelsPerMeter = 1; in initialize() [all …]
|
D | Win32Window.cpp | 677 BITMAPINFOHEADER bitmapInfo; in takeScreenshot() local 678 bitmapInfo.biSize = sizeof(BITMAPINFOHEADER); in takeScreenshot() 679 bitmapInfo.biWidth = mWidth; in takeScreenshot() 680 bitmapInfo.biHeight = -mHeight; in takeScreenshot() 681 bitmapInfo.biPlanes = 1; in takeScreenshot() 682 bitmapInfo.biBitCount = 32; in takeScreenshot() 683 bitmapInfo.biCompression = BI_RGB; in takeScreenshot() 684 bitmapInfo.biSizeImage = 0; in takeScreenshot() 685 bitmapInfo.biXPelsPerMeter = 0; in takeScreenshot() 686 bitmapInfo.biYPelsPerMeter = 0; in takeScreenshot() [all …]
|
/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 153 BITMAPINFO bitmapInfo; in NativePixmap() local 155 memset(&bitmapInfo, 0, sizeof(bitmapInfo)); in NativePixmap() 160 bitmapInfo.bmiHeader.biSize = sizeof(bitmapInfo); in NativePixmap() 161 bitmapInfo.bmiHeader.biWidth = width; in NativePixmap() 162 bitmapInfo.bmiHeader.biHeight = height; in NativePixmap() 163 bitmapInfo.bmiHeader.biPlanes = 1; in NativePixmap() 164 bitmapInfo.bmiHeader.biBitCount = bitDepth; in NativePixmap() 165 bitmapInfo.bmiHeader.biCompression = BI_RGB; in NativePixmap() 166 bitmapInfo.bmiHeader.biSizeImage = 0; in NativePixmap() 167 bitmapInfo.bmiHeader.biXPelsPerMeter = 1; in NativePixmap() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBufferGDI.cpp | 140 BITMAPINFO bitmapInfo; in init() local 141 memset(&bitmapInfo, 0, sizeof(BITMAPINFO)); in init() 142 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); in init() 143 bitmapInfo.bmiHeader.biBitCount = 32; in init() 144 bitmapInfo.bmiHeader.biPlanes = 1; in init() 145 bitmapInfo.bmiHeader.biHeight = -height; in init() 146 bitmapInfo.bmiHeader.biWidth = width; in init() 147 bitmapInfo.bmiHeader.biCompression = BI_RGB; in init() 149 bitmap = CreateDIBSection(bitmapContext, &bitmapInfo, DIB_RGB_COLORS, &framebuffer, 0, 0); in init()
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | Win32SurfaceKHR.cpp | 142 BITMAPINFO bitmapInfo = {}; in lazyCreateFrameBuffer() local 143 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); in lazyCreateFrameBuffer() 144 bitmapInfo.bmiHeader.biBitCount = 32; in lazyCreateFrameBuffer() 145 bitmapInfo.bmiHeader.biPlanes = 1; in lazyCreateFrameBuffer() 146 …bitmapInfo.bmiHeader.biHeight = -static_cast<LONG>(windowExtent.height); // Negative for top-down… in lazyCreateFrameBuffer() 147 bitmapInfo.bmiHeader.biWidth = windowExtent.width; in lazyCreateFrameBuffer() 148 bitmapInfo.bmiHeader.biCompression = BI_RGB; in lazyCreateFrameBuffer() 150 bitmap = CreateDIBSection(bitmapContext, &bitmapInfo, DIB_RGB_COLORS, &framebuffer, 0, 0); in lazyCreateFrameBuffer()
|
/third_party/skia/dm/ |
D | DMSrcSink.cpp | 481 SkImageInfo bitmapInfo = decodeInfo; in draw() local 482 set_bitmap_color_space(&bitmapInfo); in draw() 485 bitmapInfo = bitmapInfo.makeColorType(kN32_SkColorType); in draw() 554 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw() 587 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw() 637 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw() 692 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw() 713 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw() 753 SkImageInfo subsetBitmapInfo = bitmapInfo.makeWH(scaledW, scaledH); in draw() 870 SkImageInfo bitmapInfo = decodeInfo; in draw() local [all …]
|
/third_party/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 200 const CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host | (CGBitmapInfo)alpha; in getCG() local 202 rowBytes, fRGBSpace.get(), bitmapInfo)); in getCG()
|