ReactOS 0.4.16-dev-550-g2186ce3
|
#include <windows.h>
#include <wingdi.h>
#include <GL/gl.h>
#include <stdio.h>
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | test_color |
Macros | |
#define | FLAGS_TO_STR(__x__) |
#define | TEST_FIELD(__x__) ok(pfd.__x__ == colors->__x__, "Wrong " #__x__ " for format %i, expected %u, got %u\n", pf, colors->__x__, pfd.__x__) |
#define | TEST_FIELD(__x__, __y__) ok(pfd.__x__ == __y__, "Wrong " #__x__ " for format %i, expected " #__y__ ", got %u\n", pf, (UINT)pfd.__x__) |
Functions | |
static char * | str_dbg_pfd_flags (DWORD flags) |
static void | test_format (HDC hdc, int num_pf, int pf, const struct test_color *colors, BYTE depth, BOOL is_window, BOOL is_double_buffered) |
static void | test_screen_colors (const struct test_color **colors) |
static HBITMAP | create_dib_section (WORD bpp, void **dstBuffer) |
static void | test_bitmap_colors (HDC hdc, const struct test_color **colors) |
static void | test_bitmap_formats (const struct test_color **colors) |
START_TEST (sw_pixelformat) | |
Variables | |
static const struct test_color | test_colors_32 [] |
static const struct test_color | test_colors_24 [] |
static const struct test_color | test_colors_16 [] |
static const struct test_color | test_colors_16_565 [] |
static const struct test_color | test_colors_8 [] |
static const struct test_color | test_colors_4 [] |
static const struct test_color * | test_colors_32bpp [] = {test_colors_32, test_colors_24, test_colors_16, test_colors_8, test_colors_4, NULL} |
static const struct test_color * | test_colors_24bpp [] = {test_colors_24, test_colors_32, test_colors_16, test_colors_8, test_colors_4, NULL} |
static const struct test_color * | test_colors_16bpp [] = {test_colors_16_565, test_colors_24, test_colors_32, test_colors_8, test_colors_4, NULL} |
static const struct test_color * | test_colors_8bpp [] = {test_colors_8, test_colors_24, test_colors_32, test_colors_16, test_colors_4, NULL} |
static const BYTE | test_depths [] = { 32, 16 } |
#define FLAGS_TO_STR | ( | __x__ | ) |
#define TEST_FIELD | ( | __x__ | ) | ok(pfd.__x__ == colors->__x__, "Wrong " #__x__ " for format %i, expected %u, got %u\n", pf, colors->__x__, pfd.__x__) |
#define TEST_FIELD | ( | __x__, | |
__y__ | |||
) | ok(pfd.__x__ == __y__, "Wrong " #__x__ " for format %i, expected " #__y__ ", got %u\n", pf, (UINT)pfd.__x__) |
Definition at line 266 of file sw_pixelformat.c.
Referenced by test_bitmap_formats().
START_TEST | ( | sw_pixelformat | ) |
Definition at line 364 of file sw_pixelformat.c.
Definition at line 15 of file sw_pixelformat.c.
Referenced by test_format().
|
static |
Definition at line 281 of file sw_pixelformat.c.
Referenced by test_bitmap_formats().
|
static |
Definition at line 336 of file sw_pixelformat.c.
Referenced by START_TEST().
|
static |
Definition at line 130 of file sw_pixelformat.c.
Referenced by test_bitmap_colors(), and test_screen_colors().
|
static |
Definition at line 197 of file sw_pixelformat.c.
Referenced by START_TEST().
|
static |
Definition at line 95 of file sw_pixelformat.c.
|
static |
Definition at line 102 of file sw_pixelformat.c.
|
static |
Definition at line 125 of file sw_pixelformat.c.
Referenced by START_TEST().
|
static |
Definition at line 88 of file sw_pixelformat.c.
|
static |
Definition at line 124 of file sw_pixelformat.c.
Referenced by START_TEST().
|
static |
Definition at line 81 of file sw_pixelformat.c.
|
static |
Definition at line 123 of file sw_pixelformat.c.
Referenced by START_TEST().
|
static |
Definition at line 116 of file sw_pixelformat.c.
|
static |
Definition at line 109 of file sw_pixelformat.c.
|
static |
Definition at line 126 of file sw_pixelformat.c.
Referenced by START_TEST().
Definition at line 128 of file sw_pixelformat.c.
Referenced by test_bitmap_colors(), and test_screen_colors().