Move internal/graphics/opengl -> internal/opengl

This commit is contained in:
Hajime Hoshi 2016-11-03 23:31:25 +09:00
parent a07457902a
commit 07294a98b6
22 changed files with 16 additions and 16 deletions

View File

@ -15,7 +15,7 @@
package ebiten package ebiten
import ( import (
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
// Filter represents the type of filter to be used when an image is maginified or minified. // Filter represents the type of filter to be used when an image is maginified or minified.

View File

@ -19,7 +19,7 @@ import (
"sync/atomic" "sync/atomic"
"github.com/hajimehoshi/ebiten/internal/graphics" "github.com/hajimehoshi/ebiten/internal/graphics"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
"github.com/hajimehoshi/ebiten/internal/ui" "github.com/hajimehoshi/ebiten/internal/ui"
) )

View File

@ -20,7 +20,7 @@ import (
"runtime" "runtime"
"sync" "sync"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
func glContext() *opengl.Context { func glContext() *opengl.Context {

View File

@ -23,7 +23,7 @@ import (
"runtime" "runtime"
"sync" "sync"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
"github.com/hajimehoshi/ebiten/internal/restorable" "github.com/hajimehoshi/ebiten/internal/restorable"
) )

View File

@ -24,7 +24,7 @@ import (
"sync" "sync"
"github.com/hajimehoshi/ebiten/internal/affine" "github.com/hajimehoshi/ebiten/internal/affine"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type command interface { type command interface {

View File

@ -15,7 +15,7 @@
package graphics package graphics
import ( import (
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
func orthoProjectionMatrix(left, right, bottom, top int) []float32 { func orthoProjectionMatrix(left, right, bottom, top int) []float32 {

View File

@ -19,7 +19,7 @@ import (
"image/color" "image/color"
"github.com/hajimehoshi/ebiten/internal/affine" "github.com/hajimehoshi/ebiten/internal/affine"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type Image struct { type Image struct {

View File

@ -18,7 +18,7 @@ import (
"fmt" "fmt"
"github.com/hajimehoshi/ebiten/internal/affine" "github.com/hajimehoshi/ebiten/internal/affine"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type arrayBufferLayoutPart struct { type arrayBufferLayoutPart struct {

View File

@ -17,7 +17,7 @@ package graphics
import ( import (
"strings" "strings"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type shaderId int type shaderId int

View File

@ -15,7 +15,7 @@
package graphics package graphics
import ( import (
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type texture struct { type texture struct {

View File

@ -19,7 +19,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
"github.com/hajimehoshi/ebiten/internal/ui" "github.com/hajimehoshi/ebiten/internal/ui"
) )

View File

@ -21,7 +21,7 @@ import (
"github.com/hajimehoshi/ebiten/internal/affine" "github.com/hajimehoshi/ebiten/internal/affine"
"github.com/hajimehoshi/ebiten/internal/graphics" "github.com/hajimehoshi/ebiten/internal/graphics"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type drawImageHistoryItem struct { type drawImageHistoryItem struct {

View File

@ -15,7 +15,7 @@
package ui package ui
import ( import (
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
var glContext *opengl.Context var glContext *opengl.Context

View File

@ -26,7 +26,7 @@ import (
"time" "time"
"github.com/go-gl/glfw/v3.2/glfw" "github.com/go-gl/glfw/v3.2/glfw"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
type userInterface struct { type userInterface struct {

View File

@ -20,7 +20,7 @@ import (
"strconv" "strconv"
"github.com/gopherjs/gopherjs/js" "github.com/gopherjs/gopherjs/js"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
var canvas *js.Object var canvas *js.Object

View File

@ -21,7 +21,7 @@ import (
"runtime" "runtime"
"time" "time"
"github.com/hajimehoshi/ebiten/internal/graphics/opengl" "github.com/hajimehoshi/ebiten/internal/opengl"
) )
func RunMainThreadLoop(ch <-chan error) error { func RunMainThreadLoop(ch <-chan error) error {