Commit Graph

36 Commits

Author SHA1 Message Date
Deve
6a03f147f6 Add a possibility to use ubo on gles.
Disabled by default on android, because it's been tested on only one device and it's a bit slower in most cases.
2017-08-22 00:02:34 +02:00
Deve
d44802a482 Add a workaround for some qualcomm devices on android 4.4 2017-07-11 00:37:31 +02:00
Deve
40e326bb41 Avoid using fixed pipeline on newer intel graphics cards.
The force legacy device graphics restriction is needed for ironlake graphics cards. But newer generations in pentium/celeron processors also are named just "Intel(R) HD Graphics" without any number.

The newest drivers for ironlake graphics card is 8.15 and it's unlikely that it will get an update. So assume that all drivers older than 9.x are ironlake generation or that are too old to run STK anyway.
2017-02-17 21:23:22 +01:00
Deve
5cdcf39583 Add intel HD2000 to graphics restrictions.
It's just slower HD3000 version, so disable the same features for it.
2017-02-17 19:50:50 +01:00
Deve
ab8a68f295 Enable HD textures on newer intel graphics cards.
It should work fine for intel HD4000 and newer, especially after recent memory management improvements in STK.
2017-02-17 19:44:28 +01:00
Benau
269b1b5cb9 Add restriction for intel hd4600 on windows about compute shader
Fix #1916
2017-02-17 13:52:50 +08:00
Deve
278ef781bf GLES: Make sure that we are using fixed pipeline when force legacy device is set in graphics restrictions.
It is generally safe for GLES drivers. The driver often reports OpenGL ES 3.1 or 3.0 support even though we request only GLES 2.0. But we can still use GLES 2.0 / GLSL 1.0 functions on GLES 3.x context, so it shouldn't cause any issues.

I also added Android Emulator to graphics restrictions.
2016-12-29 16:01:46 +01:00
Deve
7e4dfdb97e Remove version from graphics restrictions for sRGB-capable visual workaround.
It doesn't look that they're going to fix it soon.
2016-11-11 16:22:31 +01:00
Deve
852cc068d3 Restore SSAO on linux with GLES renderer. 2016-09-17 03:55:50 +02:00
Deve
d05cff09c8 Add a graphics restriction for BGRA format on android.
It causes issues with particles transparency.
2016-09-17 03:55:50 +02:00
Deve
d5fe015ba7 Fixed typo in previous commit. 2016-08-20 08:35:08 +02:00
Deve
a001505abd Set ForceLegacyDevice for intel ironlake and for old radeon drivers.
This hopefully will allow to run STK with these graphics cards and drivers.
2016-08-20 08:13:17 +02:00
qwertychouskie
c17070209d Fix warning for cards without "Radeon" in string (#2523) 2016-06-21 19:38:44 -04:00
Deve
edfc7d285c Fixed shadows and GI for mesa drivers.
The check for GL_ARB_geometry_shader4 doesn't have sense at all because we don't use this extension and our geometry shaders use functionality which is available in core OpenGL 3.2.

The reason that it wasn't working for older mesa versions must be a bug in mesa or maybe missing other functionality (but not GL_ARB_geometry_shader4).

I checked it with mesa 11.2 and current git version and it works fine on intel, nouveau and with software rendering.

It needs some testing because it potentially affects all drivers with OpenGL >= 3.2 on every platform.

If someone could test it with Radeon drivers, I would be really happy to enable it in upcoming release, at least on linux.
2016-05-18 22:19:31 +02:00
Deve
d989ae1d4a Update graphics restrictions for mesa:
- Increase version for sRGB-capable visual workaround because it doesn't look that it will be fixed anytime soon
- Enable compute shaders because it works fine now
- Enable texture compression because it works now too.

Texture compression for intel should work fine also for older versions, but it's hard to say which one version is the first working one.
2016-05-03 21:48:21 +02:00
Deve
5020f3ca2e Disable compute shader for intel on mesa for now, because it is shaking for some reason. 2015-12-20 13:46:41 +01:00
Deve
80d36208f1 Added ugly hack, which forces srgb-capable framebuffer creation for intel drivers on linux 2015-12-11 19:18:14 +01:00
hiker
eacd599b93 Removed version number warning for Radeon cards on osx (since they
have completely different version numbers).
2015-04-27 09:04:16 +10:00
Deve
a4536d7752 Disable texture compression for mesa. 2015-04-08 22:20:04 +02:00
hiker
f56fc91d42 Fix #1793 by disabling global illumination on osx with intel
graphics cards.
2015-02-19 16:21:37 +11:00
hiker
5f9e4086af Fixed #1476 (well, better a work around intel bugs). 2015-02-19 09:24:23 +11:00
Vincent Lejeune
831c1e7285 Duplicate rule for gallium 2015-02-02 00:42:16 +01:00
Vincent Lejeune
9dcdd53425 Add advanced pipeline GR to hd3000 2015-01-23 01:00:05 +01:00
hiker
aab8066611 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-01-21 09:17:14 +11:00
hiker
678eeac836 Disable highdef textures on intel cards on windows. 2015-01-21 09:15:41 +11:00
Vincent Lejeune
788732993f Add pop up for Mesa < 10.3 2015-01-20 22:50:39 +01:00
Vincent Lejeune
d35e4d3e7c Use radeon instead of AMD for graphic restriction 2015-01-20 02:08:46 +01:00
Vincent Lejeune
4d9835df0d And on all os 2015-01-19 00:48:02 +01:00
Vincent Lejeune
8e221df753 Ask newer driver if catalyst below 14.4 2015-01-19 00:46:12 +01:00
Vincent Lejeune
95cb413e39 Remove comment in graphic restriction 2015-01-19 00:43:48 +01:00
hiker
234d59a5fd Fix error in xml causing a crash. 2015-01-19 10:38:04 +11:00
hiker
79df2151e9 Add a popup window to be shown first if it is detected that
the driver is too old.
2015-01-19 10:21:41 +11:00
Vincent Lejeune
02cf7afcf3 Use graphic restrictions system for all CVS query 2015-01-06 23:46:36 +01:00
Vincent Lejeune
4079c18050 Update graphic restriction
This should fix bug #1519
2014-12-05 01:38:54 +01:00
Vincent Lejeune
3c42223add Try graphical restrictions on nvidia old drivers 2014-11-15 03:10:23 +01:00
hiker
2ec5c3765a Added a config file which can be used to disable certain graphical
options dependeing on card, os, driver version.
2014-11-15 10:06:54 +11:00