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

Issue 635543002: cc: Make ResourceProvider use bindless Produce/ConsumeTextureCHROMIUM (Closed)

Created:
6 years, 2 months ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
danakj, vmiura
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make ResourceProvider use bindless Produce/ConsumeTextureCHROMIUM This makes ResourceProvider use ProduceTextureDirectCHROMIUM and CreateAndConsumeTextureCHROMIUM, and reduce some redundant gl operations. BUG=363782 Committed: https://crrev.com/baa78362521106b063a6fc306a8c0f4462c93d02 Cr-Commit-Position: refs/heads/master@{#319237}

Patch Set 1 #

Total comments: 2

Patch Set 2 : dont lose the tex id returned from CreateAndConsumeTex. #

Patch Set 3 : tests updated. #

Total comments: 14

Patch Set 4 : review comments addressed. #

Patch Set 5 : fix test fails in LTH unittest. #

Total comments: 11

Patch Set 6 : rebase + fix test expectations. #

Total comments: 2

Patch Set 7 : review comments addressed. #

Total comments: 2

Patch Set 8 : remove redundant func. #

Total comments: 8

Patch Set 9 : use MOCK method to test. #

Patch Set 10 : rebase to ToT #

Total comments: 6

Patch Set 11 : remove redundant func. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -74 lines) Patch
M cc/resources/resource_provider.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -11 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 19 chunks +56 lines, -53 lines 0 comments Download
M cc/test/ordered_texture_map.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M cc/test/test_web_graphics_context_3d.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/test_web_graphics_context_3d.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 41 (7 generated)
sohanjg
Is this what we are looking for ? Just wanted to check, before i update ...
6 years, 2 months ago (2014-10-06 15:15:51 UTC) #2
danakj
https://codereview.chromium.org/635543002/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/635543002/diff/1/cc/resources/resource_provider.cc#newcode848 cc/resources/resource_provider.cc:848: gl->CreateAndConsumeTextureCHROMIUM(resource->mailbox.target(), This returns the texture id, you're just setting ...
6 years, 2 months ago (2014-10-06 15:25:28 UTC) #3
sohanjg
please take a look, thanks. https://codereview.chromium.org/635543002/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/635543002/diff/1/cc/resources/resource_provider.cc#newcode848 cc/resources/resource_provider.cc:848: gl->CreateAndConsumeTextureCHROMIUM(resource->mailbox.target(), On 2014/10/06 15:25:28, ...
6 years, 2 months ago (2014-10-07 11:23:47 UTC) #4
danakj
This looks good, you said there will be test changes?
6 years, 2 months ago (2014-10-07 16:00:48 UTC) #5
sohanjg
On 2014/10/07 16:00:48, danakj wrote: > This looks good, you said there will be test ...
6 years, 2 months ago (2014-10-13 15:09:27 UTC) #6
sohanjg
Can you please take a look at the tests, i had to let go of ...
6 years, 2 months ago (2014-10-15 15:15:17 UTC) #7
danakj
Sorry I'm not really sure what's going on in these test changes. You're adding new ...
6 years, 2 months ago (2014-10-15 16:46:19 UTC) #8
sohanjg
Sorry for the tests being not too clear. My intentions were to, 1. Change all ...
6 years, 2 months ago (2014-10-16 10:33:21 UTC) #9
sohanjg
Can you please take a look at this change, and comments above, and provide your ...
6 years, 1 month ago (2014-11-05 12:46:43 UTC) #10
sohanjg
On 2014/11/05 12:46:43, sohanjg wrote: > Can you please take a look at this change, ...
6 years ago (2014-12-01 06:19:31 UTC) #11
danakj
https://codereview.chromium.org/635543002/diff/90001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (left): https://codereview.chromium.org/635543002/diff/90001/cc/resources/resource_provider_unittest.cc#oldcode722 cc/resources/resource_provider_unittest.cc:722: GetResourcePixels( We should not remove test expectations https://codereview.chromium.org/635543002/diff/90001/cc/resources/resource_provider_unittest.cc#oldcode1866 cc/resources/resource_provider_unittest.cc:1866: ...
6 years ago (2014-12-01 16:20:05 UTC) #12
sohanjg
Please take a look, thanks! https://codereview.chromium.org/635543002/diff/90001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (left): https://codereview.chromium.org/635543002/diff/90001/cc/resources/resource_provider_unittest.cc#oldcode722 cc/resources/resource_provider_unittest.cc:722: GetResourcePixels( On 2014/12/01 16:20:05, ...
5 years, 11 months ago (2014-12-30 14:45:55 UTC) #15
sohanjg
On 2014/12/30 14:45:55, sohanjg wrote: > Please take a look, thanks! > > https://codereview.chromium.org/635543002/diff/90001/cc/resources/resource_provider_unittest.cc > ...
5 years, 10 months ago (2015-01-29 18:26:58 UTC) #16
vmiura
https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc#newcode282 cc/resources/resource_provider_unittest.cc:282: void consumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override { Why ...
5 years, 10 months ago (2015-02-04 06:29:52 UTC) #17
sohanjg
https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc#newcode282 cc/resources/resource_provider_unittest.cc:282: void consumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override { On ...
5 years, 10 months ago (2015-02-05 09:50:33 UTC) #18
vmiura
On 2015/02/05 09:50:33, sohanjg wrote: > https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc > File cc/resources/resource_provider_unittest.cc (right): > > https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc#newcode282 > ...
5 years, 10 months ago (2015-02-06 06:29:53 UTC) #19
sohanjg
On 2015/02/06 06:29:53, vmiura wrote: > On 2015/02/05 09:50:33, sohanjg wrote: > > > https://codereview.chromium.org/635543002/diff/150001/cc/resources/resource_provider_unittest.cc ...
5 years, 10 months ago (2015-02-06 06:34:20 UTC) #20
vmiura
LGTM, but danakj@ needs to approve.
5 years, 10 months ago (2015-02-12 07:00:57 UTC) #21
danakj
https://codereview.chromium.org/635543002/diff/170001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/170001/cc/resources/resource_provider_unittest.cc#newcode304 cc/resources/resource_provider_unittest.cc:304: unsigned id) { What is the point of this ...
5 years, 10 months ago (2015-02-12 21:37:07 UTC) #22
sohanjg
Thanks for the input. PTAL. https://codereview.chromium.org/635543002/diff/170001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/170001/cc/resources/resource_provider_unittest.cc#newcode304 cc/resources/resource_provider_unittest.cc:304: unsigned id) { On ...
5 years, 10 months ago (2015-02-13 05:29:03 UTC) #24
danakj
https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (left): https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc#oldcode102 cc/resources/resource_provider_unittest.cc:102: MOCK_METHOD2(consumeTextureCHROMIUM, dont we want consume direct here so we ...
5 years, 10 months ago (2015-02-13 18:12:22 UTC) #25
sohanjg
https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (left): https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc#oldcode102 cc/resources/resource_provider_unittest.cc:102: MOCK_METHOD2(consumeTextureCHROMIUM, On 2015/02/13 18:12:22, danakj wrote: > dont we ...
5 years, 10 months ago (2015-02-16 13:39:56 UTC) #26
danakj
https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (left): https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc#oldcode102 cc/resources/resource_provider_unittest.cc:102: MOCK_METHOD2(consumeTextureCHROMIUM, On 2015/02/16 13:39:56, sohanjg wrote: > On 2015/02/13 ...
5 years, 10 months ago (2015-02-18 18:37:28 UTC) #27
sohanjg
https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (left): https://codereview.chromium.org/635543002/diff/190001/cc/resources/resource_provider_unittest.cc#oldcode102 cc/resources/resource_provider_unittest.cc:102: MOCK_METHOD2(consumeTextureCHROMIUM, On 2015/02/18 18:37:28, danakj wrote: > On 2015/02/16 ...
5 years, 10 months ago (2015-02-19 14:54:48 UTC) #28
danakj
Some googling got me here. Its what you're looking for? https://code.google.com/p/googlemock/wiki/ForDummies#Actions:_What_Should_It_Do ? On Feb 19, ...
5 years, 10 months ago (2015-02-19 17:11:34 UTC) #29
sohanjg
Can you please take a look, thanks for your patience on this. :) https://codereview.chromium.org/635543002/diff/230001/cc/test/ordered_texture_map.cc File ...
5 years, 9 months ago (2015-02-27 11:15:03 UTC) #30
danakj
LGTM w/ 1 question.. https://codereview.chromium.org/635543002/diff/230001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/230001/cc/resources/resource_provider_unittest.cc#newcode284 cc/resources/resource_provider_unittest.cc:284: void consumeTextureCHROMIUM(GLenum target, const GLbyte* ...
5 years, 9 months ago (2015-03-03 19:27:31 UTC) #31
sohanjg
https://codereview.chromium.org/635543002/diff/230001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/230001/cc/resources/resource_provider_unittest.cc#newcode284 cc/resources/resource_provider_unittest.cc:284: void consumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override { On ...
5 years, 9 months ago (2015-03-04 05:49:50 UTC) #32
danakj
On Tue, Mar 3, 2015 at 9:49 PM, <sohan.jyoti@samsung.com> wrote: > > https://codereview.chromium.org/635543002/diff/230001/cc/ > resources/resource_provider_unittest.cc ...
5 years, 9 months ago (2015-03-04 16:41:26 UTC) #33
sohanjg
On 2015/03/04 16:41:26, danakj wrote: > On Tue, Mar 3, 2015 at 9:49 PM, <mailto:sohan.jyoti@samsung.com> ...
5 years, 9 months ago (2015-03-04 17:31:28 UTC) #34
sohanjg
Thanks. https://codereview.chromium.org/635543002/diff/230001/cc/resources/resource_provider_unittest.cc File cc/resources/resource_provider_unittest.cc (right): https://codereview.chromium.org/635543002/diff/230001/cc/resources/resource_provider_unittest.cc#newcode284 cc/resources/resource_provider_unittest.cc:284: void consumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override { ...
5 years, 9 months ago (2015-03-05 05:44:27 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635543002/250001
5 years, 9 months ago (2015-03-05 07:23:40 UTC) #38
commit-bot: I haz the power
Committed patchset #11 (id:250001)
5 years, 9 months ago (2015-03-05 09:14:27 UTC) #39
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 09:15:27 UTC) #40
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/baa78362521106b063a6fc306a8c0f4462c93d02
Cr-Commit-Position: refs/heads/master@{#319237}

Powered by Google App Engine
This is Rietveld 408576698