Home
last modified time | relevance | path

Searched refs:sharedContext (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/tools/gpu/d3d/
H A DD3DTestContext.cpp19 static D3DTestContext* Create(D3DTestContext* sharedContext) { in Create() argument
22 if (sharedContext) { in Create()
25 backendContext = sharedContext->getD3DBackendContext(); in Create()
70 D3DTestContext* CreatePlatformD3DTestContext(D3DTestContext* sharedContext) { in CreatePlatformD3DTestContext() argument
71 return D3DTestContextImpl::Create(sharedContext); in CreatePlatformD3DTestContext()
/third_party/skia/tools/gpu/vk/
H A DVkTestContext.cpp24 static VkTestContext* Create(VkTestContext* sharedContext) { in Create() argument
31 if (sharedContext) { in Create()
32 backendContext = sharedContext->getVkBackendContext(); in Create()
33 extensions = const_cast<GrVkExtensions*>(sharedContext->getVkExtensions()); in Create()
34 features = const_cast<VkPhysicalDeviceFeatures2*>(sharedContext->getVkFeatures()); in Create()
132 VkTestContext* CreatePlatformVkTestContext(VkTestContext* sharedContext) { in CreatePlatformVkTestContext() argument
133 return VkTestContextImpl::Create(sharedContext); in CreatePlatformVkTestContext()
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWGLContextFactory.cpp68 WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const WGLContext* sharedContext, const glu::RenderConfig& config);
93 WGLContext::WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const WGLContext* sharedContext, const glu::RenderConfig& config) in WGLContext() argument
116 if (DE_NULL != sharedContext) in WGLContext()
117 sharedCtx = sharedContext->m_context; in WGLContext()
182 const glu::RenderContext* sharedContext) const in createContext()
184 const WGLContext* sharedWGLContext = static_cast<const WGLContext*>(sharedContext); in createContext()
H A DtcuWGLContextFactory.hpp40 const glu::RenderContext* sharedContext) const;
H A DtcuWGL.hpp204 const Context* sharedContext,
H A DtcuWGL.cpp423 const Context* sharedContext, in Context()
530 if (DE_NULL != sharedContext) in Context()
531 sharedCtx = sharedContext->m_context; in Context()
421 Context(const Core* core, HDC deviceCtx, const Context* sharedContext, glu::ContextType ctxType, int pixelFormat, glu::ResetNotificationStrategy resetNotificationStrategy) Context() argument
/third_party/skia/tools/gpu/dawn/
H A DDawnTestContext.cpp100 static DawnTestContext* Create(DawnTestContext* sharedContext) { in Create() argument
103 if (sharedContext) { in Create()
104 device = sharedContext->getDevice(); in Create()
170 DawnTestContext* CreatePlatformDawnTestContext(DawnTestContext* sharedContext) { in CreatePlatformDawnTestContext() argument
171 return DawnTestContextImpl::Create(sharedContext); in CreatePlatformDawnTestContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
H A DDisplayWGL.cpp770 HGLRC &sharedContext, in initializeContextAttribs()
791 return createContextAttribs(requestedVersion, profileMask, sharedContext, useARBShare, in initializeContextAttribs()
809 HGLRC context = createContextAttribs(info.version, profileFlag, sharedContext, useARBShare, in initializeContextAttribs()
822 HGLRC &sharedContext, in createContextAttribs()
857 sharedContext = mFunctionsWGL->createContextAttribsARB(mDeviceContext, context, &attribs[0]); in createContextAttribs()
866 HGLRC sharedContext = nullptr; in createRenderer() local
871 context = initializeContextAttribs(mDisplayAttributes, sharedContext, mUseARBShare, in createRenderer()
889 if (!sharedContext) in createRenderer()
891 sharedContext = mFunctionsWGL->createContext(mDeviceContext); in createRenderer()
892 if (!mFunctionsWGL->shareLists(context, sharedContext)) in createRenderer()
769 initializeContextAttribs(const egl::AttributeMap &eglAttributes, HGLRC &sharedContext, bool &useARBShare, std::vector<int> &workerContextAttribs) const initializeContextAttribs() argument
820 createContextAttribs(const gl::Version &version, int profileMask, HGLRC &sharedContext, bool &useARBShare, std::vector<int> &workerContextAttribs) const createContextAttribs() argument
967 createWorkerContext(std::string *infoLog, HGLRC sharedContext, const std::vector<int> &workerContextAttribs) createWorkerContext() argument
[all...]
H A DRendererWGL.cpp18 HGLRC sharedContext, in RendererWGL()
23 mSharedContext(sharedContext), in RendererWGL()
14 RendererWGL(std::unique_ptr<FunctionsGL> functionsGL, const egl::AttributeMap &attribMap, DisplayWGL *display, HGLRC context, HGLRC sharedContext, const std::vector<int> workerContextAttribs) RendererWGL() argument
H A DDisplayWGL.h82 HGLRC sharedContext,
103 HGLRC &sharedContext,
108 HGLRC &sharedContext,
H A DRendererWGL.h26 HGLRC sharedContext,
/third_party/vk-gl-cts/framework/platform/ohos/context/
H A DtcuOhosEglContextFactory.cpp36 const tcu::CommandLine& cmdline, const glu::RenderContext* sharedContext) const in createContext()
38 printf("---- cc h ----%p\n",sharedContext); in createContext()
40 // printf("%d \n", sharedContext->getDefaultFramebuffer()); in createContext()
H A DtcuOhosEglContextFactory.hpp41 const tcu::CommandLine& cmdLine, const glu::RenderContext* sharedContext) const;
/third_party/vk-gl-cts/framework/egl/
H A DegluGLContextFactory.cpp133 RenderContext (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext* sharedContext = DE_NULL);
151 void create (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext* sharedContext);
172 RenderContext::RenderContext (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext* sharedContext) in RenderContext() argument
190 create(displayFactory, windowFactory, pixmapFactory, config, sharedContext); in RenderContext()
310 void RenderContext::create (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext *sharedContext) in create() argument
316 if (DE_NULL == sharedContext) in create()
320 const RenderContext* context = dynamic_cast<const RenderContext*>(sharedContext); in create()
600 glu::RenderContext* GLContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext) const in createContext()
625 return new RenderContext(&displayFactory, windowFactory, pixmapFactory, config, sharedContext); in createContext()
H A DegluGLContextFactory.hpp52 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext) const;
H A DegluGLUtil.hpp48 eglw::EGLContext sharedContext = EGL_NO_CONTEXT,
H A DegluGLUtil.cpp84 eglw::EGLContext sharedContext, in createGLContext()
198 context = egl.createContext(display, eglConfig, sharedContext, &(attribList[0])); in createGLContext()
80 createGLContext(const Library& egl, EGLDisplay display, EGLContext eglConfig, const glu::ContextType& contextType, eglw::EGLContext sharedContext, glu::ResetNotificationStrategy resetNotificationStrategy) createGLContext() argument
/third_party/vk-gl-cts/framework/platform/lnx/X11/
H A DtcuLnxX11GlxPlatform.cpp92 const glu::RenderContext* sharedContext) const;
128 const glu::RenderContext* sharedContext,
182 const glu::RenderContext* sharedContext
231 const glu::RenderContext* sharedContext) const in createContext()
234 GlxRenderContext* const renderContext = new GlxRenderContext(*this, config, sharedContext); in createContext()
325 const glu::RenderContext* sharedContext, in createContext()
413 const GlxRenderContext* sharedGlxRenderContext = dynamic_cast<const GlxRenderContext*>(sharedContext); in createContext()
709 const glu::RenderContext* sharedContext) in GlxRenderContext()
713 , m_GLXContext (m_glxVisual.createContext(factory, config.type, sharedContext, config.resetNotificationStrategy)) in GlxRenderContext()
323 createContext(const GlxContextFactory& factory, const ContextType& contextType, const glu::RenderContext* sharedContext, glu::ResetNotificationStrategy resetNotificationStrategy) createContext() argument
707 GlxRenderContext(const GlxContextFactory& factory, const RenderConfig& config, const glu::RenderContext* sharedContext) GlxRenderContext() argument
/third_party/vk-gl-cts/framework/platform/surfaceless/
H A DtcuSurfacelessPlatform.cpp202 EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext* sharedContext);
234 glu::RenderContext* ContextFactory::createContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext* sharedContext) const in createContext()
236 return new EglRenderContext(config, cmdLine, sharedContext); in createContext()
239 EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext) in EglRenderContext() argument
421 const EglRenderContext *sharedEglRenderContext = dynamic_cast<const EglRenderContext*>(sharedContext); in EglRenderContext()
/third_party/vk-gl-cts/framework/opengl/
H A DgluContextFactory.hpp62 * \param sharedContext Context with which objects should be shared
65 virtual RenderContext* createContext (const RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext* sharedContext) const = 0;
H A DgluRenderContext.cpp133 RenderContext* createRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, const RenderConfig& config, const RenderContext* sharedContext) in createRenderContext() argument
165 if (sharedContext) in createRenderContext()
170 return factory->createContext(config, cmdLine, sharedContext); in createRenderContext()
/third_party/vk-gl-cts/modules/egl/
H A DteglMultiContextTests.cpp152 const eglw::EGLContext sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT); in iterate() local
153 const eglw::EGLContext context = egl.createContext(*display, config, sharedContext, attribList); in iterate()
/third_party/mesa3d/src/glx/apple/
H A Dapple_glx_context.h74 const void *mode, void *sharedContext,
H A Dapple_glx_context.c127 const void *mode, void *sharedContext, in apple_glx_create_context()
131 struct apple_glx_context *sharedac = sharedContext; in apple_glx_create_context()
126 apple_glx_create_context(void **ptr, Display * dpy, int screen, const void *mode, void *sharedContext, int *errorptr, bool * x11errorptr) apple_glx_create_context() argument
/third_party/skia/tools/gpu/
H A DGrContextFactory.cpp296 TestContext* sharedContext = primaryContext ? primaryContext->fTestContext : nullptr; in getContextInfoInternal() local
298 testCtx.reset(CreateMockTestContext(sharedContext)); in getContextInfoInternal()

Completed in 14 milliseconds

12