Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2212e663
Commit
2212e663
authored
Mar 22, 2023
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Show that SYSMEM | 3DDEVICE surfaces don't consume vidmem.
parent
23cfa8a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
0 deletions
+24
-0
ddraw1.c
dlls/ddraw/tests/ddraw1.c
+6
-0
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+6
-0
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+6
-0
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+6
-0
No files found.
dlls/ddraw/tests/ddraw1.c
View file @
2212e663
...
...
@@ -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
;
...
...
dlls/ddraw/tests/ddraw2.c
View file @
2212e663
...
...
@@ -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
;
...
...
dlls/ddraw/tests/ddraw4.c
View file @
2212e663
...
...
@@ -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
;
...
...
dlls/ddraw/tests/ddraw7.c
View file @
2212e663
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment