* add support for AHardwareBuffer to the java bindings Texture.setEXternalIamge() now can take a AHArdwreBuffer Java object as a parameter. * add an API to set the priority of the Skybox by default the skybox is always drawn last (priority 7) in order to reduce overdraw. however, when depth culling is not enabled, it needs to be drawn first. The new Builder::priority() allows to set an arbitrary priority for the skybox. * add rendertarget support for external textures This was in fact mostly already supported, we just were artificially preventing that usage. It is supported by the EGL_external_image extension. It's the responsibility of the caller/user to not attempt to use an incompatible format, which has undefined behavior. FIXES=[466395306] * add a new android sample to test the AHardwareBuffer as render target --------- Co-authored-by: Powei Feng <powei@google.com>
23 lines
666 B
XML
23 lines
666 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme">
|
|
<activity
|
|
android:exported="true"
|
|
android:name=".MainActivity">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|