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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on crrev.com/1263323004 Created 5 years, 4 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: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
index f87f32b783491cf855dd1153839abbf54fbf099a..3aa55afd85e784bbde4a50826da577e4bdd38a32 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
@@ -34,10 +34,12 @@ class GpuMemoryBufferImplOzoneNativePixmap : public GpuMemoryBufferImpl {
gfx::GpuMemoryBufferId id,
const gfx::Size& size,
gfx::BufferFormat format,
+ gfx::BufferUsage usage,
const DestructionCallback& callback,
- scoped_ptr<ui::ClientNativePixmap> native_pixmap);
+ scoped_ptr<ui::ClientNativePixmap> pixmap);
~GpuMemoryBufferImplOzoneNativePixmap() override;
+ gfx::BufferUsage usage_;
scoped_ptr<ui::ClientNativePixmap> pixmap_;
DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplOzoneNativePixmap);

Powered by Google App Engine
This is Rietveld 408576698