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
2ace2166
Commit
2ace2166
authored
Jan 06, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move struct wined3d_bo_gl to wined3d_gl.h.
parent
f1749b08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
27 deletions
+27
-27
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+26
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-27
No files found.
dlls/wined3d/wined3d_gl.h
View file @
2ace2166
...
...
@@ -410,4 +410,30 @@ static inline bool wined3d_fence_supported(const struct wined3d_gl_info *gl_info
#define checkGLcall(A) do {} while(0)
#endif
struct
wined3d_bo_gl
{
struct
wined3d_bo
b
;
GLuint
id
;
struct
wined3d_allocator_block
*
memory
;
GLsizeiptr
size
;
GLenum
binding
;
GLenum
usage
;
GLbitfield
flags
;
uint64_t
command_fence_id
;
};
static
inline
struct
wined3d_bo_gl
*
wined3d_bo_gl
(
struct
wined3d_bo
*
bo
)
{
return
CONTAINING_RECORD
(
bo
,
struct
wined3d_bo_gl
,
b
);
}
static
inline
GLuint
wined3d_bo_gl_id
(
struct
wined3d_bo
*
bo
)
{
return
bo
?
wined3d_bo_gl
(
bo
)
->
id
:
0
;
}
#endif
/* __WINE_WINED3D_GL */
dlls/wined3d/wined3d_private.h
View file @
2ace2166
...
...
@@ -144,8 +144,6 @@ enum wined3d_ffp_emit_idx
WINED3D_FFP_EMIT_COUNT
,
};
#include "wined3d_gl.h"
/* Texture format fixups */
enum
fixup_channel_source
...
...
@@ -1613,31 +1611,7 @@ struct wined3d_bo
bool
coherent
;
};
struct
wined3d_bo_gl
{
struct
wined3d_bo
b
;
GLuint
id
;
struct
wined3d_allocator_block
*
memory
;
GLsizeiptr
size
;
GLenum
binding
;
GLenum
usage
;
GLbitfield
flags
;
uint64_t
command_fence_id
;
};
static
inline
struct
wined3d_bo_gl
*
wined3d_bo_gl
(
struct
wined3d_bo
*
bo
)
{
return
CONTAINING_RECORD
(
bo
,
struct
wined3d_bo_gl
,
b
);
}
static
inline
GLuint
wined3d_bo_gl_id
(
struct
wined3d_bo
*
bo
)
{
return
bo
?
wined3d_bo_gl
(
bo
)
->
id
:
0
;
}
#include "wined3d_gl.h"
struct
wined3d_bo_user
{
...
...
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