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

Unified Diff: ui/gfx/native_pixmap_handle.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 | « media/gpu/video_decode_accelerator_unittest.cc ('k') | ui/gfx/native_pixmap_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_pixmap_handle.h
diff --git a/ui/gfx/native_pixmap_handle.h b/ui/gfx/native_pixmap_handle.h
index ceb5242379fe57a5107d4e2d1e49cd918b2497a7..767951b7cb1f44a6ebbceb30c9ec490d34504de4 100644
--- a/ui/gfx/native_pixmap_handle.h
+++ b/ui/gfx/native_pixmap_handle.h
@@ -5,7 +5,7 @@
#ifndef UI_GFX_NATIVE_PIXMAP_HANDLE_H_
#define UI_GFX_NATIVE_PIXMAP_HANDLE_H_
-#include <stddef.h>
+#include <stdint.h>
#include <vector>
#include "ui/gfx/gfx_export.h"
@@ -20,7 +20,7 @@
// buffer. More fields can be added if they are plane specific.
struct GFX_EXPORT NativePixmapPlane {
NativePixmapPlane();
- NativePixmapPlane(int stride, int offset, size_t size, uint64_t modifier);
+ NativePixmapPlane(int stride, int offset, uint64_t modifier);
NativePixmapPlane(const NativePixmapPlane& other);
~NativePixmapPlane();
@@ -28,9 +28,6 @@
// a memory mapping. One per plane per entry.
int stride;
int offset;
- // Size in bytes of the plane.
- // This is necessary to map the buffers.
- size_t size;
// The modifier is retrieved from GBM library and passed to EGL driver.
// Generally it's platform specific, and we don't need to modify it in
// Chromium code. Also one per plane per entry.
« no previous file with comments | « media/gpu/video_decode_accelerator_unittest.cc ('k') | ui/gfx/native_pixmap_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698