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

Issue 1025523005: gl_tests: Use zero size gl surface for offscreen rendering (Closed)

Created:
5 years, 9 months ago by vignatti (out of this project)
Modified:
5 years, 8 months ago
Reviewers:
bajones, dnicoara, piman, raldi, spang
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

gl_tests: Use zero size gl surface for offscreen rendering In GLX, most of the drivers can cope with both PBuffer and Surfaceless modes for offscreen rendering. In EGL though, Intel driver only works with Surfaceless. This CL changes all hardware platforms to use Surfaceless by forcing a zero size GL surface initialization. Ozone-GBM wasn't previously working because of that but now works like a charm ("[ PASSED ] 94 tests"). This CL also fixes gpu_unittests under Ozone-GBM ("[ PASSED ] 2544 tests") and cleans a bit the message loop creation, bringing it to run earlier in the RunTestSuite. BUG=471261 TEST=gl_tests, gpu_unittests on both GBM and X11 (Linux) NOTRY=true Committed: https://crrev.com/825c082c407341474d2083c180d90c3480b4ebbd Cr-Commit-Position: refs/heads/master@{#324925}

Patch Set 1 #

Patch Set 2 : make gpu_unittests pass as well #

Total comments: 4

Patch Set 3 : localized message loop creation #

Patch Set 4 : fix multi-processed case #

Total comments: 4

Patch Set 5 : fix ozone dependency for gl_tests #

