X Tutup
Skip to content

IOS7: Various fixes#6368

Merged
larsamannen merged 2 commits intoscummvm:masterfrom
larsamannen:ls_opengles3_ctx
Dec 28, 2024
Merged

IOS7: Various fixes#6368
larsamannen merged 2 commits intoscummvm:masterfrom
larsamannen:ls_opengles3_ctx

Conversation

@larsamannen
Copy link
Contributor

More nice features was enabled for OpenGL ES 3.0 (commited in 2555629)

Many of the newer iOS devices supports OpenGL ES 3.0. Fallback to OpenGL ES 2.0 if not available.
This also enables more shaders in the iOS port which was requested by users.

Also, log to console when debugger is attached.

The OpenGL ES version support is decided by the device hardware
processors, (PowerVR SGX graphics processors).
Most older devices support OpenGL ES 2.0 as documented here:
https://developer.apple.com/library/archive/documentation/OpenGLES/Conceptual/OpenGLESHardwarePlatformGuide_iOS/OpenGLESPlatforms/OpenGLESPlatforms.html

OpenGL ES 2.0 is the baseline profile for iOS devices while
support for OpenGL ES 3.0 was added in iOS 7 and later.

Devices supporting OpenGL ES 3.0 is listed here (plus the newer
devices than listed, Apple doesn't update the list for every new
device):
https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/HardwareGPUInformation/HardwareGPUInformation.html#//apple_ref/doc/uid/TP40013599-CH106-SW1
When the device is attached to the debugger console in Xcode it is
more convenient to get the logs in the console than in a log file.
@larsamannen larsamannen requested a review from criezy December 27, 2024 16:15
@larsamannen larsamannen merged commit 018a1db into scummvm:master Dec 28, 2024
@larsamannen larsamannen deleted the ls_opengles3_ctx branch December 28, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup