Hans-Kristian Arntzen
3c5aec41a1
Merge pull request #72 from meancoot/master
...
Allow libretro core to receive keyboard input using events rather than polling.
2012-12-08 03:29:03 -08:00
meancoot
d236863d05
(Key Events) Sloppy, ascii only, X11 version.
2012-12-07 18:45:50 -05:00
meancoot
be1fdd419b
(Key Events) Add modifier flag argument; plus cleanup.
2012-12-07 03:18:18 -05:00
twinaphex
44b2343a9b
(Android) Move back to old reinit video context - meancoot - test
...
if this works for you
2012-12-05 19:53:57 +01:00
twinaphex
aab0ed8fce
(Android) Refactor check_window - store AConfiguration_getOrientation
...
return value in local variable and reuse this value from there
2012-12-05 06:43:00 +01:00
twinaphex
f81ee3be30
(Android) Refactor context restore and video orientation change
...
code - context restore only needs to restore video and not all
drivers
2012-12-05 06:31:24 +01:00
twinaphex
0dce6a6db6
(Android) Move video reinit code to EGL check_window function -
...
now properly resizes video after orientation change and restores
video context after minimizing and restoring
2012-12-05 06:17:45 +01:00
meancoot
e60bb1d168
Add RETRO_ENVIRONMENT_SET_KEYBOARD_CALLBACK. An interface for allowing keyboard event data to be sent to the core.
2012-11-25 20:23:31 -05:00
twinaphex
51f51d4a65
(XDK) Remove force_16bit
2012-11-20 23:54:35 +01:00
Themaister
28bb46483c
Drop video_force_16bit.
...
This option is silly now.
2012-11-20 23:23:18 +01:00
twinaphex
881e440ea6
(360) Add some FBO reiniting logic
2012-11-20 15:44:44 +01:00
twinaphex
eaf5041cd8
(Xbox 1) Build fixes
2012-11-20 06:39:35 +01:00
twinaphex
28c39a5beb
(XDK) Fixed viewport settings
2012-11-20 06:08:58 +01:00
twinaphex
1f74056286
(Xbox 1) Build fixes
2012-11-20 03:19:00 +01:00
twinaphex
a8b3d23184
(XDK D3D) Reinits textures now
2012-11-20 02:51:00 +01:00
twinaphex
9570e39744
(XDK D3D) Cleanups
2012-11-20 02:03:26 +01:00
twinaphex
cfc2fac31a
(XDK D3D) Split up device creation code to context file
2012-11-20 01:55:16 +01:00
twinaphex
5976f4c7b1
(XDK D3D) Split off texture init into separate function
2012-11-19 23:30:32 +01:00
twinaphex
ba2de00c8d
(XDK) Replace hardcoded 512 values with tex_w/tex_h
2012-11-19 19:57:25 +01:00
twinaphex
05b552e5a4
(Xbox 1) Build fixes
2012-11-19 05:00:38 +01:00
twinaphex
52f52bc253
(360) Build fixes
2012-11-19 04:46:48 +01:00
twinaphex
f0ebecfc32
(RMenu) Remove RMenu context files and use Gfx context files
...
instead
2012-11-19 04:09:16 +01:00
twinaphex
3bdfb3a011
(PS3/XDK) Get rid of redundant apply_fbo_state_changes function
2012-11-19 00:01:55 +01:00
Themaister
51f6cabc5f
Drop redundant functions in ps3 ctx.
2012-11-18 23:33:14 +01:00
twinaphex
d0be74d2e7
(PS3) Changing orientation and aspect ratio now no longer affects
...
the menu image
2012-11-18 23:29:27 +01:00
Themaister
dffbaff0b0
Use global vertexes_flipped.
2012-11-18 22:42:06 +01:00
twinaphex
8f821dd1d7
(PS3) Going to get rid of redundant apply fbo changes function -
...
non-FBO mode still broken
2012-11-18 22:02:29 +01:00
twinaphex
ce1de27b5a
(GL/PS3) Refactor FBO setting
2012-11-18 21:50:27 +01:00
twinaphex
85140492aa
(PS3) Fixup gfx_ctx_apply_fbo_state_changes + indenting fixes
2012-11-18 19:19:07 +01:00
ToadKing
1e6558d18d
[VC] log FPS to console
2012-11-15 19:08:24 -05:00
twinaphex
4a198a83a8
(PS3) Build fix
2012-11-15 00:57:43 +01:00
twinaphex
6d6c170f09
(Xbox 1) Set up for 32bit color now - just need a more elegant
...
way of automatically switching on 32bit/16bit color during init
instead of g_settings.video.color_format
2012-11-10 16:17:01 +01:00
twinaphex
5d315029ae
(360 Set 32bit color format - screen currently cut in half
2012-11-10 15:57:05 +01:00
twinaphex
e87477a75f
(360) Now supports RGB565
2012-11-10 14:32:15 +01:00
twinaphex
93f9316a9b
(Xbox 1) Build fixes
2012-11-10 13:46:24 +01:00
twinaphex
de4648a127
(Android) Possible context fix
2012-11-09 22:33:54 +01:00
twinaphex
48b0bc7f2d
(Android) Use eglGetError
2012-11-09 21:52:07 +01:00
twinaphex
acb4f63cfb
(Android) Build fix
2012-11-09 21:20:55 +01:00
twinaphex
eb5bb55754
(Android) Need to know return val
2012-11-09 20:47:17 +01:00
twinaphex
8ba727ab30
(Android) Build fix
2012-11-09 17:05:03 +01:00
twinaphex
0b6bbe04a3
(Android) Add log error messages for Android EGL context for debugging
2012-11-09 09:43:16 +01:00
twinaphex
610b54e3b2
(Android) Some initial context restoring in EGL context
2012-11-03 19:23:52 +01:00
twinaphex
0dbcdb087d
(Android) Rewrite of input code
2012-11-03 00:31:05 +01:00
twinaphex
02f81a38c2
(Android) Create input_state for Android app - can now signal that a window
...
was created, or that we want to shutdown
2012-11-02 22:27:22 +01:00
twinaphex
3837a503b7
(Android) Reimplement native glue code
2012-11-01 05:48:46 +01:00
OV2
eaa637aa4b
win32: report correct monitor size for regular fullscreen in wgl
2012-10-31 21:36:17 +01:00
twinaphex
4d99d93df0
(Android) remove Android save state for now - unused and will
...
probably reimplement it later
2012-10-31 18:10:38 +01:00
twinaphex
cbcffbb5cf
(Android) Get rid of unused width/height/animated in g_android struct
2012-10-31 17:12:45 +01:00
Themaister
dc4eaea7b4
Fix build derp.
2012-10-30 22:02:15 +01:00
Themaister
85b6437fdf
Add multi-monitor to D3D9.
...
Untested as I don't have multiple monitors.
Refactored slightly in WGL to make the code more uniform.
The multi-monitor support should probably be refactored to w32_common or
something similar.
2012-10-30 11:49:40 +01:00
twinaphex
b204b55386
(Android) Remove unnecessary animating conditional block in gfx_ctx_check_window
2012-10-30 06:36:38 +01:00
twinaphex
1ff6175bd2
(Android) Move polling for events into Android input driver instead
...
of EGL context check_window function
2012-10-30 06:20:49 +01:00
Themaister
be35179ec6
Explicitly cast string literal to avoid warning.
2012-10-26 23:04:36 +02:00
Themaister
bda505c95b
Set WM_CLASS in X11.
2012-10-26 23:01:32 +02:00
twinaphex
cfdfcd4b8e
(Android) Speed optimization
2012-10-25 20:58:05 +02:00
Themaister
c2674328ec
Fix broken CRLF, and minor fixes for VC12.
2012-10-24 17:19:37 +02:00
Twinaphex512
53868033b7
(MSVC 2012) Initial MSVC 2012 solution
...
Just need to sort out the linking errors - we'll need to create a
Direct3D driver that is not external for PC and do away with the
'external' one which is really an unacceptable extra dependency for such
a popular graphics API. Also, look if the WGL context file will even
work. Added some TODOs too.
2012-10-24 15:48:44 +02:00
Themaister
204a879380
Report if true fullscreen fails on X11.
2012-10-23 23:17:56 +02:00
OV2
a97acbddb1
win32: ignore f10 and alt key presses
2012-10-22 21:27:49 +02:00
twinaphex
9bc0f382ab
(PS3/RMenu) refactored HAVE_CG_MENU out of existence - now
...
replaced with HAVE_RMENU - menu code has been moved over to
PS3 context file
2012-10-22 06:12:12 +02:00
twinaphex
f37095e994
(PS3) 16bit textures work correctly now - the 'blending' done
...
on consoles (PS3/Wii) for the ingame menu needs to be done in
software rendering - will also help with RMenu for PC
2012-10-22 03:56:28 +02:00
Themaister
a79ca54bc7
Fix CXX_BUILD.
2012-10-21 23:24:25 +02:00
twinaphex
84abbe110b
Merge branch 'rgb565' of https://github.com/Themaister/RetroArch into rgb565
2012-10-21 22:11:30 +02:00
twinaphex
3342bd4ec6
(Android) Teardown more or less works correctly now - have to do
...
exit() at the end because of the way dynamic libraries stay in
memory and can't be purged - so static variables retain their
state (ie. previous values from the previous session) - see
https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/XDO-Rar3ptY
http://comments.gmane.org/gmane.comp.handhelds.android.ndk/11500
2012-10-21 19:56:36 +02:00
twinaphex
702f99b80e
(Android) Some teardown refinements
2012-10-21 17:38:47 +02:00
twinaphex
9b6425c1da
(Android) Use DetachCurrentThread - first stab at setting up clean
...
deiniting
2012-10-21 17:30:02 +02:00
twinaphex
647fd0abf0
(Android) Not sure if we have to do this 'event loop' in gfx_ctx_check_window
...
- make it sample one frame of events and that is it - also comment out
accelerometer stuff for now
2012-10-21 16:37:15 +02:00
Themaister
b6576e91ca
Merge branch 'master' of git://github.com/Themaister/RetroArch
2012-10-20 22:46:19 +01:00
Themaister
5a4caf1c51
Fix build on VC.
...
Conflicts:
gfx/gl_common.h
2012-10-20 23:46:09 +02:00
Themaister
2145d1c4e2
Use RGB565 in VC context.
2012-10-20 21:55:58 +01:00
Themaister
283d17284b
Do not use assert() as error handling.
2012-10-20 22:39:46 +02:00
Themaister
653cbf1baa
Enforce static on globals that aren't used outside.
2012-10-20 22:36:43 +02:00
Toad King
c7dad59402
Add EGLImage support to GL driver.
...
On videocore, uploading image textures using OpenVG instead of OpenGL ES saves us about 4.5 milliseconds per frame.
2012-10-19 23:08:53 -04:00
Toad King
faf1b47d61
VideoCore EGLImage, still needs EGLImage support in GL driver
2012-10-19 21:24:28 -04:00
Toad King
301848e037
compile fix
2012-10-18 19:09:16 -04:00
Toad King
86fb0984d2
beginning framework for EGLImage support, added (untested) example to OpenVG
2012-10-18 19:00:25 -04:00
Themaister
8da0fd6f6d
Drop another call to glClearColor.
2012-10-17 21:35:40 +02:00
twinaphex
90d5913faa
(Android) Add optional fps logging
2012-10-16 17:18:10 +02:00
twinaphex
303c4968f2
(Android) Get rid of extra swap buffers call
2012-10-16 16:23:55 +02:00
twinaphex
3cf0e3c984
(Android) Cleanups in context file - do away with everything related
...
to RARCH_CONSOLE
2012-10-16 14:43:34 +02:00
twinaphex
5977ab5be1
(Android) Implement gfx_ctx_get_video_size
2012-10-16 14:31:18 +02:00
twinaphex
5e85906f94
(Android) Comment out accelerometer logging for now - so that we
...
don't spam the logger
2012-10-16 13:27:49 +02:00
twinaphex
7bdd81b0bb
(Android) Seems to run now (with GLES 2 forced) - but just shows
...
black right now
2012-10-16 13:15:11 +02:00
twinaphex
ff914dd862
(Android) Set up RetroArch for real (Android is retarded in that it
...
only allows us to use dlopen on shared libs that are in the app's
'lib' folder - 'security' concerns and all
2012-10-16 12:49:56 +02:00
twinaphex
ee1194d19a
(Android EGL) don't needlessly set up GL state after gfx_ctx_init
2012-10-15 19:37:18 +02:00
twinaphex
8ac8b16d34
(Android) Use EGL context file
2012-10-15 19:33:57 +02:00
twinaphex
d30d345d84
(Android) Cleanups - remove unneeded gfx_ctx_set_window/gfx_ctx_free_window
2012-10-15 19:15:09 +02:00
twinaphex
f52d7f462e
(360) Build fixes
2012-10-15 07:22:20 +02:00
twinaphex
a7a7671ac0
(Xbox 1) Build fixes
2012-10-15 07:00:58 +02:00
twinaphex
174c7d9d98
(RARCH_CONSOLE) g_console struct removed now - console settings
...
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
twinaphex
96f5c78304
(Android) removed bifrost.c - made libretroarch.so now a native
...
activity
2012-10-14 03:37:08 +02:00
twinaphex
73194640a0
Revert "(Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,"
...
This reverts commit ad27bedcb4
.
2012-10-14 01:49:15 +02:00
twinaphex
ad27bedcb4
(Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,
...
and the RetroArch program itself will be a native activity
2012-10-14 00:56:50 +02:00
Themaister
6fd1940741
Fix screensaver appearing in fullscreen.
2012-10-13 19:53:04 +02:00
Themaister
a0e6db636f
Set window icon in X11.
2012-10-13 12:51:37 +02:00
Themaister
89cf228c30
Use monitor index setting.
2012-10-12 21:18:24 +02:00
Themaister
f223c62fc8
Merge git://github.com/OV2/RetroArch
2012-10-12 21:16:19 +02:00
Themaister
f6d8902462
Add monitor selection option.
2012-10-12 21:15:58 +02:00
Themaister
9208663c53
Add basic Xinerama support to X11.
2012-10-12 19:58:54 +02:00
OV2
1aef7faacb
win32: selectable monitor in wgl context
2012-10-12 19:39:55 +02:00