New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 770469 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug
Proj-VR
Proj-XR
Proj-XR-VR



Sign in to add a comment

pixel tests do not compile with use_ozone on linux

Project Member Reported by vollick@chromium.org, Sep 30 2017

Issue description

I've noticed at least two issues
 1. Lack of a message loop causes GLImageTestSupport::InitializeGL to fail. This can be fixed with the same approach used in other unittests https://cs.chromium.org/chromium/src/ui/gl/test/run_all_unittests.cc?rcl=fca18931b5ee2b1e272ba0e86ac98f4c10d12e05&l=81, however this conflicts with the message loop we set up for ui scene manager unittests.
 2. Once the message loop issue is dealt with, the shaders don't compile (the compiler complains that gles 1.0 is not supported, only 1.1 and 1.2).
 
We could potentially limit use_ozone to a testapp-specific output directory.  Are you picturing our eventual linux bot compiling/running the unittests and pixel tests, and also the testapp, and hence requiring a unified set of gn args?
My goal is that a linux developer need only have one set of gn args for working vr.
Cc: tiborg@chromium.org
Owner: vollick@chromium.org
Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eb9da40608b0476883a90d87f1eb3e5a41001a9c

commit eb9da40608b0476883a90d87f1eb3e5a41001a9c
Author: Ian Vollick <vollick@chromium.org>
Date: Thu Oct 05 16:09:51 2017

[vr] Permit vr_common_unittests to work with use_ozone

If we set up a scoped task environment in run_all_unittests.cc, we both
support ozone (which expects this) and obviate message loop creation by
our tests.

Bug:  770469 
Change-Id: Ibdd803c0d209c721e2c27ed4e6a37210a96f1537
Reviewed-on: https://chromium-review.googlesource.com/702042
Reviewed-by: Christopher Grant <cjgrant@chromium.org>
Commit-Queue: Ian Vollick <vollick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506745}
[modify] https://crrev.com/eb9da40608b0476883a90d87f1eb3e5a41001a9c/chrome/browser/vr/service/vr_device_manager_unittest.cc
[modify] https://crrev.com/eb9da40608b0476883a90d87f1eb3e5a41001a9c/chrome/browser/vr/test/run_all_unittests.cc
[modify] https://crrev.com/eb9da40608b0476883a90d87f1eb3e5a41001a9c/chrome/browser/vr/test/ui_scene_manager_test.h
[modify] https://crrev.com/eb9da40608b0476883a90d87f1eb3e5a41001a9c/chrome/browser/vr/ui_scene_manager_unittest.cc

Status: Fixed (was: Started)

Sign in to add a comment