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

Issue 1639183002: Report the SurfaceTexture tranform matrix to CC timely (Closed)

Created:
4 years, 11 months ago by jchen10
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Report the SurfaceTexture tranform matrix to CC timely Send the transform matrix to CC early to be able to calculate the render passes correctly. BUG=581589

Patch Set 1 #

Patch Set 2 : Merge UpdateTexImage to OnFrameAvailable #

Total comments: 4

Patch Set 3 : early-out in case of null stub #

Total comments: 3

Patch Set 4 : Send the matrix prior to FrameAvailable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -59 lines) Patch
M content/common/gpu/stream_texture_android.h View 1 2 chunks +0 lines, -8 lines 0 comments Download
M content/common/gpu/stream_texture_android.cc View 1 2 3 5 chunks +35 lines, -51 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
jchen10
Please kindly take a look! Thanks a lot!
4 years, 11 months ago (2016-01-27 05:54:46 UTC) #3
no sievers
https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc#newcode183 content/common/gpu/stream_texture_android.cc:183: scoped_ptr<ui::ScopedMakeCurrent> scoped_make_current(MakeStubCurrent()); This is not safe here (unlike the ...
4 years, 11 months ago (2016-01-27 19:05:21 UTC) #4
jchen10
https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc#newcode183 content/common/gpu/stream_texture_android.cc:183: scoped_ptr<ui::ScopedMakeCurrent> scoped_make_current(MakeStubCurrent()); On 2016/01/27 19:05:20, sievers wrote: > This ...
4 years, 11 months ago (2016-01-28 01:31:39 UTC) #5
no sievers
On 2016/01/28 01:31:39, jchen10 wrote: > https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc > File content/common/gpu/stream_texture_android.cc (right): > > https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc#newcode183 > ...
4 years, 10 months ago (2016-01-28 19:33:26 UTC) #6
no sievers
On 2016/01/28 19:33:26, sievers wrote: > On 2016/01/28 01:31:39, jchen10 wrote: > > > https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc ...
4 years, 10 months ago (2016-01-28 19:35:04 UTC) #7
jchen10
On 2016/01/28 19:35:04, sievers wrote: > On 2016/01/28 19:33:26, sievers wrote: > > On 2016/01/28 ...
4 years, 10 months ago (2016-01-29 02:37:34 UTC) #8
jchen10
On 2016/01/28 19:33:26, sievers wrote: > On 2016/01/28 01:31:39, jchen10 wrote: > > > https://codereview.chromium.org/1639183002/diff/20001/content/common/gpu/stream_texture_android.cc ...
4 years, 10 months ago (2016-01-29 05:46:51 UTC) #9
no sievers
On 2016/01/29 05:46:51, jchen10 wrote: > On 2016/01/28 19:33:26, sievers wrote: > > On 2016/01/28 ...
4 years, 10 months ago (2016-01-29 18:28:22 UTC) #10
jchen10
On 2016/01/29 18:28:22, sievers wrote: > On 2016/01/29 05:46:51, jchen10 wrote: > > On 2016/01/28 ...
4 years, 10 months ago (2016-02-01 06:30:37 UTC) #11
no sievers
https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc#newcode199 content/common/gpu/stream_texture_android.cc:199: owner_stub_->channel()->Send( I meant: Send this message before GpuStreamTextureMsg_FrameAvailable above ...
4 years, 10 months ago (2016-02-01 18:30:47 UTC) #12
jchen10
https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc#newcode199 content/common/gpu/stream_texture_android.cc:199: owner_stub_->channel()->Send( On 2016/02/01 18:30:47, sievers wrote: > I meant: ...
4 years, 10 months ago (2016-02-02 03:19:24 UTC) #13
liberato (no reviews please)
optimistic? maybe! -fl https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc#newcode184 content/common/gpu/stream_texture_android.cc:184: new GpuStreamTextureMsg_FrameAvailable(route_id_)); if one moves this ...
4 years, 10 months ago (2016-02-02 15:49:44 UTC) #15
liberato (no reviews please)
On 2016/02/02 15:49:44, liberato wrote: > optimistic? maybe! > > -fl > > https://codereview.chromium.org/1639183002/diff/40001/content/common/gpu/stream_texture_android.cc > ...
4 years, 10 months ago (2016-02-02 15:54:55 UTC) #16
Tobias Sargeant
> if one moves this later (after matrixchanged), does it remove the race? > > ...
4 years, 10 months ago (2016-02-02 16:02:05 UTC) #17
liberato (no reviews please)
On 2016/02/02 16:02:05, Tobias Sargeant wrote: > > if one moves this later (after matrixchanged), ...
4 years, 10 months ago (2016-02-02 16:16:30 UTC) #18
no sievers
On 2016/02/02 16:16:30, liberato wrote: > On 2016/02/02 16:02:05, Tobias Sargeant wrote: > > > ...
4 years, 10 months ago (2016-02-02 18:43:32 UTC) #19
no sievers
4 years, 10 months ago (2016-02-19 20:37:05 UTC) #20

Powered by Google App Engine
This is Rietveld 408576698