* commit '5eac0624d2307ee537d0b4ee6587a02738118c29': ThreadInfo- use explicit rather than void pointers
This commit is contained in:
@@ -17,7 +17,12 @@
|
|||||||
#include <GLcommon/ThreadInfo.h>
|
#include <GLcommon/ThreadInfo.h>
|
||||||
|
|
||||||
|
|
||||||
void ThreadInfo::updateInfo(void* eglCtx,void* dpy,void* glesCtx,ShareGroupPtr share,ObjectNameManager* manager) {
|
void ThreadInfo::updateInfo(EglContext* eglCtx,
|
||||||
|
EglDisplay* dpy,
|
||||||
|
GLEScontext* glesCtx,
|
||||||
|
ShareGroupPtr share,
|
||||||
|
ObjectNameManager* manager) {
|
||||||
|
|
||||||
eglContext = eglCtx;
|
eglContext = eglCtx;
|
||||||
eglDisplay = dpy;
|
eglDisplay = dpy;
|
||||||
glesContext = glesCtx;
|
glesContext = glesCtx;
|
||||||
|
|||||||
@@ -18,12 +18,22 @@
|
|||||||
|
|
||||||
#include "objectNameManager.h"
|
#include "objectNameManager.h"
|
||||||
|
|
||||||
|
class EglContext;
|
||||||
|
class EglDisplay;
|
||||||
|
class GLEScontext;
|
||||||
|
|
||||||
struct ThreadInfo {
|
struct ThreadInfo {
|
||||||
ThreadInfo():eglContext(NULL),glesContext(NULL),objManager(NULL){}
|
ThreadInfo():eglContext(NULL),glesContext(NULL),objManager(NULL){}
|
||||||
void updateInfo(void* eglctx,void* dpy,void* glesCtx,ShareGroupPtr share,ObjectNameManager* manager);
|
|
||||||
void* eglContext;
|
void updateInfo(EglContext* eglctx,
|
||||||
void* eglDisplay;
|
EglDisplay* dpy,
|
||||||
void* glesContext;
|
GLEScontext* glesCtx,
|
||||||
|
ShareGroupPtr share,
|
||||||
|
ObjectNameManager* manager);
|
||||||
|
|
||||||
|
EglContext* eglContext;
|
||||||
|
EglDisplay* eglDisplay;
|
||||||
|
GLEScontext* glesContext;
|
||||||
ShareGroupPtr shareGroup;
|
ShareGroupPtr shareGroup;
|
||||||
ObjectNameManager* objManager;
|
ObjectNameManager* objManager;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user