Revert "EmuGL: Deliver every frame to a callback"

This reverts commit 08d643e5eb
This commit is contained in:
Jesse Hall
2012-03-22 13:56:36 -07:00
committed by Android (Google) Code Review
parent 08d643e5eb
commit 8a33c36682
5 changed files with 11 additions and 84 deletions

View File

@@ -46,7 +46,7 @@ struct FrameBufferCaps
class FrameBuffer
{
public:
static bool initialize(int width, int height, OnPostFn onPost, void* onPostContext);
static bool initialize(int width, int height);
static bool setupSubWindow(FBNativeWindowType p_window,
int x, int y,
int width, int height, float zRot);
@@ -90,7 +90,7 @@ public:
}
private:
FrameBuffer(int p_width, int p_height, OnPostFn onPost, void* onPostContext);
FrameBuffer(int p_width, int p_height);
~FrameBuffer();
HandleType genHandle();
bool bindSubwin_locked();
@@ -129,9 +129,5 @@ private:
int m_statsNumFrames;
long long m_statsStartTime;
bool m_fpsStats;
OnPostFn m_onPost;
void* m_onPostContext;
unsigned char* m_fbImage;
};
#endif