How to Get Full Resolution

Started by AGP, June 24, 2014, 12:18:16 PM

Previous topic - Next topic

AGP

Even though I'm running my app on my Galaxy S4 (which should have a 1920x1080 resolution), onSurfaceChanged is giving me a 320x522 resolution, which does not look too great. Is there a way to tell mGLView to run at the device's full resolution? Is, perhaps, the S4 not full HD for 3D graphics (I doubt it)?

EgonOlsen

That depends on your manifest file settings. Have a look at the files that come with the examples. They should contain a section to make the device use its full resolution.

AGP

Cool, thanks. The following, taken from your HelloShader, did it:


<supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:anyDensity="true" />