Big restructuring of how the video plugin works. In linux and windows you shouldn't see a change in the functionality; however, there are changes in how render to main or not, and fullscreen modes, and such are handled. Input is largely restructured for the video plugin. It is now handled by the host. Keys for pausing and changing fullscreen are configurable. More will probably be later. This is probably classified as highly experimental.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5336 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -18,11 +18,11 @@ typedef void (*TScheduleEvent_Threadsafe)(int cyclesIntoFuture, int e
|
||||
typedef unsigned char* (*TGetMemoryPointer)(const unsigned int _iAddress);
|
||||
typedef void (*TVideoLog)(const char* _pMessage, int _bBreak);
|
||||
typedef void (*TSysMessage)(const char *fmt, ...);
|
||||
typedef void (*TRequestWindowSize)(int _iWidth, int _iHeight, bool _bFullscreen);
|
||||
typedef void (*TRequestWindowSize)(int& x, int& y, int& width, int& height);
|
||||
typedef void (*TCopiedToXFB)(bool video_update);
|
||||
typedef unsigned int (*TPeekMessages)(void);
|
||||
typedef void (*TUpdateFPSDisplay)(const char* text); // sets the window title
|
||||
typedef void (*TKeyPressed)(int keycode, bool shift, bool control); // passes keys to the hotkey function
|
||||
typedef void (*TCoreMessage)(int Id); // passes message to the core
|
||||
|
||||
enum FieldType
|
||||
{
|
||||
@@ -72,9 +72,6 @@ typedef struct
|
||||
{
|
||||
void *pWindowHandle;
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
#if defined(HAVE_GTK2) && HAVE_GTK2
|
||||
void *pPanel;
|
||||
#endif
|
||||
void *pXWindow;
|
||||
#endif
|
||||
|
||||
@@ -88,7 +85,7 @@ typedef struct
|
||||
TCopiedToXFB pCopiedToXFB;
|
||||
TPeekMessages pPeekMessages;
|
||||
TUpdateFPSDisplay pUpdateFPSDisplay;
|
||||
TKeyPressed pKeyPress;
|
||||
TCoreMessage pCoreMessage;
|
||||
void *pMemoryBase;
|
||||
bool bWii;
|
||||
bool bOnThread;
|
||||
|
||||
Reference in New Issue
Block a user