Remove obsolete and misleading FIXME.
[wine] / dlls / ddraw / ddraw / dga2.h
1 /* Copyright 2000 TransGaming Technologies, Inc. */
2 #ifndef WINE_DDRAW_DDRAW_DGA2_H_INCLUDED
3 #define WINE_DDRAW_DDRAW_DGA2_H_INCLUDED
4
5 #include <X11/extensions/xf86dga.h>
6
7 #define XF86DGA2_DDRAW_PRIV(ddraw) \
8         ((XF86DGA2_DirectDrawImpl*)((ddraw)->private))
9 #define XF86DGA2_DDRAW_PRIV_VAR(name,ddraw) \
10         XF86DGA2_DirectDrawImpl* name = XF86DGA2_DDRAW_PRIV(ddraw)
11
12 typedef struct
13 {
14     XDGADevice* current_mode;
15     DWORD next_vofs;
16 } XF86DGA2_DirectDrawImpl_Part;
17
18 typedef struct
19 {
20     User_DirectDrawImpl_Part user;
21     XF86DGA2_DirectDrawImpl_Part xf86dga2;
22 } XF86DGA2_DirectDrawImpl;
23
24 void XF86DGA2_DirectDraw_final_release(IDirectDrawImpl* This);
25 HRESULT XF86DGA2_DirectDraw_create_primary(IDirectDrawImpl* This,
26                                            const DDSURFACEDESC2* pDDSD,
27                                            LPDIRECTDRAWSURFACE7* ppSurf,
28                                            LPUNKNOWN pOuter);
29 HRESULT XF86DGA2_DirectDraw_create_backbuffer(IDirectDrawImpl* This,
30                                               const DDSURFACEDESC2* pDDSD,
31                                               LPDIRECTDRAWSURFACE7* ppSurf,
32                                               LPUNKNOWN pOuter,
33                                               IDirectDrawSurfaceImpl* primary);
34 HRESULT XF86DGA2_DirectDraw_Construct(IDirectDrawImpl *This, BOOL ex);
35 HRESULT XF86DGA2_DirectDraw_Create(const GUID* pGUID, LPDIRECTDRAW7* pIface,
36                                    IUnknown* pUnkOuter, BOOL ex);
37 HRESULT WINAPI
38 XF86DGA2_DirectDraw_GetDeviceIdentifier(LPDIRECTDRAW7 iface,
39                                         LPDDDEVICEIDENTIFIER2 pDDDI,
40                                         DWORD dwFlags);
41 HRESULT WINAPI
42 XF86DGA2_DirectDraw_SetDisplayMode(LPDIRECTDRAW7 iface, DWORD dwWidth,
43                                    DWORD dwHeight, DWORD dwBPP,
44                                    DWORD dwRefreshRate, DWORD dwFlags);
45 HRESULT WINAPI
46 XF86DGA2_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW7 iface);
47
48 #endif