Commit Graph

1067 Commits

Author SHA1 Message Date
twinaphex
3c5b7ba08e (Android) Call ALooper_pollOnce for command event queue once per frame -
seems to be enough
2012-12-16 05:52:39 +01:00
twinaphex
cf539edf91 (Android) android_input_poll now only reads and processes input
events - check_window polls for system messages once
2012-12-16 02:04:13 +01:00
twinaphex
dacab094f0 (RMenu) menu_loop renamed into rmenu_iterate - iterates menu code for one frame 2012-12-15 16:40:02 +01:00
Themaister
a570493672 Grab key events in xvideo as well. 2012-12-15 12:06:21 +01:00
Themaister
30fc796061 Grab Key events in X/EGL as well. 2012-12-15 12:00:57 +01:00
Themaister
6013a324c8 Use void* font context in VG. 2012-12-15 11:02:35 +01:00
twinaphex
875b6b6f2e (Xbox 1) Font cleanups 2012-12-15 07:16:02 +01:00
twinaphex
799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
twinaphex
0df739b86d (360) Build fix 2012-12-15 04:36:19 +01:00
twinaphex
566296068a (Xbox 1) Fix build 2012-12-15 03:59:31 +01:00
twinaphex
4864adc7b1 (XDK) Rewrote Xbox font code 2012-12-15 03:35:04 +01:00
twinaphex
f412a0cda0 (VG) Get rid of warning by casting void** 2012-12-15 03:05:32 +01:00
twinaphex
13b8c40c27 Remove null_fonts - bitmap fonts will always be the fallback
default now
2012-12-15 03:02:26 +01:00
twinaphex
d2683cc02a (Android) Fix build 2012-12-15 02:59:35 +01:00
twinaphex
a7a901962f (PS3) Works again on PS3 2012-12-15 00:17:43 +01:00
Themaister
beca1c44f3 Move all font stuff to gfx/fonts.
Rename stuff so griffin doesn't break.
2012-12-15 00:27:30 +01:00
Themaister
78e5d47a9b Rename to gl_raster_font to clearify. 2012-12-15 00:08:26 +01:00
Themaister
b239785038 Context-ize GL font rendering. 2012-12-15 00:07:31 +01:00
twinaphex
fcb31db218 (PSFont) Add PS Font renderer for font abstraction interface 2012-12-14 22:35:47 +01:00
twinaphex
a7206b02ab (Font API) Add scaling_factor and color to output struct 2012-12-14 21:52:14 +01:00
Toad King
278c2cca10 pre-scale bitmap fonts 2012-12-14 15:50:59 -05:00
Themaister
8501c404f6 Fix CXX_BUILD. 2012-12-14 22:33:04 +01:00
twinaphex
1538c45d5d (Font API) Change font_renderer_t returns and params to void* 2012-12-14 21:26:41 +01:00
ToadKing
9571402b85 Fix VG build 2012-12-14 14:42:18 -05:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
Toad King
c891bc353a fix VG compile 2012-12-14 14:33:00 -05:00
Themaister
66021d7ba0 Avoid name collision in griffin. 2012-12-14 20:39:14 +01:00
Themaister
7d4278a29b Add gfx/fonts/fonts.c. 2012-12-14 20:26:40 +01:00
Themaister
5700febb2c Refactor font renderering.
Virtualize for multiple backends, and name files more sanely.
2012-12-14 20:25:40 +01:00
twinaphex
e1918b2ba6 (Android) Rename g_android.input_state to g_extern.lifecycle_state
- intend to use this for RMenu as well
2012-12-14 02:06:14 +01:00
twinaphex
66180308e4 (Android) Remove android_get_sdk_version and change RMenu
mountpoints
2012-12-14 01:44:59 +01:00
twinaphex
707bcd483f (Android) Some patches for RMenu compatibility 2012-12-14 01:29:01 +01:00
twinaphex
5421fb8269 (Android) PERF_TEST no longer default 2012-12-13 23:09:28 +01:00
Toad King
7ae47fb860 make font bitmap static 2012-12-13 17:03:32 -05:00
Toad King
e75bdffdbf cleanup remaining font code
move font.bin and font.bmp used to generate binaryfont to gfx/fonts
2012-12-13 16:17:01 -05:00
Themaister
047637dc24 Don't segfault in font_renderer_free.
handle can be NULL.
2012-12-13 23:15:30 +01:00
Themaister
592cbdfda1 Reuse font deinit code. 2012-12-13 23:14:06 +01:00
Toad King
2209103248 (GX) redo video/RGUI code to use new font location 2012-12-13 16:12:51 -05:00
Toad King
59bc3d4ba7 add alternative font drawing for GL 2012-12-13 15:12:59 -05:00
Themaister
81e7ffe9a5 Don't use a particular bit depth in KMS. 2012-12-13 10:35:17 +01:00
notaz
ee112fc375 Manually define GL_BGRA_EXT if needed.
It's missing in imgtec/SGX headers for some reason.
2012-12-13 01:00:50 +02:00
notaz
d33cfef8bd Don't restrict EGL color component sizes.
This makes SGX530 work when using 16bpp framebuffer.
2012-12-13 01:00:50 +02:00
notaz
7237abcff2 Report EGL errors.
Fix a few warnings along the way.
2012-12-11 02:43:29 +02:00
Themaister
31ba3e251e Use correct PREV semantics. 2012-12-10 13:19:22 +01:00
Themaister
5424e06a09 Only increment to next frame if frame is non-NULL. 2012-12-10 13:05:56 +01:00
Themaister
bf4ffe714f Clarify use of gl->conv_buffer. 2012-12-08 13:38:48 +01:00
Themaister
671697a211 Move X11 keyboard event to x11_common.
TODO: Add to xegl and xvideo.
2012-12-08 13:35:07 +01:00
Themaister
5185524b46 Use common code for handling keysym translations. 2012-12-08 13:26:10 +01:00
Themaister
6709dcb274 Use XLookupKeysym instead. Add test.
XKeycodeToKeysym is deprecated.
2012-12-08 12:51:04 +01:00
Themaister
be0223b501 Use gl->conv_buffer instead of extra buffer. 2012-12-08 12:35:10 +01:00