What this package is like to depend on
Last release 10 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 3 months
Most releases are documented
notes for 6 of 9 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
9 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
9 releases · Jul 2016 to Dec 2016Releases
latest 9-
0.6.107 Dec 2016Nothing published for this version
-
0.6.005 Dec 2016Release notes
Open source →This version includes a refactor of the geometry APIs and several related breaking changes:
- BREAKING:
IndexGeometryhas been renamed toPrimitiveSequence. - BREAKING: the default constructor signature of all
PrimitiveSequenceimplementations (Points,Lines,LineStrip,LineLoop,Triangles,TriangleStrip,TriangleFan) has changed; theindexList,offsetandcountare now optional named parameters. - BREAKING:
TrianglesTriangleView,LinesLineViewandPointsPointViewno longer allow updates of their vertex indices directly. Instead the index list of thePrimitiveSequenceon which they are defined needs to be updated. - BREAKING: the
index_geometrylibrary has been renamed togeometry. - BREAKING: the
geometric_primitiveslibrary has been removed; its contents were merged into the newgeometrylibrary. - All
PrimitiveSequenceimplementations (Points,Lines,LineStrip,LineLoop,Triangles,TriangleStrip,TriangleFan) now allow modification of thecountafter instantiation. This should help implement dynamic geometry, in which the index list size is overprovisioned initially such that later additional data can be added and the primitive sequence expanded (by increasing thecount) without having to recreate and rebind a new buffer for each change. - Adds
magnitude,unitVectorandisUnitfields toVector2,Vector3andVector4.
- BREAKING:
-
0.5.030 Aug 2016Release notes
Open source →LineLoopIterator,LineStripIterator,LinesIterator,PointsIterator,TriangleFanIterator,TriangleStripIterator,TrianglesIterator,AttributeDataTableIterator,AttributeDataRowViewIteratorandVertexArrayIteratorwere made private. These iterators provide nothing beyond the expectedIteratorAPI and were cluttering the API documentation. -
0.4.024 Aug 2016Release notes
Open source →- BREAKING:
deprovisionGeometry,deprovisionProgramanddeprovisionSamplerhave been removed fromRenderingContext. Usecontext.geometryResource.deprovision,context.programResources.deprovisionand 'context.samplerResources.deprovision` instead. RenderingContextnow exposesgeometryResources,programResourcesandsamplerResourcesfields to allow manual management of resource provisioning/ deprovisioning.Frame.drawnow takesautoProvisioningas an optional named parameter. When set tofalse, BaGL will not automagically provision GPU resources for you. Instead resources should have been provisioned manually prior to the draw call (see change above).
This version refactors the rendering internals to make heavy use of
Expandos so as to only hold on to weak references to geometry, programs and samplers. This means that once geometry, program and sampler objects become inaccessible in your code, these objects may be garbage collected by the Dart/Javascript runtime. Importantly, any GPU resources that BaGL previously provisioned for these objects will then also be freed by the runtime. This means that in most cases, you do not have to worry about deprovisioning these resources manually. - BREAKING:
-
0.3.116 Aug 2016Nothing published for this version
-
0.3.011 Aug 2016Release notes
Open source →- BREAKING: the
translationconstructors onMatrix3andMatrix4now take separatedoublevalues for each translation direction rather than a single vector. This aligns the signature with thescaleconstructor signature. - BREAKING: removes
withValuesandwithValuesTransposefromVector2,Vector3,Vector4,Matrix2,Matrix3andMatrix4. These methods are no longer necessary with rl_matrix 0.6.0 and had no real function in BaGL. Use thefromListconstructors instead. - Adds a
Structtype.Frame.drawnow accepts uniform values of typeStructandList<Struct>. These map to user defined struct types in GLSL shaders.
- BREAKING: the
-
0.2.002 Aug 2016Release notes
Open source →- BREAKING:
IndexGeometrynow takes a type parameterPrimitive(should be of typePoint,LineorTriangle) and extendsIterable<Primitive>. - BREAKING:
VertexArrayBuilderandVertexArray.toBuilder()have been removed. For the moment I'm not sure they belong in this library and they introduce a lot of complexity. May be added back in at a later point in time. - BREAKING: the keys and values for the draw parameter
attributeNameMaphave been reversed: keys should now be names as they appear in the shader program, values should be the name of the attribute on the geometry. - BREAKING:
Frame.drawno longer allows missing attributes. If an attribute is active on the shader program, then the geometry must define a matching attribute (either by defining an attribute with the same name, or through a mapping provided by theattributeNameMapdraw parameter). - The
geometryprovided to aFrame.drawcall may now define attributes that are not used by the shader program without raising an error.
- BREAKING:
-
0.1.112 Jul 2016Nothing published for this version
-
0.1.012 Jul 2016