Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to pass a transform matrix along with Stream::setAcquiredImage #8496

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

ajmalk
Copy link
Contributor

@ajmalk ajmalk commented Mar 6, 2025

Followup to #8493

Streams in OpenGL are either backed by SurfaceTexture (Native in filament) or ImageReader (Acquired in filament). SurfaceTextures have a transform attached to the image that's updated every frame but have to be read from the GL thread. The ImageReader path has the same transform but is read from the main thread. The transform in the SurfaceTexture path can be optionally requested in the shader (see #8490). This PR adds a way for the ImageReader path to also update this transform.

@ajmalk ajmalk requested a review from pixelflinger March 6, 2025 17:12
sidreesshah and others added 16 commits March 6, 2025 20:16
Replace cmakelist content with few set and includes
Add the patch file to convert dawn shared to static lib

Thanks Robbie Bridgewater for helping out with this implementation
Introduce FILAMENT_SUPPORTS_WEBGPU flag to be used for webgpu support.
Add -W option to  build.sh for webgpu support compilation from build script.

Thanks Andy Hovingh for helping out with this implementation
Introduce Enums to support WebGPU.
Start to use header files from dawn.
Updated the `terminate` function to correct resource cleanup. Changed `mUsedStages` to `mUsedImages` and `mFreeStages` to `mFreeImages` to ensure proper memory management during termination.
* Enable fgviewer for the users

* Fix incorrect position

* Update

* Support remote debug server

* Enable fgviewer on android

* Link and include fgviewer_resources

* Adjust js to show untitled view
@ajmalk ajmalk requested a review from pixelflinger March 7, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants