Home
last modified time | relevance | path

Searched refs:bmi (Results 1 – 25 of 47) sorted by relevance

12

/reactos/modules/rostests/regtests/gdi/
H A Dxlate.c44 } bmi; in GetRealColorDepth() local
266 } bmi; in Test_SrcMono1() local
411 bmi.bmiHeader.biWidth = 8; in Test_SrcMono1()
412 bmi.bmiHeader.biHeight = 8; in Test_SrcMono1()
413 bmi.bmiHeader.biPlanes = 1; in Test_SrcMono1()
423 memset(bmi.aj, 0xaaaa, sizeof(bmi.aj)); in Test_SrcMono1()
465 } bmi; in Test_SrcMono() local
475 bmi.bmiHeader.biWidth = 2; in Test_SrcMono()
509 bmi.bmiColors[0] = 0xF800; in Test_SrcMono()
510 bmi.bmiColors[1] = 0x7E0; in Test_SrcMono()
[all …]
/reactos/modules/rostests/apitests/gdi32/
H A DCreateDIBitmap.c108 BITMAPINFO bmi = in Test_CreateDIBitmap_Params() local
117 hbmp = CreateDIBitmap(hdc, &bmi.bmiHeader, CBM_INIT, ajBits, &bmi, DIB_PAL_COLORS); in Test_CreateDIBitmap_Params()
120 hbmp = CreateDIBitmap(hdc, &bmi.bmiHeader, CBM_INIT, NULL, &bmi, DIB_PAL_COLORS); in Test_CreateDIBitmap_Params()
126 hbmp = CreateDIBitmap(hdc, &bmi.bmiHeader, 0, INVALID_POINTER, &bmi, DIB_PAL_COLORS); in Test_CreateDIBitmap_Params()
129 hbmp = CreateDIBitmap(NULL, &bmi.bmiHeader, CBM_INIT, NULL, &bmi, DIB_PAL_COLORS); in Test_CreateDIBitmap_Params()
149 hbmp = CreateDIBitmap(hdc, &bmi.bmiHeader, CBM_INIT, ajBits, &bmi, 2); in Test_CreateDIBitmap_Params()
182 hbmp = CreateDIBitmap((HDC)-1, &bmi.bmiHeader, CBM_INIT, NULL, &bmi, DIB_PAL_COLORS); in Test_CreateDIBitmap_Params()
309 BITMAPINFO bmi; in Test_CreateDIBitmap1() local
331 hbmp = CreateDIBitmap(hdc, &bmi.bmiHeader, CBM_INIT, bits, &bmi, DIB_RGB_COLORS); in Test_CreateDIBitmap1()
349 hbmp = CreateDIBitmap(hdc, &bmi.bmiHeader, CBM_INIT, rlebits, &bmi, DIB_PAL_COLORS); in Test_CreateDIBitmap1()
[all …]
H A DPatBlt.c158 BITMAPINFO bmi; in START_TEST() local
161 bmi.bmiHeader.biWidth = 16; in START_TEST()
162 bmi.bmiHeader.biHeight = -16; in START_TEST()
163 bmi.bmiHeader.biPlanes = 1; in START_TEST()
164 bmi.bmiHeader.biBitCount = 32; in START_TEST()
166 bmi.bmiHeader.biSizeImage = 0; in START_TEST()
167 bmi.bmiHeader.biXPelsPerMeter = 1; in START_TEST()
168 bmi.bmiHeader.biYPelsPerMeter = 1; in START_TEST()
169 bmi.bmiHeader.biClrUsed = 0; in START_TEST()
170 bmi.bmiHeader.biClrImportant = 0; in START_TEST()
[all …]
H A DTextTransform.c23 BITMAPINFOEX bmi; in SaveBitmapToFile() local
34 pbmih = &bmi.bmiHeader; in SaveBitmapToFile()
64 if (GetDIBits(hDC, hbm, 0, bm.bmHeight, pBits, (BITMAPINFO *)&bmi, in SaveBitmapToFile()
74 WriteFile(hFile, bmi.bmiColors, cbColors, &cb, NULL) && in SaveBitmapToFile()
435 BITMAPINFO bmi; in START_TEST() local
448 ZeroMemory(&bmi, sizeof(bmi)); in START_TEST()
449 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in START_TEST()
450 bmi.bmiHeader.biWidth = WIDTH; in START_TEST()
451 bmi.bmiHeader.biHeight = HEIGHT; in START_TEST()
452 bmi.bmiHeader.biPlanes = 1; in START_TEST()
[all …]
/reactos/modules/rostests/winetests/gdi32/
H A Ddib.c1137 return ((bmi->bmiHeader.biBitCount * bmi->bmiHeader.biWidth + 31) >> 3) & ~3; in get_stride()
1142 return get_stride(bmi) * abs(bmi->bmiHeader.biHeight); in get_dib_size()
1548 BOOL dib_is_8bpp_gray = (bmi->bmiHeader.biBitCount == 8 && bmi->bmiColors[1].rgbRed == 1); in draw_graphics()
2305 bmi->bmiHeader.biHeight - 16, 16, 16, bits, bmi, DIB_RGB_COLORS, SRCCOPY ); in draw_graphics()
2311 bmi->bmiHeader.biHeight - 16, 16, 16, bits, bmi, DIB_RGB_COLORS, SRCCOPY ); in draw_graphics()
2317 bmi->bmiHeader.biHeight - 16, 16, 16, bits, bmi, DIB_RGB_COLORS, SRCCOPY ); in draw_graphics()
2323 bmi->bmiHeader.biHeight - 16, 16, 16, bits, bmi, DIB_RGB_COLORS, SRCCOPY ); in draw_graphics()
2329 bmi->bmiHeader.biHeight - 16, 16, 16, bits, bmi, DIB_RGB_COLORS, SRCCOPY ); in draw_graphics()
2335 bmi->bmiHeader.biHeight - 16, 16, 16, bits, bmi, DIB_RGB_COLORS, SRCCOPY ); in draw_graphics()
2908 bmi->bmiHeader.biSize = sizeof(bmi->bmiHeader); in test_simple_graphics()
[all …]
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiSetDIBitsToDeviceInternal.c40 } bmi; in START_TEST() local
44 bmi.bmiHeader.biWidth = 8; in START_TEST()
45 bmi.bmiHeader.biHeight = -8; in START_TEST()
46 bmi.bmiHeader.biPlanes = 1; in START_TEST()
47 bmi.bmiHeader.biBitCount = 1; in START_TEST()
48 bmi.bmiHeader.biCompression = 0; in START_TEST()
49 bmi.bmiHeader.biSizeImage = 0; in START_TEST()
50 bmi.bmiHeader.biXPelsPerMeter = 0; in START_TEST()
51 bmi.bmiHeader.biYPelsPerMeter = 0; in START_TEST()
52 bmi.bmiHeader.biClrUsed = 0; in START_TEST()
[all …]
H A DNtGdiDoPalette.c222 } bmi; in Test_NtGdiDoPalette_SetDIBColorTable() local
228 bmi.bmiHeader.biWidth = 10; in Test_NtGdiDoPalette_SetDIBColorTable()
229 bmi.bmiHeader.biHeight = 10; in Test_NtGdiDoPalette_SetDIBColorTable()
230 bmi.bmiHeader.biPlanes = 1; in Test_NtGdiDoPalette_SetDIBColorTable()
236 bmi.bmiHeader.biClrUsed = 9; in Test_NtGdiDoPalette_SetDIBColorTable()
238 bmi.bmiColors[0] = 0x000000; in Test_NtGdiDoPalette_SetDIBColorTable()
239 bmi.bmiColors[1] = 0x202020; in Test_NtGdiDoPalette_SetDIBColorTable()
240 bmi.bmiColors[2] = 0x404040; in Test_NtGdiDoPalette_SetDIBColorTable()
241 bmi.bmiColors[3] = 0x606060; in Test_NtGdiDoPalette_SetDIBColorTable()
242 bmi.bmiColors[4] = 0x808080; in Test_NtGdiDoPalette_SetDIBColorTable()
[all …]
H A DNtGdiSelectBitmap.c19 } bmi; in Test_SelectDIBSection() local
20 PBITMAPINFO pbmi = (PBITMAPINFO)&bmi; in Test_SelectDIBSection()
27 bmi.bmiHeader.biWidth = 2; in Test_SelectDIBSection()
28 bmi.bmiHeader.biHeight = 2; in Test_SelectDIBSection()
29 bmi.bmiHeader.biPlanes = 1; in Test_SelectDIBSection()
30 bmi.bmiHeader.biBitCount = 1; in Test_SelectDIBSection()
32 bmi.bmiHeader.biSizeImage = 0; in Test_SelectDIBSection()
33 bmi.bmiHeader.biXPelsPerMeter = 100; in Test_SelectDIBSection()
34 bmi.bmiHeader.biYPelsPerMeter = 100; in Test_SelectDIBSection()
35 bmi.bmiHeader.biClrUsed = 2; in Test_SelectDIBSection()
[all …]
H A DNtGdiSetBitmapBits.c15 BITMAPINFO bmi; in START_TEST() local
224 ZeroMemory(&bmi, sizeof(bmi)); in START_TEST()
226 bmi.bmiHeader.biWidth = 15; in START_TEST()
227 bmi.bmiHeader.biHeight = 15; /* positive */ in START_TEST()
228 bmi.bmiHeader.biPlanes = 1; in START_TEST()
229 bmi.bmiHeader.biBitCount = 24; in START_TEST()
326 ZeroMemory(&bmi, sizeof(bmi)); in START_TEST()
328 bmi.bmiHeader.biWidth = 15; in START_TEST()
329 bmi.bmiHeader.biHeight = -15; /* negative */ in START_TEST()
330 bmi.bmiHeader.biPlanes = 1; in START_TEST()
[all …]
H A DNtGdiCreateDIBSection.c50 } bmi; in START_TEST() local
51 PBITMAPINFO pbmi = (PBITMAPINFO)&bmi; in START_TEST()
52 PBITMAPINFOHEADER pbih = (PBITMAPINFOHEADER)&bmi.bmiHeader; in START_TEST()
53 PBITMAPV4HEADER pbV4h = (PBITMAPV4HEADER)&bmi.bmiHeader; in START_TEST()
54 PBITMAPV5HEADER pbV5h = (PBITMAPV5HEADER)&bmi.bmiHeader; in START_TEST()
77 cjHeader = bmi.bmiHeader.biSize + cEntries * 4 + 8; in START_TEST()
264 cjHeader = bmi.bmiHeader.biSize + cEntries * 4 + 20; in START_TEST()
273 cjHeader = bmi.bmiHeader.biSize + cEntries * 4 + 8; in START_TEST()
301 cjHeader = bmi.bmiHeader.biSize + cEntries * 4 + 8; in START_TEST()
397 cjHeader = bmi.bmiHeader.biSize + cEntries * 4 + 8; in START_TEST()
/reactos/dll/win32/wing32/
H A Dwing32.c41 if (!bmi) return FALSE; in WinGRecommendDIBFormat()
44 bmi->bmiHeader.biWidth = 320; in WinGRecommendDIBFormat()
45 bmi->bmiHeader.biHeight = 1; in WinGRecommendDIBFormat()
46 bmi->bmiHeader.biPlanes = 1; in WinGRecommendDIBFormat()
47 bmi->bmiHeader.biBitCount = 8; in WinGRecommendDIBFormat()
49 bmi->bmiHeader.biSizeImage = 0; in WinGRecommendDIBFormat()
50 bmi->bmiHeader.biXPelsPerMeter = 0; in WinGRecommendDIBFormat()
51 bmi->bmiHeader.biYPelsPerMeter = 0; in WinGRecommendDIBFormat()
52 bmi->bmiHeader.biClrUsed = 0; in WinGRecommendDIBFormat()
53 bmi->bmiHeader.biClrImportant = 0; in WinGRecommendDIBFormat()
[all …]
/reactos/modules/rostests/winetests/msvfw32/
H A Ddrawdib.c34 static inline DWORD get_stride(const BITMAPINFO *bmi) in get_stride() argument
36 return ((bmi->bmiHeader.biBitCount * bmi->bmiHeader.biWidth + 31) >> 3) & ~3; in get_stride()
41 return get_stride(bmi) * abs(bmi->bmiHeader.biHeight); in get_dib_size()
46 DWORD dib_size = get_dib_size(bmi); in hash_dib()
80 memset(bmi, 0, sizeof(*bmi)); in init_bmi()
82 bmi->bmiHeader.biWidth = width; in init_bmi()
83 bmi->bmiHeader.biHeight = height; in init_bmi()
84 bmi->bmiHeader.biPlanes = 1; in init_bmi()
85 bmi->bmiHeader.biBitCount = 32; in init_bmi()
86 bmi->bmiHeader.biCompression = BI_RGB; in init_bmi()
[all …]
/reactos/base/applications/mspaint/
H A Ddib.cpp34 BITMAPINFO bmi; in CreateDIBWithProperties() local
37 bmi.bmiHeader.biWidth = width; in CreateDIBWithProperties()
39 bmi.bmiHeader.biPlanes = 1; in CreateDIBWithProperties()
40 bmi.bmiHeader.biBitCount = 24; in CreateDIBWithProperties()
455 BITMAPINFODX bmi; in BitmapToClipboardDIB() local
456 ZeroMemory(&bmi, sizeof(bmi)); in BitmapToClipboardDIB()
591 BITMAPINFOEX bmi; in IsBitmapBlackAndWhite() local
592 ZeroMemory(&bmi, sizeof(bmi)); in IsBitmapBlackAndWhite()
593 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in IsBitmapBlackAndWhite()
639 BITMAPINFOEX bmi; in ConvertToBlackAndWhite() local
[all …]
/reactos/modules/rostests/apitests/user32/
H A DLoadImageGCC.c87 BITMAPINFO bmi; in START_TEST() local
116 memset(&bmi, 0, sizeof(bmi)); in START_TEST()
117 memset(&bmi, 0, sizeof(bmi)); in START_TEST()
118 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in START_TEST()
119 bmi.bmiHeader.biWidth = bitmap.bmWidth; in START_TEST()
120 bmi.bmiHeader.biHeight = bitmap.bmHeight; in START_TEST()
121 bmi.bmiHeader.biPlanes = bitmap.bmPlanes; in START_TEST()
122 bmi.bmiHeader.biBitCount = bitmap.bmBitsPixel; in START_TEST()
123 bmi.bmiHeader.biCompression = BI_RGB; in START_TEST()
124 bmi.bmiHeader.biSizeImage = 0; in START_TEST()
[all …]
/reactos/modules/rostests/apitests/user32/makeimg/
H A Dshowimg.c35 BITMAPINFO bmi; in WndProc() local
44 memset(&bmi, 0, sizeof(bmi)); in WndProc()
45 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in WndProc()
46 bmi.bmiHeader.biWidth = bitmap.bmWidth; in WndProc()
47 bmi.bmiHeader.biHeight = bitmap.bmHeight; in WndProc()
48 bmi.bmiHeader.biPlanes = bitmap.bmPlanes; in WndProc()
49 bmi.bmiHeader.biBitCount = bitmap.bmBitsPixel; in WndProc()
50 bmi.bmiHeader.biCompression = BI_RGB; in WndProc()
51 bmi.bmiHeader.biSizeImage = 0; in WndProc()
54 bmi.bmiHeader.biBitCount + 31) / 32) * 4 * bitmap.bmHeight); in WndProc()
[all …]
/reactos/modules/rostests/apitests/atl/
H A DCImage.cpp116 BITMAPINFOEX bmi; in Test_DIBSectionEntry() local
117 ZeroMemory(&bmi, sizeof(bmi)); in Test_DIBSectionEntry()
118 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in Test_DIBSectionEntry()
119 bmi.bmiHeader.biWidth = width; in Test_DIBSectionEntry()
121 bmi.bmiHeader.biPlanes = 1; in Test_DIBSectionEntry()
122 bmi.bmiHeader.biBitCount = bpp; in Test_DIBSectionEntry()
126 bmi.bmiHeader.biClrUsed = 2; in Test_DIBSectionEntry()
129 bmi.bmiColorsExtra[0].rgbRed = 0xFF; in Test_DIBSectionEntry()
133 bmi.bmiHeader.biClrUsed = 3; in Test_DIBSectionEntry()
137 bmi.bmiColorsExtra[1].rgbBlue = 0; in Test_DIBSectionEntry()
[all …]
/reactos/modules/rostests/winetests/comctl32/
H A Dimagelist.c562 BITMAPINFO bmi; in get_color_format() local
567 memset(&bmi, 0, sizeof(bmi)); in get_color_format()
939 BITMAPINFO bmi; in create_bitmap() local
946 memset(&bmi, 0, sizeof(bmi)); in create_bitmap()
947 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in create_bitmap()
2039 bmi->bmiHeader.biSize = sizeof(bmi->bmiHeader); in check_color_table()
2042 ok(bmi->bmiHeader.biBitCount == depth, "got %d\n", bmi->bmiHeader.biBitCount); in check_color_table()
2046 ok(bmi->bmiHeader.biBitCount == depth, "got %d\n", bmi->bmiHeader.biBitCount); in check_color_table()
2056 bmi->bmiColors[i].rgbRed, bmi->bmiColors[i].rgbGreen, bmi->bmiColors[i].rgbBlue, in check_color_table()
2078 bmi->bmiHeader.biSize = sizeof(bmi->bmiHeader); in get_default_color_table()
[all …]
/reactos/win32ss/gdi/ntgdi/
H A Ddibobj.c246 CONST BITMAPINFO *bmi, in IntSetDIBits() argument
258 if (!bmi || !Bits) return 0; in IntSetDIBits()
481 IN LPBITMAPINFO bmi, in NtGdiSetDIBitsToDeviceInternal() argument
512 bmi = pbmiSafe; in NtGdiSetDIBitsToDeviceInternal()
527 bmi->bmiHeader.biHeight, bmi->bmiHeader.biWidth, in NtGdiSetDIBitsToDeviceInternal()
528 bmi->bmiHeader.biBitCount, in NtGdiSetDIBitsToDeviceInternal()
617 if ((bmi->bmiHeader.biCompression == BI_RLE8) || (bmi->bmiHeader.biCompression == BI_RLE4)) in NtGdiSetDIBitsToDeviceInternal()
1849 IN BITMAPINFO* bmi, in NtGdiCreateDIBSection() argument
1866 ProbeForRead(bmi, bmi->bmiHeader.biSize, 1); in NtGdiCreateDIBSection()
1867 ProbeForRead(bmi, DIB_BitmapInfoSize(bmi, (WORD)Usage), 1); in NtGdiCreateDIBSection()
[all …]
H A Ddib.h4 HBITMAP APIENTRY DIB_CreateDIBSection (PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HAN…
9 HPALETTE FASTCALL BuildDIBPalette (CONST BITMAPINFO *bmi);
12 BITMAPINFO* FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO* bmi, DWORD Usage);
/reactos/modules/rosapps/applications/net/tsclient/porting-tools/rdesktop-core-tester/
H A Drdesktop-core-tester.cpp376 BITMAPINFO bmi; in mstsc_ProtocolIOThread() local
377 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in mstsc_ProtocolIOThread()
378 bmi.bmiHeader.biWidth = This->width; in mstsc_ProtocolIOThread()
379 bmi.bmiHeader.biHeight = This->height; in mstsc_ProtocolIOThread()
380 bmi.bmiHeader.biPlanes = 1; in mstsc_ProtocolIOThread()
381 bmi.bmiHeader.biBitCount = This->server_depth; in mstsc_ProtocolIOThread()
382 bmi.bmiHeader.biCompression = BI_RGB; in mstsc_ProtocolIOThread()
383 bmi.bmiHeader.biSizeImage = 0; in mstsc_ProtocolIOThread()
384 bmi.bmiHeader.biXPelsPerMeter = 0; in mstsc_ProtocolIOThread()
385 bmi.bmiHeader.biYPelsPerMeter = 0; in mstsc_ProtocolIOThread()
[all …]
/reactos/dll/directx/wine/quartz/
H A Davidec.c248 BITMAPINFOHEADER *bmi; in AVIDec_SetMediaType() local
251 bmi = &format1->bmiHeader; in AVIDec_SetMediaType()
253 bmi = &format2->bmiHeader; in AVIDec_SetMediaType()
258 … This->hvid = ICLocate(pmt->majortype.Data1, pmt->subtype.Data1, bmi, NULL, ICMODE_DECOMPRESS); in AVIDec_SetMediaType()
264 DWORD output_depth = bmi->biBitCount; in AVIDec_SetMediaType()
268 switch(bmi->biBitCount) in AVIDec_SetMediaType()
275 … WARN("Non standard input depth %d, forced output depth to 32\n", bmi->biBitCount); in AVIDec_SetMediaType()
282 bih_size = bmi->biSize + bmi->biClrUsed * 4; in AVIDec_SetMediaType()
295 memcpy(This->pBihIn, bmi, bih_size); in AVIDec_SetMediaType()
296 memcpy(This->pBihOut, bmi, bih_size); in AVIDec_SetMediaType()
/reactos/dll/win32/shlwapi/
H A Drosordinal.c67 BITMAPINFO bmi = { { sizeof(bmi), bm1.bmWidth, bm1.bmHeight, 1, 32 } }; in SHAreIconsEqual() local
77 if (GetDIBits(hdc, iconInfo1.hbmColor, 0, bm1.bmHeight, data1, &bmi, DIB_RGB_COLORS) && in SHAreIconsEqual()
78 GetDIBits(hdc, iconInfo2.hbmColor, 0, bm2.bmHeight, data2, &bmi, DIB_RGB_COLORS)) in SHAreIconsEqual()
/reactos/modules/rostests/winetests/user32/
H A Dcursoricon.c1059 BITMAPINFO bmi; in test_LoadImageBitmap() local
1066 memset(&bmi, 0, sizeof(bmi)); in test_LoadImageBitmap()
1067 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in test_LoadImageBitmap()
1068 bmi.bmiHeader.biWidth = bm.bmWidth; in test_LoadImageBitmap()
1069 bmi.bmiHeader.biHeight = bm.bmHeight; in test_LoadImageBitmap()
1070 bmi.bmiHeader.biPlanes = 1; in test_LoadImageBitmap()
1071 bmi.bmiHeader.biBitCount= 24; in test_LoadImageBitmap()
1072 bmi.bmiHeader.biCompression= BI_RGB; in test_LoadImageBitmap()
2926 BITMAPINFO *bmi, *bmi_output; in test_Image_StretchMode() local
2938 bmi->bmiHeader.biPlanes = 1; in test_Image_StretchMode()
[all …]
/reactos/dll/win32/ole32/
H A Ddatacache.c881 BITMAPINFO *bmi = NULL; in save_dib() local
900 if (bmi->bmiHeader.biXPelsPerMeter != 0 && bmi->bmiHeader.biYPelsPerMeter != 0) in save_dib()
902 … header.dwObjectExtentX = MulDiv(bmi->bmiHeader.biWidth, 100000, bmi->bmiHeader.biXPelsPerMeter); in save_dib()
903 … header.dwObjectExtentY = MulDiv(bmi->bmiHeader.biHeight, 100000, bmi->bmiHeader.biYPelsPerMeter); in save_dib()
1179 BITMAPINFO *bmi; in synthesize_dib() local
1189 bmi = GlobalLock( med->u.hGlobal ); in synthesize_dib()
1190 memset( bmi, 0, header_size ); in synthesize_dib()
1192 GetDIBits( hdc, bm, 0, abs(header.biHeight), (char *)bmi + header_size, bmi, DIB_RGB_COLORS ); in synthesize_dib()
1206 BITMAPINFO *bmi; in synthesize_bitmap() local
1209 if ((bmi = GlobalLock( dib ))) in synthesize_bitmap()
[all …]
/reactos/dll/opengl/opengl32/
H A Dswimpl.c1496 BITMAPINFO *bmi = (BITMAPINFO*)Buffer; in sw_SwapBuffers() local
1505 bmi->bmiHeader.biSize = sizeof(bmi->bmiHeader); in sw_SwapBuffers()
1506 bmi->bmiHeader.biBitCount = Bpp; in sw_SwapBuffers()
1507 bmi->bmiHeader.biClrImportant = 0; in sw_SwapBuffers()
1508 bmi->bmiHeader.biClrUsed = 0; in sw_SwapBuffers()
1509 bmi->bmiHeader.biPlanes = 1; in sw_SwapBuffers()
1511 bmi->bmiHeader.biXPelsPerMeter = 0; in sw_SwapBuffers()
1512 bmi->bmiHeader.biYPelsPerMeter = 0; in sw_SwapBuffers()
1513 bmi->bmiHeader.biHeight = fb->height; in sw_SwapBuffers()
1514 bmi->bmiHeader.biWidth = fb->width; in sw_SwapBuffers()
[all …]

12