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

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

Issue 11428140: gpu: Add async pixel transfer interface, stub and tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move BindFinishedTransfers to MakeCurrent. Rebase again. Created 8 years 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 74adcea0143a4e4d9a3a607aa8c76b0330966870..5a73cbd66b81ef78624724b7f75ee710f4a7e0ce 100644
--- a/gpu/command_buffer/service/common_decoder.cc
+++ b/gpu/command_buffer/service/common_decoder.cc
@@ -73,6 +73,10 @@ void* CommonDecoder::GetAddressAndCheckSize(unsigned int shm_id,
return static_cast<int8*>(buffer.ptr) + offset;
}
+Buffer CommonDecoder::GetSharedMemoryBuffer(unsigned int shm_id) {
+ return engine_->GetSharedMemoryBuffer(shm_id);
+}
+
bool CommonDecoder::PushAddress(uint32 offset) {
if (call_stack_.size() < kMaxStackDepth) {
CommandAddress return_address(engine_->GetGetOffset());

Powered by Google App Engine
This is Rietveld 408576698