aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/draw.h
blob: 2454a1f417f4d2c890f3fe2b45b6f464a9bd71b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/***************************************************************************
                          draw.h  -  description
                             -------------------
    begin                : Sun Oct 28 2001
    copyright            : (C) 2001 by Pete Bernert
    email                : BlackDove@addcom.de
 ***************************************************************************/
/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version. See also the license.txt file for *
 *   additional informations.                                              *
 *                                                                         *
 ***************************************************************************/

#ifndef _GPU_DRAW_H_
#define _GPU_DRAW_H_

void          DoBufferSwap(void);
void          DoClearScreenBuffer(void);
void          DoClearFrontBuffer(void);
unsigned long ulInitDisplay(void);
void          CloseDisplay(void);
void          CreatePic(unsigned char * pMem);
void          DestroyPic(void);
void          DisplayPic(void);
void          ShowGpuPic(void);
void          ShowTextGpuPic(void);

typedef struct {
#define MWM_HINTS_DECORATIONS   2
  long flags;
  long functions;
  long decorations;
  long input_mode;
} MotifWmHints;

#ifdef _WINDOWS
void          MoveScanLineArea(HWND hwnd);
#endif

///////////////////////////////////////////////////////////////////////

#endif // _GPU_DRAW_H_