Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Aug 08, 2013

  1. Dean McNamee

    Upgrade to Node v0.10.15.

    deanm authored

May 21, 2013

  1. Dean McNamee

    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.
    deanm authored
  2. Dean McNamee

    Mat3.mulVec2p and Mat4.mulVec3p for multiply with perspective divide.

    deanm authored

Mar 12, 2013

  1. Marcin Ignac

    Allow null buffer in bindBuffer

    vorg authored deanm committed

Mar 10, 2013

  1. Dean McNamee

    Implement WebGLBuffer wrapper object.

    Additionally implement getParameter(ARRAY_BUFFER_BINDING) and
    getParameter(ELEMENT_ARRAY_BUFFER_BINDING).
    deanm authored
  2. Dean McNamee

    Implement WebGLShader wrapper object.

    Additionally implement getAttachedShaders.
    deanm authored
  3. Dean McNamee

    Rewrite WebGLProgram with wrapper map.

    Additionally implement getParameter(CURRENT_PROGRAM).
    deanm authored
  4. Dean McNamee

    Implement getParameter(RENDERBUFFER_BINDING).

    deanm authored
  5. Dean McNamee

    Implement WebGLRenderbuffer wrapper object.

    deanm authored
  6. Dean McNamee

    Add TODO for remaining wrapper objects.

    deanm authored
  7. Dean McNamee

    Implement WebGLTexture wrapper object.

    Additionally adds support for TEXTURE_BINDING* to getParameter().
    deanm authored
  8. Dean McNamee

    Add setFontFamilyPostScript for setting a SkPaint's font from a posts…

    …cript name.
    
    There are several ways of reference font names, setFontFamily works on the font
    family name, but in some situations is not as specific as the postscript name.
    deanm authored
  9. Dean McNamee

    Remove the third_party portion of skia path in header includes.

    Change the search path from src/ to src/third_party and remove the third_party
    prefix from each header include.  No functional change, just clearer.
    deanm authored

Mar 08, 2013

  1. Dean McNamee

    Implement WebGLFramebuffer wrapper object.

    deanm authored

Mar 07, 2013

  1. Dean McNamee

    Allow overriding width/height in writeImage.

    The default values stay as the window (frame) width/height, but now you can
    override them in the options object.  This is useful if you have a different
    sized framebuffer object bound, for example.
    deanm authored

Mar 06, 2013

  1. Dean McNamee

    Pass SkPath to getTextPath instead of returning a new one.

    This allows the caller to reuse an SkPath (although this is probably not a huge
    deal), and also makes the C++ code slightly nicer since it doesn't need to
    set up the SkPathWrapper.  This also follows the C++ API more closely, although
    I could go either way on it.  I prefer explicitly creating objects though so
    that is the reason for this change.
    Additionally remove the ->ToString() on the Utf8Value (see previous changes).
    deanm authored
  2. Marcin Ignac

    Added getTextPath to SkPaint

    vorg authored deanm committed
  3. Dean McNamee

    Small cleanup to getFontMetrics.

    Rename the properties to be all lower case.  I don't really know what Plask's
    style should be but generally I don't follow camel case for property names.
    Avoid any decision making and make them all lowercase which works here since
    the names are fairly simple.
    Additionally move the comments (taken from Skia) and follow 80 col lines.
    deanm authored
  4. Dean McNamee

    Small changes to 105_fontMetrics.

    - Don't explicitly set the type to 2d (allow it to default to 3d2d).
    - Use setFontFamily and not setFontFamilyPostScript. (Arial).
    - Add a copyright (Marcin Ignac).
    deanm authored
  5. Marcin Ignac

    Font metrics example

    vorg authored deanm committed
  6. Marcin Ignac

    Added getFontMetrics to SkPaint

    vorg authored deanm committed
  7. Dean McNamee

    Initialize the measureTextBounds rect.

    This gives the correct results with measureText "fails", for example when we
    pass NULL as the string to measure.  Previously this case returned uninitialized
    values from the creation of the SkRect.
    deanm authored
  8. Dean McNamee

    Don't call ToString() before creating a Utf8Value.

    The Utf8Value constructor takes a Value and will handle the conversion to a
    string.  Additionally it better handles errors, for example when toString()
    throws an exception.  This will create a 0 length Utf8Value with a NULL pointer,
    which might still not be handled everywhere properly, but is better than the
    exception happening during us calling ToString() ourselves.
    deanm authored
  9. Marcin Ignac

    Added measureTextBounds to SkPaint

    vorg authored deanm committed

Feb 27, 2013

  1. Dean McNamee

    Rewrite internal MIDI handling to use a pipe.

    Node has removed support for unix dgram sockets, as was previously used.  This
    is replaced by a socket (stream), which is currently not properly implemented as
    it should do its own framing to replace the previous datagram framing.  It works
    enough for now.
    deanm authored
  2. Dean McNamee

    Fix small typo in exception string.

    deanm authored

Feb 18, 2013

  1. Dean McNamee

    Merge pull request #17 from notlion/fix-vec4-scaled

    Fix typo in Vec4.scaled (Vec3 -> Vec4).
    deanm authored
  2. Ryan Alexander

    Fix typo (Vec3 -> Vec4).

    authored

Jan 13, 2013

  1. Dean McNamee

    Fix handling of glUniform*v functions.

    The count field is the number of variables not the number of elements.
    Additionally fix a TODO and support setting arrays of matrices.
    Also adds checks if the temporary buffer allocation fails.
    Thanks to Ryan Alexander for the original patch.
    deanm authored

Dec 26, 2012

  1. Dean McNamee

    Move uniform helpers from templates to functions with function pointe…

    …r argument.
    
    There was really no need for the template (which works only if the symbol is a
    function with external linkage).  It is probably better to generate less code
    any with a non-template function, and it will also work with function pointers
    (for example when using GLEW).
    deanm authored

Dec 25, 2012

  1. Dean McNamee

    Default 3d2d windows to having vsync on.

    deanm authored

Dec 24, 2012

  1. Dean McNamee

    Remove old libev EV_MULTIPLICITY define.

    deanm authored
  2. Dean McNamee

    Add a WeakCallback to NSEvent so it is released.

    We retain the event when it is created, and release it in the weak callback.
    Additionally add a HandleScope to processEvent, since we don't have an implicit
    one like when we are called from JavaScript.  Otherwise our handles will be
    created in main's HandleScope and never lose that reference.
    deanm authored

Dec 23, 2012

  1. Dean McNamee

    Try to avoid the whole NSPersistentUIManager system.

    When we create a NSWindow (on 10.7+) call setRestorable:NO.
    deanm authored
  2. Dean McNamee

    Set the kDummyTimerMs type to const.

    I am getting old and forgetting my proper C++.
    deanm authored
Something went wrong with that request. Please try again.