github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/exp/shiny/driver/windriver/texture.go (about)

     1  // Copyright 2015 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build windows
     6  
     7  package windriver
     8  
     9  import (
    10  	"image"
    11  	"image/color"
    12  	"image/draw"
    13  
    14  	"golang.org/x/exp/shiny/screen"
    15  )
    16  
    17  type textureImpl struct{}
    18  
    19  func (t *textureImpl) Bounds() image.Rectangle {
    20  	return image.Rectangle{}
    21  }
    22  
    23  func (t *textureImpl) Fill(r image.Rectangle, c color.Color, op draw.Op) {
    24  	// TODO
    25  }
    26  
    27  func (t *textureImpl) Release() {
    28  	// TODO
    29  }
    30  
    31  func (t *textureImpl) Size() image.Point {
    32  	// TODO
    33  	return image.Point{}
    34  }
    35  
    36  func (t *textureImpl) Upload(dp image.Point, src screen.Buffer, sr image.Rectangle) {
    37  	// TODO
    38  }