mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
3bdf7d3711
implemented donko's xfb in D3D: the bad things: *is solower in some cases, slower as opengl *it do not work in dual core mode, it seems direct3d has serious synchronization problems, to the other devs please if you can take a look and help me :) *real xfb still not working i have to give it more time to make it work. the good: *games that uses multiples xfbs will work now using the virtual XFB. *implemented a more hardware like approach to scaling, now to calculate the pixel scaling i use the xfb size not the efb so the screen pixels relation is more correct now. *simplified a little donko's virtual xfb to make it less memory consuming as xfb textures are the exact size of the scaled xfb and not full target width. * when it works even real xfb will let us use super sampling. I repeat this commit is totally unstable and in dual core mode it will for sure hang the emulator or at best give totally incorrect results. Other devs please help as thread sync is not one of my strong points :) i'll keep waiting for the comments an the -1 :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5195 8ced0084-cf51-0410-be5f-012b33b47a6e
202 lines
7.7 KiB
Plaintext
202 lines
7.7 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include <windows.h>
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUT DIALOGEX 0, 0, 188, 81
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Dolphin D3D9 Video Plugin"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "Close",IDOK,131,60,50,14
|
|
LTEXT "Code by ector",IDC_STATIC,7,7,85,9
|
|
LTEXT "Hardware requirements: Radeon 9500 or better, or Geforce FX5200 or better.\nRadeon recommended.",IDC_STATIC,7,19,174,26
|
|
LTEXT "Will not work correctly on older GPU:s.",IDC_STATIC,7,47,170,8
|
|
END
|
|
|
|
IDD_SETTINGS DIALOGEX 0, 0, 244, 183
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_BORDER | WS_SYSMENU
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
|
BEGIN
|
|
LTEXT "&Graphics card:",IDC_STATIC,9,9,49,8
|
|
COMBOBOX IDC_ADAPTER,68,7,162,48,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
CONTROL "&Fullscreen",IDC_FULLSCREENENABLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,68,25,44,8
|
|
CONTROL "&V-Sync",IDC_VSYNC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,114,25,36,8
|
|
CONTROL "&Render to main window",IDC_RENDER_TO_MAINWINDOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,150,25,87,8
|
|
LTEXT "&Windowed",IDC_STATIC,14,89,40,8
|
|
COMBOBOX IDC_RESOLUTIONWINDOWED,68,87,162,73,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "&Anti-alias mode:",IDC_STATIC,9,113,51,8
|
|
COMBOBOX IDC_ANTIALIASMODE,68,111,162,73,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "&Aspect Ratio:",IDC_STATIC,9,40,48,8
|
|
CONTROL "&Widescreen Hack",IDC_WIDESCREEN_HACK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,161,40,67,10
|
|
CONTROL "&Safe Texture Cache",IDC_SAFE_TEXTURE_CACHE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,157,80,11
|
|
CONTROL "&Enable CPU->EFB access ",IDC_EFB_ACCESS_ENABLE,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,7,136,94,11
|
|
COMBOBOX IDC_ASPECTRATIO,68,39,89,57,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Safe Texture Cache Mode",IDC_STATIC,109,147,125,27
|
|
GROUPBOX "Resolutions",IDC_STATIC,7,56,230,50
|
|
LTEXT "Full&screen:",IDC_STATIC,14,68,36,8
|
|
COMBOBOX IDC_RESOLUTION,68,67,162,73,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
CONTROL "Safe",IDC_SAFE_TEXTURE_CACHE_SAFE,"Button",BS_AUTORADIOBUTTON,117,158,27,10
|
|
CONTROL "Normal",IDC_SAFE_TEXTURE_CACHE_NORMAL,"Button",BS_AUTORADIOBUTTON,154,158,38,10
|
|
CONTROL "Fast",IDC_SAFE_TEXTURE_CACHE_FAST,"Button",BS_AUTORADIOBUTTON,198,158,30,10
|
|
END
|
|
|
|
IDD_ADVANCED DIALOGEX 0, 0, 244, 200
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_BORDER | WS_SYSMENU
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
|
BEGIN
|
|
GROUPBOX "&Settings",IDC_STATIC,6,7,228,89
|
|
CONTROL "Overlay FPS counter",IDC_OVERLAYFPS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,114,18,82,8
|
|
CONTROL "&Overlay some statistics",IDC_OVERLAYSTATS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,155,90,8
|
|
CONTROL "Show s&hader compilation errors",IDC_SHOWSHADERERRORS,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,169,114,8
|
|
CONTROL "Enable &Wireframe",IDC_WIREFRAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,114,48,87,8
|
|
CONTROL "Disable Fog",IDC_DISABLEFOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,18,78,8
|
|
CONTROL "Enable Hotkey",IDC_OSDHOTKEY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,114,33,87,8
|
|
CONTROL "Enable EFB copy",IDC_ENABLEEFBCOPY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,33,81,8
|
|
CONTROL "To RAM",IDC_EFBTORAM,"Button",BS_AUTORADIOBUTTON | WS_GROUP,29,44,59,10
|
|
CONTROL "To Texture",IDC_EFBTOTEX,"Button",BS_AUTORADIOBUTTON,29,57,60,10
|
|
GROUPBOX "&Data dumping",IDC_STATIC,7,100,228,41
|
|
CONTROL "Dump &textures",IDC_TEXDUMP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,111,70,9
|
|
CONTROL "Dump Frames to User/Dump/Frames",IDC_DUMPFRAMES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,125,138,9
|
|
GROUPBOX "Debugging Tools",IDC_STATIC,7,143,228,51
|
|
CONTROL "Enable TexFmt Overlay",IDC_TEXFMT_OVERLAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,182,92,10
|
|
CONTROL "Centered",IDC_TEXFMT_CENTER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,114,183,52,10
|
|
CONTROL "Enable XFB",IDC_ENABLEXFB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,71,81,8
|
|
CONTROL "Enable Real XFB",IDC_ENABLEREALXFB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,114,71,81,8
|
|
END
|
|
|
|
IDD_ENHANCEMENTS DIALOGEX 0, 0, 224, 175
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_SYSMENU
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
GROUPBOX "Texture &filtering",IDC_STATIC,7,7,210,60
|
|
CONTROL "Force &bi/trilinear (breaks video in several Wii games)",IDC_FORCEFILTERING,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,20,192,9
|
|
CONTROL "Enable 16x &anisotropy filtering",IDC_FORCEANISOTROPY,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,35,110,10
|
|
CONTROL "Enable hires texture loading",IDC_LOADHIRESTEXTURE,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,50,110,11
|
|
GROUPBOX "EFB Hacks",IDC_STATIC,7,70,210,27
|
|
CONTROL "EFB Scaled Copy",IDC_EFBSCALEDCOPY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,80,110,12
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_ABOUT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 181
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 74
|
|
END
|
|
|
|
IDD_SETTINGS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 237
|
|
VERTGUIDE, 7
|
|
VERTGUIDE, 68
|
|
VERTGUIDE, 81
|
|
VERTGUIDE, 87
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 176
|
|
END
|
|
|
|
IDD_ADVANCED, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 237
|
|
VERTGUIDE, 14
|
|
VERTGUIDE, 29
|
|
VERTGUIDE, 114
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 195
|
|
HORZGUIDE, 18
|
|
HORZGUIDE, 33
|
|
HORZGUIDE, 49
|
|
HORZGUIDE, 156
|
|
END
|
|
|
|
IDD_ENHANCEMENTS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 217
|
|
VERTGUIDE, 16
|
|
VERTGUIDE, 74
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 168
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#include <windows.h\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|