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

Unified Diff: android_webview/browser/gpu_memory_buffer_factory_impl.cc

Issue 212933009: ui: Refactor GLImageEGL for usage by targets other than EGL_NATIVE_BUFFER_ANDROID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | ui/gfx/gpu_memory_buffer.h » ('j') | ui/gl/gl_image_android_native_buffer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/gpu_memory_buffer_factory_impl.cc
diff --git a/android_webview/browser/gpu_memory_buffer_factory_impl.cc b/android_webview/browser/gpu_memory_buffer_factory_impl.cc
index 57b1123715dafe7ac7e05a1ab229d1e7b1a18c20..4e2f5d798a10e979ba9b7df84ce0902fa1d0c26f 100644
--- a/android_webview/browser/gpu_memory_buffer_factory_impl.cc
+++ b/android_webview/browser/gpu_memory_buffer_factory_impl.cc
@@ -62,7 +62,7 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
}
virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE {
gfx::GpuMemoryBufferHandle handle;
- handle.type = gfx::EGL_CLIENT_BUFFER;
+ handle.type = gfx::ANDROID_NATIVE_BUFFER;
handle.native_buffer = g_gl_draw_functions->get_native_buffer(buffer_id_);
return handle;
}
« no previous file with comments | « no previous file | ui/gfx/gpu_memory_buffer.h » ('j') | ui/gl/gl_image_android_native_buffer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698