You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

tonic-image-builder

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tonic-image-builder - npm Package Compare versions

Comparing version

to
0.0.5

@@ -576,10 +576,2 @@ var CanvasOffscreenBuffer = require('../../util/CanvasOffscreenBuffer'),

DataProberImageBuilder.prototype.getLookupTable = function() {
return this.lookupTableManager.getLookupTable(this.getField());
};
DataProberImageBuilder.prototype.getLookupTableManager = function() {
return this.lookupTableManager;
};
DataProberImageBuilder.prototype.getListeners = function() {

@@ -628,3 +620,3 @@ return this.mouseListener;

DataProberImageBuilder.prototype.getControlWidgets = function() {
return [ "ProbeControl", "QueryDataModelWidget" ];
return [ "LookupTableWidget", "ProbeControl", "QueryDataModelWidget" ];
};

@@ -636,1 +628,8 @@

DataProberImageBuilder.prototype.getLookupTable = function() {
return this.lookupTableManager.getLookupTable(this.getField());
};
DataProberImageBuilder.prototype.getLookupTableManager = function() {
return this.lookupTableManager;
};

@@ -8,3 +8,3 @@ var contains = require('mout/src/array/contains'),

export default function CompositorFactory(dataType, options) {
export function createCompositor(dataType, options) {
for(var type in CompositorMap) {

@@ -11,0 +11,0 @@ if(contains(dataType, type)) {

var Monologue = require('monologue.js'),
CompositorFactory = require('./CompositorFactory'),
Factory = require('./CompositorFactory'),
IMAGE_READY_TOPIC = 'image-ready';

@@ -13,3 +13,3 @@

this.compositor = CompositorFactory(queryDataModel.originalData.type, {queryDataModel, lookupTableManager, imageBuilder: this});
this.compositor = Factory.createCompositor(queryDataModel.originalData.type, {queryDataModel, lookupTableManager, imageBuilder: this});
this.controlWidgets = this.compositor.WIDGETS || [ "CompositeControl", "QueryDataModelWidget" ];

@@ -16,0 +16,0 @@

@@ -328,3 +328,3 @@ var CanvasOffscreenBuffer = require('../../util/CanvasOffscreenBuffer'),

var lOffMap = this.offsetList[i],
field = lOffMap['fieldName'];
field = lOffMap.fieldName;
srcY = 0;

@@ -331,0 +331,0 @@

// Show GL informations
export function showGlInfo(gl) {
var vertexUnits = gl.getParameter(this.gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS);
var fragmentUnits = gl.getParameter(this.gl.MAX_TEXTURE_IMAGE_UNITS);
var combinedUnits = gl.getParameter(this.gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS);
var vertexUnits = gl.getParameter(gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS);
var fragmentUnits = gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);
var combinedUnits = gl.getParameter(gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS);
console.log("vertex texture image units: " + vertexUnits);

@@ -7,0 +7,0 @@ console.log("fragment texture image units: " + fragmentUnits);

{
"name": "tonic-image-builder",
"description": "JavaScript library used to gather image generation based on various input data.",
"version": "0.0.4",
"version": "0.0.5",
"license": "BSD-3-Clause",

@@ -6,0 +6,0 @@ "main": "./src/index.js",

Sorry, the diff of this file is too big to display