mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
c799452c57
There are no longer any importers of package backend outside of gioui.org/gpu. Move it internally, and rename it to the slightly more specific "driver" while we're at it. Signed-off-by: Elias Naur <mail@eliasnaur.com>
16 lines
433 B
Go
16 lines
433 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
package gpu
|
|
|
|
import "gioui.org/gpu/internal/driver"
|
|
|
|
// An API carries the necessary GPU API specific resources to create a Device.
|
|
// There is an API type for each supported GPU API such as OpenGL and Direct3D.
|
|
type API = driver.API
|
|
|
|
// OpenGL denotes the OpenGL or OpenGL ES API.
|
|
type OpenGL = driver.OpenGL
|
|
|
|
// Direct3D11 denotes the Direct3D API.
|
|
type Direct3D11 = driver.Direct3D11
|