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

Issue 2507963003: Pass correct texture hint for GPU raster (Closed)

Created:
4 years, 1 month ago by ericrk
Modified:
4 years, 1 month ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass correct texture hint for GPU raster Currently, ResourcePool creates all resources with ResourceProvider::TEXTURE_HINT_IMMUTABLE. This is fine for SW raster, however we should be using TEXTURE_HINT_IMMUTABLE_FRAMEBUFFER for GPU raster. Using the correct flag passes additional information to ANGLE via a GL extension and causes us to skip an unnecessary texture copy. R=vmpstr CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/da59d418f54604ba2451cd0ef3a9cd42c05ca530 Cr-Commit-Position: refs/heads/master@{#433437}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Default initialize more vars #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -30 lines) Patch
M cc/resources/resource_pool.h View 1 2 4 chunks +22 lines, -15 lines 0 comments Download
M cc/resources/resource_pool.cc View 2 chunks +21 lines, -10 lines 0 comments Download
M cc/resources/resource_pool_unittest.cc View 4 chunks +26 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.cc View 3 chunks +12 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
ericrk
4 years, 1 month ago (2016-11-17 02:24:36 UTC) #2
vmpstr
lgtm https://codereview.chromium.org/2507963003/diff/1/cc/resources/resource_pool.h File cc/resources/resource_pool.h (right): https://codereview.chromium.org/2507963003/diff/1/cc/resources/resource_pool.h#newcode170 cc/resources/resource_pool.h:170: ResourceProvider* resource_provider_; While here, do you mind initializing ...
4 years, 1 month ago (2016-11-17 19:17:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2507963003/20001
4 years, 1 month ago (2016-11-17 21:20:05 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_trusty_blink_rel/builds/1704)
4 years, 1 month ago (2016-11-17 23:08:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2507963003/20001
4 years, 1 month ago (2016-11-17 23:11:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_trusty_blink_rel/builds/1706) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 1 month ago (2016-11-18 00:06:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2507963003/20001
4 years, 1 month ago (2016-11-18 00:19:10 UTC) #18
commit-bot: I haz the power
Failed to apply patch for cc/resources/resource_pool.h: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-18 03:12:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2507963003/20001
4 years, 1 month ago (2016-11-19 01:33:58 UTC) #22
commit-bot: I haz the power
Failed to apply patch for cc/resources/resource_pool.h: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-19 03:38:23 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2507963003/40001
4 years, 1 month ago (2016-11-19 23:45:05 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-20 00:44:34 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-11-20 00:45:58 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/da59d418f54604ba2451cd0ef3a9cd42c05ca530
Cr-Commit-Position: refs/heads/master@{#433437}

Powered by Google App Engine
This is Rietveld 408576698