diff options
Diffstat (limited to 'emulator/opengl/host')
3 files changed, 1 insertions, 7 deletions
diff --git a/emulator/opengl/host/libs/libOpenglRender/FBConfig.cpp b/emulator/opengl/host/libs/libOpenglRender/FBConfig.cpp index ca7351e..08c71e8 100644 --- a/emulator/opengl/host/libs/libOpenglRender/FBConfig.cpp +++ b/emulator/opengl/host/libs/libOpenglRender/FBConfig.cpp @@ -67,7 +67,6 @@ InitConfigStatus FBConfig::initConfigList(FrameBuffer *fb) return ret; } - const FrameBufferCaps &caps = fb->getCaps(); EGLDisplay dpy = fb->getDisplay(); if (dpy == EGL_NO_DISPLAY) { diff --git a/emulator/opengl/host/libs/libOpenglRender/RenderThread.cpp b/emulator/opengl/host/libs/libOpenglRender/RenderThread.cpp index 1b2c0fe..9ae2a43 100644 --- a/emulator/opengl/host/libs/libOpenglRender/RenderThread.cpp +++ b/emulator/opengl/host/libs/libOpenglRender/RenderThread.cpp @@ -94,7 +94,7 @@ int RenderThread::Main() stats_totalBytes += readBuf.validData(); long long dt = GetCurrentTimeMS() - stats_t0; if (dt > 1000) { - float dts = (float)dt / 1000.0f; + //float dts = (float)dt / 1000.0f; //printf("Used Bandwidth %5.3f MB/s\n", ((float)stats_totalBytes / dts) / (1024.0f*1024.0f)); stats_totalBytes = 0; stats_t0 = GetCurrentTimeMS(); diff --git a/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp b/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp index 9c32ff8..bdda01a 100644 --- a/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp +++ b/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp @@ -58,9 +58,6 @@ WindowSurface *WindowSurface::create(int p_config, int p_width, int p_height) } win->m_fbconf = fbconf; - FrameBuffer *fb = FrameBuffer::getFB(); - const FrameBufferCaps &caps = fb->getCaps(); - // // Create a pbuffer to be used as the egl surface // for that window. @@ -209,8 +206,6 @@ bool WindowSurface::resizePbuffer(unsigned int p_width, unsigned int p_height) m_eglSurface = NULL; } - const FrameBufferCaps &caps = fb->getCaps(); - // // Create pbuffer surface. // |