Commit e4f31cdf authored by Zhenyao Mo's avatar Zhenyao Mo Committed by Commit Bot

Assume float and half float formats are renderable on Mac.

From histogram data, they are 100% renderable on all Mac.

Avoid runtime check, where CheckFramebufferStatus() hangs
from time to time.

Also, limit this to AMD/Intel/Nvidia GPUs.

BUG=1127387
TEST=bots
R=kbr@chromium.org

Change-Id: If7567f3410090241c2ab861b93bd45c117051c6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436386Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811863}
parent 23343e59
This diff is collapsed.
...@@ -3592,6 +3592,42 @@ ...@@ -3592,6 +3592,42 @@
"value": "24", "value": "24",
"value2": "27" "value2": "27"
} }
},
{
"id": 355,
"cr_bugs": [1127387],
"description": "Always assume float formats are renderable on Mac Intel",
"os": {
"type": "macosx"
},
"vendor_id": "0x8086",
"features": [
"force_enable_color_buffer_float"
]
},
{
"id": 356,
"cr_bugs": [1127387],
"description": "Always assume float formats are renderable on Mac AMD",
"os": {
"type": "macosx"
},
"vendor_id": "0x1002",
"features": [
"force_enable_color_buffer_float"
]
},
{
"id": 357,
"cr_bugs": [1127387],
"description": "Always assume float formats are renderable on Mac Nvidia",
"os": {
"type": "macosx"
},
"vendor_id": "0x10de",
"features": [
"force_enable_color_buffer_float"
]
} }
] ]
} }
...@@ -68,6 +68,7 @@ exit_on_context_lost ...@@ -68,6 +68,7 @@ exit_on_context_lost
flush_on_framebuffer_change flush_on_framebuffer_change
force_cube_complete force_cube_complete
force_cube_map_positive_x_allocation force_cube_map_positive_x_allocation
force_enable_color_buffer_float
force_gl_flush_on_swap_buffers force_gl_flush_on_swap_buffers
force_high_performance_gpu force_high_performance_gpu
force_int_or_srgb_cube_texture_complete force_int_or_srgb_cube_texture_complete
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment