@luma.gl/webgl 9.0.0-beta.8 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter/resources/webgl-render-pipeline.js +4 -4
- package/dist/dist.dev.js +4 -4
- package/dist/dist.min.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +2 -2
- package/package.json +3 -3
- package/src/adapter/resources/webgl-render-pipeline.ts +4 -4
- package/src/.DS_Store +0 -0
- package/src/adapter/.DS_Store +0 -0
- package/src/context/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luma.gl/webgl",
|
|
3
|
-
"version": "9.0.0
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "WebGL2 adapter for the luma.gl core API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@luma.gl/core": "^9.0.0-beta"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@luma.gl/constants": "9.0.0
|
|
46
|
+
"@luma.gl/constants": "9.0.0",
|
|
47
47
|
"@probe.gl/env": "^4.0.2"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a87ee4e72dbfcb9e4786aa823b9ac516f0031723"
|
|
50
50
|
}
|
|
@@ -72,9 +72,9 @@ export class WEBGLRenderPipeline extends RenderPipeline {
|
|
|
72
72
|
|
|
73
73
|
this._linkShaders();
|
|
74
74
|
|
|
75
|
-
log.time(
|
|
75
|
+
log.time(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
|
|
76
76
|
this.introspectedLayout = getShaderLayout(this.device.gl, this.handle);
|
|
77
|
-
log.timeEnd(
|
|
77
|
+
log.timeEnd(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
|
|
78
78
|
|
|
79
79
|
// Merge provided layout with introspected layout
|
|
80
80
|
this.shaderLayout = mergeShaderLayout(this.introspectedLayout, props.shaderLayout);
|
|
@@ -461,12 +461,12 @@ export class WEBGLRenderPipeline extends RenderPipeline {
|
|
|
461
461
|
texture = value;
|
|
462
462
|
} else if (
|
|
463
463
|
value instanceof WEBGLFramebuffer &&
|
|
464
|
-
value.colorAttachments[0] instanceof
|
|
464
|
+
value.colorAttachments[0] instanceof WEBGLTextureView
|
|
465
465
|
) {
|
|
466
466
|
log.warn(
|
|
467
467
|
'Passing framebuffer in texture binding may be deprecated. Use fbo.colorAttachments[0] instead'
|
|
468
468
|
)();
|
|
469
|
-
texture = value.colorAttachments[0];
|
|
469
|
+
texture = value.colorAttachments[0].texture;
|
|
470
470
|
} else {
|
|
471
471
|
throw new Error('No texture');
|
|
472
472
|
}
|
package/src/.DS_Store
DELETED
|
Binary file
|
package/src/adapter/.DS_Store
DELETED
|
Binary file
|
package/src/context/.DS_Store
DELETED
|
Binary file
|