Merge "ThreadInfo- use explicit rather than void pointers"

This commit is contained in:
David Turner
2011-05-31 14:28:48 -07:00
committed by Android Code Review
2 changed files with 20 additions and 5 deletions

View File

@@ -17,7 +17,12 @@
#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;
eglDisplay = dpy;
glesContext = glesCtx;

View File

@@ -18,12 +18,22 @@
#include "objectNameManager.h"
class EglContext;
class EglDisplay;
class GLEScontext;
struct ThreadInfo {
ThreadInfo():eglContext(NULL),glesContext(NULL),objManager(NULL){}
void updateInfo(void* eglctx,void* dpy,void* glesCtx,ShareGroupPtr share,ObjectNameManager* manager);
void* eglContext;
void* eglDisplay;
void* glesContext;
void updateInfo(EglContext* eglctx,
EglDisplay* dpy,
GLEScontext* glesCtx,
ShareGroupPtr share,
ObjectNameManager* manager);
EglContext* eglContext;
EglDisplay* eglDisplay;
GLEScontext* glesContext;
ShareGroupPtr shareGroup;
ObjectNameManager* objManager;
};