Commit Graph

52 Commits

Author SHA1 Message Date
Benau
d1c0acac83 Fix #4653 2021-12-03 10:16:30 +08:00
Benau
9b25557e6e Remove restriction for android screen keyboard after using SDL2 2021-10-04 20:17:27 +08:00
Deve
4e57642d7a Remove some DriverRecentEnough from graphical restrictions.
The graphics engine changed a lot since this warning was added and it's
quite possible that it works now. Also that warning causes issues for newer
drivers that have eg. version 4.3.xxx.
2020-07-03 23:41:02 +02:00
Benau
4f388b2c87 Fix #3097 2019-10-26 01:15:39 +08:00
Benau
5d2b3efe12 Add graphics restrictions for iOS simulator 2019-07-19 17:14:31 +08:00
Deve
0f415a3745 Disable system screen keyboard for android api <19 2019-07-05 22:39:28 +02:00
Deve
5549229310 Add a graphics restriction for nouveau.
Fixes #3058
2018-06-22 23:59:44 +02:00
Deve
765d4019b7 Allow to use texture compression with GLES when extension is available 2018-05-22 22:31:38 +02:00
Deve
94c3efa8d3 Force legacy device for sandy bridge generation celeron graphics cards 2018-01-23 22:40:42 +01:00
Deve
2516de8231 Disable npot textures on android emulator 2018-01-16 23:06:27 +01:00
Benau
54c7914cb5 Update graphical restrictions
Mesa 17.4 will use the correct normalization forumla

Disable GLSL on intel HD2000 / HD3000 due to broken opengl 3.3 support
2018-01-08 15:55:28 +08:00
Benau
7797115867 Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
Deve
1a9cf6a46f Set max texture size to 256 for Raspberry Pi 2017-10-18 21:13:23 +02:00
Deve
6794670510 Disable srgb framebuffer for intel hd 2000 too 2017-10-11 20:53:49 +02:00
Benau
839142b752 Add up-to-date restriction for hd3000 in windows 2017-10-11 11:25:28 +08:00
Deve
ae4e302741 Add a way to run STK without srgb framebuffer 2017-10-09 21:18:15 +02:00
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