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
f8eebdf4
Commit
f8eebdf4
authored
Jan 06, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move struct wined3d_adapter_gl to wined3d_gl.h.
parent
f48fe685
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
42 deletions
+42
-42
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+41
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-42
No files found.
dlls/wined3d/wined3d_gl.h
View file @
f8eebdf4
...
...
@@ -759,4 +759,45 @@ void wined3d_ffp_blitter_create(struct wined3d_blitter **next, const struct wine
struct
wined3d_blitter
*
wined3d_glsl_blitter_create
(
struct
wined3d_blitter
**
next
,
const
struct
wined3d_device
*
device
);
void
wined3d_raw_blitter_create
(
struct
wined3d_blitter
**
next
,
const
struct
wined3d_gl_info
*
gl_info
);
struct
wined3d_caps_gl_ctx
{
HDC
dc
;
HWND
wnd
;
HGLRC
gl_ctx
;
HDC
restore_dc
;
HGLRC
restore_gl_ctx
;
const
struct
wined3d_gl_info
*
gl_info
;
GLuint
test_vbo
;
GLuint
test_program_id
;
const
struct
wined3d_gpu_description
*
gpu_description
;
UINT64
vram_bytes
;
};
BOOL
wined3d_caps_gl_ctx_test_viewport_subpixel_bits
(
struct
wined3d_caps_gl_ctx
*
ctx
);
bool
wined3d_caps_gl_ctx_test_filling_convention
(
struct
wined3d_caps_gl_ctx
*
ctx
,
float
offset
);
struct
wined3d_adapter_gl
{
struct
wined3d_adapter
a
;
struct
wined3d_gl_info
gl_info
;
struct
wined3d_pixel_format
*
pixel_formats
;
unsigned
int
pixel_format_count
;
};
static
inline
struct
wined3d_adapter_gl
*
wined3d_adapter_gl
(
struct
wined3d_adapter
*
adapter
)
{
return
CONTAINING_RECORD
(
adapter
,
struct
wined3d_adapter_gl
,
a
);
}
static
inline
const
struct
wined3d_adapter_gl
*
wined3d_adapter_gl_const
(
const
struct
wined3d_adapter
*
adapter
)
{
return
CONTAINING_RECORD
(
adapter
,
struct
wined3d_adapter_gl
,
a
);
}
BOOL
wined3d_adapter_gl_init_format_info
(
struct
wined3d_adapter
*
adapter
,
struct
wined3d_caps_gl_ctx
*
ctx
);
#endif
/* __WINE_WINED3D_GL */
dlls/wined3d/wined3d_private.h
View file @
f8eebdf4
...
...
@@ -2095,8 +2095,6 @@ struct wined3d_blitter_ops
enum
wined3d_texture_filter_type
filter
,
const
struct
wined3d_format
*
resolve_format
);
};
#include "wined3d_gl.h"
struct
wined3d_blitter
*
wined3d_cpu_blitter_create
(
void
)
DECLSPEC_HIDDEN
;
void
wined3d_vk_blitter_create
(
struct
wined3d_blitter
**
next
)
DECLSPEC_HIDDEN
;
...
...
@@ -2661,54 +2659,15 @@ BOOL wined3d_get_primary_adapter_luid(LUID *luid) DECLSPEC_HIDDEN;
struct
wined3d_adapter
*
wined3d_adapter_vk_create
(
unsigned
int
ordinal
,
unsigned
int
wined3d_creation_flags
)
DECLSPEC_HIDDEN
;
struct
wined3d_adapter_gl
{
struct
wined3d_adapter
a
;
struct
wined3d_gl_info
gl_info
;
struct
wined3d_pixel_format
*
pixel_formats
;
unsigned
int
pixel_format_count
;
};
static
inline
struct
wined3d_adapter_gl
*
wined3d_adapter_gl
(
struct
wined3d_adapter
*
adapter
)
{
return
CONTAINING_RECORD
(
adapter
,
struct
wined3d_adapter_gl
,
a
);
}
static
inline
const
struct
wined3d_adapter_gl
*
wined3d_adapter_gl_const
(
const
struct
wined3d_adapter
*
adapter
)
{
return
CONTAINING_RECORD
(
adapter
,
struct
wined3d_adapter_gl
,
a
);
}
#include "wined3d_gl.h"
struct
wined3d_adapter
*
wined3d_adapter_gl_create
(
unsigned
int
ordinal
,
unsigned
int
wined3d_creation_flags
)
DECLSPEC_HIDDEN
;
struct
wined3d_caps_gl_ctx
{
HDC
dc
;
HWND
wnd
;
HGLRC
gl_ctx
;
HDC
restore_dc
;
HGLRC
restore_gl_ctx
;
const
struct
wined3d_gl_info
*
gl_info
;
GLuint
test_vbo
;
GLuint
test_program_id
;
const
struct
wined3d_gpu_description
*
gpu_description
;
UINT64
vram_bytes
;
};
BOOL
wined3d_adapter_gl_init_format_info
(
struct
wined3d_adapter
*
adapter
,
struct
wined3d_caps_gl_ctx
*
ctx
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_adapter_no3d_init_format_info
(
struct
wined3d_adapter
*
adapter
)
DECLSPEC_HIDDEN
;
ssize_t
adapter_adjust_mapped_memory
(
struct
wined3d_adapter
*
adapter
,
ssize_t
size
)
DECLSPEC_HIDDEN
;
UINT64
adapter_adjust_memory
(
struct
wined3d_adapter
*
adapter
,
INT64
amount
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_caps_gl_ctx_test_viewport_subpixel_bits
(
struct
wined3d_caps_gl_ctx
*
ctx
)
DECLSPEC_HIDDEN
;
bool
wined3d_caps_gl_ctx_test_filling_convention
(
struct
wined3d_caps_gl_ctx
*
ctx
,
float
offset
)
DECLSPEC_HIDDEN
;
enum
wined3d_projection_type
{
WINED3D_PROJECTION_NONE
=
0
,
...
...
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