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
35a8bf0e
Commit
35a8bf0e
authored
Aug 30, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move the buffer flags to buffer.c.
parent
fad48773
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
buffer.c
dlls/wined3d/buffer.c
+8
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-8
No files found.
dlls/wined3d/buffer.c
View file @
35a8bf0e
...
...
@@ -29,6 +29,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
#define WINED3D_BUFFER_HASDESC 0x01
/* A vertex description has been found. */
#define WINED3D_BUFFER_CREATEBO 0x02
/* Create a buffer object for this buffer. */
#define WINED3D_BUFFER_DOUBLEBUFFER 0x04
/* Keep both a buffer object and a system memory copy for this buffer. */
#define WINED3D_BUFFER_FLUSH 0x08
/* Manual unmap flushing. */
#define WINED3D_BUFFER_DISCARD 0x10
/* A DISCARD lock has occurred since the last preload. */
#define WINED3D_BUFFER_NOSYNC 0x20
/* All locks since the last preload had NOOVERWRITE set. */
#define WINED3D_BUFFER_APPLESYNC 0x40
/* Using sync as in GL_APPLE_flush_buffer_range. */
#define VB_MAXDECLCHANGES 100
/* After that number of decl changes we stop converting */
#define VB_RESETDECLCHANGE 1000
/* Reset the decl changecount after that number of draws */
#define VB_MAXFULLCONVERSIONS 5
/* Number of full conversions before we stop converting */
...
...
dlls/wined3d/wined3d_private.h
View file @
35a8bf0e
...
...
@@ -2491,14 +2491,6 @@ struct wined3d_map_range
UINT
size
;
};
#define WINED3D_BUFFER_HASDESC 0x01
/* A vertex description has been found. */
#define WINED3D_BUFFER_CREATEBO 0x02
/* Create a buffer object for this buffer. */
#define WINED3D_BUFFER_DOUBLEBUFFER 0x04
/* Keep both a buffer object and a system memory copy for this buffer. */
#define WINED3D_BUFFER_FLUSH 0x08
/* Manual unmap flushing. */
#define WINED3D_BUFFER_DISCARD 0x10
/* A DISCARD lock has occurred since the last preload. */
#define WINED3D_BUFFER_NOSYNC 0x20
/* All locks since the last preload had NOOVERWRITE set. */
#define WINED3D_BUFFER_APPLESYNC 0x40
/* Using sync as in GL_APPLE_flush_buffer_range. */
struct
wined3d_buffer
{
struct
wined3d_resource
resource
;
...
...
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