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
a562af5a
Commit
a562af5a
authored
Oct 23, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Test DDSCAPS2_D3DTEXTUREMANAGE.
parent
db68ffcb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+22
-0
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+32
-0
No files found.
dlls/ddraw/tests/ddraw4.c
View file @
a562af5a
...
...
@@ -3813,10 +3813,16 @@ static void test_texturemanage(void)
{
{
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
,
DD_OK
,
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DD_OK
,
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
},
{
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
,
0
,
DD_OK
,
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
|
DDSCAPS_LOCALVIDMEM
,
0
},
{
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
0
,
DD_OK
,
...
...
@@ -3824,10 +3830,16 @@ static void test_texturemanage(void)
{
0
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
0
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_SYSTEMMEMORY
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_SYSTEMMEMORY
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
,
0
,
DD_OK
,
DDSCAPS_LOCALVIDMEM
|
DDSCAPS_VIDEOMEMORY
,
0
},
{
DDSCAPS_SYSTEMMEMORY
,
0
,
DD_OK
,
...
...
@@ -4589,10 +4601,20 @@ static void test_surface_lock(void)
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
"managed texture"
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
|
DDSCAPS2_OPAQUE
,
"opaque managed texture"
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
|
DDSCAPS2_OPAQUE
,
"opaque managed texture"
},
{
DDSCAPS_OFFSCREENPLAIN
|
DDSCAPS_3DDEVICE
,
0
,
"render target"
...
...
dlls/ddraw/tests/ddraw7.c
View file @
a562af5a
...
...
@@ -3626,10 +3626,16 @@ static void test_texturemanage(void)
{
{
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
,
DD_OK
,
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DD_OK
,
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
},
{
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
,
0
,
DD_OK
,
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_TEXTURE
|
DDSCAPS_LOCALVIDMEM
,
0
},
{
DDSCAPS_SYSTEMMEMORY
|
DDSCAPS_TEXTURE
,
0
,
DD_OK
,
...
...
@@ -3637,10 +3643,16 @@ static void test_texturemanage(void)
{
0
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
0
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_SYSTEMMEMORY
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_SYSTEMMEMORY
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
,
DDSCAPS2_TEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
,
DDSCAPS2_D3DTEXTUREMANAGE
,
DDERR_INVALIDCAPS
,
~
0U
,
~
0U
},
{
DDSCAPS_VIDEOMEMORY
,
0
,
DD_OK
,
DDSCAPS_LOCALVIDMEM
|
DDSCAPS_VIDEOMEMORY
,
0
},
{
DDSCAPS_SYSTEMMEMORY
,
0
,
DD_OK
,
...
...
@@ -4414,10 +4426,20 @@ static void test_surface_lock(void)
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
,
"managed texture"
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_TEXTUREMANAGE
|
DDSCAPS2_OPAQUE
,
"opaque managed texture"
},
{
DDSCAPS_TEXTURE
,
DDSCAPS2_D3DTEXTUREMANAGE
|
DDSCAPS2_OPAQUE
,
"opaque managed texture"
},
{
DDSCAPS_OFFSCREENPLAIN
|
DDSCAPS_3DDEVICE
,
0
,
"render target"
...
...
@@ -4449,9 +4471,19 @@ static void test_surface_lock(void)
},
{
DDSCAPS_TEXTURE
|
DDSCAPS_COMPLEX
,
DDSCAPS2_D3DTEXTUREMANAGE
|
DDSCAPS2_CUBEMAP
|
DDSCAPS2_CUBEMAP_ALLFACES
,
"managed cube"
},
{
DDSCAPS_TEXTURE
|
DDSCAPS_COMPLEX
,
DDSCAPS2_TEXTUREMANAGE
|
DDSCAPS2_CUBEMAP
|
DDSCAPS2_CUBEMAP_ALLFACES
|
DDSCAPS2_OPAQUE
,
"opaque managed cube"
},
{
DDSCAPS_TEXTURE
|
DDSCAPS_COMPLEX
,
DDSCAPS2_D3DTEXTUREMANAGE
|
DDSCAPS2_CUBEMAP
|
DDSCAPS2_CUBEMAP_ALLFACES
|
DDSCAPS2_OPAQUE
,
"opaque managed cube"
},
};
if
(
!
(
ddraw
=
create_ddraw
()))
...
...
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