Skip to content

Graduate WebGL 1 from experimental #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Promote WebGL v1 since it is widely supported by major browsers
  • Loading branch information
exoego committed Jun 15, 2019
commit 8e8be26388715cf26a96d093f34d9c3ac12bfde6
19 changes: 0 additions & 19 deletions src/main/scala/org/scalajs/dom/webgl.scala

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.scalajs.dom.experimental.webgl
package org.scalajs.dom.webgl

/**
* Abstract class that maps a string enum onto a WebGL extension type
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.scalajs.dom.experimental.webgl.extensions
package org.scalajs.dom.webgl.extensions

import org.scalajs.dom.raw.WebGLShader

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
package org.scalajs.dom.experimental
package org.scalajs.dom

import org.scalajs.dom.raw.WebGLRenderingContext
import scala.scalajs.js

package object webgl {
type ActiveInfo = raw.WebGLActiveInfo
type Buffer = raw.WebGLBuffer
type ContextAttributes = raw.WebGLContextAttributes
type Framebuffer = raw.WebGLFramebuffer
type Program = raw.WebGLProgram
type Renderbuffer = raw.WebGLRenderbuffer
type RenderingContext = raw.WebGLRenderingContext
type Shader = raw.WebGLShader
type ShaderPrecisionFormat = raw.WebGLShaderPrecisionFormat
type Texture = raw.WebGLTexture
type UniformLocation = raw.WebGLUniformLocation
@inline def RenderingContext = raw.WebGLRenderingContext

implicit class WebGLRenderingContextOps(val webGL: WebGLRenderingContext)
extends AnyVal {

Expand Down