Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
716520b4
Commit
716520b4
authored
Dec 28, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Track separate dirty ranges in buffers.
parent
1bd98719
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
buffer.c
dlls/wined3d/buffer.c
+0
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+11
-6
No files found.
dlls/wined3d/buffer.c
View file @
716520b4
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
716520b4
...
...
@@ -2358,11 +2358,16 @@ enum wined3d_buffer_conversion_type
CONV_FLOAT16_2
,
/* Also handles FLOAT16_4 */
};
struct
wined3d_map_range
{
UINT
offset
;
UINT
size
;
};
#define WINED3D_BUFFER_OPTIMIZED 0x01
/* Optimize has been called for the buffer */
#define WINED3D_BUFFER_DIRTY 0x02
/* Buffer data has been modified */
#define WINED3D_BUFFER_HASDESC 0x04
/* A vertex description has been found */
#define WINED3D_BUFFER_CREATEBO 0x08
/* Attempt to create a buffer object next PreLoad */
#define WINED3D_BUFFER_DOUBLEBUFFER 0x10
/* Use a vbo and local allocated memory */
#define WINED3D_BUFFER_HASDESC 0x02
/* A vertex description has been found */
#define WINED3D_BUFFER_CREATEBO 0x04
/* Attempt to create a buffer object next PreLoad */
#define WINED3D_BUFFER_DOUBLEBUFFER 0x08
/* Use a vbo and local allocated memory */
struct
wined3d_buffer
{
...
...
@@ -2378,9 +2383,9 @@ struct wined3d_buffer
LONG
bind_count
;
DWORD
flags
;
UINT
dirty_start
;
UINT
dirty_end
;
LONG
lock_count
;
struct
wined3d_map_range
*
maps
;
ULONG
maps_size
,
modified_areas
;
/* conversion stuff */
UINT
decl_change_count
,
full_conversion_count
;
...
...
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