8743 Commits

Author SHA1 Message Date
Themaister
7b8dc09d57 Pass a dummy affine transform for android camera. 2013-11-18 09:32:29 +01:00
Themaister
adb0b4dfbe Fix ifdef for pushing early to history. 2013-11-18 09:27:51 +01:00
twinaphex
c4f389fdb4 (Android) Camera - android_camera_stop - free GL texture 2013-11-18 03:56:22 +01:00
ToadKing
104dafe53f [Android] fill in camera stub functions - needs testing, probably doesn't work yet 2013-11-17 21:48:49 -05:00
twinaphex
60fb0d3398 (RMenu) Simpler background menu 2013-11-18 03:44:45 +01:00
twinaphex
58d8079704 (Menu) Check if driver.video->restart is bound first 2013-11-18 03:25:50 +01:00
twinaphex
2fab149ae4 (RMenu Disp) Correctly frees and reinitializes RMenu texture asset 2013-11-18 03:23:32 +01:00
twinaphex
275789d99f (HAVE_OSK/Xbox 1/PS3) Add Xbox 1/PS3/HAVE_OSK-specific additions
to settings
2013-11-18 02:57:31 +01:00
twinaphex
8b561a315e (Android) Camera - add FIXMEs 2013-11-18 02:06:27 +01:00
twinaphex
0381cf1ffe (Android) Camera - caps passed to int should contain
RETRO_CAMERA_BUFFER_OPENGL_TEXTURE
2013-11-18 01:55:22 +01:00
twinaphex
1e4e0544bf (Android) Cache JNI environment/pointer to RetroActivity class
inside camera struct - attach thread at init function and detach
thread at free function
2013-11-18 01:47:51 +01:00
Squarepusher
bc17af7ac2 Merge pull request #391 from lioncash/master
[Android] Fix a logging message in GPLWaiverDialogFragment.
2013-11-17 16:25:22 -08:00
Lioncash
4562f865b8 [Android] Fix a logging message in GPLWaiverDialogFragment. Thanks to Alcaro for pointing it out. 2013-11-17 19:23:41 -05:00
twinaphex
56a2b03e21 (Android) Input - Don't call AInputQueue_hasEvents on first iteration - it can return 0 even if events are queued up - leading to congestion issues 2013-11-18 01:21:26 +01:00
Squarepusher
0c5f375d8c Merge pull request #390 from lioncash/master
[Android] Separate the GPL waiver code into its own DialogFragment.
2013-11-17 16:03:23 -08:00
Lioncash
e33c219b10 [Android] Separate the GPL waiver code into its own DialogFragment. 2013-11-17 18:52:41 -05:00
twinaphex
0c54da42e3 (Android JNI) jni_params - now also takes a submethod_name/submethod_signature 2013-11-18 00:52:26 +01:00
twinaphex
43b513b86b (Camera) Cleanup Android camera driver 2013-11-18 00:31:06 +01:00
twinaphex
51891483c4 (Android) Stub android camera C driver - will interface with JNI
functions
2013-11-18 00:28:27 +01:00
twinaphex
ee35e5382f (Griffin) Add Emscripten includes - in case Emscripten will ever
support Griffin
2013-11-17 23:21:40 +01:00
twinaphex
ef3040a78b (Android) Add CAMERA permission 2013-11-17 23:02:06 +01:00
twinaphex
46d2c31cd8 (RGL PS3) rglDeallocateBuffer - turn into macro 2013-11-17 22:58:01 +01:00
ToadKing
b22842ede2 [Android] more additions to the camera activity 2013-11-17 16:45:52 -05:00
twinaphex
ccb81396e6 (RGL PS3) GCM_FUNC no longer being used in rgl_ps3.cpp 2013-11-17 22:39:40 +01:00
Squarepusher
5c441a89c6 Merge pull request #389 from lioncash/master
[Android] More documentation of DirectoryFragment.
2013-11-17 13:26:36 -08:00
Lioncash
089d1a7c50 [Android] More documentation of DirectoryFragment. 2013-11-17 16:22:40 -05:00
twinaphex
014c1fff44 (RGL PS3) Make macro wrapper around cellGcmFlush 2013-11-17 22:12:45 +01:00
twinaphex
bad7671159 (Android) Stub camera functions in Java 2013-11-17 21:34:07 +01:00
twinaphex
09f5037ca6 (RGL PS3) Turn into do { } while 2013-11-17 21:14:02 +01:00
twinaphex
920d46323f (RGL PS3) Don't use CPU sleep anymore 2013-11-17 21:07:04 +01:00
twinaphex
dfddb4a530 (RGL PS3) Simplify gmmAlloc 2013-11-17 20:47:46 +01:00
twinaphex
de1bae69c9 (Android) Add skeleton camera driver 2013-11-17 19:47:37 +01:00
twinaphex
ba250d1ca5 (PS3 RGL) Simplify gmmAlloc 2013-11-17 19:14:52 +01:00
twinaphex
1c6a0642d6 (PS3 RGL) Pallocator - change size to only one GmmAllocator 2013-11-17 18:29:51 +01:00
twinaphex
2ee221e7c6 (RGL PS3) No more GCM_FUNC calls inside rgl_ps3_raster.cpp 2013-11-17 16:23:48 +01:00
Squarepusher
edb4ec6509 Merge pull request #388 from lioncash/master
[Android] UI revamp/decoupling.
2013-11-17 04:29:39 -08:00
Lioncash
8777d958dc [Android] Cache the context in MainMenuFragment. Makes things look nicer, also gets rid of a few variable declarations. 2013-11-17 03:37:04 -05:00
Lioncash
26e9bef7ac [Android] Simplify the setting of the AlertDialog in function detectDevice. setMessage allows setting the message through just the message string ID. 2013-11-17 03:28:19 -05:00
Lioncash
4368467977 [Android] Finish the RetroTVMode activity when it launches the activity within its onCreate. Avoids a blank view when the launched activity finishes. 2013-11-17 03:08:23 -05:00
Lioncash
4b79284064 {Android] Fix a string's casing and structure. 2013-11-17 02:55:12 -05:00
Lioncash
114cf4e926 [Android] Initial huge underlying UI update:
- The UI is now mostly Fragment-centric (finally!)
- The Load Core, Load Game, Load Game (History) are now DialogFragments.
- The directory activities are killed off and consolidated into one fragment named DirectoryFragment.

