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

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

Issue 177953004: Enable SurfaceTexture based zero-copy texture uploading on Android platform Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index f79062e425b2ec653372b10cf0725b364f112086..5d1d5f71eaa4ac7920afe88319af2f91b5dbb01c 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -199,6 +199,10 @@ class GpuCommandBufferStub
void OnSetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
void OnCreateStreamTexture(uint32 texture_id, int32* stream_id);
+ void OnCreateSurfaceTexture(uint32 gpu_memory_buffer,
+ uint32* surface_texture_handle,
+ uint32* gpu_texture_id);
+
void ReportState();
// Wrapper for GpuScheduler::PutChanged that sets the crash report URL.

Powered by Google App Engine
This is Rietveld 408576698