d3d10core: Mark internal symbols hidden.

This commit is contained in:
Henri Verbeet 2009-09-20 20:09:27 +02:00 committed by Alexandre Julliard
parent 85ab52a48d
commit 802674e078
1 changed files with 21 additions and 20 deletions

View File

@ -49,11 +49,11 @@ struct d3d10_shader_info
};
/* TRACE helper functions */
const char *debug_d3d10_primitive_topology(D3D10_PRIMITIVE_TOPOLOGY topology);
const char *debug_dxgi_format(DXGI_FORMAT format);
const char *debug_d3d10_primitive_topology(D3D10_PRIMITIVE_TOPOLOGY topology) DECLSPEC_HIDDEN;
const char *debug_dxgi_format(DXGI_FORMAT format) DECLSPEC_HIDDEN;
DXGI_FORMAT dxgi_format_from_wined3dformat(WINED3DFORMAT format);
WINED3DFORMAT wined3dformat_from_dxgi_format(DXGI_FORMAT format);
DXGI_FORMAT dxgi_format_from_wined3dformat(WINED3DFORMAT format) DECLSPEC_HIDDEN;
WINED3DFORMAT wined3dformat_from_dxgi_format(DXGI_FORMAT format) DECLSPEC_HIDDEN;
static inline void read_dword(const char **ptr, DWORD *d)
{
@ -61,15 +61,15 @@ static inline void read_dword(const char **ptr, DWORD *d)
*ptr += sizeof(*d);
}
void skip_dword_unknown(const char **ptr, unsigned int count);
void skip_dword_unknown(const char **ptr, unsigned int count) DECLSPEC_HIDDEN;
HRESULT parse_dxbc(const char *data, SIZE_T data_size,
HRESULT (*chunk_handler)(const char *data, DWORD data_size, DWORD tag, void *ctx), void *ctx);
HRESULT (*chunk_handler)(const char *data, DWORD data_size, DWORD tag, void *ctx), void *ctx) DECLSPEC_HIDDEN;
/* IDirect3D10Device */
extern const struct ID3D10DeviceVtbl d3d10_device_vtbl;
extern const struct IUnknownVtbl d3d10_device_inner_unknown_vtbl;
extern const struct IWineD3DDeviceParentVtbl d3d10_wined3d_device_parent_vtbl;
extern const struct ID3D10DeviceVtbl d3d10_device_vtbl DECLSPEC_HIDDEN;
extern const struct IUnknownVtbl d3d10_device_inner_unknown_vtbl DECLSPEC_HIDDEN;
extern const struct IWineD3DDeviceParentVtbl d3d10_wined3d_device_parent_vtbl DECLSPEC_HIDDEN;
struct d3d10_device
{
const struct ID3D10DeviceVtbl *vtbl;
@ -93,7 +93,7 @@ struct d3d10_texture2d
};
HRESULT d3d10_texture2d_init(struct d3d10_texture2d *texture, struct d3d10_device *device,
const D3D10_TEXTURE2D_DESC *desc);
const D3D10_TEXTURE2D_DESC *desc) DECLSPEC_HIDDEN;
/* ID3D10Buffer */
struct d3d10_buffer
@ -105,10 +105,10 @@ struct d3d10_buffer
};
HRESULT d3d10_buffer_init(struct d3d10_buffer *buffer, struct d3d10_device *device,
const D3D10_BUFFER_DESC *desc, const D3D10_SUBRESOURCE_DATA *data);
const D3D10_BUFFER_DESC *desc, const D3D10_SUBRESOURCE_DATA *data) DECLSPEC_HIDDEN;
/* ID3D10RenderTargetView */
extern const struct ID3D10RenderTargetViewVtbl d3d10_rendertarget_view_vtbl;
extern const struct ID3D10RenderTargetViewVtbl d3d10_rendertarget_view_vtbl DECLSPEC_HIDDEN;
struct d3d10_rendertarget_view
{
const struct ID3D10RenderTargetViewVtbl *vtbl;
@ -119,7 +119,7 @@ struct d3d10_rendertarget_view
};
/* ID3D10InputLayout */
extern const struct ID3D10InputLayoutVtbl d3d10_input_layout_vtbl;
extern const struct ID3D10InputLayoutVtbl d3d10_input_layout_vtbl DECLSPEC_HIDDEN;
struct d3d10_input_layout
{
const struct ID3D10InputLayoutVtbl *vtbl;
@ -130,10 +130,10 @@ struct d3d10_input_layout
HRESULT d3d10_input_layout_to_wined3d_declaration(const D3D10_INPUT_ELEMENT_DESC *element_descs,
UINT element_count, const void *shader_byte_code, SIZE_T shader_byte_code_length,
WINED3DVERTEXELEMENT **wined3d_elements, UINT *wined3d_element_count);
WINED3DVERTEXELEMENT **wined3d_elements, UINT *wined3d_element_count) DECLSPEC_HIDDEN;
/* ID3D10VertexShader */
extern const struct ID3D10VertexShaderVtbl d3d10_vertex_shader_vtbl;
extern const struct ID3D10VertexShaderVtbl d3d10_vertex_shader_vtbl DECLSPEC_HIDDEN;
struct d3d10_vertex_shader
{
const struct ID3D10VertexShaderVtbl *vtbl;
@ -144,7 +144,7 @@ struct d3d10_vertex_shader
};
/* ID3D10GeometryShader */
extern const struct ID3D10GeometryShaderVtbl d3d10_geometry_shader_vtbl;
extern const struct ID3D10GeometryShaderVtbl d3d10_geometry_shader_vtbl DECLSPEC_HIDDEN;
struct d3d10_geometry_shader
{
const struct ID3D10GeometryShaderVtbl *vtbl;
@ -152,7 +152,7 @@ struct d3d10_geometry_shader
};
/* ID3D10PixelShader */
extern const struct ID3D10PixelShaderVtbl d3d10_pixel_shader_vtbl;
extern const struct ID3D10PixelShaderVtbl d3d10_pixel_shader_vtbl DECLSPEC_HIDDEN;
struct d3d10_pixel_shader
{
const struct ID3D10PixelShaderVtbl *vtbl;
@ -162,9 +162,10 @@ struct d3d10_pixel_shader
struct wined3d_shader_signature output_signature;
};
HRESULT shader_extract_from_dxbc(const void *dxbc, SIZE_T dxbc_length, struct d3d10_shader_info *shader_info);
HRESULT shader_parse_signature(const char *data, DWORD data_size, struct wined3d_shader_signature *s);
void shader_free_signature(struct wined3d_shader_signature *s);
HRESULT shader_extract_from_dxbc(const void *dxbc, SIZE_T dxbc_length,
struct d3d10_shader_info *shader_info) DECLSPEC_HIDDEN;
HRESULT shader_parse_signature(const char *data, DWORD data_size, struct wined3d_shader_signature *s) DECLSPEC_HIDDEN;
void shader_free_signature(struct wined3d_shader_signature *s) DECLSPEC_HIDDEN;
/* Layered device */
enum dxgi_device_layer_id