Author Topic: How to Get Full Resolution  (Read 1799 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
How to Get Full Resolution
« on: June 24, 2014, 12:18:16 pm »
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)?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: How to Get Full Resolution
« Reply #1 on: June 24, 2014, 02:35:15 pm »
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.

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: How to Get Full Resolution
« Reply #2 on: June 24, 2014, 07:46:18 pm »
Cool, thanks. The following, taken from your HelloShader, did it:

Code: [Select]
<supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:anyDensity="true" />