DirectoryFragment is now a self-contained instantiable DirectoryFragment that can be instantiated anywhere by doing roughly the following.

DirectorFragment dFrag = DirectoryFragment.newInstance(/* Resource ID for a string title here*/);
dFrag.show(getFragmentManager(), "tag");

There are also other methods that were modified within the DirectoryFragment, such as addAllowedExt and disAllowedExt being changed to support a variable amount of arguments. This way, multiple calls of the same function aren't necessary in the case of adding multiple extensions, as well as supporting the case where only one extension is added.

DirectoryFragment also has a new interface added to it called OnDirectoryFragmentClosedListener. Say you have a DirectoryFragment instance, but want to use the selected item's path for something *after* the dialog has closed, with this interface, it is now possible. Just implement this interface within an Activity or Fragment, and then set the DirectoryFragment to use the listener through setOnDirectoryFragmentClosedListener() method.

Now what happens if this isn't set, wouldn't it be pointless to even use a DirectoryFragment in this case?
Not necessarily. What if you only wanted to save the selected item into the applications SharedPreferences?
This is a situation where it would be unnecessary to need that interface. So, to make a DirectoryFragment.java for the sole purpose of saving a selected directory/file path to the SharedPreferences, you would do this:

DirectoryFragment dFrag = DirectoryFragment.newInstance(/* Resource ID to a string title here*/);
dFrag.setPathSettingKey("key to store value in SharedPreferences at");
dFrag.show(getFragmentManager(), "tag");

Outside of these major changes, large portions of the code outside of this were simplified.
2013-11-17 02:37:33 -05:00
twinaphex
7167ccb5b9 (RGL PS3) Replace more GCM_FUNC entries 2013-11-17 04:57:19 +01:00
twinaphex
41a65eb32a (PS3 RGL) Replace more GCM_FUNC calls 2013-11-17 00:49:34 +01:00
twinaphex
5312ac8c29 (PS3 RGL) Don't call cellGcmSetAntialiasingControl 2013-11-16 20:50:32 +01:00
twinaphex
1850428ef6 (RGL PS3) Using namespace cell::Gcm can go now 2013-11-16 18:01:30 +01:00
Themaister
271939875a Update libretro camera API.
Need initialized/deinitialized callbacks to properly
handle driver reinit.
2013-11-16 17:54:18 +01:00
twinaphex
5c89e9106a (RGL PS3) Turn rglGcmFifo into a struct instead of a C++-style struct
(ie. class)
2013-11-16 17:48:11 +01:00
Themaister
28e9ce7d30 Clear out camera/ on make clean. 2013-11-16 17:31:49 +01:00
Themaister
6d6e964672 Fixup CXX_BUILD.
Cleans lots of sign-related warnings as well.
2013-11-16 17:31:49 +01:00
Themaister
a824952dec Some V4L2 cleanups.
Avoids global state for buffers, and make processing loop a bit simpler.
2013-11-16 17:31:49 +01:00