Back to / gpu

Package gpu

Latest Go to latest

The latest major version is .

Published: Sep 17, 2020 | Licenses: MIT , Unlicense | Module:


Package gpu implements the rendering of Gio drawing operations. It is used by package app and package app/headless and is otherwise not useful except for integrating with external window implementations.


type GPU

type GPU struct {
	// contains filtered or unexported fields

func New

func New(ctx backend.Device) (*GPU, error)

func (*GPU) BeginFrame

func (g *GPU) BeginFrame()

func (*GPU) Collect

func (g *GPU) Collect(viewport image.Point, frameOps *op.Ops)

func (*GPU) EndFrame

func (g *GPU) EndFrame()

func (*GPU) Profile

func (g *GPU) Profile() string

func (*GPU) Release

func (g *GPU) Release()

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier