Commit graph

29 commits

Author SHA1 Message Date
Ilari Liusvaara
2da23de987 Small whitespace cleanup 2015-05-27 23:08:54 +03:00
Ilari Liusvaara
0d83c3aba6 Rework how memory tracking works
Also adds a few new tracking categories, like movie storage
2015-05-27 17:59:00 +03:00
Ilari Liusvaara
0960e967ea Memory tracker: Add tracking of render objects 2015-05-27 16:28:01 +03:00
Ilari Liusvaara
c2a7eed9d8 Clean up system font drawing
Refactor font reading to fewer places
2015-05-27 15:38:22 +03:00
Ilari Liusvaara
0c0156647b Redo text rendering (adds halo support to gui.text())
Now gui.text() and friends support halos. Also fixes a bug with partially
opaque halos in CUSTOMFONT rendering.
2015-05-27 10:44:50 +03:00
Ilari Liusvaara
56deafcd4a Framework for memory usage tracking
Adds tracking for Lua VM and ROM images. The rest comes later.
2015-05-26 13:16:09 +03:00
Ilari Liusvaara
04d7e60fe1 Fix race between killing object and drawing object
Previously, it was possible to draw and kill object queue at the same
time, possibly leading to crashes from accessing object state after
destroying it. Fix this.
2015-05-14 19:20:21 +03:00
Ilari Liusvaara
3ca96fb1b0 Reduce dependicies between header files 2014-05-13 13:42:07 +03:00
Ilari Liusvaara
154abcb8d7 Numeric range class, obsolete clip_range. 2014-04-02 15:18:33 +03:00
Ilari Liusvaara
783d20f690 Don't use framebuffer palettes 2014-02-10 00:07:31 +02:00
Ilari Liusvaara
0a41e8d901 More advanced memory watches 2014-01-10 12:12:14 +02:00
Ilari Liusvaara
c6d744b867 Fix off-by-one in counting number of objects in render queue 2013-12-29 15:40:49 +02:00
Ilari Liusvaara
3f14664f0c Lua: HSL colors and color modifiers 2013-12-24 20:29:31 +02:00
Ilari Liusvaara
00b961bb55 Some refactoring of the named colors stuff (and a lot more colors) 2013-12-24 12:18:01 +02:00
Ilari Liusvaara
f032ae3b60 Allow color names as color specifications 2013-12-24 04:58:09 +02:00
Ilari Liusvaara
dce933b76d Refactor library framebuffer to dedicated namespace 2013-12-19 07:00:43 +02:00
Ilari Liusvaara
4a58db3c25 Extra framebuffer methods 2013-12-19 07:00:43 +02:00
Ilari Liusvaara
3dc116b430 Lua: gui.screenshot_bitmap() 2013-12-16 18:21:40 +02:00
Ilari Liusvaara
cd80fa3ebf Bitmap font to custom font conversion 2013-12-13 21:45:10 +02:00
Ilari Liusvaara
5661c7ca59 Save bitmaps as PNG
Also:
- Refactor PNG code to have PNG writing support
- Add functions to dump SNES sprites and palettes
2013-10-28 21:15:08 +02:00
Ilari Liusvaara
59ef6961e3 Merge branch 'rr1-maint' 2013-09-27 10:47:19 +03:00
Ilari Liusvaara
e27a06f7c3 Lua: CUSTOMFONT: Allow painting with halo
Conflicts:

	manual.txt
	src/lua/gui-text-cf.cpp
2013-03-29 17:15:28 +02:00
Ilari Liusvaara
31e05b501d Lua: CUSTOMFONT: Allow painting with halo 2013-03-29 00:43:14 +02:00
Ilari Liusvaara
ff8e220fb7 Merge branch 'rr1-maint'
Conflicts:
	include/lua/internal.hpp
2013-02-28 10:40:40 +02:00
Ilari Liusvaara
1295518041 More paint / reset fixes
- Refactor the code related to killing requests.
- Free the pins when destroying killed requests (otherwise memory will
  leak).
- Customfont texts have associated requests, so those need to be killed
  if the font goes away.
2013-02-28 10:36:57 +02:00
Ilari Liusvaara
236b9075d9 Merge branch 'rr1-maint'
Conflicts:
	include/core/framebuffer.hpp
2013-02-28 04:06:37 +02:00
Ilari Liusvaara
80c9dcee2d Fix crash with bitmaps and resetting Lua VM
Kill requests depending on bitmaps and palettes going away, to avoid
having the emulator crash if there is a request using those bitmaps
and palettes in flight while Lua VM is reset.

Noticed by FatRatKnight.
2013-02-28 04:03:01 +02:00
Ilari Liusvaara
5171900b43 Lua: Render queues as objects 2013-01-26 23:42:08 +02:00
Ilari Liusvaara
1f631a8ad0 Librarify screen rendering 2012-06-20 17:40:27 +03:00