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

Unified Diff: components/exo/display_unittest.cc

Issue 1745943003: exo: Add support for linux_dmabuf interface to wayland bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-protocols-linux-dmabuf
Patch Set: Prime -> LinuxDMABuf Created 4 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 | « components/exo/display.cc ('k') | components/exo/wayland/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display_unittest.cc
diff --git a/components/exo/display_unittest.cc b/components/exo/display_unittest.cc
index 2e122096284faedb38ebf4c698abe6ea5f2cb6f0..973e5f35aed378298f108a56f121b19f0532e4e1 100644
--- a/components/exo/display_unittest.cc
+++ b/components/exo/display_unittest.cc
@@ -53,7 +53,7 @@ TEST_F(DisplayTest, CreateSharedMemory) {
}
#if defined(USE_OZONE)
-TEST_F(DisplayTest, CreatePrimeBuffer) {
+TEST_F(DisplayTest, CreateLinuxDMABufBuffer) {
const gfx::Size buffer_size(256, 256);
scoped_ptr<Display> display(new Display);
@@ -72,7 +72,7 @@ TEST_F(DisplayTest, CreatePrimeBuffer) {
EXPECT_TRUE(buffer1);
// Creating a prime buffer using an invalid fd should fail.
- scoped_ptr<Buffer> buffer2 = display->CreatePrimeBuffer(
+ scoped_ptr<Buffer> buffer2 = display->CreateLinuxDMABufBuffer(
base::ScopedFD(), buffer_size, gfx::BufferFormat::RGBA_8888,
buffer_size.width() * 4);
EXPECT_FALSE(buffer2);
« no previous file with comments | « components/exo/display.cc ('k') | components/exo/wayland/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698