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

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

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CreateStreamTexture Flow Change. Created 5 years, 6 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/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 81a6e2c224fd9385cb605e7ea7b779b655662dc1..1a16556eac3b2c302b629019582df9173e81416b 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -632,15 +632,22 @@ void GpuCommandBufferStub::OnInitialize(
}
}
-void GpuCommandBufferStub::OnCreateStreamTexture(
- uint32 texture_id, int32 stream_id, bool* succeeded) {
+void GpuCommandBufferStub::CreateStreamTexture(int32 image_id,
+ int32 stream_id,
+ bool* succeeded) {
#if defined(OS_ANDROID)
- *succeeded = StreamTexture::Create(this, texture_id, stream_id);
+ *succeeded = StreamTexture::Create(this, image_id, stream_id);
#else
*succeeded = false;
#endif
}
+void GpuCommandBufferStub::OnCreateStreamTexture(uint32 texture_id,
+ int32 stream_id,
+ bool* succeeded) {
+ NOTREACHED();
+}
+
void GpuCommandBufferStub::SetLatencyInfoCallback(
const LatencyInfoCallback& callback) {
latency_info_callback_ = callback;

Powered by Google App Engine
This is Rietveld 408576698