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

Issue 188633002: Query the preferred readback config in CopyFromBackingStore (Closed)

Created:
6 years, 9 months ago by sivag
Modified:
6 years, 9 months ago
CC:
chromium-reviews, jbauman+watch_chromium.org, jam, sievers+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Query the preferred readback config in CopyFromBackingStore As of now we are using the default format for both android/aura to read the snapshot, but as we have different format readbacks supported we should be able to decide the format before calling copyFromCompsitingSurface based on some criteria. BUG=323150 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256812

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add Preferred format support for all functions. #

Total comments: 17

Patch Set 3 : Code changed as per review comments. #

Patch Set 4 : Fix for test build issues. #

Patch Set 5 : Fix for test build issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -19 lines) Patch
M chrome/browser/extensions/api/capture_web_contents_function.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/thumbnails/thumbnail_tab_helper.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_entry_screenshot_manager.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 2 chunks +10 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
content/browser/renderer_host/render_widget_host_view_base.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
sivag
PTAL..
6 years, 9 months ago (2014-03-06 13:02:31 UTC) #1
piman
https://codereview.chromium.org/188633002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/188633002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc#newcode735 content/browser/renderer_host/render_widget_host_impl.cc:735: preffered_format = gl_helper->PreferredReadbackFormat(); This code is out-of-place. 1- Obviously ...
6 years, 9 months ago (2014-03-06 22:01:52 UTC) #2
sivag
PTAL.. https://codereview.chromium.org/188633002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/188633002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc#newcode735 content/browser/renderer_host/render_widget_host_impl.cc:735: preffered_format = gl_helper->PreferredReadbackFormat(); On 2014/03/06 22:01:52, piman wrote: ...
6 years, 9 months ago (2014-03-10 15:48:17 UTC) #3
piman
In many of the call sites, the code is only capable of receiving 8888 bitmaps. ...
6 years, 9 months ago (2014-03-10 18:27:20 UTC) #4
sivag
PTAL.. https://codereview.chromium.org/188633002/diff/20001/chrome/browser/extensions/api/capture_web_contents_function.cc File chrome/browser/extensions/api/capture_web_contents_function.cc (right): https://codereview.chromium.org/188633002/diff/20001/chrome/browser/extensions/api/capture_web_contents_function.cc#newcode82 chrome/browser/extensions/api/capture_web_contents_function.cc:82: preferred_format); On 2014/03/10 18:27:20, piman wrote: > The ...
6 years, 9 months ago (2014-03-11 14:41:49 UTC) #5
piman
lgtm
6 years, 9 months ago (2014-03-11 21:59:26 UTC) #6
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 9 months ago (2014-03-12 05:40:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/188633002/40001
6 years, 9 months ago (2014-03-12 05:42:06 UTC) #8
sivag
PTAL.. + Mek, Mike chrome/browser/extensions/api/capture_web_contents_function.cc + sky, thakis, chrome/browser/thumbnails/thumbnail_tab_helper.cc
6 years, 9 months ago (2014-03-12 06:00:52 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 06:07:53 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=54873
6 years, 9 months ago (2014-03-12 06:07:54 UTC) #11
sky
chrome/browser/thumbnails/thumbnail_tab_helper.cc LGTM
6 years, 9 months ago (2014-03-12 16:22:32 UTC) #12
Marijn Kruisselbrink
chrome/browser/extensions/api/capture_web_contents_function.cc LGTM
6 years, 9 months ago (2014-03-12 16:40:33 UTC) #13
miket_OOO
c/b/e/ LGTM
6 years, 9 months ago (2014-03-12 16:56:25 UTC) #14
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 9 months ago (2014-03-12 18:12:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/188633002/40001
6 years, 9 months ago (2014-03-12 18:13:59 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 19:03:25 UTC) #17
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=160204
6 years, 9 months ago (2014-03-12 19:03:26 UTC) #18
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 9 months ago (2014-03-13 08:23:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/188633002/60001
6 years, 9 months ago (2014-03-13 08:23:55 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 08:36:54 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-13 08:36:55 UTC) #22
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 9 months ago (2014-03-13 10:17:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/188633002/80001
6 years, 9 months ago (2014-03-13 10:18:04 UTC) #24
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 13:19:38 UTC) #25
Message was sent while issue was closed.
Change committed as 256812

Powered by Google App Engine
This is Rietveld 408576698