Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand the Android app's about menu to include additional info about a user's device. #4

Merged
merged 9 commits into from Jan 28, 2014

Conversation

lioncash
Copy link
Member

No description provided.

lioncash and others added 9 commits January 7, 2014 19:47
Most fragments are not implemented yet. This is just a working base framework for it.
… simplify all interop with the EGL/GL APIs. Not hooked up yet. However it is entirely functional.
…display/hide it's fragment based upon this in AboutActivity.java.

Also added another constructor to EGLHelper which can be used to quickly query for information.
…S3 tabs.

There is a /lot/ of information in these tabs, we may have to think about changing how the information looks
OpenGL isn't done yet since there are a million limits on desktop GL, may just show a few things and extensions there.
Since showing every single limit that desktop OGL supports is crazy, Let's just show the basic information, and extensions.
… list of cleaned up things:

- Spaces -> Tabs | Consistency
- Javadoc everything that was added and not documented.
- Remove duplicated code regarding the adapter that used to reside in DolphinInfoFragment.java. Now it resides in AboutActivity.java without a second duplication of it.
- Properly retrieve all of the contexts in the EGL initialization in EGLHelper.java.
- Remove the attribute EGL_RENDERABLE_TYPE from the pbuffersurface attributes in EGLHelper.java. With this present, the EGL context will always fail to reinitialize if destroyed and attempted to be recreated.
- Break the inner class Limit within GLES2InfoFragment.java, GLES3InfoFragment.java, and GLInfoFragment.java into its own single class. Greatly reduces code duplication.
- Introduce a Type enum into Limit.java (one of the wildly rare cases in Java where an enum is actually an OK solution). Removes duplicated constants from the Java files stated in the previous bullet note.
- Add a copyright comment to the top of EGLHelper.java. Forgot to do this initially, my bad.
- Add some missing override annotations to GLES2InfoFragment.java, GLES3InfoFragment.java, and GLInfoFragment.java.
- Use StringBuilders in the previously mentioned three Java files. This is better than using a String in this instance, as the String object won't have to be recreated multiple times (ala concatenation).
- Fix some constant accessors in the previously mentioned three Java files.
- Added the 'final' modifier to the above three classes and to Limit.java. These classes serve a single purpose only, and are not intended to be inherited.
….java. Not needed anymore since the introduction of the EGLHelper class. Also decouples some classes from the VideoSettingsFragment.java class (yay).

- Minor other change is that the EGL helper fields in GLES3InfoFragment.java, GLES2InfoFragment.java, and GLInfoFragment.java are made final.
The info we retrieve will only ever have 2 elements given back to us.
ARM only at the moment. Could potentially support x86 and MIPS if necessary.
Capable of parsing the manufacturer codes and part IDs of some (but not all part numbers). If anyone knows of part numbers that aren't in the list, please report them.
@Sonicadvance1
Copy link
Contributor

+1 Reviewed it in the last merge request.

neobrain added a commit that referenced this pull request Jan 28, 2014
Expand the Android app's about menu to include additional info about a user's device.
@neobrain neobrain merged commit 7b459d2 into dolphin-emu:master Jan 28, 2014
@lioncash lioncash deleted the android-about-menu-info branch January 28, 2014 23:19
delroth referenced this pull request Jul 12, 2014
Make the emulation stop asynchronous to prevent deadlocks.
JeremyRand pushed a commit to JeremyRand/dolphin that referenced this pull request Apr 1, 2015
OrN added a commit to OrN/dolphin that referenced this pull request May 4, 2015
@ligfx ligfx mentioned this pull request Jul 19, 2017
orbea pushed a commit to orbea/dolphin that referenced this pull request Aug 25, 2017
Libretro android core wont compile with gcc, so force clang.
@ghost ghost mentioned this pull request Feb 11, 2021
FaultyPine referenced this pull request in FaultyPine/dolphin Jan 29, 2022
everything is happening when it should (i think). Just need to optimize savestates, handle random seeds, and fix a few edge cases
rapito pushed a commit to rapito/dolphin that referenced this pull request Sep 16, 2022
Sintendo added a commit to Sintendo/dolphin that referenced this pull request Nov 2, 2022
ARM64's flexible shifting of input registers also allows us to calculate
a negative power of two in one instruction; shift the input of a NEG
instruction.

Before:
0x128001f7   mov    w23, #-0x10
0x1b1a7efa   mul    w26, w23, w26
0x93407f58   sxtw   x24, w26

After:
0x4b1a13fa   neg    w26, w26, lsl dolphin-emu#4
0x93407f58   sxtw   x24, w26
EndangeredNayla pushed a commit to EndangeredNayla/dolphin that referenced this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants