Home
last modified time | relevance | path

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

/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()
DVideoCapturerAndroid.java328 EglBase.Context sharedContext) { in VideoCapturerAndroid() argument
334 isCapturingToTexture = (sharedContext != null); in VideoCapturerAndroid()
336 surfaceHelper = SurfaceTextureHelper.create(sharedContext, cameraThreadHandler); in VideoCapturerAndroid()
/external/skia/tools/gpu/vk/
DVkTestContext.cpp111 static VkTestContext* Create(VkTestContext* sharedContext) { in Create() argument
113 if (sharedContext) { in Create()
114 backendContext = sharedContext->getVkBackendContext(); in Create()
155 VkTestContext* CreatePlatformVkTestContext(VkTestContext* sharedContext) { in CreatePlatformVkTestContext() argument
156 return VkTestContextImpl::Create(sharedContext); in CreatePlatformVkTestContext()
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm113 static MtlTestContext* Create(TestContext* sharedContext) {
114 SkASSERT(!sharedContext);
159 TestContext* CreatePlatformMtlTestContext(TestContext* sharedContext) {
160 return MtlTestContext::Create(sharedContext);
/external/deqp/modules/egl/
DteglMultiContextTests.cpp146 …const eglw::EGLContext sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts… in iterate() local
147 … const eglw::EGLContext context = egl.createContext(*display, config, sharedContext, attribList); in iterate()
DteglRobustnessTests.cpp477 const EGLContext& sharedContext);
504 const EGLContext& sharedContext) in RenderingContext() argument
513 createContext(sharedContext); in RenderingContext()
521 void RenderingContext::createContext (const EGLConfig& sharedContext) in createContext() argument
523 m_context = m_egl.createContext(m_display, m_config, sharedContext, m_attribList); in createContext()
/external/mesa3d/src/glx/apple/
Dapple_glx_context.h74 const void *mode, void *sharedContext,
Dapple_glx_context.c125 const void *mode, void *sharedContext, in apple_glx_create_context() argument
129 struct apple_glx_context *sharedac = sharedContext; in apple_glx_create_context()
/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()
/external/skia/tools/gpu/
DGrContextFactory.cpp238 TestContext* sharedContext = masterContext ? masterContext->fTestContext : nullptr; in getContextInfoInternal() local
243 testCtx.reset(CreateMockTestContext(sharedContext)); in getContextInfoInternal()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java230 EglBase.Context sharedContext, SurfaceTexture surfaceTexture, int width,
232 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PLAIN);