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

Issue 1066073002: Test gpu memory buffers drawing directly to the backbuffer. (Closed)

Created:
5 years, 8 months ago by Daniele Castagna
Modified:
5 years, 8 months ago
Reviewers:
reveman, 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

Test gpu memory buffers drawing directly to the backbuffer. To test the lifecycle of a memory buffer we used to use glCopyTextureCHROMIUM. This has some limitations due to the extension spec (i.e: limited subset of formats), and doesn't test the general lifecycle of the memory buffer. This patch changes GpuMemoryBufferTest.Lifecycle to test the lifecycle of the GpuMemoryBuffer writing directly to the backbuffer. BUG= Committed: https://crrev.com/af2cc1710b7cb58c990f0a5d7c2841125a84da81 Cr-Commit-Position: refs/heads/master@{#324123}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address nits. Fix cleanup. #

Total comments: 2

Patch Set 3 : Address piman's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -31 lines) Patch
M gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc View 1 2 4 chunks +65 lines, -31 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Daniele Castagna
5 years, 8 months ago (2015-04-07 20:03:52 UTC) #2
reveman
lgtm with nits https://codereview.chromium.org/1066073002/diff/1/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc File gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc (left): https://codereview.chromium.org/1066073002/diff/1/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc#oldcode203 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc:203: // Destroy the image. nit: maybe ...
5 years, 8 months ago (2015-04-07 20:10:19 UTC) #3
Daniele Castagna
https://codereview.chromium.org/1066073002/diff/1/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc File gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc (left): https://codereview.chromium.org/1066073002/diff/1/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc#oldcode203 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc:203: // Destroy the image. On 2015/04/07 at 20:10:19, reveman ...
5 years, 8 months ago (2015-04-07 20:15:53 UTC) #4
Daniele Castagna
+piman@ for owner approval.
5 years, 8 months ago (2015-04-07 20:23:31 UTC) #6
piman
lgtm https://codereview.chromium.org/1066073002/diff/20001/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc File gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc (right): https://codereview.chromium.org/1066073002/diff/20001/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc#newcode41 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc:41: auto options = GLManager::Options(); nit: GLManager::Options options;
5 years, 8 months ago (2015-04-07 20:55:56 UTC) #7
Daniele Castagna
https://codereview.chromium.org/1066073002/diff/20001/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc File gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc (right): https://codereview.chromium.org/1066073002/diff/20001/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc#newcode41 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc:41: auto options = GLManager::Options(); On 2015/04/07 at 20:55:56, piman ...
5 years, 8 months ago (2015-04-07 21:02:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066073002/40001
5 years, 8 months ago (2015-04-07 21:03:46 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-07 21:35:14 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 21:35:56 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/af2cc1710b7cb58c990f0a5d7c2841125a84da81
Cr-Commit-Position: refs/heads/master@{#324123}

Powered by Google App Engine
This is Rietveld 408576698