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

Unified Diff: ui/ozone/platform/dri/overlay_plane.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/dri/native_display_delegate_proxy.cc ('k') | ui/ozone/platform/dri/overlay_plane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/overlay_plane.h
diff --git a/ui/ozone/platform/dri/overlay_plane.h b/ui/ozone/platform/dri/overlay_plane.h
deleted file mode 100644
index e1aeee089472e020921e451a9077c39b92c430db..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/dri/overlay_plane.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 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_DRI_OVERLAY_PLANE_H_
-#define UI_OZONE_PLATFORM_DRI_OVERLAY_PLANE_H_
-
-#include <vector>
-
-#include "base/memory/ref_counted.h"
-#include "ui/gfx/geometry/rect.h"
-#include "ui/gfx/overlay_transform.h"
-
-namespace ui {
-
-class ScanoutBuffer;
-
-struct OverlayPlane;
-typedef std::vector<OverlayPlane> OverlayPlaneList;
-
-struct OverlayPlane {
- // Simpler constructor for the primary plane.
- explicit OverlayPlane(scoped_refptr<ScanoutBuffer> buffer);
-
- OverlayPlane(scoped_refptr<ScanoutBuffer> buffer,
- int z_order,
- gfx::OverlayTransform plane_transform,
- const gfx::Rect& display_bounds,
- const gfx::RectF& crop_rect);
-
- ~OverlayPlane();
-
- // Returns the primary plane in |overlays|.
- static const OverlayPlane& GetPrimaryPlane(const OverlayPlaneList& overlays);
-
- scoped_refptr<ScanoutBuffer> buffer;
- int z_order;
- gfx::OverlayTransform plane_transform;
- gfx::Rect display_bounds;
- gfx::RectF crop_rect;
- int overlay_plane;
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_DRI_OVERLAY_PLANE_H_
« no previous file with comments | « ui/ozone/platform/dri/native_display_delegate_proxy.cc ('k') | ui/ozone/platform/dri/overlay_plane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698