Commit graph

16 commits

Author SHA1 Message Date
Cameron Cawley
26a2e738fd ANDROID: Fix build after FrameBuffer class changes 2024-11-30 23:36:34 +01:00
Le Philousophe
678a8fe4cb ANDROID: Add alpha setting to textures in 3D backend
This allows to tune the transparency of the texture easily.
2024-08-31 16:45:32 +02:00
Le Philousophe
79da015e8f ANDROID: Various fixes to textures
- Don't create texture in constructor: it's called before the context is
  created
- Don't leak texture names when calling reinit()
- Fix allocBuffer return condition
- Don't call GL if there is no texture object
- Make sure all textures are released and inited
2023-06-26 15:25:27 +03:00
Antoniou Athanasios
8ce6a32ac2 ANDROID: Clean up log code and use Backends::Log 2023-03-26 12:05:12 +03:00
Le Philousophe
98c306376f OPENGL: Merge both OpenGL shaders objects 2022-06-26 18:32:10 +02:00
Paweł Kołodziejski
4f0e5ed3c0 GRAPHICS: Moved shader code where it's actually used 2022-01-10 03:34:48 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Le Philousophe
24565a5bd8 ANDROID: Rework 3D GLES textures
The abstraction added will allow the backend to allow surface
customization
2021-12-16 00:09:25 +01:00
Le Philousophe
30baf0e599 ANDROID: Unbind everything to ensure engine don't use our stuff 2021-12-05 16:43:30 +01:00
Le Philousophe
5b62141b8f ANDROID: Fix code style 2021-11-29 00:04:45 +01:00
Le Philousophe
40a036ac0b ANDROID: Use nullptr where appropriate 2021-11-29 00:04:45 +01:00
Le Philousophe
8321056107 ANDROID: Remove superfluous asserts
new never returns nullptr, it throws exception or aborts
2021-11-29 00:04:45 +01:00
Le Philousophe
8a6f74b5a1 ANDROID: Remove global variables 2021-11-29 00:04:45 +01:00
Le Philousophe
2792b474e1 ANDROID: Remove superfluous ifdefs 2021-11-29 00:04:45 +01:00
Le Philousophe
f0aef09021 ANDROID: Make sure glDrawArrays succeeds 2021-11-29 00:04:45 +01:00
Le Philousophe
5d56c1cdf0 ANDROID: Merge 3D graphics backend
Move each graphic part in backends/graphics and backends/graphics3d
2021-11-29 00:04:45 +01:00