/external/webrtc/sdk/android/api/org/webrtc/ |
D | EglBase.java | 131 static int getOpenGlesVersionFromConfig(int[] configAttributes) { in getOpenGlesVersionFromConfig() argument 132 for (int i = 0; i < configAttributes.length - 1; ++i) { in getOpenGlesVersionFromConfig() 133 if (configAttributes[i] == EGL10.EGL_RENDERABLE_TYPE) { in getOpenGlesVersionFromConfig() 134 switch (configAttributes[i + 1]) { in getOpenGlesVersionFromConfig() 153 public static EglBase create(@Nullable Context sharedContext, int[] configAttributes) { in create() argument 155 return EglBase14Impl.isEGL14Supported() ? createEgl14(configAttributes) in create() 156 : createEgl10(configAttributes); in create() 158 return createEgl14((EglBase14.Context) sharedContext, configAttributes); in create() 160 return createEgl10((EglBase10.Context) sharedContext, configAttributes); in create() 182 public static EglBase10 createEgl10(int[] configAttributes) { in createEgl10() argument [all …]
|
D | SurfaceEglRenderer.java | 51 RendererCommon.RendererEvents rendererEvents, final int[] configAttributes, in init() argument 61 super.init(sharedContext, configAttributes, drawer); in init() 65 public void init(final EglBase.Context sharedContext, final int[] configAttributes, in init() argument 67 init(sharedContext, null /* rendererEvents */, configAttributes, drawer); in init()
|
D | EglRenderer.java | 208 public void init(@Nullable final EglBase.Context sharedContext, final int[] configAttributes, in init() argument 238 eglBase = EglBase.createEgl10(configAttributes); in init() 241 eglBase = EglBase.create(sharedContext, configAttributes); in init() 257 public void init(@Nullable final EglBase.Context sharedContext, final int[] configAttributes, in init() argument 259 init(sharedContext, configAttributes, drawer, /* usePresentationTimeStamp= */ false); in init()
|
D | SurfaceViewRenderer.java | 81 RendererCommon.RendererEvents rendererEvents, final int[] configAttributes, in init() argument 87 eglRenderer.init(sharedContext, this /* rendererEvents */, configAttributes, drawer); in init()
|
/external/angle/src/tests/egl_tests/ |
D | EGLSurfaceTest.cpp | 191 const EGLint configAttributes[] = {EGL_RED_SIZE, in chooseDefaultConfig() local 211 if (eglChooseConfig(mDisplay, configAttributes, &config, 1, &configCount) != EGL_TRUE) in chooseDefaultConfig() 329 const EGLint configAttributes[] = {EGL_SURFACE_TYPE, in initializeSurfaceWithFloatConfig() local 346 if (EGLWindow::FindEGLConfig(mDisplay, configAttributes, &config) == EGL_FALSE) in initializeSurfaceWithFloatConfig() 625 const EGLint configAttributes[] = {EGL_SURFACE_TYPE, in TEST_P() local 645 if (EGLWindow::FindEGLConfig(mDisplay, configAttributes, &config) == EGL_FALSE) in TEST_P() 668 const EGLint configAttributes[] = {EGL_SURFACE_TYPE, in TEST_P() local 688 if (EGLWindow::FindEGLConfig(mDisplay, configAttributes, &config) == EGL_FALSE) in TEST_P() 711 const EGLint configAttributes[] = {EGL_SURFACE_TYPE, in TEST_P() local 731 if (EGLWindow::FindEGLConfig(mDisplay, configAttributes, &config) == EGL_FALSE) in TEST_P() [all …]
|
D | EGLRecordableTest.cpp | 54 const EGLint configAttributes[] = { in TEST_P() local 60 eglChooseConfig(display, configAttributes, configs.data(), configs.size(), &configCount)); in TEST_P()
|
D | EGLSyncControlTest.cpp | 124 const EGLint configAttributes[] = {EGL_NONE}; in CreateWindowSurface() local 127 ASSERT_EGL_TRUE(eglChooseConfig(mDisplay, configAttributes, &mConfig, 1, &configCount)); in CreateWindowSurface()
|
D | EGLSurfaceTestMac.mm | 42 const EGLint configAttributes[] = { 48 EGLint ret = eglChooseConfig(mDisplay, configAttributes, &mConfig, 1, &configCount);
|
D | EGLCreateContextAttribsTest.cpp | 164 const EGLint configAttributes[] = {EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8, in TEST_P() local 171 EXPECT_EGL_TRUE(eglChooseConfig(mDisplay, configAttributes, &config, 1, &count)); in TEST_P()
|
D | EGLDirectCompositionTest.cpp | 145 const EGLint configAttributes[] = { in Init() local 172 ASSERT_EGL_TRUE(eglChooseConfig(mEglDisplay, configAttributes, &mEglConfig, 1, &nConfigs)); in Init()
|
D | EGLDeviceTest.cpp | 131 const EGLint configAttributes[] = {EGL_NONE}; in CreateWindowSurface() local 133 ASSERT_EGL_TRUE(eglChooseConfig(mDisplay, configAttributes, &mConfig, 1, &configCount)); in CreateWindowSurface()
|
D | EGLPreRotationTest.cpp | 159 const EGLint configAttributes[] = { in initializeSurfaceWithRGBA8888Config() local 165 ASSERT_TRUE(eglChooseConfig(mDisplay, configAttributes, &config, 1, &configCount) || in initializeSurfaceWithRGBA8888Config() 189 const EGLint configAttributes[] = { in initializeSurfaceWithRGBA8888d24s8Config() local 195 ASSERT_TRUE(eglChooseConfig(mDisplay, configAttributes, &config, 1, &configCount) || in initializeSurfaceWithRGBA8888d24s8Config()
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | EglBase14Impl.java | 73 public EglBase14Impl(EGLContext sharedContext, int[] configAttributes) { in EglBase14Impl() argument 75 eglConfig = getEglConfig(eglDisplay, configAttributes); in EglBase14Impl() 76 final int openGlesVersion = EglBase.getOpenGlesVersionFromConfig(configAttributes); in EglBase14Impl() 250 private static EGLConfig getEglConfig(EGLDisplay eglDisplay, int[] configAttributes) { in getEglConfig() argument 254 eglDisplay, configAttributes, 0, configs, 0, configs.length, numConfigs, 0)) { in getEglConfig()
|
D | EglBase10Impl.java | 64 public EglBase10Impl(EGLContext sharedContext, int[] configAttributes) { in EglBase10Impl() argument 67 eglConfig = getEglConfig(eglDisplay, configAttributes); in EglBase10Impl() 68 final int openGlesVersion = EglBase.getOpenGlesVersionFromConfig(configAttributes); in EglBase10Impl() 297 private EGLConfig getEglConfig(EGLDisplay eglDisplay, int[] configAttributes) { in getEglConfig() argument 300 if (!egl.eglChooseConfig(eglDisplay, configAttributes, configs, configs.length, numConfigs)) { in getEglConfig()
|
/external/angle/util/ |
D | EGLWindow.cpp | 352 std::vector<EGLint> configAttributes = { in initializeSurface() local 383 configAttributes.push_back(EGL_COLOR_COMPONENT_TYPE_EXT); in initializeSurface() 384 configAttributes.push_back(mConfigParams.componentType); in initializeSurface() 388 configAttributes.push_back(EGL_NONE); in initializeSurface() 390 if (!FindEGLConfig(mDisplay, configAttributes.data(), &mConfig)) in initializeSurface()
|
/external/angle/src/libGL/ |
D | entry_points_wgl.cpp | 143 const EGLint configAttributes[] = {EGL_NONE}; in wglCreateContext() local 148 AttributeMap attribMapConfig = AttributeMap::CreateFromIntArray(configAttributes); in wglCreateContext()
|
/external/angle/src/tests/gl_tests/ |
D | MultisampleTest.cpp | 61 const EGLint configAttributes[] = {EGL_SURFACE_TYPE, in testSetUp() local 84 eglChooseConfig(mDisplay, configAttributes, &multisampledConfig, 1, &configCount); in testSetUp()
|
/external/swiftshader/tests/GLESUnitTests/ |
D | unittests.cpp | 116 const EGLint configAttributes[] = { in Initialize() local 124 EGLBoolean success = eglChooseConfig(display, configAttributes, &config, 1, &num_config); in Initialize()
|