Patch Set 6 : remove unneeded ozone symbols and add gl init inside callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -48 lines) Patch
M gpu/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper_test.cc View 1 2 3 chunks +0 lines, -9 lines 0 comments Download
M gpu/command_buffer/client/fenced_allocator_test.cc View 1 2 3 chunks +0 lines, -9 lines 0 comments Download
M gpu/command_buffer/client/mapped_memory_unittest.cc View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M gpu/command_buffer/client/ring_buffer_test.cc View 1 2 3 chunks +0 lines, -9 lines 0 comments Download
M gpu/command_buffer/common/unittest_main.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_scheduler_unittest.cc View 1 2 3 chunks +0 lines, -9 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_tests_main.cc View 1 2 3 4 5 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 51 (15 generated)
vignatti (out of this project)
bajones@, I want your consent first for the bigger changes and then we can review ...
5 years, 9 months ago (2015-03-23 23:15:42 UTC) #2
bajones
On 2015/03/23 23:15:42, vignatti wrote: > bajones@, I want your consent first for the bigger ...
5 years, 9 months ago (2015-03-23 23:50:19 UTC) #3
vignatti (out of this project)
On 2015/03/23 23:50:19, bajones wrote: > On 2015/03/23 23:15:42, vignatti wrote: > > bajones@, I ...
5 years, 9 months ago (2015-03-23 23:58:01 UTC) #5
piman
https://codereview.chromium.org/1025523005/diff/20001/gpu/command_buffer/client/cmd_buffer_helper_test.cc File gpu/command_buffer/client/cmd_buffer_helper_test.cc (right): https://codereview.chromium.org/1025523005/diff/20001/gpu/command_buffer/client/cmd_buffer_helper_test.cc#newcode264 gpu/command_buffer/client/cmd_buffer_helper_test.cc:264: #endif Could this (and the autorelease_pool_) be moved to ...
5 years, 9 months ago (2015-03-24 00:36:30 UTC) #6
vignatti (out of this project)
PTAL now. Adding spang@ also for dependencies added to DEPS: '+ui/ozone/public' https://codereview.chromium.org/1025523005/diff/20001/gpu/command_buffer/client/cmd_buffer_helper_test.cc File gpu/command_buffer/client/cmd_buffer_helper_test.cc (right): ...
5 years, 9 months ago (2015-03-24 14:01:49 UTC) #8
spang
lgtm
5 years, 9 months ago (2015-03-24 15:56:25 UTC) #9
piman
lgtm
5 years, 9 months ago (2015-03-25 01:35:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025523005/40001
5 years, 9 months ago (2015-03-25 13:18:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/1303)
5 years, 9 months ago (2015-03-25 13:58:52 UTC) #15
vignatti (out of this project)
On 2015/03/25 13:58:52, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 9 months ago (2015-03-25 15:38:33 UTC) #16
dnicoara
On 2015/03/25 15:38:33, vignatti wrote: > On 2015/03/25 13:58:52, I haz the power (commit-bot) wrote: ...
5 years, 9 months ago (2015-03-25 15:46:43 UTC) #17
vignatti (out of this project)
On 2015/03/25 15:46:43, dnicoara wrote: > > The error is: > [0325/062436:FATAL:message_loop.cc(387)] Check failed: !current(). ...
5 years, 9 months ago (2015-03-26 20:39:12 UTC) #18
piman
https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc File gpu/command_buffer/tests/gl_tests_main.cc (right): https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc#newcode55 gpu/command_buffer/tests/gl_tests_main.cc:55: #endif This concerns me slightly because ApplyGpuDriverBugWorkarounds below needs ...
5 years, 9 months ago (2015-03-26 20:50:13 UTC) #19
vignatti (out of this project)
https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc File gpu/command_buffer/tests/gl_tests_main.cc (right): https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc#newcode55 gpu/command_buffer/tests/gl_tests_main.cc:55: #endif On 2015/03/26 20:50:13, piman (Very slow to review) ...
5 years, 9 months ago (2015-03-26 21:18:28 UTC) #20
piman
https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc File gpu/command_buffer/tests/gl_tests_main.cc (right): https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc#newcode55 gpu/command_buffer/tests/gl_tests_main.cc:55: #endif On 2015/03/26 21:18:28, vignatti wrote: > On 2015/03/26 ...
5 years, 9 months ago (2015-03-26 21:32:50 UTC) #21
vignatti (out of this project)
https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc File gpu/command_buffer/tests/gl_tests_main.cc (right): https://codereview.chromium.org/1025523005/diff/60001/gpu/command_buffer/tests/gl_tests_main.cc#newcode55 gpu/command_buffer/tests/gl_tests_main.cc:55: #endif On 2015/03/26 21:32:49, piman (Very slow to review) ...
5 years, 9 months ago (2015-03-27 16:00:16 UTC) #22
vignatti (out of this project)
In Patch Set #6 now, I've moved the GL initialization to the runner callback (piman's ...
5 years, 9 months ago (2015-03-27 23:51:11 UTC) #23
piman
lgtm
5 years, 8 months ago (2015-03-31 03:58:45 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025523005/100001
5 years, 8 months ago (2015-03-31 18:20:17 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/11563)
5 years, 8 months ago (2015-03-31 19:31:31 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025523005/100001
5 years, 8 months ago (2015-04-02 19:51:12 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/12645)
5 years, 8 months ago (2015-04-02 20:57:57 UTC) #33
vignatti (out of this project)
On 2015/04/02 20:57:57, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-04-08 22:25:17 UTC) #34
piman
On Wed, Apr 8, 2015 at 3:25 PM, <tiago.vignatti@intel.com> wrote: > On 2015/04/02 20:57:57, I ...
5 years, 8 months ago (2015-04-08 22:30:17 UTC) #35
vignatti (out of this project)
On 2015/04/08 22:30:17, piman (Very slow to review) wrote: > On Wed, Apr 8, 2015 ...
5 years, 8 months ago (2015-04-08 22:35:35 UTC) #37
raldi
See https://code.google.com/p/chromium/issues/detail?id=475216
5 years, 8 months ago (2015-04-08 22:58:09 UTC) #38
vignatti (out of this project)
On 2015/04/08 22:58:09, raldi wrote: > See https://code.google.com/p/chromium/issues/detail?id=475216 this is forbidden for me ("403. That’s ...
5 years, 8 months ago (2015-04-08 23:11:52 UTC) #39
chromium-reviews
Sorry; disregard the URL. There was an issue with linux_chromium_clobber_rel_ng earlier today. Are you still ...
5 years, 8 months ago (2015-04-09 01:04:55 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025523005/100001
5 years, 8 months ago (2015-04-09 01:08:25 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/14406)
5 years, 8 months ago (2015-04-09 02:20:04 UTC) #44
vignatti (out of this project)
On 2015/04/09 01:04:55, chromium-reviews wrote: > Sorry; disregard the URL. There was an issue with ...
5 years, 8 months ago (2015-04-09 14:37:07 UTC) #45
chromium-reviews
+Current trooper On Thu, Apr 9, 2015 at 7:37 AM, <tiago.vignatti@intel.com> wrote: > On 2015/04/09 ...
5 years, 8 months ago (2015-04-09 20:20:22 UTC) #46
vignatti (out of this project)
On 2015/04/09 20:20:22, chromium-reviews wrote: > +Current trooper any trooper, please?
5 years, 8 months ago (2015-04-13 21:29:13 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025523005/100001
5 years, 8 months ago (2015-04-13 21:31:59 UTC) #49
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-13 22:41:54 UTC) #50
commit-bot: I haz the power
5 years, 8 months ago (2015-04-13 22:43:00 UTC) #51
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/825c082c407341474d2083c180d90c3480b4ebbd
Cr-Commit-Position: refs/heads/master@{#324925}

Powered by Google App Engine
This is Rietveld 408576698