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

Issue 191933002: This is initial API support required for enabling SurfaceTexture backed zero-copy for Android (Closed)

Created:
6 years, 9 months ago by sohanjg
Modified:
5 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

This is initial API support required for enabling SurfaceTexture backed zero-copy for Android BUG=269808 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256604

Patch Set 1 #

Total comments: 10

Patch Set 2 : nits + comments #

Total comments: 8

Patch Set 3 : sdk version check and comments #

Total comments: 7

Patch Set 4 : comments + nits #

Patch Set 5 : comments + nits #

Patch Set 6 : remove unused code #

Total comments: 2

Patch Set 7 : android buildbot fail issue + nits #

Patch Set 8 : build issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -11 lines) Patch
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/stream_texture_android.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/stream_texture_manager_in_process_android.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_unittests_android.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M ui/gl/android/surface_texture.h View 1 2 3 4 5 6 3 chunks +18 lines, -1 line 0 comments Download
M ui/gl/android/surface_texture.cc View 1 2 3 4 5 3 chunks +26 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (1 generated)
reveman
https://codereview.chromium.org/191933002/diff/1/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/1/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode24 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:24: private static SurfaceTexture create(int textureId, boolean single_buffered) { s/single_buffered/singleBufferMode/ ...
6 years, 9 months ago (2014-03-08 14:10:20 UTC) #1
sohanjg
PTAL. Thanks https://codereview.chromium.org/191933002/diff/1/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/1/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode24 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:24: private static SurfaceTexture create(int textureId, boolean single_buffered) ...
6 years, 9 months ago (2014-03-08 14:20:15 UTC) #2
reveman
https://codereview.chromium.org/191933002/diff/20001/ui/gl/android/surface_texture.cc File ui/gl/android/surface_texture.cc (right): https://codereview.chromium.org/191933002/diff/20001/ui/gl/android/surface_texture.cc#newcode29 ui/gl/android/surface_texture.cc:29: SurfaceTexture::SurfaceTexture(int texture_id, bool single_buffered) { s/single_buffered/single_buffer_mode/ https://codereview.chromium.org/191933002/diff/20001/ui/gl/android/surface_texture.h File ui/gl/android/surface_texture.h ...
6 years, 9 months ago (2014-03-08 14:28:25 UTC) #3
reveman
lgtm +sievers +piman for gpu/command_buffer +bulach for ui/android
6 years, 9 months ago (2014-03-08 14:47:49 UTC) #4
bulach
hmm... I think bots won't be happy, more inline. sievers certainly know more about it: ...
6 years, 9 months ago (2014-03-10 12:32:30 UTC) #5
reveman
https://codereview.chromium.org/191933002/diff/40001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/40001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode25 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:25: return new SurfaceTexture(textureId, singleBufferMode); On 2014/03/10 12:32:31, bulach wrote: ...
6 years, 9 months ago (2014-03-10 13:33:05 UTC) #6
bulach
https://codereview.chromium.org/191933002/diff/40001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/40001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode25 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:25: return new SurfaceTexture(textureId, singleBufferMode); On 2014/03/10 13:33:05, reveman wrote: ...
6 years, 9 months ago (2014-03-10 13:47:48 UTC) #7
reveman
https://codereview.chromium.org/191933002/diff/50001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/50001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode25 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:25: return new SurfaceTexture(textureId, singleBufferMode); you'll need to add a ...
6 years, 9 months ago (2014-03-10 16:16:58 UTC) #8
epennerAtGoogle
https://codereview.chromium.org/191933002/diff/50001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/50001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode25 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:25: return new SurfaceTexture(textureId, singleBufferMode); On 2014/03/10 16:16:58, reveman wrote: ...
6 years, 9 months ago (2014-03-10 18:54:07 UTC) #9
reveman
https://codereview.chromium.org/191933002/diff/50001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java File ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java (right): https://codereview.chromium.org/191933002/diff/50001/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java#newcode25 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java:25: return new SurfaceTexture(textureId, singleBufferMode); On 2014/03/10 18:54:07, epennerAtGoogle wrote: ...
6 years, 9 months ago (2014-03-10 19:02:13 UTC) #10
epennerAtGoogle
> It would work but I prefer if we only branch once and it happens ...
6 years, 9 months ago (2014-03-10 19:03:41 UTC) #11
piman
LGTM % other comments.
6 years, 9 months ago (2014-03-10 19:33:57 UTC) #12
sohanjg
Updated with the comments. PTAL.Thanks
6 years, 9 months ago (2014-03-11 08:11:32 UTC) #13
bulach
lgtm % some small comments.. sievers / epenner may want to take a look at ...
6 years, 9 months ago (2014-03-11 16:13:16 UTC) #14
epennerAtGoogle
lgtm % other nits. Looking good!
6 years, 9 months ago (2014-03-11 19:22:07 UTC) #15
sohanjg
Addressed build bot issue and nits. PTAL. Thanks
6 years, 9 months ago (2014-03-12 06:14:15 UTC) #16
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 9 months ago (2014-03-12 06:14:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/191933002/120001
6 years, 9 months ago (2014-03-12 06:15:24 UTC) #18
sohanjg
The CQ bit was unchecked by sohan.jyoti@samsung.com
6 years, 9 months ago (2014-03-12 06:38:05 UTC) #19
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 9 months ago (2014-03-12 08:26:35 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/191933002/140001
6 years, 9 months ago (2014-03-12 08:28:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/191933002/140001
6 years, 9 months ago (2014-03-12 16:51:58 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/191933002/140001
6 years, 9 months ago (2014-03-12 19:11:55 UTC) #23
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 19:38:55 UTC) #24
Message was sent while issue was closed.
Change committed as 256604

Powered by Google App Engine
This is Rietveld 408576698