/external/skia/tools/gpu/ |
D | GrContextFactory.cpp | 138 GrDirectContext* shareContext, in getContextInfoInternal() argument 141 SkASSERT((shareIndex == 0) || (shareContext != nullptr)); in getContextInfoInternal() 147 context.fShareContext == shareContext && in getContextInfoInternal() 158 if (shareContext) { in getContextInfoInternal() 160 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal() 323 if (shareContext) { in getContextInfoInternal() 324 SkASSERT(grCtx->directContextID() != shareContext->directContextID()); in getContextInfoInternal() 336 context.fShareContext = shareContext; in getContextInfoInternal() 347 ContextInfo GrContextFactory::getSharedContextInfo(GrDirectContext* shareContext, in getSharedContextInfo() argument 349 SkASSERT(shareContext); in getSharedContextInfo() [all …]
|
/external/skqp/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 37 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/win/ |
D | CreatePlatformGLTestContext_win.cpp | 37 WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext); 57 WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext) in WinGLTestContext() argument 107 if (shareContext) { in WinGLTestContext() 108 winShareContext = shareContext->fPbufferContext ? shareContext->fPbufferContext->getGLRC() in WinGLTestContext() 109 : shareContext->fGlRenderContext; in WinGLTestContext() 223 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument 224 WinGLTestContext* winShareContext = reinterpret_cast<WinGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
|
/external/skqp/tools/gpu/gl/mac/ |
D | CreatePlatformGLTestContext_mac.cpp | 25 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/ |
D | GrContextFactory.cpp | 121 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()
|
D | GrContextFactory.h | 137 ContextInfo getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex = 0); 147 GrContext* shareContext, uint32_t shareIndex);
|
/external/skia/tools/gpu/gl/mac/ |
D | CreatePlatformGLTestContext_mac.cpp | 25 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()
|
/external/skqp/tools/gpu/gl/iOS/ |
D | CreatePlatformGLTestContext_iOS.mm | 24 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/ |
D | CreatePlatformGLTestContext_iOS.mm | 26 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);
|
/external/skqp/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.h | 19 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/ |
D | GLTestContext_command_buffer.h | 19 static CommandBufferGLTestContext *Create(GLTestContext* shareContext) { in Create() argument 21 reinterpret_cast<CommandBufferGLTestContext*>(shareContext); in Create() 39 CommandBufferGLTestContext(CommandBufferGLTestContext* shareContext);
|
/external/skqp/src/utils/win/ |
D | SkWGL_win.cpp | 351 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()
|
D | SkWGL.h | 139 HGLRC shareContext = nullptr); 149 HGLRC shareContext);
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 349 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument 365 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context() 390 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context() 400 if (shareContext) { in create_gl_context() 401 if (!wglShareLists(shareContext, glrc)) { in create_gl_context() 415 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 437 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 442 HGLRC shareContext) { in Create() argument 481 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|
D | SkWGL.h | 139 HGLRC shareContext = nullptr); 149 HGLRC shareContext);
|
/external/skqp/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 105 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/ |
D | CreatePlatformGLTestContext_glx.cpp | 105 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()
|
/external/skqp/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 54 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/ |
D | GLTestContext_angle.cpp | 90 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/null/ |
D | NullGLTestContext.cpp | 35 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext) { in CreateNullGLTestContext() argument 36 if (shareContext) { in CreateNullGLTestContext()
|
/external/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 30 EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext); 76 EGLGLTestContext::EGLGLTestContext(GrGLStandard forcedGpuAPI, EGLGLTestContext* shareContext) in EGLGLTestContext() argument 81 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in EGLGLTestContext() 446 GLTestContext *shareContext) { in CreatePlatformGLTestContext() argument 447 EGLGLTestContext* eglShareContext = reinterpret_cast<EGLGLTestContext*>(shareContext); in CreatePlatformGLTestContext()
|
/external/angle/src/libANGLE/renderer/gl/egl/android/ |
D | DisplayAndroid.cpp | 191 const gl::Context *shareContext, in createContext() argument 205 ASSERT(!shareContext); in createContext() 207 else if (shareContext) in createContext() 209 ContextEGL *shareContextEGL = GetImplAs<ContextEGL>(shareContext); in createContext() 436 egl::Error DisplayAndroid::createRenderer(EGLContext shareContext, in createRenderer() argument 448 ASSERT(shareContext == EGL_NO_CONTEXT); in createRenderer() 459 ANGLE_TRY(initializeContext(shareContext, mDisplayAttributes, &context, &attribs)); in createRenderer()
|
D | DisplayAndroid.h | 35 const gl::Context *shareContext, 70 egl::Error createRenderer(EGLContext shareContext,
|
/external/skia/tools/gpu/gl/angle/ |
D | GLTestContext_angle.cpp | 93 ANGLEGLContext(ANGLEBackend, ANGLEContextVersion, ANGLEGLContext* shareContext, void* display); 177 ANGLEGLContext* shareContext, void* display) in ANGLEGLContext() argument 301 EGLContext eglShareContext = shareContext ? shareContext->fContext : nullptr; in ANGLEGLContext() 509 GLTestContext* shareContext, void* display) { in MakeANGLETestContext() argument 518 ANGLEGLContext* angleShareContext = reinterpret_cast<ANGLEGLContext*>(shareContext); in MakeANGLETestContext()
|
/external/angle/src/libANGLE/renderer/gl/egl/ |
D | DisplayEGL.h | 67 const gl::Context *shareContext, 104 egl::Error initializeContext(EGLContext shareContext, 111 egl::Error createRenderer(EGLContext shareContext, std::shared_ptr<RendererEGL> *outRenderer);
|