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

Issue 143683003: Support format using enum argument for Async readback (Closed)

Created:
6 years, 11 months ago by sivag
Modified:
6 years, 11 months ago
Reviewers:
no sievers, piman
CC:
chromium-reviews, jbauman+watch_chromium.org, vsevik, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, James Su, jam, penghuang+watch_chromium.org, yurys, sievers+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, kalyank, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, aandrey+blink_chromium.org, pfeldman, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support format using enum argument for Async readback. As of now we are passing bool to detect the format like rgb565, but ideally the format itself should be passed. BUG=323150 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246888

Patch Set 1 : Replace bool with enum to support other formats #

Total comments: 10

Patch Set 2 : Add checks at necessary places. #

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

Total comments: 21

Patch Set 4 : Code changed as per the review comments. #

Patch Set 5 : Fix for aura build error #

Total comments: 2

Patch Set 6 : Code changes as per review. #

Patch Set 7 : Code changes as per review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -65 lines) Patch
M content/browser/devtools/renderer_overrides_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 6 chunks +14 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 6 chunks +14 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/client/gl_helper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/client/gl_helper.cc View 1 2 3 4 5 16 chunks +83 lines, -27 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_render_view_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_render_view_host.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
sivag
PTAL...
6 years, 11 months ago (2014-01-21 13:15:35 UTC) #1
piman
https://codereview.chromium.org/143683003/diff/1/content/browser/renderer_host/render_widget_host_view_gtk.cc File content/browser/renderer_host/render_widget_host_view_gtk.cc (right): https://codereview.chromium.org/143683003/diff/1/content/browser/renderer_host/render_widget_host_view_gtk.cc#newcode1052 content/browser/renderer_host/render_widget_host_view_gtk.cc:1052: if (config == SkBitmap::kRGB_565_Config) { nit: config != SkBitmap::kARGB_8888_Config ...
6 years, 11 months ago (2014-01-21 21:30:55 UTC) #2
sivag
PTAL.... https://codereview.chromium.org/143683003/diff/1/content/browser/renderer_host/render_widget_host_view_gtk.cc File content/browser/renderer_host/render_widget_host_view_gtk.cc (right): https://codereview.chromium.org/143683003/diff/1/content/browser/renderer_host/render_widget_host_view_gtk.cc#newcode1052 content/browser/renderer_host/render_widget_host_view_gtk.cc:1052: if (config == SkBitmap::kRGB_565_Config) { On 2014/01/21 21:30:55, ...
6 years, 11 months ago (2014-01-22 10:35:08 UTC) #3
piman
https://codereview.chromium.org/143683003/diff/170001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/143683003/diff/170001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1092 content/browser/renderer_host/render_widget_host_view_aura.cc:1092: const SkBitmap::Config config) { This needs to test the ...
6 years, 11 months ago (2014-01-22 22:10:20 UTC) #4
sivag
PTAL.. https://codereview.chromium.org/143683003/diff/170001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/143683003/diff/170001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1092 content/browser/renderer_host/render_widget_host_view_aura.cc:1092: const SkBitmap::Config config) { On 2014/01/22 22:10:21, piman ...
6 years, 11 months ago (2014-01-23 12:29:19 UTC) #5
piman
LGTM after last one thing is fixed. https://codereview.chromium.org/143683003/diff/400001/content/common/gpu/client/gl_helper.cc File content/common/gpu/client/gl_helper.cc (right): https://codereview.chromium.org/143683003/diff/400001/content/common/gpu/client/gl_helper.cc#newcode475 content/common/gpu/client/gl_helper.cc:475: DCHECK(texture); What ...
6 years, 11 months ago (2014-01-23 18:41:14 UTC) #6
sivag
Done. https://codereview.chromium.org/143683003/diff/400001/content/common/gpu/client/gl_helper.cc File content/common/gpu/client/gl_helper.cc (right): https://codereview.chromium.org/143683003/diff/400001/content/common/gpu/client/gl_helper.cc#newcode475 content/common/gpu/client/gl_helper.cc:475: DCHECK(texture); On 2014/01/23 18:41:15, piman wrote: > What ...
6 years, 11 months ago (2014-01-24 10:19:33 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/143683003/330002
6 years, 11 months ago (2014-01-24 10:20:40 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=251223
6 years, 11 months ago (2014-01-24 11:55:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/143683003/330002
6 years, 11 months ago (2014-01-24 12:25:15 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 14:11:14 UTC) #11
Message was sent while issue was closed.
Change committed as 246888

Powered by Google App Engine
This is Rietveld 408576698