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

@luma.gl/webgl

Package Overview
Dependencies
Maintainers
0
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/webgl - npm Package Compare versions

Comparing version 9.1.0-alpha.14 to 9.1.0-alpha.15

5

dist/adapter/resources/webgl-framebuffer.d.ts

@@ -1,3 +0,3 @@

import type { FramebufferProps, TextureFormat } from '@luma.gl/core';
import { Framebuffer, Texture } from '@luma.gl/core';
import type { FramebufferProps } from '@luma.gl/core';
import { Framebuffer } from '@luma.gl/core';
import { GL } from '@luma.gl/constants';

@@ -20,3 +20,2 @@ import { WebGLDevice } from "../webgl-device.js";

/** In WebGL we must use renderbuffers for depth/stencil attachments (unless we have extensions) */
protected createDepthStencilTexture(format: TextureFormat): Texture;
/**

@@ -23,0 +22,0 @@ * @param attachment

21

dist/adapter/resources/webgl-framebuffer.js

@@ -6,3 +6,2 @@ // luma.gl

import { GL } from '@luma.gl/constants';
import { WEBGLTexture } from "./webgl-texture.js";
import { getDepthStencilAttachmentWebGL } from "../converters/texture-formats.js";

@@ -68,12 +67,12 @@ /** luma.gl Framebuffer, WebGL implementation */

/** In WebGL we must use renderbuffers for depth/stencil attachments (unless we have extensions) */
createDepthStencilTexture(format) {
// return new WEBGLRenderbuffer(this.device, {
return new WEBGLTexture(this.device, {
id: `${this.id}-depth-stencil`,
format,
width: this.width,
height: this.height,
mipmaps: false
});
}
// protected override createDepthStencilTexture(format: TextureFormat): Texture {
// // return new WEBGLRenderbuffer(this.device, {
// return new WEBGLTexture(this.device, {
// id: `${this.id}-depth-stencil`,
// format,
// width: this.width,
// height: this.height,
// mipmaps: false
// });
// }
/**

@@ -80,0 +79,0 @@ * @param attachment

{
"name": "@luma.gl/webgl",
"version": "9.1.0-alpha.14",
"version": "9.1.0-alpha.15",
"description": "WebGL2 adapter for the luma.gl core API",

@@ -43,10 +43,10 @@ "type": "module",

"peerDependencies": {
"@luma.gl/core": "9.1.0-alpha.10"
"@luma.gl/core": "9.1.0-alpha.14"
},
"dependencies": {
"@luma.gl/constants": "9.1.0-alpha.14",
"@luma.gl/constants": "9.1.0-alpha.15",
"@math.gl/types": "4.1.0-alpha.3",
"@probe.gl/env": "^4.0.8"
},
"gitHead": "e6e014efa323dbcd7d3774e982e442b1bf2c93be"
"gitHead": "41af576ca655cb749a5567cf903f9e9242793c77"
}

@@ -5,4 +5,4 @@ // luma.gl

import type {FramebufferProps, TextureFormat} from '@luma.gl/core';
import {Framebuffer, Texture} from '@luma.gl/core';
import type {FramebufferProps} from '@luma.gl/core';
import {Framebuffer} from '@luma.gl/core';
import {GL} from '@luma.gl/constants';

@@ -95,12 +95,12 @@ import {WebGLDevice} from '../webgl-device';

/** In WebGL we must use renderbuffers for depth/stencil attachments (unless we have extensions) */
protected override createDepthStencilTexture(format: TextureFormat): Texture {
// return new WEBGLRenderbuffer(this.device, {
return new WEBGLTexture(this.device, {
id: `${this.id}-depth-stencil`,
format,
width: this.width,
height: this.height,
mipmaps: false
});
}
// protected override createDepthStencilTexture(format: TextureFormat): Texture {
// // return new WEBGLRenderbuffer(this.device, {
// return new WEBGLTexture(this.device, {
// id: `${this.id}-depth-stencil`,
// format,
// width: this.width,
// height: this.height,
// mipmaps: false
// });
// }

@@ -107,0 +107,0 @@ /**

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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