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

Unified Diff: media/gpu/vaapi_drm_picture.cc

Issue 2687093002: Rename GLImageOzoneNativePixmap to GLImageNativePixmap and move it from ui/ozone/gl to ui/gl (Closed)
Patch Set: Rebase Created 3 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
Index: media/gpu/vaapi_drm_picture.cc
diff --git a/media/gpu/vaapi_drm_picture.cc b/media/gpu/vaapi_drm_picture.cc
index dbfb96ab9ed9156abe28bf6f322e7aa1f0e3534a..f146b737000e98d65aac734be8ee61b7cd48f9de 100644
--- a/media/gpu/vaapi_drm_picture.cc
+++ b/media/gpu/vaapi_drm_picture.cc
@@ -12,8 +12,8 @@
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/native_pixmap.h"
#include "ui/gl/gl_bindings.h"
+#include "ui/gl/gl_image_native_pixmap.h"
#include "ui/gl/scoped_binders.h"
-#include "ui/ozone/gl/gl_image_ozone_native_pixmap.h"
#include "ui/ozone/public/ozone_platform.h"
#include "ui/ozone/public/surface_factory_ozone.h"
@@ -77,9 +77,8 @@ bool VaapiDrmPicture::Initialize() {
gfx::BufferFormat format = pixmap_->GetBufferFormat();
- scoped_refptr<ui::GLImageOzoneNativePixmap> image(
- new ui::GLImageOzoneNativePixmap(size_,
- BufferFormatToInternalFormat(format)));
+ scoped_refptr<ui::GLImageNativePixmap> image(new ui::GLImageNativePixmap(
+ size_, BufferFormatToInternalFormat(format)));
if (!image->Initialize(pixmap_.get(), format)) {
LOG(ERROR) << "Failed to create GLImage";
return false;

Powered by Google App Engine
This is Rietveld 408576698