Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,14 @@ dependencies {
androidTestImplementation("androidx.test:runner:1.6.2")
}

val verifyGfxstreamRuntimeAssets by
val verifyGraphicsRuntimeAssets by
tasks.registering {
val runtimeRoot = file("src/main/assets/runtime/arm64-v8a")
inputs.dir(runtimeRoot.resolve("gfxstream-host"))
inputs.dir(runtimeRoot.resolve("gfxstream-guest"))
inputs.dir(runtimeRoot.resolve("virgl-host"))
inputs.dir(runtimeRoot.resolve("virgl-angle-vulkan"))
inputs.dir(runtimeRoot.resolve("venus-mesa"))

doLast {
fun ByteArray.containsSequence(needle: ByteArray): Boolean {
Expand All @@ -184,7 +187,14 @@ val verifyGfxstreamRuntimeAssets by
return false
}

val bundleNames = listOf("gfxstream-host", "gfxstream-guest")
val bundleNames =
listOf(
"gfxstream-host",
"gfxstream-guest",
"virgl-host",
"virgl-angle-vulkan",
"venus-mesa",
)
val manifests =
bundleNames.associateWith { bundleName ->
val bundle = runtimeRoot.resolve(bundleName)
Expand Down Expand Up @@ -238,5 +248,5 @@ val verifyGfxstreamRuntimeAssets by
}

tasks.matching { it.name == "preBuild" }.configureEach {
dependsOn(verifyGfxstreamRuntimeAssets)
dependsOn(verifyGraphicsRuntimeAssets)
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ class GfxstreamPresenterProbeActivity : Activity() {
)
if (externalProducer) {
hostController =
GfxstreamHostController(this).also {
GfxstreamHostController(
this,
(application as UdroidApplication).journal,
PROBE_BOOT_ID,
).also {
it.startAsync(
presenter.transportSocketFile(),
contractTrace = contractTrace,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
format=1
runtime=26.1.5-jammy
abi=arm64-v8a
source_package=mesa
mesa_commit=6a02618ccf6c5651ecb9cccbde571eb61fd73592
lib/dri/zink_dri.so.sha256=a85c32422ab9c0b1b98495fc2274d8bfc7c6892f02496d60f884023ca45ccc41
lib/libEGL_mesa.so.0.sha256=b6b2e58a5e2b0b1aa6687891272625c89d727166b326cdf67cc2f040ae1cc484
lib/libGLX_mesa.so.0.sha256=36bad44d10cdb8610cbdfce7c532c4520acd4f1a9f9e92943e66606cc530b2fb
lib/libgallium-26.1.5.so.sha256=1a190093d84f64372c9ae1b001b4adc0d226b308486dc21d8565c53f2a1df75b
lib/libvulkan_virtio.so.sha256=82b57a2c7b7ea71e2cef92919a9529c5ff2dcda9bc7f53ed1bdf38bc81ca6e47
share/doc/license.rst.sha256=0d1a0472ecc81830e75c20d59b0ea02841e3db21255e0ebad97ab682c54d6615
share/drirc.d/00-mesa-defaults.conf.sha256=1406e018d5a83dacc9dceb5cecdc47410ad7f31a573390ec8c41c729e23c038a
share/glvnd/egl_vendor.d/50_mesa.json.sha256=cd3881df4227c13ca7f9cfe6c78820f21d5f7a00a41b299214f6f827e63be369
share/vulkan/icd.d/virtio_icd.aarch64.json.sha256=9459d4356818fff45f946ba1e623eec42db4bdb402b10e9c9d85c0a9560ba011
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
License and Copyright
=====================

Disclaimer
----------

Mesa implements various APIs, including `OpenGL`_, `OpenGL ES`_,
`Vulkan`_ and `OpenCL`_. Even though Mesa implements these APIs, the
implementation isn't formally conformant on all combinations of drivers
and hardware. `Khronos`_ maintains lists of conformant implementations
for each of their APIs, as well as `trademark details`_.

This project is called *Mesa*, *Mesa3D*, or *The Mesa 3-D graphics library*.

.. _OpenGL: https://www.opengl.org/
.. _OpenGL ES: https://www.khronos.org/opengles/
.. _Vulkan: https://www.vulkan.org/
.. _OpenCL: https://www.khronos.org/opencl/
.. _Khronos: https://www.khronos.org/
.. _trademark details: https://www.khronos.org/legal/trademarks/

License / Copyright Information
-------------------------------

The Mesa distribution consists of several components. Different
copyrights and licenses apply to different components. For example, the
GLX client code uses the SGI Free Software License B, and some of the
Mesa device drivers are copyrighted by their authors. See below for a
list of Mesa's main components and the license for each.

The core Mesa library is licensed according to the terms of the MIT
license.

Most of the Mesa code is licensed under MIT license,
but individual files may have their own licenses.

You may find all the licenses used within this project in the licenses/ directory.

Attention, Contributors
-----------------------

When contributing to the Mesa project you must agree to the licensing
terms of the component to which you're contributing. The following
section lists the primary components of the Mesa distribution and their
respective licenses.

Mesa Component Licenses
-----------------------

In general, consult each source file SPDX identifier for license terms.
Loading
Loading