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

Unified Diff: content/browser/gpu/browser_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 new crrev.com/1128113011 Created 5 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
Index: content/browser/gpu/browser_native_pixmap_manager_ozone.h
diff --git a/content/browser/gpu/browser_native_pixmap_manager_ozone.h b/content/browser/gpu/browser_native_pixmap_manager_ozone.h
index d1e8b921bc1989393b8616c60a702b1a633d0206..dd58c9d4b78b692c9e9b4dbe2826cd6e8034b9b0 100644
--- a/content/browser/gpu/browser_native_pixmap_manager_ozone.h
+++ b/content/browser/gpu/browser_native_pixmap_manager_ozone.h
@@ -31,6 +31,11 @@ class BrowserNativePixmapManager : 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:
friend struct BrowserNativePixmapManagerTrait;

Powered by Google App Engine
This is Rietveld 408576698