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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 12806006: Add EncodeBackbufferCHROMIUM support to GLES2 command stream (Closed) Base URL: https://chromium.googlesource.com/chromium/src@yuv_2
Patch Set: Removed extraneous file. Created 7 years, 9 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
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.h ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 26b05e5a0d9bfb11b91fd6da633e2308affbbfc9..955da1bce1b8f87f0781e69d16f18f753d2d16b8 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -529,6 +529,10 @@ void GpuCommandBufferStub::OnInitialize(
base::Bind(&GpuCommandBufferStub::OnWaitSyncPoint,
base::Unretained(this)));
+ decoder_->SetEncodeBackbufferCallback(
+ base::Bind(&GpuCommandBufferStub::OnEncodeBackbuffer,
+ base::Unretained(this)));
+
command_buffer_->SetPutOffsetChangeCallback(
base::Bind(&GpuCommandBufferStub::PutChanged, base::Unretained(this)));
command_buffer_->SetGetBufferChangeCallback(
@@ -846,6 +850,9 @@ void GpuCommandBufferStub::OnSignalSyncPointAck(uint32 id) {
Send(new GpuCommandBufferMsg_SignalSyncPointAck(route_id_, id));
}
+void GpuCommandBufferStub::OnEncodeBackbuffer() {
+}
+
void GpuCommandBufferStub::OnReceivedClientManagedMemoryStats(
const GpuManagedMemoryStats& stats) {
TRACE_EVENT0(
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.h ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698