5 Commits
Author SHA1 Message Date
Alistair Delva 9cc0d76998 testenv: Hide unused GetGraphicsDriverPath 2025-07-10 17:38:09 +00:00
Jason Macnak e4508cce40 Append instead of set envvar in GraphicsTestEnvironment
... so that the end2end tests can still be run with VVLs.
2025-06-04 17:02:58 +00:00
Jason Macnak 343df8a96e Reland "Support running end2end tests with locally built..."
Reland of ag/33649678 which just uses the static versions of the
Gfxstream backend.

Eventually we want to use a shared library
libgfxstream_backend.so which only exports the stream_renderer_*
interface but we need to resolve some existing build issues on
other OSs first.

Bug: b/403363880
Test: bazel test common/end2end:gfxstream_end2end_tests \
  --graphics_drivers=gles_angle_vulkan_swiftshader \
  --test_arg="--gtest_filter=-*MultiThreadedResetCommandBuffer*" \
  --test_output=streamed
Change-Id: Ib5a55a1ff3f94ce7b07c111139a938a266fc6e5e
2025-05-23 09:57:46 -07:00
Will Hollins 6add0000ae Revert "Support running end2end tests with locally built drivers"
Revert submission 33669906-gfxstream-host-bazel-targets

Reason for revert: This breaks emu-next. When launching qemu gives error:

hardware/generic/goldfish/emulator/launcher/plugins/libhw-display-virtio-gpu-pci-rutabaga.dylib, 0x0002): symbol not found in flat namespace '_stream_renderer_submit_cmd'
qemu-system-aarch64.signed: -device virtio-gpu-rutabaga,x-gfxstream-gles=on,gfxstream-vulkan=on,x-gfxstream-composer=on,hostmem=256M,id=gpu0,xres=1080,yres=2400: 'virtio-gpu-rutabaga' (alias 'virtio-gpu-rutabaga-pci') is not a valid device model name

Reverted changes: /q/submissionid:33669906-gfxstream-host-bazel-targets

Change-Id: Ic9fa317ce64a8a12d9be72e4e4f4f13bc354bab6
2025-05-22 12:31:39 -07:00
Jason Macnak badfd26e6c Support running end2end tests with locally built drivers
Fixes some shader strings because ANGLE is very pedantic
about no whitespace before the "#version" ...

```
bazel test common/end2end:gfxstream_end2end_tests \
  --graphics_drivers=gles_angle_vulkan_swiftshader \
  --test_arg="--gtest_filter=-*MultiThreadedResetCommandBuffer*" \
  --test_output=streamed
```
passes.

Bug: b/403363880
Test: bazel test common/end2end:gfxstream_end2end_tests \
      --graphics_drivers=gles_angle_vulkan_lavapipe
Test: See above
Change-Id: I1fcbefd5d7709c18e96cda9e9de13c97d29f8a25
2025-05-21 09:26:42 -07:00