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

Unified Diff: content/test/test_native_pixmap_manager_ozone.cc

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 5 years, 5 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
Index: content/test/test_native_pixmap_manager_ozone.cc
diff --git a/content/test/test_native_pixmap_manager_ozone.cc b/content/test/test_native_pixmap_manager_ozone.cc
index 9f2b08716602be0fad099f7fbb45b2b215d34590..35eb3cf4c67d9d8846778362c99c4b629a74fa75 100644
--- a/content/test/test_native_pixmap_manager_ozone.cc
+++ b/content/test/test_native_pixmap_manager_ozone.cc
@@ -42,4 +42,13 @@ TestNativePixmapManager::GetSupportedNativePixmapConfigurations() const {
return pixmap_manager_->GetSupportedNativePixmapConfigurations();
}
+scoped_refptr<ui::NativePixmap>
+TestNativePixmapManager::CreateFromFileDescriptor(
+ base::FileDescriptor handle,
+ gfx::Size size,
+ ui::SurfaceFactoryOzone::BufferFormat format,
+ ui::SurfaceFactoryOzone::BufferUsage usage) {
+ return pixmap_manager_->CreateFromFileDescriptor(handle, size, format, usage);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698