mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Rename another function...
This commit is contained in:
parent
c43a0dac2e
commit
9a58f9a3bb
@ -23,7 +23,7 @@
|
|||||||
#include "../GLInterface.h"
|
#include "../GLInterface.h"
|
||||||
#include "AGL.h"
|
#include "AGL.h"
|
||||||
|
|
||||||
void cInterfaceAGL::SwapBuffers()
|
void cInterfaceAGL::Swap()
|
||||||
{
|
{
|
||||||
[GLWin.cocoaCtx flushBuffer];
|
[GLWin.cocoaCtx flushBuffer];
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
class cInterfaceAGL : public cInterfaceBase
|
class cInterfaceAGL : public cInterfaceBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void SwapBuffers();
|
void Swap();
|
||||||
void UpdateFPSDisplay(const char *Text);
|
void UpdateFPSDisplay(const char *Text);
|
||||||
bool Create(void *&window_handle);
|
bool Create(void *&window_handle);
|
||||||
bool MakeCurrent();
|
bool MakeCurrent();
|
||||||
|
@ -218,7 +218,7 @@ void cInterfaceEGL::UpdateFPSDisplay(const char *text)
|
|||||||
{
|
{
|
||||||
XStoreName(GLWin.x_dpy, GLWin.win, text);
|
XStoreName(GLWin.x_dpy, GLWin.win, text);
|
||||||
}
|
}
|
||||||
void cInterfaceEGL::SwapBuffers()
|
void cInterfaceEGL::Swap()
|
||||||
{
|
{
|
||||||
eglSwapBuffers(GLWin.egl_dpy, GLWin.egl_surf);
|
eglSwapBuffers(GLWin.egl_dpy, GLWin.egl_surf);
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ private:
|
|||||||
void DestroyXWindow();
|
void DestroyXWindow();
|
||||||
void XEventThread();
|
void XEventThread();
|
||||||
public:
|
public:
|
||||||
void SwapBuffers();
|
void Swap();
|
||||||
void UpdateFPSDisplay(const char *Text);
|
void UpdateFPSDisplay(const char *Text);
|
||||||
bool Create(void *&window_handle);
|
bool Create(void *&window_handle);
|
||||||
bool MakeCurrent();
|
bool MakeCurrent();
|
||||||
|
@ -218,7 +218,7 @@ void cInterfaceGLX::UpdateFPSDisplay(const char *text)
|
|||||||
{
|
{
|
||||||
XStoreName(GLWin.dpy, GLWin.win, text);
|
XStoreName(GLWin.dpy, GLWin.win, text);
|
||||||
}
|
}
|
||||||
void cInterfaceGLX::SwapBuffers()
|
void cInterfaceGLX::Swap()
|
||||||
{
|
{
|
||||||
glXSwapBuffers(GLWin.dpy, GLWin.win);
|
glXSwapBuffers(GLWin.dpy, GLWin.win);
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ private:
|
|||||||
void DestroyXWindow();
|
void DestroyXWindow();
|
||||||
void XEventThread();
|
void XEventThread();
|
||||||
public:
|
public:
|
||||||
void SwapBuffers();
|
void Swap();
|
||||||
void UpdateFPSDisplay(const char *Text);
|
void UpdateFPSDisplay(const char *Text);
|
||||||
bool Create(void *&window_handle);
|
bool Create(void *&window_handle);
|
||||||
bool MakeCurrent();
|
bool MakeCurrent();
|
||||||
|
@ -23,7 +23,7 @@ protected:
|
|||||||
u32 s_backbuffer_width;
|
u32 s_backbuffer_width;
|
||||||
u32 s_backbuffer_height;
|
u32 s_backbuffer_height;
|
||||||
public:
|
public:
|
||||||
virtual void SwapBuffers() = 0;
|
virtual void Swap() = 0;
|
||||||
virtual void UpdateFPSDisplay(const char *Text) = 0;
|
virtual void UpdateFPSDisplay(const char *Text) = 0;
|
||||||
virtual bool Create(void *&window_handle) = 0;
|
virtual bool Create(void *&window_handle) = 0;
|
||||||
virtual bool MakeCurrent() = 0;
|
virtual bool MakeCurrent() = 0;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
static HDC hDC = NULL; // Private GDI Device Context
|
static HDC hDC = NULL; // Private GDI Device Context
|
||||||
static HGLRC hRC = NULL; // Permanent Rendering Context
|
static HGLRC hRC = NULL; // Permanent Rendering Context
|
||||||
|
|
||||||
void cInterfaceWGL::SwapBuffers()
|
void cInterfaceWGL::Swap()
|
||||||
{
|
{
|
||||||
SwapBuffers(hDC);
|
SwapBuffers(hDC);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
class cInterfaceWGL : public cInterfaceBase
|
class cInterfaceWGL : public cInterfaceBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void SwapBuffers();
|
void Swap();
|
||||||
void UpdateFPSDisplay(const char *Text);
|
void UpdateFPSDisplay(const char *Text);
|
||||||
bool Create(void *&window_handle);
|
bool Create(void *&window_handle);
|
||||||
bool MakeCurrent();
|
bool MakeCurrent();
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "../GLInterface.h"
|
#include "../GLInterface.h"
|
||||||
#include "WX.h"
|
#include "WX.h"
|
||||||
|
|
||||||
void cInterfaceWX::SwapBuffers()
|
void cInterfaceWX::Swap()
|
||||||
{
|
{
|
||||||
GLWin.glCanvas->SwapBuffers();
|
GLWin.glCanvas->SwapBuffers();
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class cInterfaceWX : public cInterfaceBase
|
class cInterfaceWX : public cInterfaceBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void SwapBuffers();
|
void Swap();
|
||||||
void UpdateFPSDisplay(const char *Text);
|
void UpdateFPSDisplay(const char *Text);
|
||||||
bool Create(void *&window_handle);
|
bool Create(void *&window_handle);
|
||||||
bool MakeCurrent();
|
bool MakeCurrent();
|
||||||
|
@ -1354,7 +1354,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
|||||||
GL_REPORT_ERRORD();
|
GL_REPORT_ERRORD();
|
||||||
|
|
||||||
// Copy the rendered frame to the real window
|
// Copy the rendered frame to the real window
|
||||||
GLInterface->SwapBuffers();
|
GLInterface->Swap();
|
||||||
|
|
||||||
GL_REPORT_ERRORD();
|
GL_REPORT_ERRORD();
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ void SWRenderer::SwapBuffer()
|
|||||||
|
|
||||||
glFlush();
|
glFlush();
|
||||||
|
|
||||||
GLInterface->SwapBuffers();
|
GLInterface->Swap();
|
||||||
|
|
||||||
swstats.ResetFrame();
|
swstats.ResetFrame();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user