mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
include: Introduce dxgiformat.idl.
This commit is contained in:
parent
7e28ef6f16
commit
7bdc8c3b25
@ -8,6 +8,8 @@ widl_headers = \
|
||||
include/dxgi1_2.h \
|
||||
include/dxgi1_3.h \
|
||||
include/dxgi1_4.h \
|
||||
include/dxgibase.h \
|
||||
include/dxgiformat.h \
|
||||
include/dxgitype.h
|
||||
|
||||
vkd3d_public_headers = \
|
||||
@ -15,6 +17,7 @@ vkd3d_public_headers = \
|
||||
include/dummy/rpc.h \
|
||||
include/dummy/rpcndr.h \
|
||||
include/dxgibase.h \
|
||||
include/dxgiformat.h \
|
||||
include/vkd3d.h \
|
||||
include/vkd3d_shader.h \
|
||||
include/vkd3d_utils.h \
|
||||
|
2
include/.gitignore
vendored
2
include/.gitignore
vendored
@ -5,5 +5,7 @@ dxgi.h
|
||||
dxgi1_2.h
|
||||
dxgi1_3.h
|
||||
dxgi1_4.h
|
||||
dxgibase.h
|
||||
dxgiformat.h
|
||||
dxgitype.h
|
||||
stamp-h1
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
import "vkd3d_windows.h";
|
||||
|
||||
import "dxgibase.h";
|
||||
import "dxgibase.idl";
|
||||
|
||||
#include "unknown.idl"
|
||||
|
||||
|
30
include/dxgibase.idl
Normal file
30
include/dxgibase.idl
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright 2016 Józef Kucia for CodeWeavers
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "vkd3d_windows.h";
|
||||
|
||||
import "dxgiformat.idl";
|
||||
|
||||
cpp_quote("#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001)")
|
||||
cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)")
|
||||
|
||||
typedef struct DXGI_SAMPLE_DESC
|
||||
{
|
||||
UINT Count;
|
||||
UINT Quality;
|
||||
} DXGI_SAMPLE_DESC;
|
@ -16,18 +16,6 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef __DXGI_BASE_H
|
||||
#define __DXGI_BASE_H
|
||||
|
||||
#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887A0001)
|
||||
#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887A0005)
|
||||
|
||||
typedef struct DXGI_SAMPLE_DESC
|
||||
{
|
||||
UINT Count;
|
||||
UINT Quality;
|
||||
} DXGI_SAMPLE_DESC;
|
||||
|
||||
typedef enum DXGI_FORMAT
|
||||
{
|
||||
DXGI_FORMAT_UNKNOWN = 0x00,
|
||||
@ -68,5 +56,3 @@ typedef enum DXGI_FORMAT
|
||||
|
||||
DXGI_FORMAT_FORCE_DWORD = 0xffffffff,
|
||||
} DXGI_FORMAT;
|
||||
|
||||
#endif /* __DXGI_BASE_H */
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import "vkd3d_windows.h";
|
||||
import "dxgibase.h";
|
||||
import "dxgibase.idl";
|
||||
|
||||
typedef enum DXGI_COLOR_SPACE_TYPE
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user