SaschaWillems / opengles.gpuinfo.org

Web front-end for the OpenGL ES hardware capability database
GNU Affero General Public License v3.0
5 stars 4 forks source link

Use enum lookup table for compressed format #1

Open SaschaWillems opened 8 years ago

SaschaWillems commented 8 years ago

While the OpenGL database stores the OpenGL enums for compressed formats for a report, the OpenGL ES database generates unique IDs when inserting new formats and puts these behind a device report.

The enum approach is much better, the current approach causes problems for unknown formats that aren't present in the android app and has them inserted again with new unique IDs resulting in duplicate entries.