google-closure-compiler 20260818.0.0 → 20260819.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/externs/browser/mediakeys.js +4 -4
- package/externs/browser/w3c_webgpu.js +0 -327
- package/externs/es3.js +1 -1
- package/externs/es6_typed_array.js +3597 -458
- package/package.json +6 -6
|
@@ -138,7 +138,7 @@ MediaKeyStatusMap.prototype.size;
|
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Array entry 0 is the key, 1 is the value.
|
|
141
|
-
* @return {!
|
|
141
|
+
* @return {!IteratorLike<!Array<!BufferSource|string>>}
|
|
142
142
|
*/
|
|
143
143
|
MediaKeyStatusMap.prototype.entries = function() {};
|
|
144
144
|
|
|
@@ -168,19 +168,19 @@ MediaKeyStatusMap.prototype.has = function(keyId) {};
|
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* @return {!
|
|
171
|
+
* @return {!IteratorLike<!BufferSource>}
|
|
172
172
|
*/
|
|
173
173
|
MediaKeyStatusMap.prototype.keys = function() {};
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
|
-
* @return {!
|
|
177
|
+
* @return {!IteratorLike<string>}
|
|
178
178
|
*/
|
|
179
179
|
MediaKeyStatusMap.prototype.values = function() {};
|
|
180
180
|
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
* @return {!
|
|
183
|
+
* @return {!IteratorLike<!Array<!BufferSource|string>>}
|
|
184
184
|
*/
|
|
185
185
|
MediaKeyStatusMap.prototype[Symbol.iterator] = function() {};
|
|
186
186
|
|
|
@@ -1453,333 +1453,6 @@ GPURenderBundleEncoder.prototype.setPipeline = function(pipeline) {};
|
|
|
1453
1453
|
GPURenderBundleEncoder.prototype.setVertexBuffer = function(
|
|
1454
1454
|
slot, buffer, opt_offset, opt_size) {};
|
|
1455
1455
|
|
|
1456
|
-
/**
|
|
1457
|
-
* @record
|
|
1458
|
-
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpurenderpasscolorattachment
|
|
1459
|
-
*/
|
|
1460
|
-
function GPURenderPassColorAttachment() {}
|
|
1461
|
-
/** @type {!GPUColor|undefined} */
|
|
1462
|
-
GPURenderPassColorAttachment.prototype.clearValue;
|
|
1463
|
-
/** @type {!GPUIntegerCoordinate|undefined} */
|
|
1464
|
-
GPURenderPassColorAttachment.prototype.depthSlice;
|
|
1465
|
-
/** @type {!GPULoadOp} */
|
|
1466
|
-
GPURenderPassColorAttachment.prototype.loadOp;
|
|
1467
|
-
/** @type {!GPUTexture|!GPUTextureView|undefined} */
|
|
1468
|
-
GPURenderPassColorAttachment.prototype.resolveTarget;
|
|
1469
|
-
/** @type {!GPUStoreOp} */
|
|
1470
|
-
GPURenderPassColorAttachment.prototype.storeOp;
|
|
1471
|
-
/** @type {!GPUTexture|!GPUTextureView} */
|
|
1472
|
-
GPURenderPassColorAttachment.prototype.view;
|
|
1473
|
-
|
|
1474
|
-
/**
|
|
1475
|
-
* @record
|
|
1476
|
-
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpurenderpassdepthstencilattachment
|
|
1477
|
-
*/
|
|
1478
|
-
function GPURenderPassDepthStencilAttachment() {}
|
|
1479
|
-
/** @type {number|undefined} */
|
|
1480
|
-
GPURenderPassDepthStencilAttachment.prototype.depthClearValue;
|
|
1481
|
-
/** @type {!GPULoadOp|undefined} */
|
|
1482
|
-
GPURenderPassDepthStencilAttachment.prototype.depthLoadOp;
|
|
1483
|
-
/** @type {boolean|undefined} */
|
|
1484
|
-
GPURenderPassDepthStencilAttachment.prototype.depthReadOnly;
|
|
1485
|
-
/** @type {!GPUStoreOp|undefined} */
|
|
1486
|
-
GPURenderPassDepthStencilAttachment.prototype.depthStoreOp;
|
|
1487
|
-
/** @type {!GPUStencilValue|undefined} */
|
|
1488
|
-
GPURenderPassDepthStencilAttachment.prototype.stencilClearValue;
|
|
1489
|
-
/** @type {!GPULoadOp|undefined} */
|
|
1490
|
-
GPURenderPassDepthStencilAttachment.prototype.stencilLoadOp;
|
|
1491
|
-
/** @type {boolean|undefined} */
|
|
1492
|
-
GPURenderPassDepthStencilAttachment.prototype.stencilReadOnly;
|
|
1493
|
-
/** @type {!GPUStoreOp|undefined} */
|
|
1494
|
-
GPURenderPassDepthStencilAttachment.prototype.stencilStoreOp;
|
|
1495
|
-
/** @type {!GPUTexture|!GPUTextureView} */
|
|
1496
|
-
GPURenderPassDepthStencilAttachment.prototype.view;
|
|
1497
|
-
|
|
1498
|
-
/**
|
|
1499
|
-
* @record
|
|
1500
|
-
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpurenderpasstimestampwrites
|
|
1501
|
-
*/
|
|
1502
|
-
function GPURenderPassTimestampWrites() {}
|
|
1503
|
-
/** @type {!GPUSize32|undefined} */
|
|
1504
|
-
GPURenderPassTimestampWrites.prototype.beginningOfPassWriteIndex;
|
|
1505
|
-
/** @type {!GPUSize32|undefined} */
|
|
1506
|
-
GPURenderPassTimestampWrites.prototype.endOfPassWriteIndex;
|
|
1507
|
-
/** @type {!GPUQuerySet} */
|
|
1508
|
-
GPURenderPassTimestampWrites.prototype.querySet;
|
|
1509
|
-
|
|
1510
|
-
/**
|
|
1511
|
-
* @record
|
|
1512
|
-
* @extends {GPUObjectDescriptorBase}
|
|
1513
|
-
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpurenderpassdescriptor
|
|
1514
|
-
*/
|
|
1515
|
-
function GPURenderPassDescriptor() {}
|
|
1516
|
-
/** @type {!Array<!GPURenderPassColorAttachment|null>} */
|
|
1517
|
-
GPURenderPassDescriptor.prototype.colorAttachments;
|
|
1518
|
-
/** @type {!GPURenderPassDepthStencilAttachment|undefined} */
|
|
1519
|
-
GPURenderPassDescriptor.prototype.depthStencilAttachment;
|
|
1520
|
-
/** @type {!GPUSize64|undefined} */
|
|
1521
|
-
GPURenderPassDescriptor.prototype.maxDrawCount;
|
|
1522
|
-
/** @type {!GPUQuerySet|undefined} */
|
|
1523
|
-
GPURenderPassDescriptor.prototype.occlusionQuerySet;
|
|
1524
|
-
/** @type {!GPURenderPassTimestampWrites|undefined} */
|
|
1525
|
-
GPURenderPassDescriptor.prototype.timestampWrites;
|
|
1526
|
-
|
|
1527
|
-
/**
|
|
1528
|
-
* @constructor
|
|
1529
|
-
* @extends {GPUObjectBase}
|
|
1530
|
-
* @implements {GPUBindingCommandsMixin}
|
|
1531
|
-
* @implements {GPUDebugCommandsMixin}
|
|
1532
|
-
* @implements {GPURenderCommandsMixin}
|
|
1533
|
-
* @see https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder
|
|
1534
|
-
*/
|
|
1535
|
-
function GPURenderPassEncoder() {}
|
|
1536
|
-
/**
|
|
1537
|
-
* @param {!GPUSize32} queryIndex
|
|
1538
|
-
* @return {undefined}
|
|
1539
|
-
*/
|
|
1540
|
-
GPURenderPassEncoder.prototype.beginOcclusionQuery = function(queryIndex) {};
|
|
1541
|
-
/**
|
|
1542
|
-
* @return {undefined}
|
|
1543
|
-
*/
|
|
1544
|
-
GPURenderPassEncoder.prototype.end = function() {};
|
|
1545
|
-
/**
|
|
1546
|
-
* @return {undefined}
|
|
1547
|
-
*/
|
|
1548
|
-
GPURenderPassEncoder.prototype.endOcclusionQuery = function() {};
|
|
1549
|
-
/**
|
|
1550
|
-
* @param {!Array<!GPURenderBundle>|!Iterable<!GPURenderBundle>} bundles
|
|
1551
|
-
* @return {undefined}
|
|
1552
|
-
*/
|
|
1553
|
-
GPURenderPassEncoder.prototype.executeBundles = function(bundles) {};
|
|
1554
|
-
/**
|
|
1555
|
-
* @param {!GPUColor|!Iterable<number>} color
|
|
1556
|
-
* @return {undefined}
|
|
1557
|
-
*/
|
|
1558
|
-
GPURenderPassEncoder.prototype.setBlendConstant = function(color) {};
|
|
1559
|
-
/**
|
|
1560
|
-
* @param {!GPUIntegerCoordinate} x
|
|
1561
|
-
* @param {!GPUIntegerCoordinate} y
|
|
1562
|
-
* @param {!GPUIntegerCoordinate} width
|
|
1563
|
-
* @param {!GPUIntegerCoordinate} height
|
|
1564
|
-
* @return {undefined}
|
|
1565
|
-
*/
|
|
1566
|
-
GPURenderPassEncoder.prototype.setScissorRect = function(
|
|
1567
|
-
x, y, width, height) {};
|
|
1568
|
-
/**
|
|
1569
|
-
* @param {!GPUStencilValue} reference
|
|
1570
|
-
* @return {undefined}
|
|
1571
|
-
*/
|
|
1572
|
-
GPURenderPassEncoder.prototype.setStencilReference = function(reference) {};
|
|
1573
|
-
/**
|
|
1574
|
-
* @param {number} x
|
|
1575
|
-
* @param {number} y
|
|
1576
|
-
* @param {number} width
|
|
1577
|
-
* @param {number} height
|
|
1578
|
-
* @param {number} minDepth
|
|
1579
|
-
* @param {number} maxDepth
|
|
1580
|
-
* @return {undefined}
|
|
1581
|
-
*/
|
|
1582
|
-
GPURenderPassEncoder.prototype.setViewport = function(
|
|
1583
|
-
x, y, width, height, minDepth, maxDepth) {};
|
|
1584
|
-
// From GPUBindingCommandsMixin
|
|
1585
|
-
/**
|
|
1586
|
-
* @override
|
|
1587
|
-
* @param {!GPUIndex32} index
|
|
1588
|
-
* @param {!GPUBindGroup|null} bindGroup
|
|
1589
|
-
* @param {(!Array<!GPUBufferDynamicOffset>|!Uint32Array|!Iterable<!GPUBufferDynamicOffset>)=}
|
|
1590
|
-
* opt_dynamicOffsetsOrDynamicOffsetsData
|
|
1591
|
-
* @param {!GPUSize64=} opt_dynamicOffsetsDataStart
|
|
1592
|
-
* @param {!GPUSize32=} opt_dynamicOffsetsDataLength
|
|
1593
|
-
* @return {undefined}
|
|
1594
|
-
*/
|
|
1595
|
-
GPURenderPassEncoder.prototype.setBindGroup = function(
|
|
1596
|
-
index, bindGroup, opt_dynamicOffsetsOrDynamicOffsetsData,
|
|
1597
|
-
opt_dynamicOffsetsDataStart, opt_dynamicOffsetsDataLength) {};
|
|
1598
|
-
// From GPUDebugCommandsMixin
|
|
1599
|
-
/**
|
|
1600
|
-
* @override
|
|
1601
|
-
* @param {string} markerLabel
|
|
1602
|
-
* @return {undefined}
|
|
1603
|
-
*/
|
|
1604
|
-
GPURenderPassEncoder.prototype.insertDebugMarker = function(markerLabel) {};
|
|
1605
|
-
/**
|
|
1606
|
-
* @override
|
|
1607
|
-
* @return {undefined}
|
|
1608
|
-
*/
|
|
1609
|
-
GPURenderPassEncoder.prototype.popDebugGroup = function() {};
|
|
1610
|
-
/**
|
|
1611
|
-
* @override
|
|
1612
|
-
* @param {string} groupLabel
|
|
1613
|
-
* @return {undefined}
|
|
1614
|
-
*/
|
|
1615
|
-
GPURenderPassEncoder.prototype.pushDebugGroup = function(groupLabel) {};
|
|
1616
|
-
// From GPURenderCommandsMixin
|
|
1617
|
-
/**
|
|
1618
|
-
* @override
|
|
1619
|
-
* @param {!GPUSize32} vertexCount
|
|
1620
|
-
* @param {!GPUSize32=} opt_instanceCount
|
|
1621
|
-
* @param {!GPUSize32=} opt_firstVertex
|
|
1622
|
-
* @param {!GPUSize32=} opt_firstInstance
|
|
1623
|
-
* @return {undefined}
|
|
1624
|
-
*/
|
|
1625
|
-
GPURenderPassEncoder.prototype.draw = function(
|
|
1626
|
-
vertexCount, opt_instanceCount, opt_firstVertex, opt_firstInstance) {};
|
|
1627
|
-
/**
|
|
1628
|
-
* @override
|
|
1629
|
-
* @param {!GPUSize32} indexCount
|
|
1630
|
-
* @param {!GPUSize32=} opt_instanceCount
|
|
1631
|
-
* @param {!GPUSize32=} opt_firstIndex
|
|
1632
|
-
* @param {!GPUSignedOffset32=} opt_baseVertex
|
|
1633
|
-
* @param {!GPUSize32=} opt_firstInstance
|
|
1634
|
-
* @return {undefined}
|
|
1635
|
-
*/
|
|
1636
|
-
GPURenderPassEncoder.prototype.drawIndexed = function(
|
|
1637
|
-
indexCount, opt_instanceCount, opt_firstIndex, opt_baseVertex,
|
|
1638
|
-
opt_firstInstance) {};
|
|
1639
|
-
/**
|
|
1640
|
-
* @override
|
|
1641
|
-
* @param {!GPUBuffer} indirectBuffer
|
|
1642
|
-
* @param {!GPUSize64} indirectOffset
|
|
1643
|
-
* @return {undefined}
|
|
1644
|
-
*/
|
|
1645
|
-
GPURenderPassEncoder.prototype.drawIndexedIndirect = function(
|
|
1646
|
-
indirectBuffer, indirectOffset) {};
|
|
1647
|
-
/**
|
|
1648
|
-
* @override
|
|
1649
|
-
* @param {!GPUBuffer} indirectBuffer
|
|
1650
|
-
* @param {!GPUSize64} indirectOffset
|
|
1651
|
-
* @return {undefined}
|
|
1652
|
-
*/
|
|
1653
|
-
GPURenderPassEncoder.prototype.drawIndirect = function(
|
|
1654
|
-
indirectBuffer, indirectOffset) {};
|
|
1655
|
-
/**
|
|
1656
|
-
* @override
|
|
1657
|
-
* @param {!GPUBuffer} buffer
|
|
1658
|
-
* @param {!GPUIndexFormat} indexFormat
|
|
1659
|
-
* @param {!GPUSize64=} opt_offset
|
|
1660
|
-
* @param {!GPUSize64=} opt_size
|
|
1661
|
-
* @return {undefined}
|
|
1662
|
-
*/
|
|
1663
|
-
GPURenderPassEncoder.prototype.setIndexBuffer = function(
|
|
1664
|
-
buffer, indexFormat, opt_offset, opt_size) {};
|
|
1665
|
-
/**
|
|
1666
|
-
* @override
|
|
1667
|
-
* @param {!GPURenderPipeline} pipeline
|
|
1668
|
-
* @return {undefined}
|
|
1669
|
-
*/
|
|
1670
|
-
GPURenderPassEncoder.prototype.setPipeline = function(pipeline) {};
|
|
1671
|
-
/**
|
|
1672
|
-
* @override
|
|
1673
|
-
* @param {!GPUIndex32} slot
|
|
1674
|
-
* @param {!GPUBuffer|null} buffer
|
|
1675
|
-
* @param {!GPUSize64=} opt_offset
|
|
1676
|
-
* @param {!GPUSize64=} opt_size
|
|
1677
|
-
* @return {undefined}
|
|
1678
|
-
*/
|
|
1679
|
-
GPURenderPassEncoder.prototype.setVertexBuffer = function(
|
|
1680
|
-
slot, buffer, opt_offset, opt_size) {};
|
|
1681
|
-
|
|
1682
|
-
/**
|
|
1683
|
-
* @record
|
|
1684
|
-
* @extends {GPUObjectDescriptorBase}
|
|
1685
|
-
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpucommandencoderdescriptor
|
|
1686
|
-
*/
|
|
1687
|
-
function GPUCommandEncoderDescriptor() {}
|
|
1688
|
-
|
|
1689
|
-
/**
|
|
1690
|
-
* @constructor
|
|
1691
|
-
* @extends {GPUObjectBase}
|
|
1692
|
-
* @implements {GPUDebugCommandsMixin}
|
|
1693
|
-
* @see https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder
|
|
1694
|
-
*/
|
|
1695
|
-
function GPUCommandEncoder() {}
|
|
1696
|
-
/**
|
|
1697
|
-
* @param {!GPUComputePassDescriptor=} opt_descriptor
|
|
1698
|
-
* @return {!GPUComputePassEncoder}
|
|
1699
|
-
*/
|
|
1700
|
-
GPUCommandEncoder.prototype.beginComputePass = function(opt_descriptor) {};
|
|
1701
|
-
/**
|
|
1702
|
-
* @param {!GPURenderPassDescriptor} descriptor
|
|
1703
|
-
* @return {!GPURenderPassEncoder}
|
|
1704
|
-
*/
|
|
1705
|
-
GPUCommandEncoder.prototype.beginRenderPass = function(descriptor) {};
|
|
1706
|
-
/**
|
|
1707
|
-
* @param {!GPUBuffer} buffer
|
|
1708
|
-
* @param {!GPUSize64=} opt_offset
|
|
1709
|
-
* @param {!GPUSize64=} opt_size
|
|
1710
|
-
* @return {undefined}
|
|
1711
|
-
*/
|
|
1712
|
-
GPUCommandEncoder.prototype.clearBuffer = function(
|
|
1713
|
-
buffer, opt_offset, opt_size) {};
|
|
1714
|
-
/**
|
|
1715
|
-
* @param {!GPUBuffer} source
|
|
1716
|
-
* @param {!GPUSize64|!GPUBuffer} sourceOffsetOrDestination
|
|
1717
|
-
* @param {(!GPUBuffer|!GPUSize64)=} opt_destinationOrSize
|
|
1718
|
-
* @param {!GPUSize64=} opt_destinationOffset
|
|
1719
|
-
* @param {!GPUSize64=} opt_size
|
|
1720
|
-
* @return {undefined}
|
|
1721
|
-
*/
|
|
1722
|
-
GPUCommandEncoder.prototype.copyBufferToBuffer = function(
|
|
1723
|
-
source, sourceOffsetOrDestination, opt_destinationOrSize,
|
|
1724
|
-
opt_destinationOffset, opt_size) {};
|
|
1725
|
-
/**
|
|
1726
|
-
* @param {!GPUTexelCopyBufferInfo} source
|
|
1727
|
-
* @param {!GPUTexelCopyTextureInfo} destination
|
|
1728
|
-
* @param {!GPUExtent3D|!Iterable<!GPUIntegerCoordinate>} copySize
|
|
1729
|
-
* @return {undefined}
|
|
1730
|
-
*/
|
|
1731
|
-
GPUCommandEncoder.prototype.copyBufferToTexture = function(
|
|
1732
|
-
source, destination, copySize) {};
|
|
1733
|
-
/**
|
|
1734
|
-
* @param {!GPUTexelCopyTextureInfo} source
|
|
1735
|
-
* @param {!GPUTexelCopyBufferInfo} destination
|
|
1736
|
-
* @param {!GPUExtent3D|!Iterable<!GPUIntegerCoordinate>} copySize
|
|
1737
|
-
* @return {undefined}
|
|
1738
|
-
*/
|
|
1739
|
-
GPUCommandEncoder.prototype.copyTextureToBuffer = function(
|
|
1740
|
-
source, destination, copySize) {};
|
|
1741
|
-
/**
|
|
1742
|
-
* @param {!GPUTexelCopyTextureInfo} source
|
|
1743
|
-
* @param {!GPUTexelCopyTextureInfo} destination
|
|
1744
|
-
* @param {!GPUExtent3D|!Iterable<!GPUIntegerCoordinate>} copySize
|
|
1745
|
-
* @return {undefined}
|
|
1746
|
-
*/
|
|
1747
|
-
GPUCommandEncoder.prototype.copyTextureToTexture = function(
|
|
1748
|
-
source, destination, copySize) {};
|
|
1749
|
-
/**
|
|
1750
|
-
* @param {!GPUCommandBufferDescriptor=} opt_descriptor
|
|
1751
|
-
* @return {!GPUCommandBuffer}
|
|
1752
|
-
*/
|
|
1753
|
-
GPUCommandEncoder.prototype.finish = function(opt_descriptor) {};
|
|
1754
|
-
/**
|
|
1755
|
-
* @param {!GPUQuerySet} querySet
|
|
1756
|
-
* @param {!GPUSize32} firstQuery
|
|
1757
|
-
* @param {!GPUSize32} queryCount
|
|
1758
|
-
* @param {!GPUBuffer} destination
|
|
1759
|
-
* @param {!GPUSize64} destinationOffset
|
|
1760
|
-
* @return {undefined}
|
|
1761
|
-
*/
|
|
1762
|
-
GPUCommandEncoder.prototype.resolveQuerySet = function(
|
|
1763
|
-
querySet, firstQuery, queryCount, destination, destinationOffset) {};
|
|
1764
|
-
// From GPUDebugCommandsMixin
|
|
1765
|
-
/**
|
|
1766
|
-
* @override
|
|
1767
|
-
* @param {string} markerLabel
|
|
1768
|
-
* @return {undefined}
|
|
1769
|
-
*/
|
|
1770
|
-
GPUCommandEncoder.prototype.insertDebugMarker = function(markerLabel) {};
|
|
1771
|
-
/**
|
|
1772
|
-
* @override
|
|
1773
|
-
* @return {undefined}
|
|
1774
|
-
*/
|
|
1775
|
-
GPUCommandEncoder.prototype.popDebugGroup = function() {};
|
|
1776
|
-
/**
|
|
1777
|
-
* @override
|
|
1778
|
-
* @param {string} groupLabel
|
|
1779
|
-
* @return {undefined}
|
|
1780
|
-
*/
|
|
1781
|
-
GPUCommandEncoder.prototype.pushDebugGroup = function(groupLabel) {};
|
|
1782
|
-
|
|
1783
1456
|
/** @typedef {number} */
|
|
1784
1457
|
var GPUBufferDynamicOffset;
|
|
1785
1458
|
|