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
694cdcc4
Commit
694cdcc4
authored
Aug 19, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move the "map_binding" field from struct wined3d_surface to struct wined3d_resource.
Like "draw_binding".
parent
ed230a42
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
40 deletions
+40
-40
surface.c
dlls/wined3d/surface.c
+37
-37
texture.c
dlls/wined3d/texture.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/surface.c
View file @
694cdcc4
This diff is collapsed.
Click to expand it.
dlls/wined3d/texture.c
View file @
694cdcc4
...
...
@@ -734,8 +734,8 @@ static void texture2d_sub_resource_add_dirty_region(struct wined3d_resource *sub
struct
wined3d_surface
*
surface
=
surface_from_resource
(
sub_resource
);
surface_prepare_map_memory
(
surface
);
surface_load_location
(
surface
,
surface
->
map_binding
);
surface_invalidate_location
(
surface
,
~
surface
->
map_binding
);
surface_load_location
(
surface
,
surface
->
resource
.
map_binding
);
surface_invalidate_location
(
surface
,
~
surface
->
resource
.
map_binding
);
}
static
void
texture2d_sub_resource_cleanup
(
struct
wined3d_resource
*
sub_resource
)
...
...
dlls/wined3d/wined3d_private.h
View file @
694cdcc4
...
...
@@ -2037,6 +2037,7 @@ struct wined3d_resource
enum
wined3d_pool
pool
;
DWORD
access_flags
;
DWORD
draw_binding
;
DWORD
map_binding
;
UINT
width
;
UINT
height
;
UINT
depth
;
...
...
@@ -2233,7 +2234,6 @@ struct wined3d_surface
const
struct
wined3d_surface_ops
*
surface_ops
;
struct
wined3d_texture
*
container
;
struct
wined3d_swapchain
*
swapchain
;
DWORD
map_binding
;
void
*
user_memory
;
DWORD
locations
;
...
...
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