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

Fix the Android OpenGL About tab. #60

Merged
merged 1 commit into from
Feb 23, 2014

Conversation

Sonicadvance1
Copy link
Contributor

Move EGLHelper to be local to the creation of the about GL/GLES tabs so we don't have 3 EGL contexts running at a time.
Fix issues with OpenGL context creation here so we show the correct information.
This requires adding an EGL function to the NativeLibrary since Android's JAVA bindings don't expose eglBindAPI.

@delroth
Copy link
Member

delroth commented Feb 13, 2014

@lioncash care to review?

@lioncash
Copy link
Member

Will review it when I get home. Phone is being weird and I can't view
Github for whatever reason.
On Feb 13, 2014 4:26 PM, "Pierre Bourdon" notifications@github.com wrote:

@lioncash https://github.com/lioncash care to review?


Reply to this email directly or view it on GitHubhttps://github.com//pull/60#issuecomment-35027918
.

@lioncash
Copy link
Member

@Sonicadvance1 Does logcat say anything about context creation failing on rotation? Not saying this code causes it, just being extra finicky.

If it doesn't, then it looks fine to me.

@Sonicadvance1
Copy link
Contributor Author

It does complain, this probably does cause it. May have to look in to it.

@@ -262,6 +268,7 @@ private boolean detect()
private void create(int width, int height, int renderableType)
{
int[] attribs = {
EGL10.EGL_RENDERABLE_TYPE, renderableType,

This comment was marked as off-topic.

@lioncash
Copy link
Member

Looks good to me.

Move EGLHelper to be local to the creation of the about GL/GLES tabs so we don't have 3 EGL contexts running at a time.
Fix issues with OpenGL context creation here so we show the correct information.
This requires adding an EGL function to the NativeLibrary since Android's JAVA bindings don't expose eglBindAPI.
Sonicadvance1 added a commit that referenced this pull request Feb 23, 2014
@Sonicadvance1 Sonicadvance1 merged commit 60a5d89 into dolphin-emu:master Feb 23, 2014
Techjar pushed a commit to Techjar/dolphin that referenced this pull request Jan 30, 2022
Replace Backslash with forward-slash
ryanmcgrath pushed a commit to ryanmcgrath/dolphin that referenced this pull request Feb 6, 2024
brings us up to 22642cc0c360af9b10c53592249927f04ebb6832 (for the most part)

still needs playback fixed, adapter polling rate, and good config defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants