Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 30, 2014
  1. Implement getTexParameter.

  2. Don't link against system ssl/crypto libraries.

    Guessing this clashes with Node symbols which includes its own
    copy of openssl, etc.
Commits on Jul 22, 2014
  1. Take DPI into account when getting the OpenGL frame size for writeImage.

    Requires 10.7 or above for convertRectToBacking.
Commits on Jul 18, 2014
  1. Remove lots of code duplication in wrappers like WebGLBuffer.

    Create a template WebGLNameMappedObject for the OpenGL objects that
    need to be mapped from a "name" (integer) to a persistent wrapper
    object.  Use some macros to make the declaration / storage for the
    maps a bit simpler.
  2. Add WebGL 2.0 parameters for getParameter().

    Looks like there are some errors in the spec, like missing constants.
    WebGLSampler not implemented yet.
  3. Rewrite of getParameter().

    Move from per-name handling to per-type handling, with most of
    the helpers gone, replaced by a much simpler type switch.
  4. Define our own WEBGL_ constants (like the GL_ versions).

    Starting to clean up the chaos surrounding parameters.
    Remove some parameters that have been removed in revisions to the
    WebGL 1.0 spec.
  5. Move WebGL constants to an x-macro header.

    This could allow in the future to extend the data associated with
    the constants, for example with getParameter type information.
  6. Add WebGL 2.0 constants.

Commits on Jul 16, 2014
  1. Add support for Vertex Array Objects (VAOs).

    Using the APPLE extension and not the OpenGL 3.0 API.  Seems like
    it would require using a newer OpenGL profile which causes a lot
    of other changes.  Stay down the legacy path for now.
Commits on Jul 15, 2014
Commits on Jul 8, 2014
Commits on Apr 18, 2014
  1. Cleanup an unused variable.

  2. Fix some long-standing compiler warnings (inherited from RTMidi).

    MIDIObjectRef is a UInt32, not a pointer type.  Use 0 and not NULL.
  3. The argv handling code in libuv changed to make assumption about memo…

    …ry layout.
    The new code does an assert that the strings pointed to by argv[] are
    contiguous in memory.  For "bundled" Plask we build a custom argv[] for libuv,
    and so make that comply with the expectation that argv[0] and argv[1] are
    back-to-back in memory.
  4. Remove old / unused BlitGLView.

Commits on Feb 12, 2014
  1. Basic support for High DPI with 2x scale factor (ie Retina).

    This can be enabled by setting 'highdpi': 2 in the simpleWindow settings.
    A different approach is taken than the Cocoa point/pixel translation.
    For Plask it makes more sense to always work in pixels, and basically the
    highdpi flag just controls the window size and weather the backing store is
    scaled up or not.  Since the events will still be done in Cocoa points, they
    are scaled back to pixels in the Plask event handling code.
    Note, this doesn't set NSHighResolutionCapable in the plist.
Commits on Oct 6, 2013
  1. Improvements to MIDI message processing.

    Improve length handling and error reporting.  Currently errors are just a
    console.log, perhaps in the future to use a real error mechanism.
    Add additional message parsing, such as program change as pitch wheel.
Commits on Aug 8, 2013
  1. Upgrade to Node v0.10.15.

Commits on May 21, 2013
  1. Fix pmap by switching multiplication order. There is some total confu…

    …sion with
    the original code and ours because of row / column major ordering differences.
Commits on Mar 12, 2013
  1. @vorg

    Allow null buffer in bindBuffer

    vorg authored committed
Commits on Mar 10, 2013
  1. Implement WebGLBuffer wrapper object.

    Additionally implement getParameter(ARRAY_BUFFER_BINDING) and
Something went wrong with that request. Please try again.