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

Windows GPU texture support #6

Open
nmfisher opened this issue Oct 16, 2023 · 0 comments
Open

Windows GPU texture support #6

nmfisher opened this issue Oct 16, 2023 · 0 comments

Comments

@nmfisher
Copy link
Owner

If you have a keen eye you'll see that on Windows we are reading into/copying a pixel buffer on every frame, which is not ideal.

I did try implementing support for direct GPU texture passthrough (via ANGLE/D3D). I left a preprocessor define in windows/CMakeLists.txt (USE_ANGLE) to switch between the two but there have been some subsequent changes that means that is probably broken. This also require a custom build of Filament on Windows (to build against EGL/GLES rather than WGL).

It "worked", but with some clear problems with rendering (colours weren't right, artifacts, etc). There were some console logs around rewriting shaders so it's possible that the stock Filament shaders aren't translated correctly by ANGLE.

This should definitely be the objective on Windows.

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

No branches or pull requests

1 participant