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

Unified Diff: ui/ozone/platform/drm/common/client_native_pixmap_vgem.h

Issue 1262043002: Implement DRM Native Pixmap using prime buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-master
Patch Set: remove drm header Created 4 years, 9 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: ui/ozone/platform/drm/common/client_native_pixmap_vgem.h
diff --git a/ui/ozone/platform/drm/common/client_native_pixmap_vgem.h b/ui/ozone/platform/drm/common/client_native_pixmap_vgem.h
deleted file mode 100644
index 4d42cfe9dd204b1fc0d0598dc95d337895b3dbe0..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/drm/common/client_native_pixmap_vgem.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_VGEM_H_
-#define UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_VGEM_H_
-
-#include <stdint.h>
-
-#include "base/file_descriptor_posix.h"
-#include "base/macros.h"
-#include "ui/gfx/geometry/size.h"
-#include "ui/gfx/native_pixmap_handle_ozone.h"
-#include "ui/ozone/public/client_native_pixmap.h"
-
-namespace ui {
-
-class ClientNativePixmapVgem : public ClientNativePixmap {
- public:
- static scoped_ptr<ClientNativePixmap> ImportFromDmabuf(int vgem_fd,
- int dmabuf_fd,
- const gfx::Size& size,
- int stride);
-
- ~ClientNativePixmapVgem() override;
-
- // Overridden from ClientNativePixmap.
- void* Map() override;
- void Unmap() override;
- void GetStride(int* stride) const override;
-
- private:
- ClientNativePixmapVgem(int vgem_fd,
- uint32_t vgem_bo_handle,
- const gfx::Size& size,
- int stride);
-
- const int vgem_fd_;
- const uint32_t vgem_bo_handle_;
- const gfx::Size size_;
- const int stride_;
- void* data_;
-
- DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapVgem);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_VGEM_H_
« no previous file with comments | « ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.cc ('k') | ui/ozone/platform/drm/common/client_native_pixmap_vgem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698