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

Unified Diff: content/browser/android/child_process_launcher_android.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/browser/android/child_process_launcher_android.h
diff --git a/content/browser/android/child_process_launcher_android.h b/content/browser/android/child_process_launcher_android.h
index 71a6f04c7120ab3567ff81c74bd03ca9ae87bf36..e4ef0d83c2fe3126ae09f793f5d26a3c4edce612 100644
--- a/content/browser/android/child_process_launcher_android.h
+++ b/content/browser/android/child_process_launcher_android.h
@@ -12,6 +12,7 @@
#include "base/platform_file.h"
#include "base/process/process.h"
#include "content/public/browser/file_descriptor_info.h"
+#include "ui/gl/android/surface_texture.h"
namespace content {
@@ -31,6 +32,11 @@ void StopChildProcess(base::ProcessHandle handle);
bool IsChildProcessOomProtected(base::ProcessHandle handle);
+void SetupSurfaceTextureToRenderer(
+ base::ProcessHandle process,
+ void* gpu_memory_buffer,
+ scoped_refptr<gfx::SurfaceTexture> surface_texture);
+
bool RegisterChildProcessLauncher(JNIEnv* env);
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698