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

Issue 1422103003: cc: Remove the ability to specify a GL texture target (Closed)

Created:
5 years, 1 month ago by ccameron
Modified:
5 years, 1 month ago
Reviewers:
reveman
CC:
cc-bugs_chromium.org, 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

cc: Remove the ability to specify a GL texture target This feature is only used to, in a very roundabout way, specify that we want to use the GLImage texture target (if available) for the resource. Make this more clear, by replacing CreateResourceWithTextureTarget with CreateResourceWithImageTextureTarget, which does not take a target argument. Similarly add ResourcePool::CreateForImageTextureTarget as a way to create resource pools that will have this behavior. BUG=533677 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/a446856b8c1d867785bc191d3d1e8fff94ea7905 Cr-Commit-Position: refs/heads/master@{#356965}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remote target handle changes #

Total comments: 4

Patch Set 3 : Incorporate review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -54 lines) Patch
M cc/resources/resource_pool.h View 3 chunks +6 lines, -8 lines 0 comments Download
M cc/resources/resource_pool.cc View 2 chunks +9 lines, -5 lines 0 comments Download
M cc/resources/resource_pool_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/resource_provider.h View 1 chunk +3 lines, -4 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 1 chunk +4 lines, -7 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/scoped_resource.h View 1 chunk +2 lines, -3 lines 0 comments Download
M cc/resources/scoped_resource.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 4 chunks +8 lines, -8 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (3 generated)
ccameron
ptal
5 years, 1 month ago (2015-10-28 23:24:10 UTC) #2
reveman
https://codereview.chromium.org/1422103003/diff/1/cc/resources/resource_pool.h File cc/resources/resource_pool.h (right): https://codereview.chromium.org/1422103003/diff/1/cc/resources/resource_pool.h#newcode24 cc/resources/resource_pool.h:24: static scoped_ptr<ResourcePool> CreateForImageTextureTarget( I think this change will break ...
5 years, 1 month ago (2015-10-29 14:11:39 UTC) #3
ccameron
Thanks -- I excised the GMB target part of the patch, because it's wrong and ...
5 years, 1 month ago (2015-10-29 19:08:29 UTC) #5
reveman
https://codereview.chromium.org/1422103003/diff/1/cc/resources/resource_pool.h File cc/resources/resource_pool.h (right): https://codereview.chromium.org/1422103003/diff/1/cc/resources/resource_pool.h#newcode24 cc/resources/resource_pool.h:24: static scoped_ptr<ResourcePool> CreateForImageTextureTarget( On 2015/10/29 at 19:08:29, ccameron wrote: ...
5 years, 1 month ago (2015-10-29 19:41:58 UTC) #6
ccameron
Thanks -- updated. https://codereview.chromium.org/1422103003/diff/20001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1422103003/diff/20001/cc/resources/resource_provider.cc#newcode407 cc/resources/resource_provider.cc:407: GLenum target = GetImageTextureTarget(format); On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 20:01:29 UTC) #7
reveman
lgtm
5 years, 1 month ago (2015-10-29 20:05:15 UTC) #8
ccameron
Thanks!
5 years, 1 month ago (2015-10-29 21:17:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422103003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422103003/40001
5 years, 1 month ago (2015-10-29 21:19:02 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-29 22:28:30 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 22:29:21 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a446856b8c1d867785bc191d3d1e8fff94ea7905
Cr-Commit-Position: refs/heads/master@{#356965}

Powered by Google App Engine
This is Rietveld 408576698