summaryrefslogtreecommitdiff
path: root/Source/Android/src
AgeCommit message (Collapse)Author
2013-10-08[Android] Rephrase a comment in VideoSettingsFragment.java.Lioncash
2013-10-07[Android] Remove unnecessary equals comparison in VideoSettingsFragment.java ↵Lioncash
in function SupportsGLES3(). contains() can handle this situation.
2013-10-06[Android] Fix an issue where emulation would crash if we couldn't retrieve ↵Ryan Houdek
GPU information. Also if we can't get the graphics information, give them the benefit of the doubt and enable the GLES3 option.
2013-10-06[Android] Tegra 4 'support.' This brings up the OpenGL backend to support ↵Ryan Houdek
Tegra 4 to the point where it will run games but it doesn't have any video output for some reason. This is a large change that doesn't actually change much functionally. Walking through the changes. It changes the string in the Android backend select to just OpenGL ES. Adds a check in the Android code to check for Tegra 4 and to enable the option to select the OpenGL ES backend. Adds a DriverDetails bug under BUG_ISTEGRA as a blanket case of Tegra 4 support. The changes that effects most lines in this change. Removing all float suffixes in the pixel/vertex/util shaders since OpenGL ES 2 doesn't support float suffixes. Disables the shaders for reinterpreting the EFB format since Tegra 4 doesn't support integers. Changes GLFunctions.cpp to grab the correct Tegra extension functions. Readds the GLSL 1.2 'hacks' as GLSLES2 'hacks' since they are required for GLSL ES 2 Adds a GLSLES2 to the GLSL_VERSION enum. Disable the SamplerCache on Tegra since Tegra doesn't support samplers... Enable glBufferSubData on Tegra since it is the only mobile GPU to correctly work with it. Disable glDrawRangeElements on Tegra since it doesn't support it, This uses glDrawElements instead.
2013-10-02[Android] Make sure to change the title accordingly when coming back from ↵Lioncash
the folder browser.
2013-10-02[Android] Simplify LayoutInflater retrieval within GameListAdapter, ↵Lioncash
FolderBrowserAdapter, and SideMenuAdapter. Also added Javadoc to SideMenuAdapter. Gave the context variables a full spelling as well.
2013-10-02[Android] Simplify a string retrieval in FolderBrowserAdapter.Lioncash
Also remove an unnecessary import from EmulationActivity.java. This should have been removed in the previous commit.
2013-10-02[Android] Simplify call for getting the WindowManager instance within ↵Lioncash
EmulationActivity.
2013-10-02[Android] General documentation cleanup and additions. Adjusts the ↵Lioncash
documentation to conform to the multitude of changes that have been made over time. Very minor code changes were made as well (of which were mostly for formatting). Such as adding override annotations to methods from the Comparable interface, so that they are clearly marked as such.
2013-10-01[Android] Make the GameListFragment extend a ListFragment instead of a ↵Lioncash
Fragment. This allows us to simplify behavior a little by eliminating the need for an AdapterView. Now we just override "onListClick" and achieve the same result.
2013-10-01[Android] Externalize how the formatting is used in the file size string, ↵lioncash
the file clicked string, and the current dir string.
2013-10-01[Android] Remove an unnecessary method override from GameListActivity.java. ↵lioncash
We don't actually do anything different from the default behavior of this method, so we don't need to explicitly define it. This method is intended to be used for modifying the contents of a menu before displaying it. We don't really have a need for this, since it doesn't need to be modified.
2013-09-27[Android] Return true upon displaying the exit confirmations dialog in ↵Lioncash
EmulationActivity.java. Now multiple games can be launched like normal. Previously it was returning false.
2013-09-27Simplify SwitchPage() within GameListActivity.java. We no longer need the ↵Lioncash
first switch statement, since case 0 will be hit when SwitchPage(0) is called from the folder browser. This means we can also get rid of recreateFragment(), since the only time this needs to be called is within the onCreate() function. When SwitchPage(0) is called, SwitchPage will perform basically the same actions as recreateFragment() would; thus the reason it can be removed.
2013-09-26[Android] Remove commented out code within EmulationActivity.java. Since the ↵Lioncash
back button handling has a specific purpose, this is no longer needed.
2013-09-26[Android] Tiny inline documentation cleanup.Lioncash
2013-09-26[Android] Fix a situation within the FolderBrowser where the application ↵Lioncash
would crash. listFiles() returns null when either the File object it's called on isn't a directory or if an I/O error happens (in their infinite wisdom, they actually thought NOT throwing an exception was a cool way to handle this. How about that?). In the case of trying to access system directories as a normal user, an I/O error will occur due to permission access rights. This fixes that.
2013-09-23[Android] Move EmulationActivity.java and NativeGLSurfaceView.java into a ↵Lioncash
new sub-package called emulation. Now, all that's kept within the base package is the main class, the native calling class, etc.
2013-09-23[Android] Fix the ability to stop the game and start another.Ryan Houdek
2013-09-23Merge branch 'master' into android-core-controlRyan Houdek
2013-09-22[Android] Add in FSAA option.Ryan Houdek
2013-09-18[Android] Make the FolderBrowser extend a ListFragment instead of a regular ↵Lioncash
fragment. Lets us get rid of the need for an AdapterView.OnItemClickListener when handling list item clicks. Simplifies the implementation of the FolderBrowser a tiny bit.
2013-09-18[ANDROID] Add two new DriverDetails bugs for Adreno. V45 of the driver has ↵Ryan Houdek
broken shader compilation with UBOs in the shaders, this is most likely fixed with V53 found in the Nexus 5. Add a bug for issue surrounding on screentext and doing a glClear after swap causes screen swizzling and zero frames rendered respectively. On the Java side, pass in the dimensions of the screen swapped since there is an issue with Adreno where it rotates the output 90 degrees for some reason. Disable the GLSL shader cache on Android for now due to the inability to cleanly exit the emulator, this tends to cause the cache to get corrupted. All this together fixes rendering with Adreno 3xx GPUs with driver version v14 and above. In particular my Galaxy S4 still resets with this without the root commands, but my HTC Droid DNA and LG G2 is fine. This must be due to particular 'enhancements' that the Samsung kernel has over the other ones. The speed on Adreno has yet to be optimized, so it will most likely be slow still. Faster than the software rasterizer in any case. The ARMJIT is still broken in at this point, so not much fun can be had.
2013-09-18[Android] Use a simpler "startActivity()" call in DolphinEmulator.java. ↵Lioncash
Turns out the other one isn't 4.0 compatible, but actually only 4.1 and up. Also, in this case, we really don't actually care about the saved instance state bundle.
2013-09-16[Android] Make the AboutFragment extend the ListFragment, since this is ↵Lioncash
basically what this fragment acts as. Much more descriptive than simply extending Fragment. Also made the list non-clickable, since it isn't supposed to be interacted with.
2013-09-15[Android] No need to use startActivityForResult in DolphinEmulator.java any ↵Lioncash
more. Just some leftover stuff from the big refactor.
2013-09-15[Android] Fix the name of the parameters in some unused interface methods.Lioncash
There are some interface methods that are simply stubbed for the time being. It would be better to give the parameters better names despite not being used.
2013-09-14Move global User/Wii to Sys/WiiPierre Bourdon
2013-09-12[Android] Add a fastmem option to the cpu options, default disabled.Ryan Houdek
2013-09-10[Android] Android uppercases the name of the tabs in the settings by ↵lioncash
default. So we don't have to call ".toUpperCase" in the string returns in getPageTitle().
2013-09-10[Android] Give the exceptions in compareTo implementations in GameListItem ↵lioncash
and FolderBrowserItem some messages. If the exceptions ever actually get thrown, at least you're given a reason as to why the exception was thrown now. Also changed the exception type to NullPointerException. IllegalArgumentException is intended to be used for validating the parameters in constructors/methods.
2013-09-09[Android] Fix a bug where the video backend would not load correctly.Lioncash
2013-09-08[Android] Organize the list of allowed file extensions for the folder ↵Lioncash
browser and game list alphabetically. Keeps things nice and sorted.
2013-09-08[Android] Simplify some checks within the the folder browser in regards to ↵Lioncash
checking if a file is hidden or not. Also potentially fixed the case where items in the game list would not remain saved to the config.
2013-09-07[Android] Make the MotionAlertDialog private. This isn't needed to be ↵Lioncash
protected anymore. The only reason it was protected was for when the input settings were coupled as all hell to the GameListActivity (lol). Also documented the interface method within it.
2013-09-04[Android] Change a check for an empty path from !path.equals("") to ↵Lioncash
!path.isEmpty() in GameListItem. Also simplify the logging exception tag in the constructor.
2013-09-04[Android] Remove the compareTo implementation from SideMenuItem. We don't ↵Lioncash
perform any operations that require it.
2013-09-04[Android] Display the name of the control that is being bound in the input ↵Lioncash
settings. Makes the binding description more informative.
2013-09-04[Android] Change the exception logging in NativeLibrary to be an error ↵Lioncash
instead of a warning. Technically not having the required library should be regarded as an error, since the app won't even load without it. Also changed the logging tag in FolderBrowser.
2013-09-03[Android] Fix an accidental call to the wrong method in the superclass of ↵Lioncash
EmulationActivity. Should have been returning "super.onMenuItemSelected(itemId, item)" instead of "super.onOptionsItemSelected(item)".
2013-09-03[Android] Change the documentation of the FolderBrowser class. We don't show ↵Lioncash
invalid items anymore.
2013-09-02[Android] Fix the video settings from crashing the app. Was broke in the ↵Lioncash
commit "Removal of my terrible idea" https://code.google.com/p/dolphin-emu/source/detail?r=2897619ddbd3e3aae8427fc503647c65e770d466 Didn't comment out the line for that preference in the XML. This is disabled for now until the UI overlay for the buttons are implemented directly into the Java front-end.
2013-09-02Removal of my terrible idea.Ryan Houdek
2013-09-01[Android] Fix the last commit. On-screen control drawing wouldn't re-enable ↵Lioncash
upon flipping video backends.
2013-09-01[Android] On-screen controls work for Software Renderer, but not the OpenGL ↵Lioncash
ES 3 video backend yet. Enabled it for Software Rendering and disabled it for Open GL ES 3.
2013-09-01Merge branch 'master' of https://code.google.com/p/dolphin-emu into ↵Lioncash
android-core-control
2013-09-01[Android] Disable most video preferences if Software Rendering is chosen. ↵Lioncash
Since the software renderer and other renderers have little in common, it doesn't make sense to keep many of the video preferences enabled.
2013-09-01[Android] Add the option to show the on-screen FPS counter.Lioncash
2013-08-30[Android] Removed the unnecessary MainActivity generics declaration in the ↵Lioncash
DolphinEmulator class. It's unused (and likely won't be used).
2013-08-30[Android] Some various cleanups. Also make some class variables final.Lioncash
Localize some variables as well, and clean up an import.