Home
last modified time | relevance | path

Searched refs:shareContext (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/flutter/engine/flutter/shell/platform/darwin/macos/framework/Source/
DFlutterView.mm11 - (instancetype)initWithShareContext:(NSOpenGLContext*)shareContext
13 return [self initWithFrame:NSZeroRect shareContext:shareContext reshapeListener:reshapeListener];
17 shareContext:(NSOpenGLContext*)shareContext
21 self.openGLContext = [[NSOpenGLContext alloc] initWithFormat:shareContext.pixelFormat
22 shareContext:shareContext];
DFlutterView.h24 shareContext:(nonnull NSOpenGLContext*)shareContext
28 - (nullable instancetype)initWithShareContext:(nonnull NSOpenGLContext*)shareContext
/third_party/skia/tools/gpu/
DGrContextFactory.cpp137 GrDirectContext* shareContext, in getContextInfoInternal() argument
140 SkASSERT((shareIndex == 0) || (shareContext != nullptr)); in getContextInfoInternal()
146 context.fShareContext == shareContext && in getContextInfoInternal()
157 if (shareContext) { in getContextInfoInternal()
159 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal()
325 if (shareContext) { in getContextInfoInternal()
326 SkASSERT(grCtx->directContextID() != shareContext->directContextID()); in getContextInfoInternal()
338 context.fShareContext = shareContext; in getContextInfoInternal()
349 ContextInfo GrContextFactory::getSharedContextInfo(GrDirectContext* shareContext, in getSharedContextInfo() argument
351 SkASSERT(shareContext); in getSharedContextInfo()
[all …]
/third_party/flutter/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp37 WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext);
57 WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext) in WinGLTestContext() argument
106 if (shareContext) { in WinGLTestContext()
107 winShareContext = shareContext->fPbufferContext ? shareContext->fPbufferContext->getGLRC() in WinGLTestContext()
108 : shareContext->fGlRenderContext; in WinGLTestContext()
222 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
223 WinGLTestContext* winShareContext = reinterpret_cast<WinGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/third_party/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp38 WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext);
58 WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext) in WinGLTestContext() argument
108 if (shareContext) { in WinGLTestContext()
109 winShareContext = shareContext->fPbufferContext ? shareContext->fPbufferContext->getGLRC() in WinGLTestContext()
110 : shareContext->fGlRenderContext; in WinGLTestContext()
224 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
225 WinGLTestContext* winShareContext = reinterpret_cast<WinGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/third_party/flutter/skia/tools/gpu/gl/mac/
DCreatePlatformGLTestContext_mac.cpp25 MacGLTestContext(MacGLTestContext* shareContext);
40 MacGLTestContext::MacGLTestContext(MacGLTestContext* shareContext) in MacGLTestContext() argument
60 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); in MacGLTestContext()
133 GLTestContext* shareContext) { in CreatePlatformGLTestContext() argument
137 MacGLTestContext* macShareContext = reinterpret_cast<MacGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/third_party/skia/tools/gpu/gl/mac/
DCreatePlatformGLTestContext_mac.cpp25 MacGLTestContext(MacGLTestContext* shareContext);
40 MacGLTestContext::MacGLTestContext(MacGLTestContext* shareContext) in MacGLTestContext() argument
83 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext); in MacGLTestContext()
156 GLTestContext* shareContext) { in CreatePlatformGLTestContext() argument
160 MacGLTestContext* macShareContext = reinterpret_cast<MacGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/third_party/flutter/skia/tools/gpu/
DGrContextFactory.cpp123 GrContext* shareContext, uint32_t shareIndex) { in getContextInfoInternal() argument
125 SkASSERT((shareIndex == 0) || (shareContext != nullptr)); in getContextInfoInternal()
131 context.fShareContext == shareContext && in getContextInfoInternal()
142 if (shareContext) { in getContextInfoInternal()
144 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal()
283 context.fShareContext = shareContext; in getContextInfoInternal()
294 ContextInfo GrContextFactory::getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex) { in getSharedContextInfo() argument
295 SkASSERT(shareContext); in getSharedContextInfo()
297 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getSharedContextInfo()
299 shareContext, shareIndex); in getSharedContextInfo()
/third_party/flutter/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm24 IOSGLTestContext(IOSGLTestContext* shareContext);
39 IOSGLTestContext::IOSGLTestContext(IOSGLTestContext* shareContext)
43 if (shareContext) {
44 EAGLContext* iosShareContext = shareContext->fEAGLContext;
122 GLTestContext *shareContext) {
126 IOSGLTestContext* iosShareContext = reinterpret_cast<IOSGLTestContext*>(shareContext);
/third_party/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm26 IOSGLTestContext(IOSGLTestContext* shareContext);
41 IOSGLTestContext::IOSGLTestContext(IOSGLTestContext* shareContext)
44 if (shareContext) {
45 EAGLContext* iosShareContext = shareContext->fEAGLContext.get();
126 GLTestContext *shareContext) {
130 IOSGLTestContext* iosShareContext = reinterpret_cast<IOSGLTestContext*>(shareContext);
/third_party/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.h19 static CommandBufferGLTestContext *Create(int version, GLTestContext* shareContext) { in Create() argument
21 reinterpret_cast<CommandBufferGLTestContext*>(shareContext); in Create()
39 CommandBufferGLTestContext(int version, CommandBufferGLTestContext* shareContext);
/third_party/flutter/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.h19 static CommandBufferGLTestContext *Create(GLTestContext* shareContext) { in Create() argument
21 reinterpret_cast<CommandBufferGLTestContext*>(shareContext); in Create()
39 CommandBufferGLTestContext(CommandBufferGLTestContext* shareContext);
/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp30 EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext);
74 EGLGLTestContext::EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext) in EGLGLTestContext() argument
79 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext()
322 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
323 EGLGLTestContext* eglShareContext = reinterpret_cast<EGLGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/third_party/skia/src/utils/win/
DSkWGL_win.cpp358 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument
374 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context()
399 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context()
409 if (shareContext) { in create_gl_context()
410 if (!wglShareLists(shareContext, glrc)) { in create_gl_context()
424 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument
446 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext()
451 HGLRC shareContext) { in Create() argument
490 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
DSkWGL.h139 HGLRC shareContext = nullptr);
149 HGLRC shareContext);
/third_party/flutter/skia/src/utils/win/
DSkWGL_win.cpp351 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument
367 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context()
392 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context()
402 if (shareContext) { in create_gl_context()
403 if (!wglShareLists(shareContext, glrc)) { in create_gl_context()
417 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument
439 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext()
444 HGLRC shareContext) { in Create() argument
483 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
DSkWGL.h139 HGLRC shareContext = nullptr);
149 HGLRC shareContext);
/third_party/skia/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp105 GLXGLTestContext::GLXGLTestContext(GrGLStandard forcedGpuAPI, GLXGLTestContext* shareContext) in GLXGLTestContext() argument
117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext()
382 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
383 GLXGLTestContext *glxShareContext = reinterpret_cast<GLXGLTestContext *>(shareContext); in CreatePlatformGLTestContext()
/third_party/flutter/skia/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp105 GLXGLTestContext::GLXGLTestContext(GrGLStandard forcedGpuAPI, GLXGLTestContext* shareContext) in GLXGLTestContext() argument
117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext()
376 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
377 GLXGLTestContext *glxShareContext = reinterpret_cast<GLXGLTestContext *>(shareContext); in CreatePlatformGLTestContext()
/third_party/flutter/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp55 EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext);
99 EGLGLTestContext::EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext) in EGLGLTestContext() argument
104 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext()
382 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
383 EGLGLTestContext* eglShareContext = reinterpret_cast<EGLGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/third_party/flutter/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp93 ANGLEGLContext(ANGLEBackend, ANGLEContextVersion, ANGLEGLContext* shareContext, void* display);
177 ANGLEGLContext* shareContext, void* display) in ANGLEGLContext() argument
293 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in ANGLEGLContext()
502 GLTestContext* shareContext, void* display){ in MakeANGLETestContext() argument
511 ANGLEGLContext* angleShareContext = reinterpret_cast<ANGLEGLContext*>(shareContext); in MakeANGLETestContext()
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp93 ANGLEGLContext(ANGLEBackend, ANGLEContextVersion, ANGLEGLContext* shareContext, void* display);
178 ANGLEGLContext* shareContext, void* display) in ANGLEGLContext() argument
305 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in ANGLEGLContext()
521 GLTestContext* shareContext, void* display) { in MakeANGLETestContext() argument
530 ANGLEGLContext* angleShareContext = reinterpret_cast<ANGLEGLContext*>(shareContext); in MakeANGLETestContext()
/third_party/skia/third_party/externals/angle2/util/windows/
DWGLWindow.cpp228 HGLRC WGLWindow::createContext(const ConfigParameters &configParams, HGLRC shareContext) in createContext() argument
282 context = _wglCreateContextAttribsARB(mDeviceContext, shareContext, kCreateAttribs); in createContext()
319 HGLRC shareContext = reinterpret_cast<HGLRC>(share); in createContextGeneric() local
320 HGLRC newContext = createContext(mConfigParams, shareContext); in createContextGeneric()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDisplayEGL.h68 const gl::Context *shareContext,
116 egl::Error initializeContext(EGLContext shareContext,
123 egl::Error createRenderer(EGLContext shareContext,
DDisplayEGL.cpp142 egl::Error DisplayEGL::initializeContext(EGLContext shareContext, in initializeContext() argument
224 EGLContext context = mEGL->createContext(mConfig, shareContext, attribVector.data()); in initializeContext()
237 EGLContext context = mEGL->createContext(mConfig, shareContext, attribVector.data()); in initializeContext()
492 const gl::Context *shareContext, in createContext() argument
504 ASSERT(!shareContext); in createContext()
524 else if (shareContext) in createContext()
526 ContextEGL *shareContextEGL = GetImplAs<ContextEGL>(shareContext); in createContext()
919 egl::Error DisplayEGL::createRenderer(EGLContext shareContext, in createRenderer() argument
931 ASSERT(shareContext == EGL_NO_CONTEXT); in createRenderer()
942 ANGLE_TRY(initializeContext(shareContext, mDisplayAttributes, &context, &attribs)); in createRenderer()

12345