diff options
author | siva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-20 10:55:08 +0000 |
---|---|---|
committer | siva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-20 10:55:08 +0000 |
commit | 739f56c7bf03a4676733dbaa784f2c50034f1549 (patch) | |
tree | 788a7ff46940d9f8db8d3280e043e6d0a443239a /content/port | |
parent | 1f172cbb1bfa19f1f2acaf976f59202289f3edc8 (diff) | |
download | chromium_src-739f56c7bf03a4676733dbaa784f2c50034f1549.zip chromium_src-739f56c7bf03a4676733dbaa784f2c50034f1549.tar.gz chromium_src-739f56c7bf03a4676733dbaa784f2c50034f1549.tar.bz2 |
content_gl_tests were failing because, we are checking for rgb565 platform support
on hardware and failing intentionally, which was not correct, the test should be skiped instead. This patch takes care of that along with the base patch.
On Aura with Nvidiea drivers the support is not there, so the test fails previously now weare skipping it by displaying the reason.
Android the support gets passed.
BUG=323150
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245772
Review URL: https://codereview.chromium.org/133363004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index dab8581..0f9ad4c 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -181,7 +181,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, virtual void CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& dst_size, - const base::Callback<void(bool, const SkBitmap&)>& callback) = 0; + const base::Callback<void(bool, const SkBitmap&)>& callback, + bool readback_config_rgb565) = 0; // Copies a given subset of the compositing surface's content into a YV12 // VideoFrame, and invokes a callback with a success/fail parameter. |target| |