mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 14:24:07 +00:00
ddraw/tests: Show that SYSMEM | 3DDEVICE surfaces don't consume vidmem.
This commit is contained in:
parent
23cfa8a210
commit
2212e663f9
|
@ -6145,6 +6145,12 @@ static void test_create_surface_pitch(void)
|
|||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_ALLOCONLOAD,
|
||||
DDSD_LPSURFACE | DDSD_PITCH, 0x100, DDERR_INVALIDPARAMS,
|
||||
0, 0, 0 },
|
||||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x0fc},
|
||||
{DDSCAPS_VIDEOMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x100},
|
||||
};
|
||||
DWORD flags_mask = DDSD_PITCH | DDSD_LPSURFACE | DDSD_LINEARSIZE;
|
||||
|
||||
|
|
|
@ -7271,6 +7271,12 @@ static void test_create_surface_pitch(void)
|
|||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_ALLOCONLOAD,
|
||||
DDSD_LPSURFACE | DDSD_PITCH, 0x100, DDERR_INVALIDPARAMS,
|
||||
0, 0, 0 },
|
||||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x0fc},
|
||||
{DDSCAPS_VIDEOMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x100},
|
||||
};
|
||||
DWORD flags_mask = DDSD_PITCH | DDSD_LPSURFACE | DDSD_LINEARSIZE;
|
||||
|
||||
|
|
|
@ -9173,6 +9173,12 @@ static void test_create_surface_pitch(void)
|
|||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_ALLOCONLOAD,
|
||||
DDSD_LPSURFACE | DDSD_PITCH, 0x100, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0 },
|
||||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x0fc},
|
||||
{DDSCAPS_VIDEOMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x100},
|
||||
};
|
||||
DWORD flags_mask = DDSD_PITCH | DDSD_LPSURFACE | DDSD_LINEARSIZE;
|
||||
|
||||
|
|
|
@ -9013,6 +9013,12 @@ static void test_create_surface_pitch(void)
|
|||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_TEXTURE | DDSCAPS_ALLOCONLOAD,
|
||||
DDSD_LPSURFACE | DDSD_PITCH, 0x100, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0 },
|
||||
{DDSCAPS_SYSTEMMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x0fc},
|
||||
{DDSCAPS_VIDEOMEMORY | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE,
|
||||
0, 0, DD_OK,
|
||||
DDSD_PITCH, 0x100, 0x100},
|
||||
};
|
||||
DWORD flags_mask = DDSD_PITCH | DDSD_LPSURFACE | DDSD_LINEARSIZE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue