summaryrefslogtreecommitdiffstats
path: root/src/runtime/q3dsgraphicslimits_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Move max lights per layer into gfxlimitsLaszlo Agocs2018-05-251-0/+1
| | | | | Change-Id: Ic6689db4c1934d429a0ce7c6147e10787455a679 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* drop the uniformbuffer flag from gfxlimits since this is == gles2Laszlo Agocs2018-05-251-1/+0
| | | | | | | | | Toggling it on its own is disfunctional since it depends on the gles2 variants of the shader snippets. Therefore it is better to just drop it and use the main useGles2Path flag instead. Change-Id: I0a593fff0bf17ee3887b84dcd74bfb4d130cbadd Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Unify choosing the crippled GLES2 path behind a central flagLaszlo Agocs2018-05-251-0/+1
| | | | | | | ...in the graphics limits. Change-Id: Ice208269e06a149b06048a74150e01628cdd2906 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Make sure GL feature checks are not accidentally left trueLaszlo Agocs2018-05-231-4/+4
| | | | | Change-Id: Ibd4d8751d82690f2856b651203b48b44e714cfa8 Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Check for GL_EXT_texture_norm16 on GLESLaszlo Agocs2018-05-231-0/+1
| | | | | | | | Since GL_R16 is not available otherwise. Fall back to GL_R8 then which leads to worse looking results. Change-Id: I44adeac1940e0c085947547d2ccbc36ef5c9e75a Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Add opengl es 2 supportMäättä Antti2018-04-191-0/+5
| | | | | | | Adds effectlib changes from 1.1 runtime. Change-Id: I1314974d03af37d0c8d78c5832812915e1d45884 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Shuffle around Q3DSGraphicsLimits usageLaszlo Agocs2018-04-101-0/+8
| | | | | | | | | Drop QOpenGLContext usage here and there in the runtime code. Also allows autotests to see if the proper versioned context creation was functioning and allows simplifying the checks in shared.h. Change-Id: I6861165d92c36e2cf7f7e56cf0004f624fbbd83c Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Make (almost) everything privateLaszlo Agocs2018-02-011-0/+60
Change-Id: Iecb4f6bacd2e142ebf449432cdb39836332833bb Reviewed-by: Andy Nichols <andy.nichols@qt.io>