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

Unified Diff: media/gpu/video_decode_accelerator_unittest.cc

Issue 2110213002: Revert of 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: 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 | « gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc ('k') | third_party/khronos/EGL/eglext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/video_decode_accelerator_unittest.cc
diff --git a/media/gpu/video_decode_accelerator_unittest.cc b/media/gpu/video_decode_accelerator_unittest.cc
index 4c76b93c157978fa7a9eb8df2d012650f14b50df..81fede7e26f03ef61acc5aacce2e4bf6201c9d20 100644
--- a/media/gpu/video_decode_accelerator_unittest.cc
+++ b/media/gpu/video_decode_accelerator_unittest.cc
@@ -370,9 +370,8 @@
handle.type = gfx::OZONE_NATIVE_PIXMAP;
handle.native_pixmap_handle.fds.emplace_back(
base::FileDescriptor(duped_fd, true));
- handle.native_pixmap_handle.planes.emplace_back(
- pixmap_->GetDmaBufPitch(0), pixmap_->GetDmaBufOffset(0),
- pixmap_->GetDmaBufModifier(0));
+ handle.native_pixmap_handle.strides_and_offsets.emplace_back(
+ pixmap_->GetDmaBufPitch(0), pixmap_->GetDmaBufOffset(0));
#endif
return handle;
}
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc ('k') | third_party/khronos/EGL/eglext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698