Home
last modified time | relevance | path

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

123

/external/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()
/external/skqp/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()
/external/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()
/external/skqp/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()
/external/skia/tools/gpu/
DGrContextFactory.cpp121 GrContext* shareContext, uint32_t shareIndex) { in getContextInfoInternal() argument
123 SkASSERT((shareIndex == 0) || (shareContext != nullptr)); in getContextInfoInternal()
129 context.fShareContext == shareContext && in getContextInfoInternal()
140 if (shareContext) { in getContextInfoInternal()
142 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal()
286 context.fShareContext = shareContext; in getContextInfoInternal()
297 ContextInfo GrContextFactory::getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex) { in getSharedContextInfo() argument
298 SkASSERT(shareContext); in getSharedContextInfo()
300 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getSharedContextInfo()
302 shareContext, shareIndex); in getSharedContextInfo()
DGrContextFactory.h137 ContextInfo getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex = 0);
147 GrContext* shareContext, uint32_t shareIndex);
/external/skqp/tools/gpu/
DGrContextFactory.cpp121 GrContext* shareContext, uint32_t shareIndex) { in getContextInfoInternal() argument
123 SkASSERT((shareIndex == 0) || (shareContext != nullptr)); in getContextInfoInternal()
129 context.fShareContext == shareContext && in getContextInfoInternal()
140 if (shareContext) { in getContextInfoInternal()
142 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal()
286 context.fShareContext = shareContext; in getContextInfoInternal()
297 ContextInfo GrContextFactory::getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex) { in getSharedContextInfo() argument
298 SkASSERT(shareContext); in getSharedContextInfo()
300 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getSharedContextInfo()
302 shareContext, shareIndex); in getSharedContextInfo()
DGrContextFactory.h137 ContextInfo getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex = 0);
147 GrContext* shareContext, uint32_t shareIndex);
/external/skqp/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);
/external/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);
/external/skqp/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);
/external/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);
/external/skqp/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()
421 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument
443 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext()
448 HGLRC shareContext) { in Create() argument
487 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
DSkWGL.h139 HGLRC shareContext = nullptr);
149 HGLRC shareContext);
/external/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()
421 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument
443 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext()
448 HGLRC shareContext) { in Create() argument
487 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
DSkWGL.h139 HGLRC shareContext = nullptr);
149 HGLRC shareContext);
/external/skqp/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()
/external/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()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp54 EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext);
95 EGLGLTestContext::EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext) in EGLGLTestContext() argument
100 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext()
375 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
376 EGLGLTestContext* eglShareContext = reinterpret_cast<EGLGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/external/skqp/tools/gpu/gl/angle/
DGLTestContext_angle.cpp90 ANGLEGLContext(ANGLEBackend, ANGLEContextVersion, ANGLEGLContext* shareContext, void* display);
124 ANGLEGLContext* shareContext, void* display) in ANGLEGLContext() argument
214 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in ANGLEGLContext()
420 GLTestContext* shareContext, void* display){ in MakeANGLETestContext() argument
421 ANGLEGLContext* angleShareContext = reinterpret_cast<ANGLEGLContext*>(shareContext); in MakeANGLETestContext()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp90 ANGLEGLContext(ANGLEBackend, ANGLEContextVersion, ANGLEGLContext* shareContext, void* display);
124 ANGLEGLContext* shareContext, void* display) in ANGLEGLContext() argument
214 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in ANGLEGLContext()
420 GLTestContext* shareContext, void* display){ in MakeANGLETestContext() argument
421 ANGLEGLContext* angleShareContext = reinterpret_cast<ANGLEGLContext*>(shareContext); in MakeANGLETestContext()
/external/skqp/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp54 EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext);
95 EGLGLTestContext::EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext) in EGLGLTestContext() argument
100 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext()
375 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument
376 EGLGLTestContext* eglShareContext = reinterpret_cast<EGLGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
/external/skia/tools/gpu/gl/null/
DNullGLTestContext.cpp35 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext) { in CreateNullGLTestContext() argument
36 if (shareContext) { in CreateNullGLTestContext()
/external/skqp/tools/gpu/gl/null/
DNullGLTestContext.cpp35 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext) { in CreateNullGLTestContext() argument
36 if (shareContext) { in CreateNullGLTestContext()
/external/mesa3d/src/glx/windows/
Dwindowsgl.c164 HGLRC shareContext = NULL; in windows_create_context_attribs() local
166 shareContext = shared->ctx; in windows_create_context_attribs()
172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList); in windows_create_context_attribs()

123