/external/skqp/tools/sk_app/unix/ |
D | GLWindowContext_unix.cpp | 46 GLXContext fGLContext; member in __anon4700db8c0111::GLWindowContext_xlib 57 , fGLContext() { in GLWindowContext_xlib() 67 SkASSERT(!fGLContext); in onInitializeContext() 80 for (int minor = 2; minor >= 0 && !fGLContext; --minor) { in onInitializeContext() 91 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext() 97 if (fGLContext && profile == GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB && in onInitializeContext() 98 glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext() 106 glXDestroyContext(fDisplay, fGLContext); in onInitializeContext() 108 fGLContext = nullptr; in onInitializeContext() 111 if (fGLContext) { in onInitializeContext() [all …]
|
/external/skia/tools/sk_app/unix/ |
D | GLWindowContext_unix.cpp | 46 GLXContext fGLContext; member in __anon84d8fad50111::GLWindowContext_xlib 57 , fGLContext() { in GLWindowContext_xlib() 67 SkASSERT(!fGLContext); in onInitializeContext() 80 for (int minor = 2; minor >= 0 && !fGLContext; --minor) { in onInitializeContext() 91 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext() 97 if (fGLContext && profile == GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB && in onInitializeContext() 98 glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext() 106 glXDestroyContext(fDisplay, fGLContext); in onInitializeContext() 108 fGLContext = nullptr; in onInitializeContext() 111 if (fGLContext) { in onInitializeContext() [all …]
|
/external/skia/tools/sk_app/mac/ |
D | GLWindowContext_mac.mm | 36 NSOpenGLContext* fGLContext; 93 fGLContext = [[NSOpenGLContext alloc] initWithFormat:fPixelFormat shareContext:nil]; 94 if (nil == fGLContext) { 104 [fGLContext release]; 105 fGLContext = nil; 130 [fGLContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; 131 [fGLView setOpenGLContext:fGLContext]; 135 [fGLContext setView:fGLView]; 137 [fGLContext makeCurrentContext]; 164 [fGLContext release]; [all …]
|
D | RasterWindowContext_mac.mm | 45 NSOpenGLContext* fGLContext; 104 fGLContext = [[NSOpenGLContext alloc] initWithFormat:fPixelFormat shareContext:nil]; 105 if (nil == fGLContext) { 115 [fGLContext release]; 116 fGLContext = nil; 141 [fGLContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; 142 [fRasterView setOpenGLContext:fGLContext]; 146 [fGLContext setView:fRasterView]; 148 [fGLContext makeCurrentContext]; 181 [fGLContext release]; [all …]
|
/external/skqp/tools/sk_app/mac/ |
D | GLWindowContext_mac.mm | 48 NSOpenGLContext* fGLContext; 105 fGLContext = [[NSOpenGLContext alloc] initWithFormat:fPixelFormat shareContext:nil]; 106 if (nil == fGLContext) { 116 [fGLContext release]; 117 fGLContext = nil; 142 [fGLContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; 143 [fGLView setOpenGLContext:fGLContext]; 146 [fGLContext setView:fGLView]; 148 [fGLContext makeCurrentContext]; 175 [fGLContext release]; [all …]
|
D | RasterWindowContext_mac.mm | 57 NSOpenGLContext* fGLContext; 116 fGLContext = [[NSOpenGLContext alloc] initWithFormat:fPixelFormat shareContext:nil]; 117 if (nil == fGLContext) { 127 [fGLContext release]; 128 fGLContext = nil; 153 [fGLContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; 154 [fRasterView setOpenGLContext:fGLContext]; 157 [fGLContext setView:fRasterView]; 159 [fGLContext makeCurrentContext]; 192 [fGLContext release]; [all …]
|
/external/skia/tools/sk_app/ios/ |
D | GLWindowContext_ios.cpp | 34 SDL_GLContext fGLContext; member in __anon692a35e30111::GLWindowContext_ios 42 , fGLContext(info.fGLContext) { in GLWindowContext_ios() 55 SkASSERT(fGLContext); in onInitializeContext() 57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 76 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | RasterWindowContext_ios.cpp | 46 SDL_GLContext fGLContext; member in __anonbc429a210111::RasterWindowContext_ios 56 , fGLContext(nullptr) { in RasterWindowContext_ios() 69 SkASSERT(fGLContext); in onInitializeContext() 71 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 101 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | Window_ios.cpp | 74 fGLContext = SDL_GL_CreateContext(fWindow); in initWindow() 75 if (!fGLContext) { in initWindow() 85 if (fGLContext) { in closeWindow() 86 SDL_GL_DeleteContext(fGLContext); in closeWindow() 87 fGLContext = nullptr; in closeWindow() 261 info.fGLContext = fGLContext; in attach()
|
D | Window_ios.h | 25 , fGLContext(nullptr) in Window_ios() 57 SDL_GLContext fGLContext; variable
|
D | WindowContextFactory_ios.h | 23 SDL_GLContext fGLContext; member
|
/external/skqp/tools/sk_app/ios/ |
D | GLWindowContext_ios.cpp | 34 SDL_GLContext fGLContext; member in __anona3a47cda0111::GLWindowContext_ios 42 , fGLContext(info.fGLContext) { in GLWindowContext_ios() 55 SkASSERT(fGLContext); in onInitializeContext() 57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 76 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | RasterWindowContext_ios.cpp | 46 SDL_GLContext fGLContext; member in __anona7e584980111::RasterWindowContext_ios 56 , fGLContext(nullptr) { in RasterWindowContext_ios() 69 SkASSERT(fGLContext); in onInitializeContext() 71 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 101 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | Window_ios.cpp | 74 fGLContext = SDL_GL_CreateContext(fWindow); in initWindow() 75 if (!fGLContext) { in initWindow() 85 if (fGLContext) { in closeWindow() 86 SDL_GL_DeleteContext(fGLContext); in closeWindow() 87 fGLContext = nullptr; in closeWindow() 261 info.fGLContext = fGLContext; in attach()
|
D | Window_ios.h | 25 , fGLContext(nullptr) in Window_ios() 57 SDL_GLContext fGLContext; variable
|
D | WindowContextFactory_ios.h | 23 SDL_GLContext fGLContext; member
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 44 const GrGLContext& glContext() const { return *fGLContext; } in glContext() 46 const GrGLInterface* glInterface() const { return fGLContext->interface(); } in glInterface() 47 const GrGLContextInfo& ctxInfo() const { return *fGLContext; } in ctxInfo() 48 GrGLStandard glStandard() const { return fGLContext->standard(); } in glStandard() 49 GrGLVersion glVersion() const { return fGLContext->version(); } in glVersion() 50 GrGLSLGeneration glslGeneration() const { return fGLContext->glslGeneration(); } in glslGeneration() 51 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() 418 std::unique_ptr<GrGLContext> fGLContext; variable
|
D | GrGLGpu.cpp | 334 , fGLContext(std::move(ctx)) in GrGLGpu() 340 SkASSERT(fGLContext); in GrGLGpu() 342 fCaps = sk_ref_sp(fGLContext->caps()); in GrGLGpu() 1460 if (!renderbuffer_storage_msaa(*fGLContext, in createRenderTargetObjects() 1476 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1497 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1754 fGLContext->caps()->setStencilFormatIndexForConfig(config, firstWorkingStencilFormatIndex); in getCompatibleStencilIndex() 1829 SkAssertResult(renderbuffer_storage_msaa(*fGLContext, in createStencilAttachmentForRenderTarget() 3404 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(*fGLContext, GR_GL_VERTEX_SHADER, in createCopyProgram() 3406 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.h | 44 const GrGLContext& glContext() const { return *fGLContext; } in glContext() 46 const GrGLInterface* glInterface() const { return fGLContext->interface(); } in glInterface() 47 const GrGLContextInfo& ctxInfo() const { return *fGLContext; } in ctxInfo() 48 GrGLStandard glStandard() const { return fGLContext->standard(); } in glStandard() 49 GrGLVersion glVersion() const { return fGLContext->version(); } in glVersion() 50 GrGLSLGeneration glslGeneration() const { return fGLContext->glslGeneration(); } in glslGeneration() 51 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() 430 std::unique_ptr<GrGLContext> fGLContext; variable
|
D | GrGLGpu.cpp | 379 , fGLContext(std::move(ctx)) in GrGLGpu() 385 SkASSERT(fGLContext); in GrGLGpu() 387 fCaps = sk_ref_sp(fGLContext->caps()); in GrGLGpu() 1495 if (!renderbuffer_storage_msaa(*fGLContext, in createRenderTargetObjects() 1511 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1532 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1788 fGLContext->caps()->setStencilFormatIndexForConfig(config, firstWorkingStencilFormatIndex); in getCompatibleStencilIndex() 1862 SkAssertResult(renderbuffer_storage_msaa(*fGLContext, in createStencilAttachmentForRenderTarget() 3432 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(*fGLContext, GR_GL_VERTEX_SHADER, in createCopyProgram() 3434 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram() [all …]
|