155 Commits

Author SHA1 Message Date
twinaphex
5a45464bb3 Revert "Reimplement video_driver_set_coords"
This reverts commit 93ded925d371253542ae9595dc0b57c8bb53591e.
2019-02-03 19:40:21 +01:00
twinaphex
43884758c5 Revert "(GL) Cleanups"
This reverts commit 5bab7e44605887aa5de62834860a411acb953093.
2019-02-03 19:40:15 +01:00
twinaphex
5bab7e4460 (GL) Cleanups 2019-02-03 18:38:18 +01:00
twinaphex
93ded925d3 Reimplement video_driver_set_coords 2019-02-03 18:29:00 +01:00
twinaphex
dd366cd5c5 Revert "Simplify set_coords"
This reverts commit e10eb51f718aff5e61cf3fa91d865ebe2e21767e.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71 Simplify set_coords 2019-02-03 18:03:07 +01:00
twinaphex
9aa542b1ae * Get rid of video_shader_driver_use
* Get rid of Nuklear - ozone/menu widgets is probably the replacement
for it - Zarch will go next
2019-02-03 04:37:54 +01:00
twinaphex
62bea6ad11 SOme header cleanups 2019-02-02 22:02:24 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +02:00
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
bfd815985f Rename function callback 2017-11-16 12:02:25 +01:00
twinaphex
229841b1c4 Create video_driver_set_coords 2017-11-14 21:43:13 +01:00
twinaphex
5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
twinaphex
faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex
4a7e8b03b2 Cache core context setting 2017-11-08 05:59:08 +01:00
Brad Parker
a153ed0b42 testing 2017-10-09 21:19:32 -04:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
f86f1b3e32 Simplify gl_raster_font_upload_atlas 2017-06-08 08:10:23 +02:00
twinaphex
aaf3c876eb gl_raster_font.c - Cleanups 2017-06-08 06:44:04 +02:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
Twinaphex
6e51153387 Revert "Cleanu gl_raster_font_render_line"
This reverts commit 45cf53b487c7b72667f58b9f1c1392c675c4f939.
2017-05-05 05:30:49 +02:00
twinaphex
45cf53b487 Cleanu gl_raster_font_render_line 2017-05-05 05:23:26 +02:00
twinaphex
46bae549ac Fix some coverity warnings 2017-04-29 19:22:44 +02:00
twinaphex
17827940fd Get rid of some if conditionals 2017-04-29 19:21:24 +02:00
twinaphex
632039f985 Cleanups 2017-04-25 13:28:42 +02:00
twinaphex
b6d34e9581 Cleanups 2017-04-25 13:27:40 +02:00
twinaphex
ffcb9d4a16 (gl_raster_font.c) Cleanups 2017-04-25 13:25:37 +02:00
twinaphex
03358b2ecd (gl_raster_font) Cleanup 2017-04-25 13:22:55 +02:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex
a42748f90f Get rid of more function invocations of video_driver_get_size 2017-01-19 16:40:20 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e8f8c08531c3661041d0ded9bfeca51.
2017-01-14 21:02:30 +01:00
twinaphex
b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex
20b5543420 (gl_raster_font.c) Cleanups 2017-01-10 21:43:45 +01:00
twinaphex
d20bdabc20 Cleanup gl_raster_font_render_msg 2017-01-10 21:37:45 +01:00
Twinaphex
faa8ddf413 Remove unused variables 2017-01-07 08:11:23 +01:00
Logan McNaughton
017d9cea9d This fixes the XMB menu for me
When using threaded video and shared context

Threaded video gets disabled for GL contexts, so you can't rely on the settings value
2017-01-05 12:53:55 -08:00
twinaphex
856d6b37be Turn video_shader_driver_set_coords into macro 2016-11-20 16:48:54 +01:00
twinaphex
ef610312e7 Turn video_shader_driver_set_mvp into macro 2016-11-20 16:45:06 +01:00
twinaphex
2deb306967 Turn video_shader_driver_use into macro 2016-11-20 16:31:45 +01:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
aliaspider
5d36ccc60e gl_raster_font: fix line height when drawing multiple lines. 2016-10-22 11:42:36 +01:00
Twinaphex
7050ecf287 Remove unneeded variables 2016-10-21 19:07:28 +02:00