summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-25Merge pull request #8 from dario-loi/bugfixesLevent Kaya
2024-11-24Formatted headerdario-loi
2024-11-24Merge branch 'master' into bugfixesdario-loi
2024-11-24Merge branch 'master' of https://github.com/dario-loi/fbgldario-loi
2024-11-24Worked on minor changes for warningsdario-loi
2024-11-24Formatted according to filedario-loi
2024-11-24[refactor] faster rendering without bound checklvntky
2024-11-24Merge branch 'master' of https://github.com/dario-loi/fbgldario-loi
2024-11-24Merge pull request #6 from dario-loi/masterLevent Kaya
[FIX] Move all implementation under include guard
2024-11-24Merge branch 'master' of https://github.com/dario-loi/fbgldario-loi
2024-11-24Merge branch 'master' of https://github.com/dario-loi/fbgldario-loi
2024-11-24Merge branch 'master' of https://github.com/dario-loi/fbgldario-loi
2024-11-24Merge branch 'lvntky:master' into masterdario-loi
2024-11-24Working CMakeLists.txt and many bugfixesdario-loi
Provided a working CMakeLists.txt file to build all of the examples, also fixed a bunch of bugs (some fixes also depend on personal preference and should be reviewed by maintainers): 1. Switched fbgl_t types from size_t to uint32_t as there is no way a screen resolution will be more than 2^32, this way we save 4 bytes and we have faster comparisons 2. Used int32_t instead of int for better clarity 3. fbgl_point now uses int32_t instead of uint32_t, no more sign comparison warnings (for loops that worked with fbgl_point were already working with int32_t in practice) 4. line.c now uses usleep(1000) to wait inbetween individual line draws instead of an empty for loop, as that was optimized away in release builds and led to all the animation being played instantly 5. removed the void fbgl_set_bg() forward declaration as it was incorrect w.r.t the actual function definition 6. fbgl_draw_texture specifies a const pointer to the texture resource, possibly allowing for compiler optimizations 7. fbgl_set_bg and fbgl_put_pixel now use #ifdef DEBUG to compile away checks in release builds, for faster performance 8. various const-correctness improvements 9. all required UNIX headers have been imported so that fbgl_check_esc_key does not give any more warnings All examples have been tested (on my local machine, so take this with a grain of salt)
2024-11-24Merge branch 'lvntky:master' into masterdario-loi
2024-11-24Covered all implementation under include guarddario-loi
2024-11-24[docs] contributors updatedLevent Kaya
2024-11-24Merge pull request #5 from dario-loi/masterLevent Kaya
[docs] Fixed example code in README.md
2024-11-24Specified the need for implementation macro in READMEdario-loi
2024-11-24Fixed example code in README.mddario-loi
Example code now correctly declares a fbgl_t buffer and passes it to relevant functions, also, fbgl_get_{width,height} are renamed to the kernel functions fb_get_{width,height} as a library-provided wrapper is non-existent (and probably unnecessary).
2024-11-24[build] test env build scriptLevent Kaya
2024-11-24[docs] path fixesLevent Kaya
2024-11-24[docs] fix branch typoLevent Kaya
2024-11-24[docs] doxygen gh pageLevent Kaya
2024-11-24[feature] keyboard event tracking definitionsLevent Kaya
2024-11-24[docs] TODO updatedLevent Kaya
2024-11-24[refactor] comments addedLevent Kaya
2024-11-24[docs] typo fixLevent Kaya
2024-11-24[docs] showcase addedLevent Kaya
2024-11-24[feature] texture renderinglvntky
2024-11-23[asset] sample doom asset as tga to renderLevent Kaya
2024-11-23[feature] basic shapeslvntky
2024-11-23[feature] raw mode test (not passed)lvntky
2024-11-22[docs] todo list addedlvntky
2024-11-22[feature] line drawing algorithmlvntky
2024-11-21[feature] partially text rendering with dependencylvntky
2024-11-21[feature] some font loading but not workslvntky
2024-11-21[feature] basic renderinglvntky
2024-11-21[feature] basic fb0 initializtionlvntky
2024-11-18initiallvntky