Back to godoc.org
gioui.org/gpu

package gpu

v0.0.0 (7bbe0da)
Latest Go to latest
Published: 1 day ago | Licenses: MIT, Unlicense | Module: gioui.org

Overview

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.

Index

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()
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier