viewrun

package
v1.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package viewrun runs the reproduction of the issue "viewport3d.View stops drawing when Children goes from none to one (or back)" (internal/issues, ViewChildrenName; step 68.1) in an app: a 3D view whose overlays and navigation change one after the other, with a pick after each change. The app of the Linux display test, of the Wine test and of the emulator test (examples/dev/viewchildren) and the page apps of the browser tests (gpuwebtest, glwebtest) share it, so that each platform runs the same steps.

It is plain Go with no OS tags and does not import testing: apps link it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner is the reproduction in one app. Widget is its view.

func New

func New() (*Runner, error)

New makes a runner, with a scene that has a plate in front of the camera.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, platform string, wait time.Duration) issues.ViewChildrenReport

Run runs the steps and returns the report: platform is the report's. It waits for the app to be built and for its GPU device, at most wait, and as long for the answer of each pick. It must not be called on the UI thread.

func (*Runner) Widget

func (r *Runner) Widget() widgets.Widget

Widget returns the view of the reproduction; it fills the room it is given.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL