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

Issue 11558039: Subrect snapshot support. (Closed)

Created:
8 years ago by David Trainor- moved to gerrit
Modified:
8 years ago
Reviewers:
Ted C, mazda, joth, no sievers, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Subrect snapshot support. Handle grabbing the subrect snapshot of a texture. Leaving the old method in there for now to deal with not breaking other repos when committing. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173863

Patch Set 1 #

Patch Set 2 : Added intersect of src_size to actual texture_size #

Total comments: 1

Patch Set 3 : Moved capture to the readback method #

Total comments: 2

Patch Set 4 : Added return value. Left other api to keep build green. Will remove after. #

Patch Set 5 : Fixed indents #

Total comments: 1

Patch Set 6 : Fix WebView build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -16 lines) Patch
M android_webview/native/aw_contents.cc View 1 2 3 4 5 1 chunk +9 lines, -2 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 1 chunk +13 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gl_helper.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gl_helper.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M content/public/browser/android/compositor.h View 1 2 3 4 5 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
David Trainor- moved to gerrit
8 years ago (2012-12-13 18:52:20 UTC) #1
Ted C
lgtm
8 years ago (2012-12-14 21:36:02 UTC) #2
David Trainor- moved to gerrit
sievers@: Could you look at render_widget_host_view_android? mazda@: Wanted to get you on this for the ...
8 years ago (2012-12-17 21:08:46 UTC) #3
piman
lgtm
8 years ago (2012-12-17 21:12:24 UTC) #4
mazda
gl_helper: lgtm
8 years ago (2012-12-17 21:19:19 UTC) #5
no sievers
https://chromiumcodereview.appspot.com/11558039/diff/4001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://chromiumcodereview.appspot.com/11558039/diff/4001/content/browser/android/content_view_core_impl.cc#newcode555 content/browser/android/content_view_core_impl.cc:555: return GetScaledContentTexture(size, GetBounds()); Using GetBounds() here is racy during ...
8 years ago (2012-12-17 21:20:02 UTC) #6
no sievers
lgtm with one nit. Yes, I think this is better - now you can copy ...
8 years ago (2012-12-17 23:48:59 UTC) #7
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/11558039/diff/7003/content/public/browser/android/compositor.h File content/public/browser/android/compositor.h (right): https://chromiumcodereview.appspot.com/11558039/diff/7003/content/public/browser/android/compositor.h#newcode96 content/public/browser/android/compositor.h:96: // done. It is assumed that the texture size ...
8 years ago (2012-12-18 19:14:31 UTC) #8
no sievers
lgtm https://chromiumcodereview.appspot.com/11558039/diff/11002/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://chromiumcodereview.appspot.com/11558039/diff/11002/content/browser/renderer_host/compositor_impl_android.cc#newcode272 content/browser/renderer_host/compositor_impl_android.cc:272: if (bitmap.size() != sub_rect.size() || texture_id == 0) ...
8 years ago (2012-12-18 19:33:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/11558039/11002
8 years ago (2012-12-18 19:37:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/11558039/25001
8 years ago (2012-12-18 20:04:39 UTC) #11
commit-bot: I haz the power
Presubmit check for 11558039-25001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-18 20:04:43 UTC) #12
David Trainor- moved to gerrit
Joth: Can you take a look at aw_contents? Need an owner lgtm. Thanks!
8 years ago (2012-12-18 20:08:02 UTC) #13
joth
lgtm
8 years ago (2012-12-19 00:17:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/11558039/25001
8 years ago (2012-12-19 00:22:14 UTC) #15
commit-bot: I haz the power
8 years ago (2012-12-19 05:40:13 UTC) #16
Message was sent while issue was closed.
Change committed as 173863

Powered by Google App Engine
This is Rietveld 408576698