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

Issue 1536713002: Apply the Surface Texture transformation matrix during texture copy. (Closed)

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

Description

Apply the Surface Texture transformation matrix during texture copy. Android Surface Textures have an associated UV transform matrix that can potentially vary from frame to frame. If the texture is copied, it is useful for the copy to have a consistent orientation, rather than having to propagate the UV transformation matrix with the copy as well. BUG=226218 Committed: https://crrev.com/f52b1e6228ee51bb78886d2a17155d3e2acbb0da Cr-Commit-Position: refs/heads/master@{#368017}

Patch Set 1 #

Patch Set 2 : remove inline virtual #

Patch Set 3 : Apply stream texture transformation matrix by implemementing CopyTex(Sub)Image #

Total comments: 8

Patch Set 4 : Remove stray logging #

Total comments: 7

Patch Set 5 : Address comments. #

Total comments: 4

Patch Set 6 : rebase #

Patch Set 7 : reindent #

Patch Set 8 : texture must be flipped during copy, to satisfy webgl conformance tests. #

Patch Set 9 : Add comment explaining the need for the extra y flip. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -49 lines) Patch
M content/common/gpu/stream_texture_android.h View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
M content/common/gpu/stream_texture_android.cc View 1 2 3 4 5 6 7 8 8 chunks +183 lines, -49 lines 0 comments Download

Messages

Total messages: 55 (21 generated)
Tobias Sargeant
5 years ago (2015-12-21 18:01:44 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536713002/1
5 years ago (2015-12-21 18:03:48 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/145799) linux_chromium_rel_ng on ...
5 years ago (2015-12-21 18:17:40 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536713002/20001
5 years ago (2015-12-21 19:12:23 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/95670) chromeos_amd64-generic_chromium_compile_only_ng on ...
5 years ago (2015-12-21 19:24:20 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536713002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536713002/40001
5 years ago (2015-12-21 19:45:16 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-21 20:58:54 UTC) #16
reveman
Can we implement CopyTex(Sub)Image instead and handle the transform there?
5 years ago (2015-12-21 21:14:55 UTC) #17
Tobias Sargeant
On 2015/12/21 21:14:55, reveman wrote: > Can we implement CopyTex(Sub)Image instead and handle the transform ...
5 years ago (2015-12-21 21:21:45 UTC) #18
reveman
On 2015/12/21 at 21:21:45, tobiasjs wrote: > On 2015/12/21 21:14:55, reveman wrote: > > Can ...
5 years ago (2015-12-21 21:46:54 UTC) #19
Tobias Sargeant
On 2015/12/21 21:46:54, reveman wrote: > On 2015/12/21 at 21:21:45, tobiasjs wrote: > > On ...
5 years ago (2015-12-22 01:47:20 UTC) #20
Tobias Sargeant
> I'll give that a go tomorrow. PS3 does this. Could you please take a ...
5 years ago (2015-12-22 20:37:56 UTC) #21
reveman
thanks, I think this is a better solution. a few questions below. https://codereview.chromium.org/1536713002/diff/60001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc ...
5 years ago (2015-12-23 16:05:37 UTC) #22
Tobias Sargeant
https://codereview.chromium.org/1536713002/diff/60001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1536713002/diff/60001/content/common/gpu/stream_texture_android.cc#newcode170 content/common/gpu/stream_texture_android.cc:170: if (!owner_stub_ || !surface_texture_.get()) On 2015/12/23 16:05:36, reveman wrote: ...
5 years ago (2015-12-23 20:06:14 UTC) #23
reveman
https://codereview.chromium.org/1536713002/diff/60001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1536713002/diff/60001/content/common/gpu/stream_texture_android.cc#newcode170 content/common/gpu/stream_texture_android.cc:170: if (!owner_stub_ || !surface_texture_.get()) On 2015/12/23 at 20:06:14, Tobias ...
5 years ago (2015-12-23 23:11:49 UTC) #24
Tobias Sargeant
I'm still not certain whether returning true is the right thing to do. It seems ...
5 years ago (2015-12-24 01:28:34 UTC) #25
reveman
Returning false for now is probably wrong but that's fine as it's not new to ...
5 years ago (2015-12-24 02:14:43 UTC) #26
Tobias Sargeant
Thanks, and happy holidays. I'll file a bug to address the final comments in a ...
4 years, 12 months ago (2015-12-24 15:37:12 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536713002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536713002/100001
4 years, 12 months ago (2015-12-24 15:37:21 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/131508)
4 years, 12 months ago (2015-12-24 15:43:58 UTC) #31
Tobias Sargeant
kbr@ or ccameron@, could you please also take a look? Thanks.
4 years, 12 months ago (2015-12-24 16:25:13 UTC) #33
Ken Russell (switch to Gerrit)
lgtm if this has been tested. https://codereview.chromium.org/1536713002/diff/100001/content/common/gpu/stream_texture_android.cc File content/common/gpu/stream_texture_android.cc (right): https://codereview.chromium.org/1536713002/diff/100001/content/common/gpu/stream_texture_android.cc#newcode102 content/common/gpu/stream_texture_android.cc:102: glDeleteBuffersARB(1, &vertex_buffer_); It's ...
4 years, 12 months ago (2015-12-28 23:35:47 UTC) #34
Tobias Sargeant
Thanks Ken. This is tested by virtue of enabling a parallel CL that I'm working ...
4 years, 11 months ago (2016-01-05 23:17:06 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536713002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536713002/140001
4 years, 11 months ago (2016-01-05 23:21:23 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 11 months ago (2016-01-06 00:26:53 UTC) #40
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/907d1b74f2f3b50d77577c8d83c0cd2472400b3f Cr-Commit-Position: refs/heads/master@{#367714}
4 years, 11 months ago (2016-01-06 00:28:00 UTC) #42
Ɓukasz Anforowicz
A revert of this CL (patchset #7 id:140001) has been created in https://codereview.chromium.org/1569543002/ by lukasza@chromium.org. ...
4 years, 11 months ago (2016-01-06 17:10:53 UTC) #43
Tobias Sargeant
Hi Ken, Could you please take a look at this before I resubmit? Unfortunately I ...
4 years, 11 months ago (2016-01-07 00:11:42 UTC) #45
Ken Russell (switch to Gerrit)
On 2016/01/07 00:11:42, Tobias Sargeant wrote: > Hi Ken, > > Could you please take ...
4 years, 11 months ago (2016-01-07 01:10:17 UTC) #46
Tobias Sargeant
On 2016/01/07 01:10:17, Ken Russell wrote: > It looks OK, but what code paths is ...
4 years, 11 months ago (2016-01-07 02:50:02 UTC) #47
Ken Russell (switch to Gerrit)
On 2016/01/07 02:50:02, Tobias Sargeant wrote: > On 2016/01/07 01:10:17, Ken Russell wrote: > > ...
4 years, 11 months ago (2016-01-07 03:42:34 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536713002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536713002/180001
4 years, 11 months ago (2016-01-07 04:42:52 UTC) #51
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 11 months ago (2016-01-07 05:40:20 UTC) #53
commit-bot: I haz the power
4 years, 11 months ago (2016-01-07 05:41:06 UTC) #55
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f52b1e6228ee51bb78886d2a17155d3e2acbb0da
Cr-Commit-Position: refs/heads/master@{#368017}

Powered by Google App Engine
This is Rietveld 408576698