Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

weex-gcanvas

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weex-gcanvas - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

19

gwebgl.js

@@ -514,3 +514,3 @@ var GBridge = require("./gutil").GBridge;

obj.UNPACK_FLIP_Y_WEBGL = 0x9240;
// obj.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
obj.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
// obj.CONTEXT_LOST_WEBGL = 0x9242;

@@ -621,4 +621,4 @@ // obj.UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;

var activeInfo = new GWebGLActiveInfo();
activeInfo.type = infoArray[0];
activeInfo.size = infoArray[1];
activeInfo.type = parseInt(infoArray[0]);
activeInfo.size = parseInt(infoArray[1]);
activeInfo.name = infoArray[2];

@@ -1095,5 +1095,5 @@ return activeInfo;

var precisionFormat= new GWebGLShaderPrecisionFormat();
precisionFormat.rangeMin = resultArray[0];
precisionFormat.rangeMax = resultArray[1];
precisionFormat.precision = resultArray[2];
precisionFormat.rangeMin = parseInt(resultArray[0]);
precisionFormat.rangeMax = parseInt(resultArray[1]);
precisionFormat.precision = parseInt(resultArray[2]);
return precisionFormat;

@@ -1202,3 +1202,8 @@ }

GContextWebGL.prototype.pixelStorei = function(pname, param){
var cmd = (this.pixelStoreiId + pname + "," + (param?1:0) + ";");
// UNPACK_FLIP_Y_WEBGL = 0x9240;
// obj.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
//filter _WEBGL feature
if( pname == 0x9240 || pname == 0x9241 ) return;
var cmd = (this.pixelStoreiId + pname + "," + param + ";");
WebGLCallNative(this.componentId, cmd);

@@ -1205,0 +1210,0 @@ };

{
"name": "weex-gcanvas",
"version": "0.5.5",
"version": "0.5.6",
"main":"gcanvas.js",

@@ -5,0 +5,0 @@ "platform": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc