File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
opengl/java/android/opengl Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1845,7 +1845,7 @@ public synchronized void checkGLDriver(GL10 gl) {
18451845 ! renderer .startsWith (kMSM7K_RENDERER_PREFIX );
18461846 notifyAll ();
18471847 }
1848- mLimitedGLESContexts = !mMultipleGLESContextsAllowed || renderer . startsWith ( kADRENO ) ;
1848+ mLimitedGLESContexts = !mMultipleGLESContextsAllowed ;
18491849 if (LOG_SURFACE ) {
18501850 Log .w (TAG , "checkGLDriver renderer = \" " + renderer + "\" multipleContextsAllowed = "
18511851 + mMultipleGLESContextsAllowed
@@ -1871,6 +1871,11 @@ private void checkGLESVersion() {
18711871 }
18721872 }
18731873
1874+ /**
1875+ * This check was required for some pre-Android-3.0 hardware. Android 3.0 provides
1876+ * support for hardware-accelerated views, therefore multiple EGL contexts are
1877+ * supported on all Android 3.0+ EGL drivers.
1878+ */
18741879 private boolean mGLESVersionCheckComplete ;
18751880 private int mGLESVersion ;
18761881 private boolean mGLESDriverCheckComplete ;
@@ -1879,7 +1884,6 @@ private void checkGLESVersion() {
18791884 private static final int kGLES_20 = 0x20000 ;
18801885 private static final String kMSM7K_RENDERER_PREFIX =
18811886 "Q3Dimension MSM7500 " ;
1882- private static final String kADRENO = "Adreno" ;
18831887 private GLThread mEglOwner ;
18841888 }
18851889
You can’t perform that action at this time.
0 commit comments