Skip to content

feat(vertex): Add vertex and primitives functions - #359

Draft
emiyl wants to merge 47 commits into
ButterscotchRunner:mainfrom
emiyl:vertex
Draft

feat(vertex): Add vertex and primitives functions#359
emiyl wants to merge 47 commits into
ButterscotchRunner:mainfrom
emiyl:vertex

Conversation

@emiyl

@emiyl emiyl commented Jul 25, 2026

Copy link
Copy Markdown
Contributor
image

@cobaltgit
cobaltgit requested a review from Fancy2209 July 31, 2026 11:01
@cobaltgit

Copy link
Copy Markdown
Collaborator

CI needs fixing but other than that looks good to me. Fancy will know alot more about rendering than me so i'd best wait on his word

@cobaltgit

Copy link
Copy Markdown
Collaborator

(probs wait for this pr to be marked ready for review yet)

@emiyl

emiyl commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

yeah this one’s nearly done i just need to fix a few issues

@cobaltgit

Copy link
Copy Markdown
Collaborator

No rush!

@Fancy2209

Fancy2209 commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

With they way this is plumbed, it looks like it won't be possible to use Immediate Mode in legacy gl

Nvm I see what you're doing
Can you add a Legacy GL version? Preferably with the option of using Immediate Mode for PS3 (since I haven't added vertex arrays to the wrapper yet)

emiyl and others added 11 commits August 8, 2026 19:19
* PS Vita platform added

* Miniaudio for vita "exists" but not really :/

* Disable lazy loading for now (except for rooms)

* Miniaudio works! Thanks to @cobaltgit's suggestion

Courtesy of ButterscotchRunner#328, updated Miniaudio

* Audio crackling band-aid fixed by dethrace patch

* Implement get/set window width + height functions for runner

* Mem squeezing out of VitaGL

* Added texture.bin/texture preprocessing support for the Vita

Inspired by how the PS3 handles texture processing

* Add PNG support

* Add debug next/prev room switching with D-Pad + Start

* Add legacy GL support
cobaltgit and others added 23 commits August 8, 2026 19:52
…nner#321)

* Add log system

* Make the vLog* funcs internal

* Add file logging

* Fix

* Add vLog function variants and update utils.h to use log

* Replace most calls of fprintf(stderr, ...) with Log_log* functions

* Replace printf with Log_log

* Fix some things

* Fix

* Add log arguments to desktop

* Fix some things and remove debug logs

* Fix some things

* Fix some more things

* Add support for temporarily changing log file

* Add support for adding custom files to log to

* Fix some things

* Fix some things

* Fix

* Fix some things

* Fix

* Fix more

* Add va_copy compatibility macro for msvc

* Remove msvc va_copy define requirement

* Fix some indentation issues

* Fix

* Reduce redundancy

* No out variable needed

* Change Log_setFile and Log_resetFile

* Fix some indentation issues

* Add missing log.h in ps3_textures.c

* Add log.c to web-meta

* Fix tests hopefully

* Add logDebug functions

* Use the logDebug functions

* Add "Debug: " prefix to logDebug

* Rename log functions to what uniq said

* Add warning and error prefixes as well

* Use isatty

* Do what uniq said i think

* Explicit cast

* Hopefully fix web meta

* Hopefully fix

* Add compatability va_copy define in main.c

* Do what uniq said (at least for desktop) i think

* Implement file logging in desktop

* Fix other platforms

* I forgot to give args to the va_copy compat macro

* Fix other platforms hopefully

* Unconditionally va_copy

* Move va_end out of conditional

* Maybe fix tests

* Maybe fix them

* Remove unused macro

* Do what uniq said for desktop i think

* Fix other backends hopefully

* Hopefully fix compile errs

* Fix tests hopefully

* Remove file log :((((((((

* Fix tests

* tty check

* spacing

* change how color works

* fix readme

* fixups

* android better

* fix

* fixup

* remove

* fixup

---------

Co-authored-by: Un1q32 <joey.t.reinhart@gmail.com>
* peam

* parallel processing

* even more parallel
fixes invalid pointer when calling free()
…terscotchRunner#382)

* help out sunos

* log

* log output from failed tests again

* fix
saves like ~10 ms with gcc on my system (total ~118 ms)
* chore(vita): add CI!

* fix(vita): always assume FBOs and VAOs

* fix(vita): bye bye getstringi

* fix to end all fixes

* who put that there

* cmon

* chore(vita): build against speedhacked vitaGL

will prob need testing to see what hacks break shit, another reason I wish I had a vita on hand

* make -j $\(nproc\)

* make -C

* woag

* chore(vita): add platformLog
needed for NetBSD
* add path_get_name

* add missing path functions

* use safeMalloc and safeRealloc

* oopsies

* change GamePath.name from const char to just char

* actually nah name should be immutable, so just remove the free() calls on the name
reverting this until someone fixes the deltarune intros
…utterscotchRunner#384)

* chore(ci): first shot at Android CI

* chore: move Android frontend to main repo
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.

7 participants