/external/skqp/tools/sk_app/unix/ |
D | GLWindowContext_unix.cpp | 39 GLXContext fGLContext; member in __anon9f7e35430111::GLWindowContext_xlib 50 , fGLContext() { in GLWindowContext_xlib() 60 SkASSERT(!fGLContext); in onInitializeContext() 68 for (int minor = 2; minor >= 0 && !fGLContext; --minor) { in onInitializeContext() 78 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext() 79 if (fGLContext) { in onInitializeContext() 85 if (!fGLContext) { in onInitializeContext() 86 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE); in onInitializeContext() 88 if (!fGLContext) { in onInitializeContext() 92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext() [all …]
|
/external/skia/tools/sk_app/unix/ |
D | GLWindowContext_unix.cpp | 39 GLXContext fGLContext; member in __anondd56548c0111::GLWindowContext_xlib 50 , fGLContext() { in GLWindowContext_xlib() 60 SkASSERT(!fGLContext); in onInitializeContext() 68 for (int minor = 2; minor >= 0 && !fGLContext; --minor) { in onInitializeContext() 78 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext() 79 if (fGLContext) { in onInitializeContext() 85 if (!fGLContext) { in onInitializeContext() 86 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE); in onInitializeContext() 88 if (!fGLContext) { in onInitializeContext() 92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext() [all …]
|
/external/skqp/tools/sk_app/ios/ |
D | GLWindowContext_ios.cpp | 34 SDL_GLContext fGLContext; member in __anonbec1fcd10111::GLWindowContext_ios 42 , fGLContext(nullptr) { in GLWindowContext_ios() 56 fGLContext = SDL_GL_CreateContext(fWindow); in onInitializeContext() 57 if (!fGLContext) { in onInitializeContext() 62 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 81 if (!fWindow || !fGLContext) { in onDestroyContext() 84 SDL_GL_DeleteContext(fGLContext); in onDestroyContext() 85 fGLContext = nullptr; in onDestroyContext() 90 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | RasterWindowContext_ios.cpp | 44 SDL_GLContext fGLContext; member in __anon1520280f0111::RasterWindowContext_ios 54 , fGLContext(nullptr) { in RasterWindowContext_ios() 68 fGLContext = SDL_GL_CreateContext(fWindow); in onInitializeContext() 69 if (!fGLContext) { in onInitializeContext() 74 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 98 if (!fWindow || !fGLContext) { in onDestroyContext() 102 SDL_GL_DeleteContext(fGLContext); in onDestroyContext() 103 fGLContext = nullptr; in onDestroyContext() 109 if (fWindow && fGLContext) { in onSwapBuffers()
|
/external/skqp/tools/sk_app/mac/ |
D | GLWindowContext_mac.cpp | 34 SDL_GLContext fGLContext; member in __anonc95a901d0111::GLWindowContext_mac 42 , fGLContext(nullptr) { in GLWindowContext_mac() 56 fGLContext = SDL_GL_CreateContext(fWindow); in onInitializeContext() 57 if (!fGLContext) { in onInitializeContext() 62 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 81 if (!fWindow || !fGLContext) { in onDestroyContext() 84 SDL_GL_DeleteContext(fGLContext); in onDestroyContext() 85 fGLContext = nullptr; in onDestroyContext() 90 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | RasterWindowContext_mac.cpp | 44 SDL_GLContext fGLContext; member in __anon9230de5b0111::RasterWindowContext_mac 54 , fGLContext(nullptr) { in RasterWindowContext_mac() 68 fGLContext = SDL_GL_CreateContext(fWindow); in onInitializeContext() 69 if (!fGLContext) { in onInitializeContext() 74 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 98 if (!fWindow || !fGLContext) { in onDestroyContext() 102 SDL_GL_DeleteContext(fGLContext); in onDestroyContext() 103 fGLContext = nullptr; in onDestroyContext() 109 if (fWindow && fGLContext) { in onSwapBuffers()
|
/external/skia/tools/sk_app/ios/ |
D | GLWindowContext_ios.cpp | 34 SDL_GLContext fGLContext; member in __anon8447b5da0111::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 | 44 SDL_GLContext fGLContext; member in __anon297d3d980111::RasterWindowContext_ios 54 , fGLContext(nullptr) { in RasterWindowContext_ios() 67 SkASSERT(fGLContext); in onInitializeContext() 69 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 99 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() 266 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/skia/tools/sk_app/mac/ |
D | GLWindowContext_mac.cpp | 34 SDL_GLContext fGLContext; member in __anon8ee049260111::GLWindowContext_mac 42 , fGLContext(info.fGLContext) { in GLWindowContext_mac() 55 SkASSERT(fGLContext); in onInitializeContext() 57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 76 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | RasterWindowContext_mac.cpp | 44 SDL_GLContext fGLContext; member in __anona68df3e40111::RasterWindowContext_mac 54 , fGLContext(info.fGLContext) { in RasterWindowContext_mac() 67 SkASSERT(fGLContext); in onInitializeContext() 69 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) { in onInitializeContext() 99 if (fWindow && fGLContext) { in onSwapBuffers()
|
D | Window_mac.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() 266 info.fGLContext = fGLContext; in attach()
|
D | Window_mac.h | 25 , fGLContext(nullptr) in Window_mac() 57 SDL_GLContext fGLContext; variable
|
D | WindowContextFactory_mac.h | 23 SDL_GLContext fGLContext; member
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 43 const GrGLContext& glContext() const { return *fGLContext; } in glContext() 45 const GrGLInterface* glInterface() const { return fGLContext->interface(); } in glInterface() 46 const GrGLContextInfo& ctxInfo() const { return *fGLContext; } in ctxInfo() 47 GrGLStandard glStandard() const { return fGLContext->standard(); } in glStandard() 48 GrGLVersion glVersion() const { return fGLContext->version(); } in glVersion() 49 GrGLSLGeneration glslGeneration() const { return fGLContext->glslGeneration(); } in glslGeneration() 50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() 297 bool hasExtension(const char* ext) const { return fGLContext->hasExtension(ext); } in hasExtension() 420 std::unique_ptr<GrGLContext> fGLContext; variable
|
D | GrGLGpu.cpp | 209 , fGLContext(std::move(ctx)) in GrGLGpu() 217 SkASSERT(fGLContext); in GrGLGpu() 218 fCaps = sk_ref_sp(fGLContext->caps()); in GrGLGpu() 1321 if (!renderbuffer_storage_msaa(*fGLContext, in createRenderTargetObjects() 1338 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1360 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1636 fGLContext->caps()->setStencilFormatIndexForConfig(config, firstWorkingStencilFormatIndex); in getCompatibleStencilIndex() 1701 SkAssertResult(renderbuffer_storage_msaa(*fGLContext, in createStencilAttachmentForRenderTarget() 3607 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(*fGLContext, GR_GL_VERTEX_SHADER, in createCopyProgram() 3609 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.h | 43 const GrGLContext& glContext() const { return *fGLContext; } in glContext() 45 const GrGLInterface* glInterface() const { return fGLContext->interface(); } in glInterface() 46 const GrGLContextInfo& ctxInfo() const { return *fGLContext; } in ctxInfo() 47 GrGLStandard glStandard() const { return fGLContext->standard(); } in glStandard() 48 GrGLVersion glVersion() const { return fGLContext->version(); } in glVersion() 49 GrGLSLGeneration glslGeneration() const { return fGLContext->glslGeneration(); } in glslGeneration() 50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() 279 bool hasExtension(const char* ext) const { return fGLContext->hasExtension(ext); } in hasExtension() 407 std::unique_ptr<GrGLContext> fGLContext; variable
|
D | GrGLGpu.cpp | 209 , fGLContext(std::move(ctx)) in GrGLGpu() 217 SkASSERT(fGLContext); in GrGLGpu() 218 fCaps = sk_ref_sp(fGLContext->caps()); in GrGLGpu() 1323 if (!renderbuffer_storage_msaa(*fGLContext, in createRenderTargetObjects() 1340 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1362 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig); in createRenderTargetObjects() 1632 fGLContext->caps()->setStencilFormatIndexForConfig(config, firstWorkingStencilFormatIndex); in getCompatibleStencilIndex() 1697 SkAssertResult(renderbuffer_storage_msaa(*fGLContext, in createStencilAttachmentForRenderTarget() 3586 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(*fGLContext, GR_GL_VERTEX_SHADER, in createCopyProgram() 3588 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram() [all …]
|