graphics

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 64 Imported by: 0

Documentation

Overview

Package graphics contains local Tast tests that exercise graphics-related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clvk

func Clvk(ctx context.Context, s *testing.State)

func CompositorTransferFromImageBitmapOrientation

func CompositorTransferFromImageBitmapOrientation(ctx context.Context, s *testing.State)

CompositorTransferFromImageBitmapOrientation renders to offscreen canvases, transfers their contents to bitmap renderers, and screenshots the results. The screenshots are compared against screenshots of reference canvases to validate that the results are oriented correctly.

func Connector

func Connector(ctx context.Context, s *testing.State)

Connector checks various attributes of the connectors settings via modetest.

func DEQP

func DEQP(ctx context.Context, s *testing.State)

func DRM

func DRM(ctx context.Context, s *testing.State)

DRM runs DRM/KMS related test via the command line.

func Dawn

func Dawn(ctx context.Context, s *testing.State)

func DisplayZoomChange

func DisplayZoomChange(ctx context.Context, s *testing.State)

DisplayZoomChange set display zoom to smaller and larger from the available display zoom factors.

func ExoClient

func ExoClient(ctx context.Context, s *testing.State)

func ExtendedDisplayCompositionCheck

func ExtendedDisplayCompositionCheck(ctx context.Context, s *testing.State)

func FPS

func FPS(ctx context.Context, s *testing.State)

func FastInk

func FastInk(ctx context.Context, s *testing.State)

func GBM

func GBM(ctx context.Context, s *testing.State)

func GLBench

func GLBench(ctx context.Context, s *testing.State)

func HTMLVideoRoundedCornersUnderlay

func HTMLVideoRoundedCornersUnderlay(ctx context.Context, s *testing.State)

func IGT

func IGT(ctx context.Context, s *testing.State)

func InputbrightnessKeyboard

func InputbrightnessKeyboard(ctx context.Context, s *testing.State)

func InputbrightnessUI

func InputbrightnessUI(ctx context.Context, s *testing.State)

func KmsvncConnect

func KmsvncConnect(ctx context.Context, s *testing.State)

KmsvncConnect launches the kmsvnc server, connects to it, and verifies server parameters.

func NullPlatformFormat

func NullPlatformFormat(ctx context.Context, state *testing.State)

NullPlatformFormat runs null_platform_test binary test for a given format.

func OpenclCts

func OpenclCts(ctx context.Context, s *testing.State)

func PlatformOverlays

func PlatformOverlays(ctx context.Context, s *testing.State)

PlatformOverlays runs plane_test binary test for a given format.

func ScreenshotCLI

func ScreenshotCLI(ctx context.Context, s *testing.State)

func ScreenshotChrome

func ScreenshotChrome(ctx context.Context, s *testing.State)

func Smoke

func Smoke(ctx context.Context, s *testing.State)

func TraceReplay

func TraceReplay(ctx context.Context, s *testing.State)

TraceReplay replays a graphics trace inside a crostini container.

func TraceReplayExtended

func TraceReplayExtended(ctx context.Context, s *testing.State)

TraceReplayExtended replays a graphics trace repeatedly inside a crostini container.

func VAAPIUnittest

func VAAPIUnittest(ctx context.Context, s *testing.State)

VAAPIUnittest runs a set of HW accelerated decode tests, defined in vaapi_unittest.

func VKBench

func VKBench(ctx context.Context, s *testing.State)

VKBench benchmarks the vulkan performance.

func VTSwitch

func VTSwitch(ctx context.Context, s *testing.State)

VTSwitch will switch between VT-1 and VT-2 for multiple times.

func Vulkaninfo

func Vulkaninfo(ctx context.Context, s *testing.State)

Vulkaninfo checks if vulkan is available in the DUT.

func WebRTCVideoPlaybackDelay

func WebRTCVideoPlaybackDelay(ctx context.Context, s *testing.State)

Types

type ScreenshotService

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

ScreenshotService implements tast.cros.graphics.ScreenshotService.

func (*ScreenshotService) CaptureScreenAndDelete

func (s *ScreenshotService) CaptureScreenAndDelete(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

Directories

Path Synopsis
Package brightness provides the control of getting and setting display brightness.
Package brightness provides the control of getting and setting display brightness.
Package sshot supports taking screenshots on devices during testing.
Package sshot supports taking screenshots on devices during testing.

Jump to

Keyboard shortcuts

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