Socket
Socket
Sign inDemoInstall

regl

Package Overview
Dependencies
0
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1235Next

0.11.0

Diff

Changelog

Source

0.11.0

  • Cubic frame buffer objects!
  • Can now use framebuffers as textures in uniforms. By default color attachment 0 is used.
  • Support for dynamic properties with nested objects like attributes
  • Alias float16 for half float and float32 for float
  • Many bug fixes and stability improvements
  • Website mostly works (preview at regl.party)
  • Gallery of examples with movies
mikolalysenko
published 0.10.0 •

Changelog

Source

0.10.0

  • Add a mechanism for managing webgl extensions

    • Should be able to report errors when extensions are missing
    • Allow users to disable extensions for testing/mocking
  • Doc clean up

  • Add more test cases for regl.read() and improve validation

  • Implement a standard method for handling context creation errors

  • Fix several bugs related to regl.frame cancellation

mikolalysenko
published 0.9.0 •

Changelog

Source

0.9.0

  • Add performance monitoring hooks for commands. Now tracks draw call count, cpu time and gpu time (if disjoint timer extension supported).
  • Performance monitoring hooks for commands can be enabled/disabled using the profile property.
  • Finish API documentation for framebuffers
  • Optimize constructors/updates for framebuffers
  • More test cases for framebuffers
  • Clean up renderbuffer constructor and improve test coverage
  • Added resize method to textures, renderbuffers and framebuffers
  • Added global performance monitoring hooks via regl.stats
  • Rename count context variable to tick
  • Remove deltaTime context variable
  • Uniform validation fixes
  • Texture construction fixes
  • Improved test coverage for uniform variables
mikolalysenko
published 0.8.0 •

Changelog

Source

0.8.0

  • Optimize texture and cubemap constructors
  • Add in place update method for textures via texture.subimage
  • Remove DDS parsing
  • Remove URL loader for textures
  • Improve texture test cases
mikolalysenko
published 0.7.1 •

mikolalysenko
published 0.6.0 •

Changelog

Source

0.6.0

  • Allow for dynamic properties in viewport, scissor box and attributes

  • Switch order of arguments to dynamic functions, from (props, context) to (context, props)

    • functions without a props argument become batch static
  • Implement non-batch constant context, framebuffer and viewport

  • Batched scope rendering

  • Switch order of props and context variables for dynamic function args

  • function invocation now takes batch id as separate parameter

  • Support directly constructing elements and attributes from arrays

  • Allow individual attribute properties to be dynamic (eg buffers, offsets, etc.)

  • Code generation rewrite

    • State flag polling is now inlined
    • draw and batch inlined for static shaders
    • constants are inlined
    • fewer arguments passed to generated code
    • Stop using separate arrays for stacks to manage state, instead state is saved onto the call stack
  • Error reporting

    • All error messages should link to command/resource declaration
    • Improve validation of vertex attributes
    • Improve validation of dynamic properties
  • Code quality and contributing

    • Combined lib/state.js and lib/compile.js into lib/core.js
    • Delete most of lib/attribute.js
    • Update development documentation
  • Expose limits for shader precision

mikolalysenko
published 0.5.0 •

Changelog

Source

0.5.0

  • Context variables

  • Use this argument effectively

    • Should pass this to dynamic attributes and scope
  • Make scopes and dynamic attributes take same argument

  • Combine batchId with stats argument

  • Pass this to draw commands so that they can be stored as members

mikolalysenko
published 0.4.0 •

Changelog

Source

0.4.0

  • Circle CI finally passes!
  • Use numeric ids instead of strings for shader sources
  • Shader error messages are better
  • Browserify transform to remove all runtime checks
  • Shader linking is deferred until draw call, enables partial shaders in scope
  • Report errors for missing attributes, uniforms and vertex count
mikolalysenko
published 0.3.0 •

Changelog

Source

0.3.0

  • added renderbuffers (via regl.renderbuffer)
  • added framebuffer objects (via regl.framebuffer)
  • regl.buffer and regl.elements can now take ndarray-like inputs
  • Switch to using Google closure compiler for minified builds
mikolalysenko
published 0.2.0 •

Changelog

Source

0.2.0

  • Texture support implemented, but not well tested
  • Fix attribute binding bug
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc