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

Unified Diff: ui/ozone/platform/dri/dri_window_delegate_impl.cc

Issue 908993003: [Ozone-Dri] Rename DriWrapper to DrmDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udl3-pass-drm-fd
Patch Set: rebased Created 5 years, 10 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/dri_util.cc ('k') | ui/ozone/platform/dri/dri_window_delegate_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_window_delegate_impl.cc
diff --git a/ui/ozone/platform/dri/dri_window_delegate_impl.cc b/ui/ozone/platform/dri/dri_window_delegate_impl.cc
index af81012d48472f0b7cca232372ffbe6ffffafa1e..9a9c8a33109c8d4b04e585a0f66552366e418444 100644
--- a/ui/ozone/platform/dri/dri_window_delegate_impl.cc
+++ b/ui/ozone/platform/dri/dri_window_delegate_impl.cc
@@ -9,7 +9,7 @@
#include "third_party/skia/include/core/SkDevice.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "ui/ozone/platform/dri/dri_buffer.h"
-#include "ui/ozone/platform/dri/dri_wrapper.h"
+#include "ui/ozone/platform/dri/drm_device.h"
#include "ui/ozone/platform/dri/drm_device_manager.h"
#include "ui/ozone/platform/dri/screen_manager.h"
@@ -181,9 +181,9 @@ void DriWindowDelegateImpl::OnCursorAnimationTimeout() {
}
void DriWindowDelegateImpl::UpdateWidgetToDrmDeviceMapping() {
- scoped_refptr<DriWrapper> drm = nullptr;
+ scoped_refptr<DrmDevice> drm = nullptr;
if (controller_)
- drm = controller_->GetAllocationDriWrapper();
+ drm = controller_->GetAllocationDrmDevice();
device_manager_->UpdateDrmDevice(widget_, drm);
}
@@ -194,7 +194,7 @@ void DriWindowDelegateImpl::UpdateCursorBuffers() {
cursor_buffers_[i] = nullptr;
}
} else {
- scoped_refptr<DriWrapper> drm = controller_->GetAllocationDriWrapper();
+ scoped_refptr<DrmDevice> drm = controller_->GetAllocationDrmDevice();
uint64_t cursor_width = 64;
uint64_t cursor_height = 64;
« no previous file with comments | « ui/ozone/platform/dri/dri_util.cc ('k') | ui/ozone/platform/dri/dri_window_delegate_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698