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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.cc

Issue 2039813002: Add format modifier IDs for EGL_EXT_image_dma_buf_import extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add format modifier IDs for EGL_EXT_image_dma_buf_import extension Created 4 years, 6 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 | « no previous file | components/exo/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/arc_gpu_video_decode_accelerator.cc
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.cc b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
index 7a632b670718eefc137116edb6150800bab5ea01..75c60f53346c936dc4b3827a3f52d1f5a089d938 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
@@ -294,8 +294,7 @@ void ArcGpuVideoDecodeAccelerator::UseBuffer(PortType port,
#if defined(USE_OZONE)
handle.native_pixmap_handle.fds.emplace_back(
base::FileDescriptor(info.handle.release(), true));
- handle.native_pixmap_handle.strides_and_offsets.emplace_back(
- info.stride, 0);
+ handle.native_pixmap_handle.planes.emplace_back(info.stride, 0, 0);
#endif
vda_->ImportBufferForPicture(index, handle);
} else {
« no previous file with comments | « no previous file | components/exo/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698