Searched refs:shareContext (Results 1 - 25 of 55) sorted by relevance

123

/external/skia/tools/gpu/gl/none/
H A DCreatePlatformGLTestContext_none.cpp13 GLTestContext *shareContext) {
12 CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI, GLTestContext *shareContext) argument
/external/skqp/tools/gpu/gl/none/
H A DCreatePlatformGLTestContext_none.cpp13 GLTestContext *shareContext) {
12 CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI, GLTestContext *shareContext) argument
/external/skia/tools/gpu/gl/debug/
H A DDebugGLTestContext.h14 GLTestContext* CreateDebugGLTestContext(GLTestContext* shareContext = nullptr);
/external/skia/tools/gpu/gl/null/
H A DNullGLTestContext.h14 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext);
H A DNullGLTestContext.cpp35 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext) { argument
36 if (shareContext) {
/external/skia/tools/gpu/mock/
H A DMockTestContext.h19 TestContext* CreateMockTestContext(TestContext* shareContext = nullptr);
/external/skqp/tools/gpu/gl/debug/
H A DDebugGLTestContext.h14 GLTestContext* CreateDebugGLTestContext(GLTestContext* shareContext = nullptr);
/external/skqp/tools/gpu/gl/null/
H A DNullGLTestContext.h14 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext);
H A DNullGLTestContext.cpp35 GLTestContext* CreateNullGLTestContext(bool enableNVPR, GLTestContext* shareContext) { argument
36 if (shareContext) {
/external/skqp/tools/gpu/mock/
H A DMockTestContext.h19 TestContext* CreateMockTestContext(TestContext* shareContext = nullptr);
/external/skia/tools/gpu/gl/command_buffer/
H A DGLTestContext_command_buffer.h19 static CommandBufferGLTestContext *Create(GLTestContext* shareContext) { argument
21 reinterpret_cast<CommandBufferGLTestContext*>(shareContext);
39 CommandBufferGLTestContext(CommandBufferGLTestContext* shareContext);
/external/skqp/tools/gpu/gl/command_buffer/
H A DGLTestContext_command_buffer.h19 static CommandBufferGLTestContext *Create(GLTestContext* shareContext) { argument
21 reinterpret_cast<CommandBufferGLTestContext*>(shareContext);
39 CommandBufferGLTestContext(CommandBufferGLTestContext* shareContext);
/external/skia/tools/gpu/gl/mac/
H A DCreatePlatformGLTestContext_mac.cpp25 MacGLTestContext(MacGLTestContext* shareContext);
40 MacGLTestContext::MacGLTestContext(MacGLTestContext* shareContext) argument
60 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext);
133 GLTestContext* shareContext) {
137 MacGLTestContext* macShareContext = reinterpret_cast<MacGLTestContext*>(shareContext);
/external/skqp/tools/gpu/gl/mac/
H A DCreatePlatformGLTestContext_mac.cpp25 MacGLTestContext(MacGLTestContext* shareContext);
40 MacGLTestContext::MacGLTestContext(MacGLTestContext* shareContext) argument
60 CGLCreateContext(pixFormat, shareContext ? shareContext->fContext : nullptr, &fContext);
133 GLTestContext* shareContext) {
137 MacGLTestContext* macShareContext = reinterpret_cast<MacGLTestContext*>(shareContext);
/external/skia/tools/gpu/gl/angle/
H A DGLTestContext_angle.h34 GLTestContext* shareContext = nullptr,
/external/skqp/tools/gpu/gl/angle/
H A DGLTestContext_angle.h34 GLTestContext* shareContext = nullptr,
/external/skia/tools/gpu/gl/win/
H A DCreatePlatformGLTestContext_win.cpp27 WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext);
47 WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext) argument
96 if (shareContext) {
97 winShareContext = shareContext->fPbufferContext ? shareContext->fPbufferContext->getGLRC()
98 : shareContext->fGlRenderContext;
212 GLTestContext *shareContext) {
213 WinGLTestContext* winShareContext = reinterpret_cast<WinGLTestContext*>(shareContext);
/external/skqp/tools/gpu/gl/win/
H A DCreatePlatformGLTestContext_win.cpp27 WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext);
47 WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI, WinGLTestContext* shareContext) argument
96 if (shareContext) {
97 winShareContext = shareContext->fPbufferContext ? shareContext->fPbufferContext->getGLRC()
98 : shareContext->fGlRenderContext;
212 GLTestContext *shareContext) {
213 WinGLTestContext* winShareContext = reinterpret_cast<WinGLTestContext*>(shareContext);
/external/skia/tools/gpu/
H A DGrContextFactory.cpp121 GrContext* shareContext, uint32_t shareIndex) {
122 // (shareIndex != 0) -> (shareContext != nullptr)
123 SkASSERT((shareIndex == 0) || (shareContext != nullptr));
129 context.fShareContext == shareContext &&
140 if (shareContext) {
142 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) {
297 context.fShareContext = shareContext;
308 ContextInfo GrContextFactory::getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex) { argument
309 SkASSERT(shareContext);
311 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) {
120 getContextInfoInternal(ContextType type, ContextOverrides overrides, GrContext* shareContext, uint32_t shareIndex) argument
[all...]
/external/skqp/tools/gpu/
H A DGrContextFactory.cpp121 GrContext* shareContext, uint32_t shareIndex) {
122 // (shareIndex != 0) -> (shareContext != nullptr)
123 SkASSERT((shareIndex == 0) || (shareContext != nullptr));
129 context.fShareContext == shareContext &&
140 if (shareContext) {
142 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) {
297 context.fShareContext = shareContext;
308 ContextInfo GrContextFactory::getSharedContextInfo(GrContext* shareContext, uint32_t shareIndex) { argument
309 SkASSERT(shareContext);
311 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) {
120 getContextInfoInternal(ContextType type, ContextOverrides overrides, GrContext* shareContext, uint32_t shareIndex) argument
[all...]
/external/mesa3d/src/glx/windows/
H A Dwindowsgl_internal.h37 windowsContext *shareContext; member in struct:_windowsContext
/external/swiftshader/src/OpenGL/libGL/
H A DDisplay.h46 Context *createContext(const Context *shareContext);
/external/skia/src/utils/win/
H A DSkWGL_win.cpp351 SkWGLContextRequest contextType, HGLRC shareContext) {
367 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs);
392 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs);
402 if (shareContext) {
403 if (!wglShareLists(shareContext, glrc)) {
421 SkWGLContextRequest contextType, HGLRC shareContext) {
443 return create_gl_context(dc, extensions, contextType, shareContext);
447 HGLRC shareContext) {
486 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext);
350 create_gl_context(HDC dc, const SkWGLExtensions& extensions, SkWGLContextRequest contextType, HGLRC shareContext) argument
420 SkCreateWGLContext(HDC dc, int msaaSampleCount, bool deepColor, SkWGLContextRequest contextType, HGLRC shareContext) argument
446 Create(HDC parentDC, SkWGLContextRequest contextType, HGLRC shareContext) argument
/external/skqp/src/utils/win/
H A DSkWGL_win.cpp351 SkWGLContextRequest contextType, HGLRC shareContext) {
367 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs);
392 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs);
402 if (shareContext) {
403 if (!wglShareLists(shareContext, glrc)) {
421 SkWGLContextRequest contextType, HGLRC shareContext) {
443 return create_gl_context(dc, extensions, contextType, shareContext);
447 HGLRC shareContext) {
486 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext);
350 create_gl_context(HDC dc, const SkWGLExtensions& extensions, SkWGLContextRequest contextType, HGLRC shareContext) argument
420 SkCreateWGLContext(HDC dc, int msaaSampleCount, bool deepColor, SkWGLContextRequest contextType, HGLRC shareContext) argument
446 Create(HDC parentDC, SkWGLContextRequest contextType, HGLRC shareContext) argument
/external/skia/tools/gpu/gl/glx/
H A DCreatePlatformGLTestContext_glx.cpp105 GLXGLTestContext::GLXGLTestContext(GrGLStandard forcedGpuAPI, GLXGLTestContext* shareContext) argument
117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr;
376 GLTestContext *shareContext) {
377 GLXGLTestContext *glxShareContext = reinterpret_cast<GLXGLTestContext *>(shareContext);

Completed in 287 milliseconds

123