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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl.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: content/common/gpu/client/gpu_memory_buffer_impl.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.cc b/content/common/gpu/client/gpu_memory_buffer_impl.cc
index 0b2d249db42a6822751b736e0affb531183ecd4c..186cc2da10e2829093223999993d8a83e4c0db66 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl.cc
@@ -36,6 +36,7 @@ GpuMemoryBufferImpl::GpuMemoryBufferImpl(gfx::GpuMemoryBufferId id,
}
GpuMemoryBufferImpl::~GpuMemoryBufferImpl() {
+ DCHECK(!mapped_);
reveman 2015/05/11 16:40:56 this is fine but unrelated to this change. please
dshwang 2015/05/14 12:25:46 got it
callback_.Run(destruction_sync_point_);
}

Powered by Google App Engine
This is Rietveld 408576698