Searched refs:GLWindowContext (Results 1 – 16 of 16) sorted by relevance
23 GLWindowContext::GLWindowContext(const DisplayParams& params) in GLWindowContext() function in sk_app::GLWindowContext30 void GLWindowContext::initializeContext() { in initializeContext()43 void GLWindowContext::destroyContext() { in destroyContext()57 sk_sp<SkSurface> GLWindowContext::getBackbufferSurface() { in getBackbufferSurface()84 void GLWindowContext::swapBuffers() { in swapBuffers()88 void GLWindowContext::resize(int w, int h) { in resize()93 void GLWindowContext::setDisplayParams(const DisplayParams& params) { in setDisplayParams()
21 class GLWindowContext : public WindowContext {33 GLWindowContext(const DisplayParams&);
64 using GLWindowContext = struct GLWindowHandleContext_T *;103 virtual GLWindowContext getCurrentContextGeneric() = 0;104 virtual GLWindowContext createContextGeneric(GLWindowContext share) = 0;105 virtual bool makeCurrentGeneric(GLWindowContext context) = 0;161 GLWindowContext getCurrentContextGeneric() override;162 GLWindowContext createContextGeneric(GLWindowContext share) override;163 bool makeCurrentGeneric(GLWindowContext context) override;
508 GLWindowContext EGLWindow::getCurrentContextGeneric() in getCurrentContextGeneric()510 return reinterpret_cast<GLWindowContext>(mContext); in getCurrentContextGeneric()513 GLWindowContext EGLWindow::createContextGeneric(GLWindowContext share) in createContextGeneric()516 return reinterpret_cast<GLWindowContext>(createContext(shareContext, nullptr)); in createContextGeneric()809 bool EGLWindow::makeCurrentGeneric(GLWindowContext context) in makeCurrentGeneric()
51 GLWindowContext getCurrentContextGeneric() override;52 GLWindowContext createContextGeneric(GLWindowContext share) override;53 bool makeCurrentGeneric(GLWindowContext context) override;
312 GLWindowContext WGLWindow::getCurrentContextGeneric() in getCurrentContextGeneric()314 return reinterpret_cast<GLWindowContext>(mWGLContext); in getCurrentContextGeneric()317 GLWindowContext WGLWindow::createContextGeneric(GLWindowContext share) in createContextGeneric()328 return reinterpret_cast<GLWindowContext>(newContext); in createContextGeneric()336 bool WGLWindow::makeCurrentGeneric(GLWindowContext context) in makeCurrentGeneric()
17 using sk_app::GLWindowContext;34 class GLWindowContext_win : public GLWindowContext {49 using INHERITED = GLWindowContext;
18 using sk_app::GLWindowContext;39 class ANGLEGLWindowContext_win : public GLWindowContext {56 using INHERITED = GLWindowContext;
15 using sk_app::GLWindowContext;19 class GLWindowContext_android : public GLWindowContext {40 using INHERITED = GLWindowContext;
10 #include "tools/sk_app/GLWindowContext.h"18 using sk_app::GLWindowContext;31 class GLWindowContext_ios : public GLWindowContext {52 using INHERITED = GLWindowContext;
13 #include "tools/sk_app/GLWindowContext.h"21 using sk_app::GLWindowContext;37 class RasterWindowContext_ios : public GLWindowContext {61 using INHERITED = GLWindowContext;
10 #include "tools/sk_app/GLWindowContext.h"18 using sk_app::GLWindowContext;22 class GLWindowContext_mac : public GLWindowContext {42 using INHERITED = GLWindowContext;
13 #include "tools/sk_app/GLWindowContext.h"22 using sk_app::GLWindowContext;29 class RasterWindowContext_mac : public GLWindowContext {50 using INHERITED = GLWindowContext;
17 using sk_app::GLWindowContext;27 class GLWindowContext_xlib : public GLWindowContext {48 using INHERITED = GLWindowContext;
1526 GLWindowContext newContext = in onEglCreateContext()1527 getGLWindow()->createContextGeneric(reinterpret_cast<GLWindowContext>(share_context)); in onEglCreateContext()1536 getGLWindow()->makeCurrentGeneric(reinterpret_cast<GLWindowContext>(context)); in onEglMakeCurrent()
3304 sources += [ "tools/sk_app/GLWindowContext.cpp" ]3305 sources += [ "tools/sk_app/GLWindowContext.h" ]