Separate Primary GL Context and visuals canvas

Can now create multiple GL canvases with shared context
This commit is contained in:
Charles J. Cliffe
2014-11-12 21:55:11 -05:00
parent 02cd0f6516
commit 541ab5614c
13 changed files with 448 additions and 375 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include "wx/frame.h"
#include "PrimaryGLContext.h"
#include "SDRThread.h"
#include "ScopeCanvas.h"
// Define a new frame type
class AppFrame: public wxFrame {
@@ -19,7 +20,7 @@ private:
void OnNewWindow(wxCommandEvent& event);
void OnIdle(wxIdleEvent& event);
TestGLCanvas *canvas;
ScopeCanvas *canvas;
SDRThread *t_SDR;
IQBufferThread *t_IQBuffer;
wxCriticalSection m_pThreadCS;