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

Issue 10695020: upstream SurfaceTextureListener and SurfaceTextureBridge class for android (Closed)

Created:
8 years, 5 months ago by qinmin
Modified:
8 years, 5 months ago
CC:
chromium-reviews, jochen+watch-content_chromium.org, erikwright (departed), jam, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

upstream SurfaceTextureListener and SurfaceTextureBridge class for android BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145213

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressing comments and add StreamTextureManagerAndroid class #

Total comments: 6

Patch Set 3 : fixing nits #

Total comments: 4

Patch Set 4 : fixing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -1 line) Patch
M base/android/jni_generator/jni_generator.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/android/common_jni_registrar.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A content/common/android/surface_texture_bridge.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A content/common/android/surface_texture_bridge.cc View 1 chunk +107 lines, -0 lines 0 comments Download
A content/common/android/surface_texture_listener.h View 1 1 chunk +52 lines, -0 lines 0 comments Download
A content/common/android/surface_texture_listener.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download
A content/common/gpu/stream_texture_manager_android.h View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A content/common/gpu/stream_texture_manager_android.cc View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/common/SurfaceTextureListener.java View 1 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
qinmin
8 years, 5 months ago (2012-06-27 23:16:05 UTC) #1
Yaron
What about adding the hook that reaches into this code? http://codereview.chromium.org/10695020/diff/1/content/common/android/surface_texture_listener.cc File content/common/android/surface_texture_listener.cc (right): http://codereview.chromium.org/10695020/diff/1/content/common/android/surface_texture_listener.cc#newcode49 ...
8 years, 5 months ago (2012-06-27 23:50:14 UTC) #2
qinmin
added streamTextureManagerAndroid class where SurfaceTextureBridge is being used. http://codereview.chromium.org/10695020/diff/1/content/common/android/surface_texture_listener.cc File content/common/android/surface_texture_listener.cc (right): http://codereview.chromium.org/10695020/diff/1/content/common/android/surface_texture_listener.cc#newcode49 content/common/android/surface_texture_listener.cc:49: return ...
8 years, 5 months ago (2012-06-28 02:24:55 UTC) #3
Yaron
http://codereview.chromium.org/10695020/diff/7001/content/common/gpu/stream_texture_manager_android.cc File content/common/gpu/stream_texture_manager_android.cc (right): http://codereview.chromium.org/10695020/diff/7001/content/common/gpu/stream_texture_manager_android.cc#newcode14 content/common/gpu/stream_texture_manager_android.cc:14: NOTIMPLEMENTED(); Why all the NOTIMPLEMENTEDS? Still more to refactor ...
8 years, 5 months ago (2012-06-28 02:53:06 UTC) #4
qinmin
http://codereview.chromium.org/10695020/diff/7001/content/common/gpu/stream_texture_manager_android.cc File content/common/gpu/stream_texture_manager_android.cc (right): http://codereview.chromium.org/10695020/diff/7001/content/common/gpu/stream_texture_manager_android.cc#newcode14 content/common/gpu/stream_texture_manager_android.cc:14: NOTIMPLEMENTED(); I don't want this change to get too ...
8 years, 5 months ago (2012-06-28 03:23:21 UTC) #5
Yaron
lgtm Ok, fair enough. My main motivation was to get this to the point of ...
8 years, 5 months ago (2012-06-28 16:02:21 UTC) #6
jam
lgtm http://codereview.chromium.org/10695020/diff/7001/content/app/android/content_jni_registrar.cc File content/app/android/content_jni_registrar.cc (right): http://codereview.chromium.org/10695020/diff/7001/content/app/android/content_jni_registrar.cc#newcode41 content/app/android/content_jni_registrar.cc:41: content::SurfaceTextureListener::RegisterSurfaceTextureListener }, nit: 4 space indent http://codereview.chromium.org/10695020/diff/7001/content/common/gpu/stream_texture_manager_android.h File ...
8 years, 5 months ago (2012-06-28 23:12:25 UTC) #7
qinmin
https://chromiumcodereview.appspot.com/10695020/diff/7001/content/app/android/content_jni_registrar.cc File content/app/android/content_jni_registrar.cc (right): https://chromiumcodereview.appspot.com/10695020/diff/7001/content/app/android/content_jni_registrar.cc#newcode41 content/app/android/content_jni_registrar.cc:41: content::SurfaceTextureListener::RegisterSurfaceTextureListener }, On 2012/06/28 23:12:26, John Abd-El-Malek wrote: > ...
8 years, 5 months ago (2012-06-28 23:57:25 UTC) #8
qinmin
@jrg, John, would you please take a look? On 2012/06/28 23:57:25, qinmin wrote: > https://chromiumcodereview.appspot.com/10695020/diff/7001/content/app/android/content_jni_registrar.cc ...
8 years, 5 months ago (2012-06-29 00:19:28 UTC) #9
jam
lgtm with nits http://codereview.chromium.org/10695020/diff/14002/content/common/gpu/stream_texture_manager_android.cc File content/common/gpu/stream_texture_manager_android.cc (right): http://codereview.chromium.org/10695020/diff/14002/content/common/gpu/stream_texture_manager_android.cc#newcode14 content/common/gpu/stream_texture_manager_android.cc:14: : surface_texture_(new content::SurfaceTextureBridge(service_id)), nit: ditto http://codereview.chromium.org/10695020/diff/14002/content/common/gpu/stream_texture_manager_android.h ...
8 years, 5 months ago (2012-07-02 17:54:06 UTC) #10
qinmin
http://codereview.chromium.org/10695020/diff/14002/content/common/gpu/stream_texture_manager_android.cc File content/common/gpu/stream_texture_manager_android.cc (right): http://codereview.chromium.org/10695020/diff/14002/content/common/gpu/stream_texture_manager_android.cc#newcode14 content/common/gpu/stream_texture_manager_android.cc:14: : surface_texture_(new content::SurfaceTextureBridge(service_id)), On 2012/07/02 17:54:06, John Abd-El-Malek wrote: ...
8 years, 5 months ago (2012-07-02 19:29:50 UTC) #11
Jay Civelli
base/android LGTM
8 years, 5 months ago (2012-07-02 20:48:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/10695020/17001
8 years, 5 months ago (2012-07-02 20:49:01 UTC) #13
commit-bot: I haz the power
Try job failure for 10695020-17001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 5 months ago (2012-07-02 21:28:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/10695020/17001
8 years, 5 months ago (2012-07-02 21:36:45 UTC) #15
commit-bot: I haz the power
8 years, 5 months ago (2012-07-02 23:03:47 UTC) #16
Change committed as 145213

Powered by Google App Engine
This is Rietveld 408576698