summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authordbdaniel42 <dbdaniel42@gmail.com>2015-04-13 18:55:36 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-14 01:55:56 +0000
commit4c9c8b2238012338a6395f7101d036e3634ed687 (patch)
tree48664d0da21b07cee9fa7f7c3a887611fc44876f /gpu
parent9c45cf75d0438700b29211be14970d8068ca02c5 (diff)
downloadchromium_src-4c9c8b2238012338a6395f7101d036e3634ed687.zip
chromium_src-4c9c8b2238012338a6395f7101d036e3634ed687.tar.gz
chromium_src-4c9c8b2238012338a6395f7101d036e3634ed687.tar.bz2
Enable hardware acceleration for Nouveau and Stage3D
Nouveau has improved a LOT in the 3+ years since it was originally blacklisted. This patch removes the blacklist if the user is running Mesa 10.1 or higher. We can set the version requirement even higher if you think that's best. I've been testing with Mesa 10.5.1 and haven't ran into any crashes or instability. The same thing was done for AMD GPUs running Mesa drivers last year: https://codereview.chromium.org/215493002 This also removes the blacklist for Stage3D on Linux (was blacklisted across all GPUs.) Maybe at one time it was broken but it seems to work just fine now on all the demos I've tried and with massive performance increases from the hardware acceleration. BUG=94103, 129848 Review URL: https://codereview.chromium.org/1027403002 Cr-Commit-Position: refs/heads/master@{#324984}
Diffstat (limited to 'gpu')
-rw-r--r--gpu/config/software_rendering_list_json.cc18
1 files changed, 6 insertions, 12 deletions
diff --git a/gpu/config/software_rendering_list_json.cc b/gpu/config/software_rendering_list_json.cc
index 7d3d890..0a9a8d8 100644
--- a/gpu/config/software_rendering_list_json.cc
+++ b/gpu/config/software_rendering_list_json.cc
@@ -18,7 +18,7 @@ const char kSoftwareRenderingListJson[] = LONG_STRING_CONST(
{
"name": "software rendering list",
// Please update the version number whenever you change this file.
- "version": "10.3",
+ "version": "10.4",
"entries": [
{
"id": 1,
@@ -331,6 +331,11 @@ const char kSoftwareRenderingListJson[] = LONG_STRING_CONST(
},
"vendor_id": "0x10de",
"gl_vendor": "(?i)nouveau.*",
+ "driver_vendor": "Mesa",
+ "driver_version": {
+ "op": "<",
+ "value": "10.1"
+ },
"features": [
"all"
]
@@ -349,17 +354,6 @@ const char kSoftwareRenderingListJson[] = LONG_STRING_CONST(
]
},
{
- "id": 35,
- "description": "Stage3D is not supported on Linux",
- "cr_bugs": [129848],
- "os": {
- "type": "linux"
- },
- "features": [
- "flash_stage3d"
- ]
- },
- {
"id": 37,
"description": "Older drivers are unreliable for Optimus on Linux",
"cr_bugs": [131308, 363418],