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

Unified Diff: gpu/command_buffer/service/common_decoder.cc

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include proper internalformat support.[D Created 7 years, 5 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: gpu/command_buffer/service/common_decoder.cc
diff --git a/gpu/command_buffer/service/common_decoder.cc b/gpu/command_buffer/service/common_decoder.cc
index 72f30a30bfc6132d4585fc3a4d589e66328ef794..a9ad1d706bdad6be6ffb8b58dfb99dc7922a9ffa 100644
--- a/gpu/command_buffer/service/common_decoder.cc
+++ b/gpu/command_buffer/service/common_decoder.cc
@@ -78,6 +78,10 @@ Buffer CommonDecoder::GetSharedMemoryBuffer(unsigned int shm_id) {
return engine_->GetSharedMemoryBuffer(shm_id);
}
+gfx::GLImage* CommonDecoder::GetImage(int32 image_id) {
+ return engine_->GetImage(image_id);
+}
+
const char* CommonDecoder::GetCommonCommandName(
cmd::CommandId command_id) const {
return cmd::GetCommandName(command_id);

Powered by Google App Engine
This is Rietveld 408576698