-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Bump luma to 9.0.0-beta.6 #8567
Conversation
…gl into felix/bump-luma-9.0.0-beta.6
This reverts commit 7afd922.
modules/aggregation-layers/src/utils/gpu-grid-aggregation/gpu-grid-aggregator.ts
Show resolved
Hide resolved
modules/aggregation-layers/src/utils/gpu-grid-aggregation/gpu-grid-aggregator.ts
Show resolved
Hide resolved
height: 1, | ||
mipmaps: false, | ||
|
||
// TODO fix getWebGLTextureParameters() in luma to avoid passing deprecated parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break very soon. Let's put up a luma PR on this ASAP.
@@ -192,7 +192,7 @@ export default class SolidPolygonLayer<DataT = any, ExtraPropsT extends {} = {}> | |||
// Provide a preproject function if the coordinates are in lnglat | |||
preproject, | |||
fp64: this.use64bitPositions(), | |||
IndexType: !device || device.features.has('index-uint32-webgl1') ? Uint32Array : Uint16Array | |||
IndexType: Uint32Array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIWI - the Buffer class has an indexType prop (just in case aligning is useful)
/** If props.usage includes Buffer.INDEX */
indexType?: 'uint16' | 'uint32';
@@ -40,7 +40,7 @@ import * as testUtils from '@deck.gl/test-utils'; | |||
test('Top-level imports', t0 => { | |||
const hasEmptyExports = obj => { | |||
for (const key in obj) { | |||
if (!obj[key]) { | |||
if (obj[key] === undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we getting null exports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, test-utils
exports device
which is now null
@@ -18,24 +18,24 @@ _global.HTMLVideoElement = dom.window.HTMLVideoElement; | |||
_global.requestAnimationFrame = cb => setTimeout(cb, 0); | |||
_global.cancelAnimationFrame = t => clearTimeout(t); | |||
|
|||
import {gl, device} from '@deck.gl/test-utils'; | |||
import {mockCanvasApi} from './utils/mock-canvas-api'; | |||
// import {gl, device} from '@deck.gl/test-utils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be cleaned up in a follow-up, obviously.
…gl into felix/bump-luma-9.0.0-beta.6
Background
This bump introduces the removal of WebGL1 support, so unsurprisingly a number of things break.
Change List
WebGL2RenderingContext
everywheredevice.createTexture
instead ofWEBGLRenderBuffer
wireframe
rendering