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
b7b028ca
Commit
b7b028ca
authored
Sep 06, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Test blocked texture creation restrictions.
parent
df5a0976
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
device.c
dlls/d3d9/device.c
+8
-0
device.c
dlls/d3d9/tests/device.c
+0
-0
No files found.
dlls/d3d9/device.c
View file @
b7b028ca
...
@@ -742,6 +742,7 @@ static HRESULT WINAPI d3d9_device_CreateTexture(IDirect3DDevice9Ex *iface,
...
@@ -742,6 +742,7 @@ static HRESULT WINAPI d3d9_device_CreateTexture(IDirect3DDevice9Ex *iface,
TRACE
(
"iface %p, width %u, height %u, levels %u, usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.
\n
"
,
TRACE
(
"iface %p, width %u, height %u, levels %u, usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.
\n
"
,
iface
,
width
,
height
,
levels
,
usage
,
format
,
pool
,
texture
,
shared_handle
);
iface
,
width
,
height
,
levels
,
usage
,
format
,
pool
,
texture
,
shared_handle
);
*
texture
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
{
{
if
(
pool
==
D3DPOOL_SYSTEMMEM
)
if
(
pool
==
D3DPOOL_SYSTEMMEM
)
...
@@ -795,6 +796,7 @@ static HRESULT WINAPI d3d9_device_CreateVolumeTexture(IDirect3DDevice9Ex *iface,
...
@@ -795,6 +796,7 @@ static HRESULT WINAPI d3d9_device_CreateVolumeTexture(IDirect3DDevice9Ex *iface,
TRACE
(
"usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.
\n
"
,
TRACE
(
"usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.
\n
"
,
usage
,
format
,
pool
,
texture
,
shared_handle
);
usage
,
format
,
pool
,
texture
,
shared_handle
);
*
texture
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
@@ -827,6 +829,7 @@ static HRESULT WINAPI d3d9_device_CreateCubeTexture(IDirect3DDevice9Ex *iface,
...
@@ -827,6 +829,7 @@ static HRESULT WINAPI d3d9_device_CreateCubeTexture(IDirect3DDevice9Ex *iface,
TRACE
(
"iface %p, edge_length %u, levels %u, usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.
\n
"
,
TRACE
(
"iface %p, edge_length %u, levels %u, usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.
\n
"
,
iface
,
edge_length
,
levels
,
usage
,
format
,
pool
,
texture
,
shared_handle
);
iface
,
edge_length
,
levels
,
usage
,
format
,
pool
,
texture
,
shared_handle
);
*
texture
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
@@ -973,6 +976,7 @@ static HRESULT WINAPI d3d9_device_CreateRenderTarget(IDirect3DDevice9Ex *iface,
...
@@ -973,6 +976,7 @@ static HRESULT WINAPI d3d9_device_CreateRenderTarget(IDirect3DDevice9Ex *iface,
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
lockable
,
surface
,
shared_handle
);
lockable
,
surface
,
shared_handle
);
*
surface
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
@@ -995,6 +999,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurface(IDirect3DDevice9Ex *
...
@@ -995,6 +999,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurface(IDirect3DDevice9Ex *
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
discard
,
surface
,
shared_handle
);
discard
,
surface
,
shared_handle
);
*
surface
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
@@ -1191,6 +1196,7 @@ static HRESULT WINAPI d3d9_device_CreateOffscreenPlainSurface(IDirect3DDevice9Ex
...
@@ -1191,6 +1196,7 @@ static HRESULT WINAPI d3d9_device_CreateOffscreenPlainSurface(IDirect3DDevice9Ex
TRACE
(
"iface %p, width %u, height %u, format %#x, pool %#x, surface %p, shared_handle %p.
\n
"
,
TRACE
(
"iface %p, width %u, height %u, format %#x, pool %#x, surface %p, shared_handle %p.
\n
"
,
iface
,
width
,
height
,
format
,
pool
,
surface
,
shared_handle
);
iface
,
width
,
height
,
format
,
pool
,
surface
,
shared_handle
);
*
surface
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
@@ -3038,6 +3044,7 @@ static HRESULT WINAPI d3d9_device_CreateRenderTargetEx(IDirect3DDevice9Ex *iface
...
@@ -3038,6 +3044,7 @@ static HRESULT WINAPI d3d9_device_CreateRenderTargetEx(IDirect3DDevice9Ex *iface
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
lockable
,
surface
,
shared_handle
,
usage
);
lockable
,
surface
,
shared_handle
,
usage
);
*
surface
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
@@ -3063,6 +3070,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurfaceEx(IDirect3DDevice9Ex
...
@@ -3063,6 +3070,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurfaceEx(IDirect3DDevice9Ex
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
iface
,
width
,
height
,
format
,
multisample_type
,
multisample_quality
,
discard
,
surface
,
shared_handle
,
usage
);
discard
,
surface
,
shared_handle
,
usage
);
*
surface
=
NULL
;
if
(
shared_handle
)
if
(
shared_handle
)
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
FIXME
(
"Resource sharing not implemented, *shared_handle %p.
\n
"
,
*
shared_handle
);
...
...
dlls/d3d9/tests/device.c
View file @
b7b028ca
This diff is collapsed.
Click to expand it.
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