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

Unified Diff: ui/ozone/public/client_native_pixmap.h

Issue 2361023003: Revert of Add ClientNativePixmap multi-planar support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-native-pixmap-dmabug-multiple-planes
Patch Set: Created 4 years, 3 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 | « ui/ozone/platform/drm/gpu/gbm_buffer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/client_native_pixmap.h
diff --git a/ui/ozone/public/client_native_pixmap.h b/ui/ozone/public/client_native_pixmap.h
index a94e34fb9fdb5e796f909412df24422924775ccb..e7aa3615d84234327f847744057dbd2214203541 100644
--- a/ui/ozone/public/client_native_pixmap.h
+++ b/ui/ozone/public/client_native_pixmap.h
@@ -16,13 +16,9 @@
public:
virtual ~ClientNativePixmap() {}
- // Map each plane in the client address space.
- // Return false on error.
- virtual bool Map() = 0;
+ virtual void* Map() = 0;
virtual void Unmap() = 0;
-
- virtual void* GetMemoryAddress(size_t plane) const = 0;
- virtual int GetStride(size_t plane) const = 0;
+ virtual void GetStride(int* stride) const = 0;
};
} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_buffer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698