<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fbgl.git/.gitignore, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.leventkaya.com/fbgl.git/atom?h=master</id>
<link rel='self' href='https://git.leventkaya.com/fbgl.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.leventkaya.com/fbgl.git/'/>
<updated>2024-11-24T19:21:45Z</updated>
<entry>
<title>Merge branch 'master' into bugfixes</title>
<updated>2024-11-24T19:21:45Z</updated>
<author>
<name>dario-loi</name>
<email>loi.1940849@studenti.uniroma1.it</email>
</author>
<published>2024-11-24T19:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.leventkaya.com/fbgl.git/commit/?id=a3bfd065071e2dd4e772fae9da7908ce523148c6'/>
<id>urn:sha1:a3bfd065071e2dd4e772fae9da7908ce523148c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[refactor] faster rendering without bound check</title>
<updated>2024-11-24T18:25:56Z</updated>
<author>
<name>lvntky</name>
<email>klevent1903@gmail.com</email>
</author>
<published>2024-11-24T18:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.leventkaya.com/fbgl.git/commit/?id=ff43c66c491b443b7522a3b3d716905ee9732b60'/>
<id>urn:sha1:ff43c66c491b443b7522a3b3d716905ee9732b60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Working CMakeLists.txt and many bugfixes</title>
<updated>2024-11-24T17:37:25Z</updated>
<author>
<name>dario-loi</name>
<email>loi.1940849@studenti.uniroma1.it</email>
</author>
<published>2024-11-24T16:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.leventkaya.com/fbgl.git/commit/?id=8a347f9515a0021361549016e86fcca159c948f5'/>
<id>urn:sha1:8a347f9515a0021361549016e86fcca159c948f5</id>
<content type='text'>
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)
</content>
</entry>
</feed>
