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

Unified Diff: content/child/child_native_pixmap_manager_ozone.h

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/child/child_native_pixmap_manager_ozone.h
diff --git a/content/child/child_native_pixmap_manager_ozone.h b/content/child/child_native_pixmap_manager_ozone.h
index 92186b3e34dcfe406af01f2801c96a01f39f5a5b..6f81b5828ccc6bad82247ae30ef7d45cbcf7dcb4 100644
--- a/content/child/child_native_pixmap_manager_ozone.h
+++ b/content/child/child_native_pixmap_manager_ozone.h
@@ -21,6 +21,11 @@ class ChildNativePixmapManager : public ui::NativePixmapManager {
void Initialize(const base::FileDescriptor& device_fd) override;
std::vector<Configuration> GetSupportedNativePixmapConfigurations()
const override;
+ scoped_refptr<ui::NativePixmap> CreateFromFileDescriptor(
+ base::FileDescriptor handle,
+ gfx::Size size,
+ ui::SurfaceFactoryOzone::BufferFormat format,
+ ui::SurfaceFactoryOzone::BufferUsage usage) override;
private:
ChildNativePixmapManager();

Powered by Google App Engine
This is Rietveld 408576698