diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-06 12:48:11 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:33:43 +0000 |
commit | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (patch) | |
tree | fa14ba0ca8d2683ba2efdabd246dc9b18a1229c6 /chromium/components/exo/display.cc | |
parent | 79b4f909db1049fca459c07cca55af56a9b54fe3 (diff) | |
download | qtwebengine-chromium-7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3.tar.gz |
BASELINE: Update Chromium to 84.0.4147.141
Change-Id: Ib85eb4cfa1cbe2b2b81e5022c8cad5c493969535
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/exo/display.cc')
-rw-r--r-- | chromium/components/exo/display.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/chromium/components/exo/display.cc b/chromium/components/exo/display.cc index f65d1ee769e..bc1fa1544b9 100644 --- a/chromium/components/exo/display.cc +++ b/chromium/components/exo/display.cc @@ -111,22 +111,14 @@ std::unique_ptr<Buffer> Display::CreateLinuxDMABufBuffer( // Using zero-copy for optimal performance. bool use_zero_copy = true; -#if defined(ARCH_CPU_X86_FAMILY) - // TODO(dcastagna): Re-enable NV12 format as HW overlay once b/113362843 - // is addressed. - bool is_overlay_candidate = format != gfx::BufferFormat::YUV_420_BIPLANAR; -#else - bool is_overlay_candidate = true; -#endif - return std::make_unique<Buffer>( std::move(gpu_memory_buffer), gpu::NativeBufferNeedsPlatformSpecificTextureTarget(format) ? gpu::GetPlatformSpecificTextureTarget() : GL_TEXTURE_2D, // COMMANDS_COMPLETED queries are required by native pixmaps. - GL_COMMANDS_COMPLETED_CHROMIUM, use_zero_copy, is_overlay_candidate, - y_invert); + GL_COMMANDS_COMPLETED_CHROMIUM, use_zero_copy, + /*is_overlay_candidate=*/true, y_invert); } #endif // defined(USE_OZONE) |