Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: gpu/ipc/service/image_transport_surface_overlay_mac.mm

Issue 2366433002: Mac video: Add blacklist entry for AVSampleBufferDisplayLayer (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | ui/accelerated_widget_mac/ca_layer_tree_coordinator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/image_transport_surface_overlay_mac.mm
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.mm b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
index e8abb3298340d08716617bf0b2f71c7deb9d37ce..20d7a1ffd1cfb6d0692285a439726e4e024efd60 100644
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.mm
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
@@ -75,8 +75,14 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
scale_factor_(1),
gl_renderer_id_(0) {
ui::GpuSwitchingManager::GetInstance()->AddObserver(this);
- ca_layer_tree_coordinator_.reset(
- new ui::CALayerTreeCoordinator(use_remote_layer_api_));
+
+ bool disable_av_sample_buffer_display_layer =
+ stub_->GetFeatureInfo()
+ ->workarounds()
+ .disable_av_sample_buffer_display_layer;
+
+ ca_layer_tree_coordinator_.reset(new ui::CALayerTreeCoordinator(
+ use_remote_layer_api_, !disable_av_sample_buffer_display_layer));
}
ImageTransportSurfaceOverlayMac::~ImageTransportSurfaceOverlayMac() {
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | ui/accelerated_widget_mac/ca_layer_tree_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698