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

Unified Diff: content/common/gpu/client/gl_helper.h

Issue 296493003: [Android WebView] Fix DevTools Screencast slowness (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PS5 + changed discussed off-line Created 6 years, 7 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/client/gl_helper.h
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
index 81e3aa04ed7f3233eacd706f454bd714ec9a75d9..4169c8b6da41312080bb9ed22d0ac60f100a74a0 100644
--- a/content/common/gpu/client/gl_helper.h
+++ b/content/common/gpu/client/gl_helper.h
@@ -173,7 +173,8 @@ class CONTENT_EXPORT GLHelper {
const gfx::Size& dst_size,
unsigned char* out,
const SkBitmap::Config config,
- const base::Callback<void(bool)>& callback);
+ const base::Callback<void(bool)>& callback,
+ GLHelper::ScalerQuality quality);
// Copies the block of pixels specified with |src_subrect| from |src_mailbox|,
// scales it to |dst_size|, and writes it into |out|.
@@ -192,7 +193,8 @@ class CONTENT_EXPORT GLHelper {
const gfx::Size& dst_size,
unsigned char* out,
const SkBitmap::Config config,
- const base::Callback<void(bool)>& callback);
+ const base::Callback<void(bool)>& callback,
+ GLHelper::ScalerQuality quality);
// Copies the texture data out of |texture| into |out|. |size| is the
// size of the texture. No post processing is applied to the pixels. The
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/common/gpu/client/gl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698