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
d6e08f80
Commit
d6e08f80
authored
Jul 19, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Consolidate surface related prototypes in wined3d_private.h.
parent
ce8f6ecf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
wined3d_private.h
dlls/wined3d/wined3d_private.h
+14
-16
No files found.
dlls/wined3d/wined3d_private.h
View file @
d6e08f80
...
...
@@ -1833,12 +1833,6 @@ typedef struct IWineD3DBaseTextureClass
void
(
*
internal_preload
)(
IWineD3DBaseTexture
*
iface
,
enum
WINED3DSRGB
srgb
);
}
IWineD3DBaseTextureClass
;
void
surface_internal_preload
(
IWineD3DSurfaceImpl
*
surface
,
enum
WINED3DSRGB
srgb
)
DECLSPEC_HIDDEN
;
BOOL
surface_init_sysmem
(
IWineD3DSurfaceImpl
*
surface
)
DECLSPEC_HIDDEN
;
BOOL
surface_is_offscreen
(
IWineD3DSurfaceImpl
*
iface
)
DECLSPEC_HIDDEN
;
void
surface_prepare_texture
(
IWineD3DSurfaceImpl
*
surface
,
const
struct
wined3d_gl_info
*
gl_info
,
BOOL
srgb
)
DECLSPEC_HIDDEN
;
typedef
struct
IWineD3DBaseTextureImpl
{
/* IUnknown & WineD3DResource Information */
...
...
@@ -2067,13 +2061,27 @@ struct IWineD3DSurfaceImpl
extern
const
IWineD3DSurfaceVtbl
IWineD3DSurface_Vtbl
DECLSPEC_HIDDEN
;
extern
const
IWineD3DSurfaceVtbl
IWineGDISurface_Vtbl
DECLSPEC_HIDDEN
;
void
surface_add_dirty_rect
(
IWineD3DSurfaceImpl
*
surface
,
const
RECT
*
dirty_rect
)
DECLSPEC_HIDDEN
;
UINT
surface_calculate_size
(
const
struct
wined3d_format_desc
*
format_desc
,
UINT
alignment
,
UINT
width
,
UINT
height
)
DECLSPEC_HIDDEN
;
void
surface_gdi_cleanup
(
IWineD3DSurfaceImpl
*
This
)
DECLSPEC_HIDDEN
;
GLenum
surface_get_gl_buffer
(
IWineD3DSurfaceImpl
*
surface
)
DECLSPEC_HIDDEN
;
HRESULT
surface_init
(
IWineD3DSurfaceImpl
*
surface
,
WINED3DSURFTYPE
surface_type
,
UINT
alignment
,
UINT
width
,
UINT
height
,
UINT
level
,
BOOL
lockable
,
BOOL
discard
,
WINED3DMULTISAMPLE_TYPE
multisample_type
,
UINT
multisample_quality
,
IWineD3DDeviceImpl
*
device
,
DWORD
usage
,
WINED3DFORMAT
format
,
WINED3DPOOL
pool
,
IUnknown
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
BOOL
surface_init_sysmem
(
IWineD3DSurfaceImpl
*
surface
)
DECLSPEC_HIDDEN
;
void
surface_internal_preload
(
IWineD3DSurfaceImpl
*
surface
,
enum
WINED3DSRGB
srgb
)
DECLSPEC_HIDDEN
;
BOOL
surface_is_offscreen
(
IWineD3DSurfaceImpl
*
iface
)
DECLSPEC_HIDDEN
;
void
surface_load_ds_location
(
IWineD3DSurfaceImpl
*
surface
,
struct
wined3d_context
*
context
,
DWORD
location
)
DECLSPEC_HIDDEN
;
void
surface_modify_ds_location
(
IWineD3DSurfaceImpl
*
surface
,
DWORD
location
,
UINT
w
,
UINT
h
)
DECLSPEC_HIDDEN
;
void
surface_prepare_texture
(
IWineD3DSurfaceImpl
*
surface
,
const
struct
wined3d_gl_info
*
gl_info
,
BOOL
srgb
)
DECLSPEC_HIDDEN
;
void
surface_set_compatible_renderbuffer
(
IWineD3DSurfaceImpl
*
surface
,
unsigned
int
width
,
unsigned
int
height
)
DECLSPEC_HIDDEN
;
void
surface_set_texture_name
(
IWineD3DSurfaceImpl
*
surface
,
GLuint
name
,
BOOL
srgb_name
)
DECLSPEC_HIDDEN
;
void
surface_set_texture_target
(
IWineD3DSurfaceImpl
*
surface
,
GLenum
target
)
DECLSPEC_HIDDEN
;
void
surface_translate_frontbuffer_coords
(
IWineD3DSurfaceImpl
*
surface
,
HWND
window
,
RECT
*
rect
)
DECLSPEC_HIDDEN
;
/* Predeclare the shared Surface functions */
...
...
@@ -2619,16 +2627,6 @@ void state_fogstartend(DWORD state, IWineD3DStateBlockImpl *stateblock,
void
state_fog_fragpart
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
DECLSPEC_HIDDEN
;
void
surface_add_dirty_rect
(
IWineD3DSurfaceImpl
*
surface
,
const
RECT
*
dirty_rect
)
DECLSPEC_HIDDEN
;
GLenum
surface_get_gl_buffer
(
IWineD3DSurfaceImpl
*
surface
)
DECLSPEC_HIDDEN
;
void
surface_load_ds_location
(
IWineD3DSurfaceImpl
*
surface
,
struct
wined3d_context
*
context
,
DWORD
location
)
DECLSPEC_HIDDEN
;
void
surface_modify_ds_location
(
IWineD3DSurfaceImpl
*
surface
,
DWORD
location
,
UINT
w
,
UINT
h
)
DECLSPEC_HIDDEN
;
void
surface_set_compatible_renderbuffer
(
IWineD3DSurfaceImpl
*
surface
,
unsigned
int
width
,
unsigned
int
height
)
DECLSPEC_HIDDEN
;
void
surface_set_texture_name
(
IWineD3DSurfaceImpl
*
surface
,
GLuint
name
,
BOOL
srgb_name
)
DECLSPEC_HIDDEN
;
void
surface_set_texture_target
(
IWineD3DSurfaceImpl
*
surface
,
GLenum
target
)
DECLSPEC_HIDDEN
;
BOOL
getColorBits
(
const
struct
wined3d_format_desc
*
format_desc
,
short
*
redSize
,
short
*
greenSize
,
short
*
blueSize
,
short
*
alphaSize
,
short
*
totalSize
)
DECLSPEC_HIDDEN
;
BOOL
getDepthStencilBits
(
const
struct
wined3d_format_desc
*
format_desc
,
...
...
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