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

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

Issue 106633002: GBM Ozone implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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/hardware_display_controller.cc ('k') | ui/ozone/platform/dri/ozone_platform_dri.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/hardware_display_controller_unittest.cc
diff --git a/ui/ozone/platform/dri/hardware_display_controller_unittest.cc b/ui/ozone/platform/dri/hardware_display_controller_unittest.cc
index 9a3e5dcafe7e30335247aa98f9c50df537098c2e..37ea856e6103abb432721c2a9218cedc82de70ed 100644
--- a/ui/ozone/platform/dri/hardware_display_controller_unittest.cc
+++ b/ui/ozone/platform/dri/hardware_display_controller_unittest.cc
@@ -47,7 +47,7 @@ void HardwareDisplayControllerTest::TearDown() {
}
TEST_F(HardwareDisplayControllerTest, CheckStateAfterSurfaceIsBound) {
- scoped_ptr<ui::DriSurface> surface(
+ scoped_ptr<ui::ScanoutSurface> surface(
new ui::MockDriSurface(drm_.get(), kDefaultModeSize));
EXPECT_TRUE(surface->Initialize());
@@ -57,7 +57,7 @@ TEST_F(HardwareDisplayControllerTest, CheckStateAfterSurfaceIsBound) {
}
TEST_F(HardwareDisplayControllerTest, CheckStateAfterPageFlip) {
- scoped_ptr<ui::DriSurface> surface(
+ scoped_ptr<ui::ScanoutSurface> surface(
new ui::MockDriSurface(drm_.get(), kDefaultModeSize));
EXPECT_TRUE(surface->Initialize());
@@ -70,7 +70,7 @@ TEST_F(HardwareDisplayControllerTest, CheckStateAfterPageFlip) {
TEST_F(HardwareDisplayControllerTest, CheckStateIfModesetFails) {
drm_->set_set_crtc_expectation(false);
- scoped_ptr<ui::DriSurface> surface(
+ scoped_ptr<ui::ScanoutSurface> surface(
new ui::MockDriSurface(drm_.get(), kDefaultModeSize));
EXPECT_TRUE(surface->Initialize());
@@ -82,7 +82,7 @@ TEST_F(HardwareDisplayControllerTest, CheckStateIfModesetFails) {
TEST_F(HardwareDisplayControllerTest, CheckStateIfPageFlipFails) {
drm_->set_page_flip_expectation(false);
- scoped_ptr<ui::DriSurface> surface(
+ scoped_ptr<ui::ScanoutSurface> surface(
new ui::MockDriSurface(drm_.get(), kDefaultModeSize));
EXPECT_TRUE(surface->Initialize());
« no previous file with comments | « ui/ozone/platform/dri/hardware_display_controller.cc ('k') | ui/ozone/platform/dri/ozone_platform_dri.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698