aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/direct3d/Evas_Engine_Direct3D.h
blob: f9b7a9c5923d7f8f5cdaf579b6f828179d3b07df (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
#ifndef __EVAS_ENGINE_DIRECT3D_H__
#define __EVAS_ENGINE_DIRECT3D_H__


#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN

typedef struct _Evas_Engine_Info_Direct3D Evas_Engine_Info_Direct3D;

struct _Evas_Engine_Info_Direct3D
{
   /* PRIVATE - don't mess with this baby or evas will poke its tongue out */
   /* at you and make nasty noises */
   Evas_Engine_Info magic;

   struct {
      HWND window;
      int rotation;
      int depth;
      int fullscreen : 1;
      int layered : 1;
   } info;

   struct {
      unsigned short width;
      unsigned short height;
      unsigned char *mask;
   } *shape;

   /* non-blocking or blocking mode */
   Evas_Engine_Render_Mode render_mode;
};


#endif /* __EVAS_ENGINE_DIRECT3D_H__ */