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

Unified Diff: ui/gl/gl_image_linux_dma_buffer.cc

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: ui/gl/gl_image_linux_dma_buffer.cc
diff --git a/ui/gl/gl_image_linux_dma_buffer.cc b/ui/gl/gl_image_linux_dma_buffer.cc
index 9f65d3345fa23a015e722bcfea9536492656935a..c094acc8c76ca5d7c095d54a9923298686f4be7c 100644
--- a/ui/gl/gl_image_linux_dma_buffer.cc
+++ b/ui/gl/gl_image_linux_dma_buffer.cc
@@ -115,8 +115,8 @@ bool GLImageLinuxDMABuffer::Initialize(const base::FileDescriptor& handle,
EGL_DMA_BUF_PLANE0_PITCH_EXT,
pitch,
EGL_NONE};
- return GLImageEGL::Initialize(
- EGL_LINUX_DMA_BUF_EXT, static_cast<EGLClientBuffer>(NULL), attrs);
+ return GLImageEGL::Initialize(EGL_LINUX_DMA_BUF_EXT,
+ static_cast<EGLClientBuffer>(nullptr), attrs);
reveman 2015/05/11 16:40:56 nit: I'd avoid this style change and leave this fi
dshwang 2015/05/14 12:25:47 Done.
}
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698