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

Unified Diff: components/mus/public/cpp/lib/command_buffer_client_impl.cc

Issue 1974163003: Expose GpuMemoryBufferId through glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: components/mus/public/cpp/lib/command_buffer_client_impl.cc
diff --git a/components/mus/public/cpp/lib/command_buffer_client_impl.cc b/components/mus/public/cpp/lib/command_buffer_client_impl.cc
index ebbee055ca086f572a6cf2934775d996fc7b292b..81e25cabc0e0427ed25496749feb8204272675dd 100644
--- a/components/mus/public/cpp/lib/command_buffer_client_impl.cc
+++ b/components/mus/public/cpp/lib/command_buffer_client_impl.cc
@@ -271,6 +271,11 @@ int32_t CommandBufferClientImpl::CreateGpuMemoryBufferImage(
return CreateImage(buffer->AsClientBuffer(), width, height, internalformat);
}
+int32_t CommandBufferClientImpl::GetImageGpuMemoryBufferId(unsigned image_id) {
+ NOTIMPLEMENTED();
piman 2016/05/26 21:16:07 ditto?
erikchen 2016/05/26 21:41:27 Done.
+ return -1;
+}
+
void CommandBufferClientImpl::SignalQuery(uint32_t query,
const base::Closure& callback) {
// TODO(piman)

Powered by Google App Engine
This is Rietveld 408576698