/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | Contacts_PhonesTest.java | 26 String display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabel() local 28 assertEquals(label, display); in testGetDisplayLabel() 42 String display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabelCharSequenceArray() local 44 assertEquals(label, display); in testGetDisplayLabelCharSequenceArray() 46 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabelCharSequenceArray() 48 assertEquals(labelArray[Phones.TYPE_HOME - 1], display); in testGetDisplayLabelCharSequenceArray() 50 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabelCharSequenceArray() 52 assertEquals(labelArray[Phones.TYPE_MOBILE - 1], display); in testGetDisplayLabelCharSequenceArray() 54 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabelCharSequenceArray() 56 assertEquals(labelArray[Phones.TYPE_WORK - 1], display); in testGetDisplayLabelCharSequenceArray() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | PresentationTest.java | 17 package android.server.wm.display; 46 for (Display display : mDm.getDisplays()) { in testPresentationFollowsDisplayFlag() 47 launchPresentationActivity(display.getDisplayId()); in testPresentationFollowsDisplayFlag() 48 if ((display.getFlags() & Display.FLAG_PRESENTATION) != Display.FLAG_PRESENTATION) { in testPresentationFollowsDisplayFlag() 51 assertPresentationOnDisplayAndMatchesDisplayMetrics(display.getDisplayId()); in testPresentationFollowsDisplayFlag() 58 WindowManagerState.DisplayContent display = in testPresentationAllowedOnPresentationDisplay() local 64 assertThat(display.getFlags() & Display.FLAG_PRESENTATION) in testPresentationAllowedOnPresentationDisplay() 67 launchPresentationActivity(display.mId); in testPresentationAllowedOnPresentationDisplay() 68 assertPresentationOnDisplayAndMatchesDisplayMetrics(display.mId); in testPresentationAllowedOnPresentationDisplay() 74 WindowManagerState.DisplayContent display = virtualDisplaySession in testPresentationNotDismissAfterResizeDisplay() local [all …]
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/display/ |
D | DisplayTest.kt | 17 package com.android.bedstead.nene.display 33 TestApis.display().setScreenOrientation(DisplayProperties.ScreenOrientation.LANDSCAPE) in setScreenOrientation_landscape_orientationIsSet() 36 TestApis.display().getScreenOrientation() in setScreenOrientation_landscape_orientationIsSet() 42 TestApis.display().setScreenOrientation(DisplayProperties.ScreenOrientation.PORTRAIT) in setScreenOrientation_portrait_orientationIsSet() 45 TestApis.display().getScreenOrientation() in setScreenOrientation_portrait_orientationIsSet() 51 TestApis.display().setDisplayTheme(DisplayProperties.Theme.DARK) in setDisplayTheme_setDark_themeIsSet() 53 assertThat(TestApis.display().getDisplayTheme()).isEqualTo(DisplayProperties.Theme.DARK) in setDisplayTheme_setDark_themeIsSet() 58 TestApis.display().setDisplayTheme(DisplayProperties.Theme.LIGHT) in setDisplayTheme_setLight_themeIsSet() 60 assertThat(TestApis.display().getDisplayTheme()).isEqualTo(DisplayProperties.Theme.LIGHT) in setDisplayTheme_setLight_themeIsSet() 65 assertThat(TestApis.display()).isNotNull() in display_returnsInstance() [all …]
|
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/ |
D | VirtualDisplayTest.java | 34 import android.hardware.display.DisplayManager; 35 import android.hardware.display.VirtualDisplay; 102 Display display = virtualDisplay.getDisplay(); in createVirtualDisplay_defaultVirtualDisplayFlags() local 103 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_defaultVirtualDisplayFlags() 104 assertThat(display.getFlags()).isEqualTo( in createVirtualDisplay_defaultVirtualDisplayFlags() 107 assertThat(display.getRemoveMode()).isEqualTo(Display.REMOVE_MODE_DESTROY_CONTENT); in createVirtualDisplay_defaultVirtualDisplayFlags() 115 Display display = virtualDisplay.getDisplay(); in createVirtualDisplay_defaultVirtualDisplayFlags_compat() local 116 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_defaultVirtualDisplayFlags_compat() 117 assertThat(display.getFlags()).isEqualTo(Display.FLAG_ROTATES_WITH_CONTENT in createVirtualDisplay_defaultVirtualDisplayFlags_compat() 119 assertThat(display.getRemoveMode()).isEqualTo(Display.REMOVE_MODE_DESTROY_CONTENT); in createVirtualDisplay_defaultVirtualDisplayFlags_compat() [all …]
|
/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextGetDisplayTest.java | 85 final Display display = getDefaultDisplay(); in testGetDisplayFromDisplayContext() local 86 Context displayContext = mApplicationContext.createDisplayContext(display); in testGetDisplayFromDisplayContext() 88 assertEquals(display, displayContext.getDisplay()); in testGetDisplayFromDisplayContext() 102 final Display display = onSecondaryDisplay ? getSecondaryDisplay() : getDefaultDisplay(); in verifyGetDisplayFromDisplayContextDerivedContext() local 103 final Context context = mApplicationContext.createDisplayContext(display) in verifyGetDisplayFromDisplayContextDerivedContext() 105 assertEquals(display, context.getDisplay()); in verifyGetDisplayFromDisplayContextDerivedContext() 110 final Display display = getDefaultDisplay(); in testGetDisplayFromWindowContext() local 112 assertEquals(display.getDisplayId(), windowContext.getDisplay().getDisplayId()); in testGetDisplayFromWindowContext() 117 final Display display = getDefaultDisplay(); in testGetDisplayFromWindowContextWithDefaultDisplay() local 118 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithDefaultDisplay() [all …]
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 17 package android.display.cts; 19 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECOR… 20 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_TRUSTED; 44 import android.hardware.display.DisplayManager; 45 import android.hardware.display.VirtualDisplay; 46 import android.hardware.display.VirtualDisplayConfig; 193 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() local 195 assertDisplayRegistered(display, Display.FLAG_PRIVATE); in testPrivateVirtualDisplay() 200 display, BLUEISH, 0); in testPrivateVirtualDisplay() 204 assertDisplayUnregistered(display); in testPrivateVirtualDisplay() [all …]
|
D | DisplayTest.java | 17 package android.display.cts; 52 import android.hardware.display.DeviceProductInfo; 53 import android.hardware.display.DisplayManager; 54 import android.hardware.display.DisplayManager.DisplayListener; 162 DisplayModeState(Display display) { in DisplayModeState() argument 163 mHeight = display.getMode().getPhysicalHeight(); in DisplayModeState() 164 mWidth = display.getMode().getPhysicalWidth(); in DisplayModeState() 165 mSupportedHdrTypes = display.getMode().getSupportedHdrTypes(); in DisplayModeState() 175 mRefreshRate = display.getRefreshRate(); in DisplayModeState() 295 private boolean isSecondaryDisplay(Display display) { in isSecondaryDisplay() argument [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/ |
D | VirtualInputDeviceCreator.java | 75 VirtualDevice virtualDevice, String name, Display display) { in createAndPrepareTouchscreen() argument 78 display.getMode().getPhysicalWidth(), in createAndPrepareTouchscreen() 79 display.getMode().getPhysicalHeight()) in createAndPrepareTouchscreen() 83 .setAssociatedDisplayId(display.getDisplayId()) in createAndPrepareTouchscreen() 88 VirtualDevice virtualDevice, String name, Display display) { in createAndPrepareStylus() argument 91 display.getMode().getPhysicalWidth(), in createAndPrepareStylus() 92 display.getMode().getPhysicalHeight()) in createAndPrepareStylus() 96 .setAssociatedDisplayId(display.getDisplayId()) in createAndPrepareStylus() 102 VirtualDevice virtualDevice, String name, Display display) { in createAndPrepareMouse() argument 108 .setAssociatedDisplayId(display.getDisplayId()) in createAndPrepareMouse() [all …]
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument 116 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext() 121 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument 122 egl.eglDestroyContext(display, context); in destroyContext() 158 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument 163 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); in chooseConfig() 174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 177 printConfigs(egl, display, configs); in chooseConfig() 181 return chooseConfig(egl, display, configs); in chooseConfig() 184 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig() argument [all …]
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | Egl10Utils.java | 30 static EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, int[] configSpec) { in chooseConfig() argument 32 if (!egl.eglChooseConfig(display, configSpec, null, 0, in chooseConfig() 43 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig() 46 EGLConfig config = chooseConfig(egl, display, configs, configSpec); in chooseConfig() 73 private static EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig() argument 84 int d = findConfigAttrib(egl, display, config, EGL10.EGL_DEPTH_SIZE); in chooseConfig() 85 int s = findConfigAttrib(egl, display, config, EGL10.EGL_STENCIL_SIZE); in chooseConfig() 87 int r = findConfigAttrib(egl, display, config, EGL10.EGL_RED_SIZE); in chooseConfig() 88 int g = findConfigAttrib(egl, display, config, EGL10.EGL_GREEN_SIZE); in chooseConfig() 89 int b = findConfigAttrib(egl, display, config, EGL10.EGL_BLUE_SIZE); in chooseConfig() [all …]
|
D | EglSurfacesTest.java | 44 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in testCreatePixmapSurface() local 46 if (display == EGL10.EGL_NO_DISPLAY) { in testCreatePixmapSurface() 51 if (!egl.eglInitialize(display, version)) { in testCreatePixmapSurface() 55 EGLConfig config = Egl10Utils.chooseConfig(egl, display, in testCreatePixmapSurface() 71 EGLContext context = egl.eglCreateContext(display, config, in testCreatePixmapSurface() 77 egl.eglCreatePixmapSurface(display, config, null, null); in testCreatePixmapSurface() 82 egl.eglDestroyContext(display, context); in testCreatePixmapSurface() 83 egl.eglTerminate(display); in testCreatePixmapSurface()
|
D | OpenGlEsVersionTest.java | 216 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in testRequiredExtensionsForVrHighPerformance() local 217 extensions = egl.eglQueryString(display, EGL10.EGL_EXTENSIONS); in testRequiredExtensionsForVrHighPerformance() 258 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in testRequiredEglExtensions() local 260 if (egl.eglInitialize(display, null)) { in testRequiredEglExtensions() 262 String eglExtensions = egl.eglQueryString(display, EGL10.EGL_EXTENSIONS); in testRequiredEglExtensions() 271 egl.eglTerminate(display); in testRequiredEglExtensions() 296 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in testRequiredEglExtensionsForHdrCapableDisplay() local 298 if (egl.eglInitialize(display, null)) { in testRequiredEglExtensionsForHdrCapableDisplay() 300 String eglExtensions = egl.eglQueryString(display, EGL10.EGL_EXTENSIONS); in testRequiredEglExtensionsForHdrCapableDisplay() 306 egl.eglTerminate(display); in testRequiredEglExtensionsForHdrCapableDisplay() [all …]
|
/cts/tests/vr/src/android/vr/cts/ |
D | OpenGLESActivity.java | 234 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument 240 EGLContext context = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext() 249 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument 250 if (!egl.eglDestroyContext(display, context)) { in destroyContext() 251 Log.e("DefaultContextFactory", "display:" + display + " context: " + context); in destroyContext() 260 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument 266 EGLContext context = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext() 275 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument 276 if (!egl.eglDestroyContext(display, context)) { in destroyContext() 277 Log.e("DefaultContextFactory", "display:" + display + " context: " + context); in destroyContext() [all …]
|
/cts/hostsidetests/graphics/displaymode/app/src/com/android/cts/graphics/displaymode/ |
D | BootDisplayModeTest.java | 20 import android.hardware.display.DisplayManager; 98 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testGetBootDisplayMode() local 99 Display.Mode[] supportedModes = display.getSupportedModes(); in testGetBootDisplayMode() 100 Display.Mode initialDefaultMode = display.getDefaultMode(); in testGetBootDisplayMode() 115 waitUntil(display, in testGetBootDisplayMode() 116 display1 -> display.getDefaultMode().getModeId() == mode.getModeId(), in testGetBootDisplayMode() 140 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testClearBootDisplayMode() local 141 Display.Mode[] supportedModes = display.getSupportedModes(); in testClearBootDisplayMode() 143 Display.Mode initialDefaultMode = display.getDefaultMode(); in testClearBootDisplayMode() 146 Display.Mode systemPreferredMode = display.getSystemPreferredDisplayMode(); in testClearBootDisplayMode() [all …]
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | SimulatedVirtualDisplaySession.java | 19 import static android.hardware.display.DisplayManager.DISPLAY_CATEGORY_PRESENTATION; 26 import android.hardware.display.DisplayManager; 48 private SimulatedVirtualDisplaySession(@NonNull Display display) { in SimulatedVirtualDisplaySession() argument 49 mDisplay = display; in SimulatedVirtualDisplaySession() 70 for (Display display : displays) { in create() 72 (display.getFlags() & FLAG_TRUSTED) == FLAG_TRUSTED; in create() 73 if (isTrusted && display.getType() == Display.TYPE_OVERLAY) { in create() 75 wm.setDisplayImePolicy(display.getDisplayId(), in create() 77 simulatedDisplay.set(display); in create()
|
/cts/libs/input/src/com/android/cts/input/ |
D | UinputTouchScreen.kt | 25 private fun createTouchScreenRegisterCommand(display: Display): UinputRegisterCommand { in createTouchScreenRegisterCommand() 47 "ABS_MT_POSITION_X" to AbsInfo(0, 0, display.mode.physicalWidth - 1, 0, 0, 0), in createTouchScreenRegisterCommand() 48 "ABS_MT_POSITION_Y" to AbsInfo(0, 0, display.mode.physicalHeight - 1, 0, 0, 0), in createTouchScreenRegisterCommand() 68 class UinputTouchScreen(instrumentation: Instrumentation, display: Display) : UinputTouchDevice( 70 display, 71 createTouchScreenRegisterCommand(display),
|
D | UinputStylus.kt | 26 private fun createStylusRegisterCommand(display: Display): UinputRegisterCommand { in createStylusRegisterCommand() 52 "ABS_MT_POSITION_X" to AbsInfo(0, 0, display.mode.physicalWidth - 1, 0, 0, 0), in createStylusRegisterCommand() 53 "ABS_MT_POSITION_Y" to AbsInfo(0, 0, display.mode.physicalHeight - 1, 0, 0, 0), in createStylusRegisterCommand() 74 class UinputStylus (instrumentation: Instrumentation, display: Display) : UinputTouchDevice( 76 display, 77 createStylusRegisterCommand(display),
|
D | UinputDrawingTablet.kt | 32 private fun createDrawingTabletRegisterCommand(display: Display): UinputRegisterCommand { in createDrawingTabletRegisterCommand() 54 "ABS_MT_POSITION_X" to AbsInfo(0, 0, display.mode.physicalWidth - 1, 0, 0, 0), in createDrawingTabletRegisterCommand() 55 "ABS_MT_POSITION_Y" to AbsInfo(0, 0, display.mode.physicalHeight - 1, 0, 0, 0), in createDrawingTabletRegisterCommand() 74 class UinputDrawingTablet(instrumentation: Instrumentation, display: Display) : UinputTouchDevice( 76 display, 77 createDrawingTabletRegisterCommand(display),
|
D | UinputTouchDevice.kt | 31 private fun rotateFromScreenToTouchDeviceSpace(x: Int, y: Int, display: Display): Point { in rotateFromScreenToTouchDeviceSpace() 32 return when (display.rotation) { in rotateFromScreenToTouchDeviceSpace() 34 Surface.ROTATION_90 -> Point(display.mode.physicalWidth - 1 - y, x) in rotateFromScreenToTouchDeviceSpace() 36 display.mode.physicalWidth - 1 - x, in rotateFromScreenToTouchDeviceSpace() 37 display.mode.physicalHeight - 1 - y in rotateFromScreenToTouchDeviceSpace() 39 Surface.ROTATION_270 -> Point(y, display.mode.physicalHeight - 1 - x) in rotateFromScreenToTouchDeviceSpace() 50 private val display: Display, constant 61 associateWith(display) 65 WindowManagerStateHelper().waitForAppTransitionIdleOnDisplay(display.displayId) 124 private fun associateWith(display: Display) { in associateWith() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualInputDeviceGenericTest.java | 30 import android.hardware.display.DisplayManager; 31 import android.hardware.display.VirtualDisplay; 73 VirtualDevice virtualDevice, String name, Display display); in create() argument 101 VirtualDisplay display = mRule.createManagedVirtualDisplayWithFlags(mVirtualDevice, in close_multipleCallsSucceed() local 106 factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()).getDevice(); in close_multipleCallsSucceed() 115 VirtualDisplay display = mRule.createManagedVirtualDisplayWithFlags(mVirtualDevice, in close_removesInputDevice() local 119 var deviceHolder = factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()); in close_removesInputDevice() 131 VirtualDisplay display = mRule.createManagedVirtualDisplayWithFlags(mVirtualDevice, in closeVirtualDevice_removesInputDevice() local 135 var deviceHolder = factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()); in closeVirtualDevice_removesInputDevice() 147 VirtualDisplay display = mRule.createManagedVirtualDisplayWithFlags(mVirtualDevice, in createVirtualInputDevice_duplicateName_throwsException() local [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPowerManagerTest.java | 226 Display display = mCarOccupantZoneManager.getDisplayForOccupant( in testSetDisplayPowerState_driverDisplayMustNotBeSupported() local 228 assertWithMessage("Driver display").that(display).isNotNull(); in testSetDisplayPowerState_driverDisplayMustNotBeSupported() 230 int displayId = display.getDisplayId(); in testSetDisplayPowerState_driverDisplayMustNotBeSupported() 251 Display display = mCarOccupantZoneManager.getDisplayForOccupant( in testSetDisplayPowerState_passengerDisplays_modeOn() local 253 if (display == null) { in testSetDisplayPowerState_passengerDisplays_modeOn() 257 int displayId = display.getDisplayId(); in testSetDisplayPowerState_passengerDisplays_modeOn() 260 return display.getState() == Display.STATE_ON; in testSetDisplayPowerState_passengerDisplays_modeOn() 265 return display.getState() == Display.STATE_OFF; in testSetDisplayPowerState_passengerDisplays_modeOn() 270 return display.getState() == Display.STATE_ON; in testSetDisplayPowerState_passengerDisplays_modeOn() 288 Display display = mCarOccupantZoneManager.getDisplayForOccupant( in testSetDisplayPowerState_passengerDisplays_modeOff() local [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | DisplayMetricsTest.java | 48 Display display = windowManager.getDefaultDisplay(); in initDisplay() local 49 assertNotNull(display); in initDisplay() 50 return display; in initDisplay() 65 Display display = initDisplay(); in testDisplayMetricsOp() local 66 display.getMetrics(outMetrics); in testDisplayMetricsOp() 69 assertEquals(display.getHeight(), metrics.heightPixels); in testDisplayMetricsOp() 70 assertEquals(display.getWidth(), metrics.widthPixels); in testDisplayMetricsOp()
|
/cts/hostsidetests/angle/app/common/src/com/android/angleIntegrationTest/common/ |
D | GlesView.java | 52 EGLDisplay display = EGL.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in createEGL() local 53 EGL.eglInitialize(display, version); in createEGL() 56 EGL.eglGetConfigs(display, null, 0, numConfigs); in createEGL() 58 EGL.eglGetConfigs(display, allConfigs, numConfigs[0], numConfigs); in createEGL() 82 EGL.eglChooseConfig(display, configAttrib, selectedConfig, 1, numConfigs); in createEGL() 92 EGLSurface surface = EGL.eglCreatePbufferSurface(display, eglConfig, null); in createEGL() 95 .eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, contextAttribs); in createEGL() 96 EGL.eglMakeCurrent(display, surface, surface, context); in createEGL()
|
/cts/tests/tests/display/ |
D | TEST_MAPPING | 8 … "exclude-filter": "android.display.cts.DisplayManagerTest#testCreateVirtualDisplayFromShell" 12 …"exclude-filter": "android.display.cts.VirtualDisplayTest#testVirtualDisplayWithRequestedRefreshRa… 23 "include-filter": "android.cts.statsdatom.display.DisplayBrightnessChangedStatsTests" 26 "include-filter": "android.cts.statsdatom.display.DisplayWakeReportedStatsTests"
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityManagerGetConfigTests.java | 35 import android.hardware.display.DisplayManager; 112 EGLDisplay display, in addExtensionsForConfig() argument 119 egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, contextAttribs); in addExtensionsForConfig() 126 EGLSurface surface = egl.eglCreatePbufferSurface(display, config, surfaceSize); in addExtensionsForConfig() 128 egl.eglDestroyContext(display, context); in addExtensionsForConfig() 133 egl.eglMakeCurrent(display, surface, surface, context); in addExtensionsForConfig() 146 … egl.eglMakeCurrent(display, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); in addExtensionsForConfig() 147 egl.eglDestroySurface(display, surface); in addExtensionsForConfig() 148 egl.eglDestroyContext(display, context); in addExtensionsForConfig() 162 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in getGlExtensionsFromDriver() local [all …]
|