Procházet zdrojové kódy

[Android] Require OpenGL ES 2.0

This was already an implicit requirement, as it's the only version implemented
in libwebrtc.

The reason to add this is to (defensively) try to filter old devices which may
not implement it.

WebRTC's own Android demo app defines this.
master
Saúl Ibarra Corretgé před 8 roky
rodič
revize
4efbbe14b1
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3
    0
      android/sdk/src/main/AndroidManifest.xml

+ 3
- 0
android/sdk/src/main/AndroidManifest.xml Zobrazit soubor

12
     <uses-feature android:name="android.hardware.camera" />
12
     <uses-feature android:name="android.hardware.camera" />
13
     <uses-feature android:name="android.hardware.camera.autofocus"/>
13
     <uses-feature android:name="android.hardware.camera.autofocus"/>
14
 
14
 
15
+    <!-- Tell the system this app requires OpenGL ES 2.0. -->
16
+    <uses-feature android:glEsVersion="0x00020000" android:required="true" />
17
+
15
     <application android:allowBackup="true"
18
     <application android:allowBackup="true"
16
                  android:label="@string/app_name"
19
                  android:label="@string/app_name"
17
                  android:supportsRtl="true">
20
                  android:supportsRtl="true">

Načítá se…
Zrušit
Uložit