Merge r55012 adding Wine3D control panel as per Amine's request.
[reactos.git] / dll / cpl / wined3dcfg / wined3dcfg.h
1 #include <windows.h>
2 #include <commctrl.h>
3 #include <cpl.h>
4 #include <stdio.h>
5 #include <initguid.h>
6 #include <debug.h>
7
8 #include "resource.h"
9
10 #define MAX_KEY_LENGTH 256
11
12 #define ITEM_FBO 0
13 #define ITEM_BACKBUFFER 1
14
15 #define ITEM_READTEX 0
16 #define ITEM_READDRAW 1
17 #define ITEM_DISABLED 2
18
19 #define VALUE_READTEX L"readtex"
20 #define VALUE_READDRAW L"readdraw"
21 #define VALUE_ENABLED L"enabled"
22 #define VALUE_DISABLED L"disabled"
23 #define VALUE_NONE L"none"
24 #define VALUE_BACKBUFFER L"backbuffer"
25 #define VALUE_FBO L"fbo"
26
27 #define KEY_WINE L"Software\\Wine\\Direct3D"
28
29 #define KEY_GLSL L"UseGLSL"
30 #define KEY_VERTEXSHADERS L"VertexShaderMode"
31 #define KEY_PIXELSHADERS L"PixelShaderMode"
32 #define KEY_STRICTDRAWORDERING L"StrictDrawOrdering"
33 #define KEY_OFFSCREEN L"OffscreenRenderingMode"
34 #define KEY_MULTISAMPLING L"Multisampling"
35 #define KEY_LOCKING L"RenderTargetLockMode"
36
37 INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);