Commit e99e53a
committed
gfx/vita2d: fold the vita2d GXM backend into the driver
vita2d_gfx.c was the only consumer of the vendored libvita2d, and it went
through the library's public API as if it were an external dependency,
unlike the gx (libogc) and rsx (PSL1GHT) console drivers which talk to
their GPU SDK directly. Fold the backend in so the Vita driver is a
self-contained GXM implementation like its siblings.
The four (already dead-code-stripped) translation units -- vita2d.c,
vita2d_texture.c, vita2d_draw.c, utils.c -- and their headers are inlined
into vita2d_gfx.c; the driver no longer includes <vita2d.h> and the public
vita2d API is gone. The precompiled shader blobs (shader/*.gxp.c) stay --
the folded code still references them as externs.
- deps/libvita2d/{source,include}/* and the standalone Makefile deleted;
LICENSE and the shader/ blobs retained.
- Makefile.common: drop the four source objects, keep the eight shader
objects, drop the now-unused -Ideps/libvita2d/include.
- griffin.c / Makefile.griffin: drop the source #includes and include dir.
Compile-verified with vitasdk (arm-vita-eabi-gcc 15.2.0, -march=armv7-a
-mfpu=neon -mfloat-abi=hard): builds to a clean object, no errors.
Signed-off-by: LibretroAdmin <LibretroAdmin@users.noreply.github.com>1 parent 4b5957c commit e99e53a
12 files changed
Lines changed: 2236 additions & 2281 deletions
File tree
- deps/libvita2d
- include
- source
- gfx/drivers
- griffin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1219 | 1219 | | |
1220 | 1220 | | |
1221 | 1221 | | |
1222 | | - | |
1223 | | - | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1227 | 1225 | | |
1228 | 1226 | | |
1229 | 1227 | | |
| |||
1234 | 1232 | | |
1235 | 1233 | | |
1236 | 1234 | | |
1237 | | - | |
1238 | | - | |
1239 | 1235 | | |
1240 | 1236 | | |
1241 | 1237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments