Home
last modified time | relevance | path

Searched refs:sharedContext (Results 1 – 25 of 30) sorted by relevance

12

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase.java96 public static EglBase create(Context sharedContext, int[] configAttributes) { in create() argument
98 && (sharedContext == null || sharedContext instanceof EglBase14.Context)) in create()
99 ? new EglBase14((EglBase14.Context) sharedContext, configAttributes) in create()
100 : new EglBase10((EglBase10.Context) sharedContext, configAttributes); in create()
DSurfaceTextureHelper.java68 public static SurfaceTextureHelper create(EglBase.Context sharedContext) { in create() argument
69 return create(sharedContext, null); in create()
77 public static SurfaceTextureHelper create(final EglBase.Context sharedContext, in create() argument
93 return new SurfaceTextureHelper(sharedContext, finalHandler, (handler == null)); in create()
168 YuvConverter (EglBase.Context sharedContext) {
169 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_RGBA_BUFFER);
323 private SurfaceTextureHelper(EglBase.Context sharedContext,
331 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_BUFFER);
DEglBase14.java74 EglBase14(EglBase14.Context sharedContext, int[] configAttributes) { in EglBase14() argument
77 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig); in EglBase14()
243 EglBase14.Context sharedContext, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createEglContext() argument
246 sharedContext == null ? EGL14.EGL_NO_CONTEXT : sharedContext.egl14Context; in createEglContext()
DEglBase10.java66 EglBase10(Context sharedContext, int[] configAttributes) { in EglBase10() argument
70 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig); in EglBase10()
288 Context sharedContext, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createEglContext() argument
291 sharedContext == null ? EGL10.EGL_NO_CONTEXT : sharedContext.eglContext; in createEglContext()
DSurfaceViewRenderer.java157 EglBase.Context sharedContext, RendererCommon.RendererEvents rendererEvents) { in init() argument
158 init(sharedContext, rendererEvents, EglBase.CONFIG_PLAIN, new GlRectDrawer()); in init()
167 public void init(EglBase.Context sharedContext, RendererCommon.RendererEvents rendererEvents, in init() argument
178 eglBase = EglBase.create(sharedContext, configAttributes); in init()
/external/deqp/framework/platform/win32/
DtcuWGLContextFactory.cpp68 …xt (HINSTANCE instance, const wgl::Core& wglCore, const WGLContext* sharedContext, const glu::Re…
93 …text (HINSTANCE instance, const wgl::Core& wglCore, const WGLContext* sharedContext, const glu::Re… 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()
DtcuWGLContextFactory.hpp40 const glu::RenderContext* sharedContext) const;
DtcuWGL.cpp404 const Context* sharedContext, in Context() argument
511 if (DE_NULL != sharedContext) in Context()
512 sharedCtx = sharedContext->m_context; in Context()
DtcuWGL.hpp200 const Context* sharedContext,
/external/skia/tools/gpu/vk/
DVkTestContext.cpp149 static VkTestContext* Create(VkTestContext* sharedContext) { in Create() argument
156 if (sharedContext) { in Create()
157 backendContext = sharedContext->getVkBackendContext(); in Create()
158 extensions = const_cast<GrVkExtensions*>(sharedContext->getVkExtensions()); in Create()
159 features = const_cast<VkPhysicalDeviceFeatures2*>(sharedContext->getVkFeatures()); in Create()
261 VkTestContext* CreatePlatformVkTestContext(VkTestContext* sharedContext) { in CreatePlatformVkTestContext() argument
262 return VkTestContextImpl::Create(sharedContext); in CreatePlatformVkTestContext()
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp149 static VkTestContext* Create(VkTestContext* sharedContext) { in Create() argument
156 if (sharedContext) { in Create()
157 backendContext = sharedContext->getVkBackendContext(); in Create()
158 extensions = const_cast<GrVkExtensions*>(sharedContext->getVkExtensions()); in Create()
159 features = const_cast<VkPhysicalDeviceFeatures2*>(sharedContext->getVkFeatures()); in Create()
261 VkTestContext* CreatePlatformVkTestContext(VkTestContext* sharedContext) { in CreatePlatformVkTestContext() argument
262 return VkTestContextImpl::Create(sharedContext); in CreatePlatformVkTestContext()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp133 …pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext* sharedContext = DE_NULL);
151 …pFactory* pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext* sharedContext);
172 …apFactory* pixmapFactory, const glu::RenderConfig& config, const glu::RenderContext* sharedContext) in RenderContext() argument
190 create(displayFactory, windowFactory, pixmapFactory, config, sharedContext); in RenderContext()
310 …apFactory* 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()
598 …nderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext) const in createContext()
623 return new RenderContext(&displayFactory, windowFactory, pixmapFactory, config, sharedContext); in createContext()
DegluGLContextFactory.hpp52 …derConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext) const;
DegluGLUtil.hpp48 eglw::EGLContext sharedContext = EGL_NO_CONTEXT,
DegluGLUtil.cpp84 eglw::EGLContext sharedContext, in createGLContext() argument
198 context = egl.createContext(display, eglConfig, sharedContext, &(attribList[0])); in createGLContext()
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp87 const glu::RenderContext* sharedContext) const;
123 const glu::RenderContext* sharedContext,
177 const glu::RenderContext* sharedContext
225 const glu::RenderContext* sharedContext) const in createContext()
228 GlxRenderContext* const renderContext = new GlxRenderContext(*this, config, sharedContext); in createContext()
314 const glu::RenderContext* sharedContext, in createContext() argument
402 …st GlxRenderContext* sharedGlxRenderContext = dynamic_cast<const GlxRenderContext*>(sharedContext); in createContext()
699 const glu::RenderContext* sharedContext) in GlxRenderContext() argument
703 …, m_GLXContext (m_glxVisual.createContext(factory, config.type, sharedContext, config.resetNotifi… in GlxRenderContext()
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm117 static MtlTestContext* Create(TestContext* sharedContext) {
119 SkASSERT(!sharedContext);
164 TestContext* CreatePlatformMtlTestContext(TestContext* sharedContext) {
165 return MtlTestContext::Create(sharedContext);
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm113 static MtlTestContext* Create(TestContext* sharedContext) {
114 SkASSERT(!sharedContext);
158 TestContext* CreatePlatformMtlTestContext(TestContext* sharedContext) {
159 return MtlTestContext::Create(sharedContext);
/external/deqp/framework/opengl/
DgluRenderContext.cpp133 …m, 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()
DgluContextFactory.hpp65 …onfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext* sharedContext) const = 0;
/external/deqp/modules/egl/
DteglMultiContextTests.cpp152 …const eglw::EGLContext sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts… in iterate() local
153 … const eglw::EGLContext context = egl.createContext(*display, config, sharedContext, attribList); in iterate()
/external/mesa3d/src/glx/apple/
Dapple_glx_context.h74 const void *mode, void *sharedContext,
/external/skia/tools/gpu/
DGrContextFactory.cpp240 TestContext* sharedContext = masterContext ? masterContext->fTestContext : nullptr; in getContextInfoInternal() local
245 testCtx.reset(CreateMockTestContext(sharedContext)); in getContextInfoInternal()
/external/skqp/tools/gpu/
DGrContextFactory.cpp240 TestContext* sharedContext = masterContext ? masterContext->fTestContext : nullptr; in getContextInfoInternal() local
245 testCtx.reset(CreateMockTestContext(sharedContext)); in getContextInfoInternal()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java274 EglBase14.Context sharedContext) { in initEncode() argument
275 final boolean useSurface = sharedContext != null; in initEncode()
329 eglBase = new EglBase14(sharedContext, EglBase.CONFIG_RECORDABLE); in initEncode()

12