Searched refs:cfg (Results 1 - 7 of 7) sorted by relevance

/sdk/emulator/opengl/host/libs/Translator/EGL/
H A DEglOsApi.h44 bool checkWindowPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,unsigned int* width,unsigned int* height);
45 bool checkPixmapPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativePixmapType pix,EglConfig* cfg,unsigned int* width,unsigned int* height);
54 EGLNativeSurfaceType createPbufferSurface(EGLNativeInternalDisplayType dpy,EglConfig* cfg,EglPbufferSurface* pb);
55 EGLNativeContextType createContext(EGLNativeInternalDisplayType dpy,EglConfig* cfg,EGLNativeContextType sharedContext);
H A DEglMacApi.cpp133 bool checkWindowPixelFormatMatch(EGLNativeDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,unsigned int* width,unsigned int* height) { argument
137 cfg->getConfAttrib(EGL_RED_SIZE,&r);
138 cfg->getConfAttrib(EGL_GREEN_SIZE,&g);
139 cfg->getConfAttrib(EGL_BLUE_SIZE,&b);
146 bool checkPixmapPixelFormatMatch(EGLNativeDisplayType dpy,EGLNativePixmapType pix,EglConfig* cfg,unsigned int* width,unsigned int* height) { argument
150 EGLNativeSurfaceType createPbufferSurface(EGLNativeDisplayType dpy,EglConfig* cfg,EglPbufferSurface* srfc){ argument
174 EGLNativeContextType createContext(EGLNativeDisplayType dpy,EglConfig* cfg,EGLNativeContextType sharedContext) { argument
175 return nsCreateContext(cfg->nativeConfig(),sharedContext);
H A DEglX11Api.cpp201 bool checkWindowPixelFormatMatch(EGLNativeDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,unsigned int* width,unsigned int* height) { argument
205 IS_SUCCESS(glXGetFBConfigAttrib(dpy,cfg->nativeConfig(),GLX_RED_SIZE,&r));
206 IS_SUCCESS(glXGetFBConfigAttrib(dpy,cfg->nativeConfig(),GLX_GREEN_SIZE,&g));
207 IS_SUCCESS(glXGetFBConfigAttrib(dpy,cfg->nativeConfig(),GLX_BLUE_SIZE,&b));
214 bool checkPixmapPixelFormatMatch(EGLNativeDisplayType dpy,EGLNativePixmapType pix,EglConfig* cfg,unsigned int* width,unsigned int* height) { argument
217 IS_SUCCESS(glXGetFBConfigAttrib(dpy,cfg->nativeConfig(),GLX_RED_SIZE,&r));
218 IS_SUCCESS(glXGetFBConfigAttrib(dpy,cfg->nativeConfig(),GLX_GREEN_SIZE,&g));
219 IS_SUCCESS(glXGetFBConfigAttrib(dpy,cfg->nativeConfig(),GLX_BLUE_SIZE,&b));
226 EGLNativeSurfaceType createPbufferSurface(EGLNativeDisplayType dpy,EglConfig* cfg,EglPbufferSurface* srfc){ argument
236 GLXPbuffer pb = glXCreatePbuffer(dpy,cfg
247 createContext(EGLNativeDisplayType dpy,EglConfig* cfg,EGLNativeContextType sharedContext) argument
[all...]
H A DEglWindowsApi.cpp446 bool checkWindowPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,unsigned int* width,unsigned int* height) { argument
452 EGLNativePixelFormatType nativeConfig = cfg->nativeConfig();
453 bool ret = SetPixelFormat(dc,cfg->nativeId(),&nativeConfig);
458 bool checkPixmapPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativePixmapType pix,EglConfig* cfg,unsigned int* width,unsigned int* height){ argument
469 EGLNativeSurfaceType createPbufferSurface(EGLNativeInternalDisplayType display,EglConfig* cfg,EglPbufferSurface* pbSurface) { argument
472 HDC dpy = getDummyDC(display,cfg->nativeId());
496 EGLNativePbufferType pb = s_wglExtProcs->wglCreatePbufferARB(dpy,cfg->nativeId(),width,height,pbAttribs);
514 EGLNativeContextType createContext(EGLNativeInternalDisplayType display,EglConfig* cfg,EGLNativeContextType sharedContext) { argument
517 HDC dpy = getDummyDC(display,cfg->nativeId());
519 if(!display->isPixelFormatSet(cfg
[all...]
H A DEglImp.cpp108 EglConfig* cfg = dpy->getConfig(EGLConfig); \
109 if(!cfg) { \
472 return cfg->getConfAttrib(attribute,value)? EGL_TRUE:EGL_FALSE;
481 if(!(cfg->surfaceType() & EGL_WINDOW_BIT)) {
495 if(!EglOS::checkWindowPixelFormatMatch(dpy->nativeType(),win,cfg,&width,&height)) {
498 SurfacePtr wSurface(new EglWindowSurface(dpy, win,cfg,width,height));
509 if(!(cfg->surfaceType() & EGL_PBUFFER_BIT)) {
514 SurfacePtr pbSurface(new EglPbufferSurface(dpy,cfg));
539 EGLNativeSurfaceType pb = EglOS::createPbufferSurface(dpy->nativeType(),cfg,tmpPbSurfacePtr);
554 if(!(cfg
[all...]
H A DEglDisplay.cpp337 EglConfig *cfg = (*m_configs.begin());
338 m_globalSharedContext = EglOS::createContext(m_dpy,cfg,NULL);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DRenderPreviewManager.java594 VaryingConfiguration cfg = (VaryingConfiguration) configuration;
595 int flags = cfg.getAlternateFlags() | cfg.getOverrideFlags();

Completed in 50 milliseconds