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

Issue 2145643004: Fix preserve backbuffer with native GMBs. (Closed)

Created:
4 years, 5 months ago by erikchen
Modified:
4 years, 5 months ago
Reviewers:
piman
CC:
chromium-reviews, 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

Fix preserve backbuffer with native GMBs. The implementation of BackTexture::Copy was using glCopyTexImage2D, which reallocates storage for the BackTexture. This doesn't work with native GMBs, since they don't use traditional GL storage mechanisms. Switching to glCopyTexSubImage2D fixes the problem, and is more efficient since storage has already been allocated. BUG=627332 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/2fc766777b27679b88b84561068ef189d550294a Cr-Commit-Position: refs/heads/master@{#404945}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -58 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 3 chunks +6 lines, -9 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 2 chunks +3 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_native_gmb_backbuffer_unittest.cc View 2 chunks +65 lines, -48 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
erikchen
piman: Please review.
4 years, 5 months ago (2016-07-12 20:45:39 UTC) #4
piman
lgtm
4 years, 5 months ago (2016-07-12 21:02:50 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/2145643004/1
4 years, 5 months ago (2016-07-12 21:06:29 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/229716) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-12 22:12:05 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/2145643004/1
4 years, 5 months ago (2016-07-12 22:15:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/191802) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 5 months ago (2016-07-13 00:13:08 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/2145643004/1
4 years, 5 months ago (2016-07-13 00:16:39 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-13 03:15:27 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 03:18:43 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2fc766777b27679b88b84561068ef189d550294a
Cr-Commit-Position: refs/heads/master@{#404945}

Powered by Google App Engine
This is Rietveld 408576698