Searched refs:EglOS (Results 1 – 17 of 17) sorted by relevance
/hardware/google/gfxstream/host/gl/glestranslator/EGL/ |
D | EglOsApi_darwin.cpp | 47 class MacSurface : public EglOS::Surface { 57 static MacSurface* from(EglOS::Surface* s) { in from() 66 class MacContext : public EglOS::Context { 69 EglOS::Context(isCoreProfile), mContext(context) {} in MacContext() 79 static void* from(EglOS::Context* c) { in from() 107 class MacPixelFormat : public EglOS::PixelFormat { 115 EglOS::PixelFormat* clone() { in clone() 124 static const MacPixelFormat* from(const EglOS::PixelFormat* f) { in from() 140 EglOS::AddConfigCallback addConfigFunc, in pixelFormatToConfig() 142 EglOS::ConfigInfo info = {}; in pixelFormatToConfig() [all …]
|
D | EglOsApi_glx.cpp | 108 class GlxPixelFormat : public EglOS::PixelFormat { 112 virtual EglOS::PixelFormat* clone() { in clone() 118 static GLXFBConfig from(const EglOS::PixelFormat* f) { in from() 127 class GlxSurface : public EglOS::Surface { 137 static GLXDrawable drawableFor(EglOS::Surface* surface) { in drawableFor() 143 static GLXFBConfig configFor(EglOS::Surface* surface) { in configFor() 155 EglOS::AddConfigCallback* addConfigFunc, in pixelFormatToConfig() 157 EglOS::ConfigInfo info; in pixelFormatToConfig() 264 class GlxContext : public EglOS::Context { 278 static GLXContext contextFor(EglOS::Context* context) { in contextFor() [all …]
|
D | EglOsApi_wgl.cpp | 502 class WinPixelFormat : public EglOS::PixelFormat { 507 EglOS::PixelFormat* clone() { in clone() 514 static const WinPixelFormat* from(const EglOS::PixelFormat* f) { in from() 525 class WinSurface : public EglOS::Surface { 533 …explicit WinSurface(HPBUFFERARB pb, const EglOS::PixelFormat* pixelFormat, const WglExtensionsDisp… in WinSurface() 583 const EglOS::PixelFormat* getPixelFormat() const { return m_pixelFormat; } in getPixelFormat() 585 static WinSurface* from(EglOS::Surface* s) { in from() 595 const EglOS::PixelFormat* m_pixelFormat = nullptr; 601 class WinContext : public EglOS::Context { 616 static HGLRC from(const EglOS::Context* c) { in from() [all …]
|
D | EglGlobalInfo.h | 54 EglOS::Display* idpy); 68 EglOS::Display* getDefaultNativeDisplay() const { in getDefaultNativeDisplay() 73 EglOS::Engine* getOsEngine() const { in getOsEngine() 130 EglOS::Engine* m_engine = nullptr; 131 EglOS::Display* m_display = nullptr;
|
D | EglDisplay.h | 47 EglDisplay(EGLNativeDisplayType dpy, EglOS::Display* idpy); 53 EglOS::Display* nativeType() const { return m_idpy; } in nativeType() 59 EglOS::GlesVersion getMaxGlesVersion() const { in getMaxGlesVersion() 140 EglOS::Context* getGlobalSharedContext() const; 156 static void addConfig(void* opaque, const EglOS::ConfigInfo* configInfo); 164 EglOS::Display* m_idpy = nullptr; 175 mutable std::shared_ptr<EglOS::Context> m_globalSharedContext;
|
D | EglOsApi.h | 32 namespace EglOS { 148 return coreMinor > 1 ? EglOS::GlesVersion::ES30 : EglOS::GlesVersion::ES2; in calcMaxESVersionFromCoreVersion() 153 return coreMinor > 4 ? EglOS::GlesVersion::ES31 : EglOS::GlesVersion::ES30; in calcMaxESVersionFromCoreVersion() 155 return EglOS::GlesVersion::ES2; in calcMaxESVersionFromCoreVersion()
|
D | EglGlobalInfo.cpp | 74 m_engine = EglOS:: in EglGlobalInfo() 78 m_engine = EglOS::getEgl2EglHostInstance(nullEgl); in EglGlobalInfo() 80 m_engine = EglOS::Engine::getHostInstance(); in EglGlobalInfo() 93 EglOS::Display* idpy) { in addDisplay()
|
D | EglConfig.h | 77 EglOS::PixelFormat* nativeFormat() const { return m_nativeFormat; } in nativeFormat() 107 EglOS::PixelFormat* frmt); 131 EglOS::PixelFormat* frmt); 198 EglOS::PixelFormat* m_nativeFormat;
|
D | EglOsApi_egl.cpp | 142 using namespace EglOS; 224 class EglOsEglPixelFormat : public EglOS::PixelFormat { 240 class EglOsEglContext : public EglOS::Context { 267 class EglOsEglSurface : public EglOS::Surface { 272 : EglOS::Surface(type), mHndl(eglSurface), mWin(win) {} in EglOsEglSurface() 281 class EglOsEglDisplay : public EglOS::Display { 285 virtual EglOS::GlesVersion getMaxGlesVersion(); 470 EglOS::GlesVersion EglOsEglDisplay::getMaxGlesVersion() { in getMaxGlesVersion() 682 return new EglOsEglSurface(EglOS::Surface::PBUFFER, 0); in createPbufferSurface() 708 return new EglOsEglSurface(EglOS::Surface::WINDOW, surface, win); in createWindowSurface() [all …]
|
D | EglSurface.h | 42 EglOS::Surface* native() const { return m_native; } in native() 87 EglOS::Surface* m_native = nullptr;
|
D | EglContext.h | 49 EglOS::Context* nativeType() const { return m_native.get(); } in nativeType() 67 std::shared_ptr<EglOS::Context> m_native = {};
|
D | EglContext.cpp | 74 EglOS::Context* globalSharedContext = dpy->getGlobalSharedContext(); in EglContext() 124 EglOS::PbufferInfo pbInfo; in ~EglContext() 128 EglOS::Surface* pb = m_dpy->nativeType()->createPbufferSurface( in ~EglContext()
|
D | EglPbufferSurface.h | 32 void setNativePbuffer(EglOS::Surface* srfc) { m_native = srfc; } in setNativePbuffer()
|
D | EglWindowSurface.cpp | 41 EglOS::Engine* engine = EglGlobalInfo::getInstance()->getOsEngine(); in EglWindowSurface()
|
D | EglDisplay.cpp | 28 EglOS::Display* idpy) : in EglDisplay() 567 EglOS::Context* EglDisplay::getGlobalSharedContext() const { in getGlobalSharedContext() 571 EglOS::Context* ret = in getGlobalSharedContext() 572 (EglOS::Context*)m_manager[GLES_1_1]->getGlobalContext(); in getGlobalSharedContext() 574 ret = (EglOS::Context*)m_manager[GLES_2_0]->getGlobalContext(); in getGlobalSharedContext() 600 void EglDisplay::addConfig(void* opaque, const EglOS::ConfigInfo* info) { in addConfig()
|
D | EglConfig.cpp | 48 EglOS::PixelFormat* frmt): in EglConfig() 109 EglOS::PixelFormat* frmt): in EglConfig()
|
D | EglImp.cpp | 282 EglOS::Display* internalDisplay = NULL; in eglGetDisplay() 845 EglOS::PbufferInfo pbinfo; in eglCreatePbufferSurface() 856 EglOS::Surface* pb = dpy->nativeType()->createPbufferSurface( in eglCreatePbufferSurface() 1152 EglOS::Display* nativeDisplay = dpy->nativeType(); in eglMakeCurrent() 1153 EglOS::Surface* nativeRead = newReadPtr->native(); in eglMakeCurrent() 1154 EglOS::Surface* nativeDraw = newDrawPtr->native(); in eglMakeCurrent()
|