Disable limitedNPOT on OpenGL ES

Review Request #126941 - Created Feb. 1, 2016 and discarded

Martin Flöser
Hardware like the ATI R300 announce support OpenGL ES, but KWin
disallows to run it with OpenGL ES, because we detect it has limited
NPOT support. This is true, but the check doesn't make much sense in
an OpenGL ES world.

An example debug output from affected sytem:

OpenGL vendor string:                   X.Org R300 Project
OpenGL renderer string:                 Gallium 0.4 on ATI RV530
OpenGL version string:                  OpenGL ES 2.0 Mesa 11.0.2
OpenGL shading language version string: OpenGL ES GLSL ES 1.0.16
Driver:                                 R300G
GPU class:                              R500
OpenGL version:                         2.0
GLSL version:                           1.0.16
Mesa version:                           11.0.2
X server version:                       1.17.2
Linux kernel version:                   4.2
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   limited
Virtual Machine:                        no
libkwinglutils: Shaders are not supported

This change handles limited NPOT similar to limited GLSL: on GLES
it just doesn't exist.

User with such a system tested it for me.

Thomas Lübking
Fredrik Höglund
Martin Flöser
Review request changed

Status: Discarded