import "android.googlesource.com/platform/tools/gpu/atom/test"
Package test provides testing helpers for the atom package.
const AtomIDA = atom.TypeID(1)
const AtomIDB = atom.TypeID(2)
const AtomIDC = atom.TypeID(3)
type AtomA struct {
binary.Generate
ID atom.ID
AtomFlags atom.Flags
}
func (a *AtomA) API() gfxapi.API
func (*AtomA) Class() binary.Class
func (a *AtomA) Flags() atom.Flags
func (a *AtomA) Mutate(*gfxapi.State) error
func (a *AtomA) TypeID() atom.TypeID
type AtomB struct {
binary.Generate
ID atom.ID
Bool bool
}
func (a *AtomB) API() gfxapi.API
func (*AtomB) Class() binary.Class
func (a *AtomB) Flags() atom.Flags
func (a *AtomB) Mutate(*gfxapi.State) error
func (a *AtomB) TypeID() atom.TypeID
type AtomC struct {
binary.Generate
String string
}
func (a *AtomC) API() gfxapi.API
func (*AtomC) Class() binary.Class
func (a *AtomC) Flags() atom.Flags
func (a *AtomC) Mutate(*gfxapi.State) error
func (a *AtomC) TypeID() atom.TypeID