blob: c120ce8b4ef6685f8c51b6612aafcb996062b7e4 [file] [log] [blame]
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package gldriver
import (
"image"
"golang.org/x/exp/shiny/screen"
)
type textureImpl struct {
size image.Point
}
func (t *textureImpl) Release() {
// TODO
}
func (t *textureImpl) Size() image.Point { return t.size }
func (t *textureImpl) Upload(dp image.Point, src screen.Buffer, sr image.Rectangle, sender screen.Sender) {
}