Changeset 285384 in webkit
- Timestamp:
- Nov 6, 2021 4:17:47 PM (9 months ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 11 edited
- 28 copied
-
CMakeLists.txt (modified) (4 diffs)
-
ChangeLog (modified) (1 diff)
-
DerivedSources-input.xcfilelist (modified) (4 diffs)
-
DerivedSources-output.xcfilelist (modified) (4 diffs)
-
DerivedSources.make (modified) (4 diffs)
-
Modules/WebGPU/GPUCanvasCompositingAlphaMode.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCanvasCompositingAlphaMode.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCanvasConfiguration.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCanvasConfiguration.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCanvasContext.cpp (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCanvasContext.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCanvasContext.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUCommandBuffer.h (modified) (1 diff)
-
Modules/WebGPU/GPUDevice.cpp (modified) (1 diff)
-
Modules/WebGPU/GPUDevice.h (modified) (3 diffs)
-
Modules/WebGPU/GPUDeviceError.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUDeviceLost.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUDeviceLostInfo.cpp (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUDeviceLostInfo.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (2 diffs)
-
Modules/WebGPU/GPUDeviceLostInfo.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUDeviceLostReason.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUDeviceLostReason.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUDeviceUncapturedError.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUError.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUErrorFilter.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUErrorFilter.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUOutOfMemoryError.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUOutOfMemoryError.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUUncapturedErrorEvent.cpp (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUUncapturedErrorEvent.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (2 diffs)
-
Modules/WebGPU/GPUUncapturedErrorEvent.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUUncapturedErrorEventInit.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUUncapturedErrorEventInit.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUValidationError.cpp (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUValidationError.h (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Modules/WebGPU/GPUValidationError.idl (copied) (copied from trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h) (1 diff)
-
Sources.txt (modified) (7 diffs)
-
WebCore.xcodeproj/project.pbxproj (modified) (5 diffs)
-
bindings/js/WebCoreBuiltinNames.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r285382 r285384 1488 1488 Modules/WebGPU/GPUBufferDescriptor.idl 1489 1489 Modules/WebGPU/GPUBufferUsage.idl 1490 Modules/WebGPU/GPUCanvasCompositingAlphaMode.idl 1491 Modules/WebGPU/GPUCanvasConfiguration.idl 1492 Modules/WebGPU/GPUCanvasContext.idl 1490 1493 Modules/WebGPU/GPUColorDict.idl 1491 1494 Modules/WebGPU/GPUColorTargetState.idl … … 1509 1512 Modules/WebGPU/GPUDevice.idl 1510 1513 Modules/WebGPU/GPUDeviceDescriptor.idl 1514 Modules/WebGPU/GPUDeviceError.idl 1515 Modules/WebGPU/GPUDeviceLost.idl 1516 Modules/WebGPU/GPUDeviceLostInfo.idl 1517 Modules/WebGPU/GPUDeviceLostReason.idl 1518 Modules/WebGPU/GPUDeviceUncapturedError.idl 1519 Modules/WebGPU/GPUErrorFilter.idl 1511 1520 Modules/WebGPU/GPUExtent3DDict.idl 1512 1521 Modules/WebGPU/GPUExternalTexture.idl … … 1530 1539 Modules/WebGPU/GPUOrigin2DDict.idl 1531 1540 Modules/WebGPU/GPUOrigin3DDict.idl 1541 Modules/WebGPU/GPUOutOfMemoryError.idl 1532 1542 Modules/WebGPU/GPUPipelineBase.idl 1533 1543 Modules/WebGPU/GPUPipelineDescriptorBase.idl … … 1585 1595 Modules/WebGPU/GPUTextureViewDescriptor.idl 1586 1596 Modules/WebGPU/GPUTextureViewDimension.idl 1597 Modules/WebGPU/GPUUncapturedErrorEvent.idl 1598 Modules/WebGPU/GPUUncapturedErrorEventInit.idl 1599 Modules/WebGPU/GPUValidationError.idl 1587 1600 Modules/WebGPU/GPUVertexAttribute.idl 1588 1601 Modules/WebGPU/GPUVertexBufferLayout.idl -
trunk/Source/WebCore/ChangeLog
r285383 r285384 12 12 * css/parser/CSSPropertyParser.cpp: 13 13 (WebCore::consumeFontSynthesis): 14 15 2021-11-05 Myles C. Maxfield <mmaxfield@apple.com> 16 17 [WebGPU] Bindings Part 8: Bring back the remaining bindings code 18 https://bugs.webkit.org/show_bug.cgi?id=232700 19 20 Reviewed by Dean Jackson. 21 22 This is the last chunk of the bindings code, brought back from r280467. 23 This chunk includes all of the remaining pieces. 24 The objects have no methods in them - those will come later. 25 26 No new tests because there is no behavior change yet. 27 28 * CMakeLists.txt: 29 * DerivedSources-input.xcfilelist: 30 * DerivedSources-output.xcfilelist: 31 * DerivedSources.make: 32 * Modules/WebGPU/GPUCanvasCompositingAlphaMode.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 33 * Modules/WebGPU/GPUCanvasCompositingAlphaMode.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 34 * Modules/WebGPU/GPUCanvasConfiguration.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 35 * Modules/WebGPU/GPUCanvasConfiguration.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 36 * Modules/WebGPU/GPUCanvasContext.cpp: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 37 (WebCore::GPUCanvasContext::canvas): 38 (WebCore::GPUCanvasContext::configure): 39 (WebCore::GPUCanvasContext::unconfigure): 40 (WebCore::GPUCanvasContext::getPreferredFormat): 41 (WebCore::GPUCanvasContext::getCurrentTexture): 42 * Modules/WebGPU/GPUCanvasContext.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 43 (WebCore::GPUCanvasContext::create): 44 * Modules/WebGPU/GPUCanvasContext.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 45 * Modules/WebGPU/GPUCommandBuffer.h: 46 (WebCore::GPUCommandBuffer::GPUCommandBuffer): Deleted. 47 * Modules/WebGPU/GPUDevice.cpp: 48 (WebCore::GPUDevice::pushErrorScope): 49 (WebCore::GPUDevice::popErrorScope): 50 * Modules/WebGPU/GPUDevice.h: 51 (WebCore::GPUDevice::lost): 52 * Modules/WebGPU/GPUDeviceError.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 53 * Modules/WebGPU/GPUDeviceLost.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 54 * Modules/WebGPU/GPUDeviceLostInfo.cpp: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 55 (WebCore::GPUDeviceLostInfo::GPUDeviceLostInfo): 56 (WebCore::GPUDeviceLostInfo::reason const): 57 (WebCore::GPUDeviceLostInfo::message const): 58 * Modules/WebGPU/GPUDeviceLostInfo.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 59 (WebCore::GPUDeviceLostInfo::create): 60 * Modules/WebGPU/GPUDeviceLostInfo.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 61 * Modules/WebGPU/GPUDeviceLostReason.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 62 * Modules/WebGPU/GPUDeviceLostReason.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 63 * Modules/WebGPU/GPUDeviceUncapturedError.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 64 * Modules/WebGPU/GPUError.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 65 * Modules/WebGPU/GPUErrorFilter.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 66 * Modules/WebGPU/GPUErrorFilter.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 67 * Modules/WebGPU/GPUOutOfMemoryError.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 68 (WebCore::GPUOutOfMemoryError::create): 69 * Modules/WebGPU/GPUOutOfMemoryError.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 70 * Modules/WebGPU/GPUUncapturedErrorEvent.cpp: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 71 (WebCore::GPUUncapturedErrorEvent::GPUUncapturedErrorEvent): 72 (WebCore::GPUUncapturedErrorEvent::error const): 73 * Modules/WebGPU/GPUUncapturedErrorEvent.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 74 (WebCore::GPUUncapturedErrorEvent::create): 75 * Modules/WebGPU/GPUUncapturedErrorEvent.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 76 * Modules/WebGPU/GPUUncapturedErrorEventInit.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 77 * Modules/WebGPU/GPUUncapturedErrorEventInit.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 78 * Modules/WebGPU/GPUValidationError.cpp: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 79 (WebCore::GPUValidationError::GPUValidationError): 80 (WebCore::GPUValidationError::message const): 81 * Modules/WebGPU/GPUValidationError.h: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 82 (WebCore::GPUValidationError::create): 83 * Modules/WebGPU/GPUValidationError.idl: Copied from Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h. 84 * Sources.txt: 85 * WebCore.xcodeproj/project.pbxproj: 86 * bindings/js/WebCoreBuiltinNames.h: 14 87 15 88 2021-11-05 Myles C. Maxfield <mmaxfield@apple.com> -
trunk/Source/WebCore/DerivedSources-input.xcfilelist
r285382 r285384 41 41 $(PROJECT_DIR)/Modules/WebGPU/GPUBufferDescriptor.idl 42 42 $(PROJECT_DIR)/Modules/WebGPU/GPUBufferUsage.idl 43 $(PROJECT_DIR)/Modules/WebGPU/GPUCanvasCompositingAlphaMode.idl 44 $(PROJECT_DIR)/Modules/WebGPU/GPUCanvasConfiguration.idl 45 $(PROJECT_DIR)/Modules/WebGPU/GPUCanvasContext.idl 43 46 $(PROJECT_DIR)/Modules/WebGPU/GPUColorDict.idl 44 47 $(PROJECT_DIR)/Modules/WebGPU/GPUColorTargetState.idl … … 62 65 $(PROJECT_DIR)/Modules/WebGPU/GPUDevice.idl 63 66 $(PROJECT_DIR)/Modules/WebGPU/GPUDeviceDescriptor.idl 67 $(PROJECT_DIR)/Modules/WebGPU/GPUDeviceError.idl 68 $(PROJECT_DIR)/Modules/WebGPU/GPUDeviceLost.idl 69 $(PROJECT_DIR)/Modules/WebGPU/GPUDeviceLostInfo.idl 70 $(PROJECT_DIR)/Modules/WebGPU/GPUDeviceLostReason.idl 71 $(PROJECT_DIR)/Modules/WebGPU/GPUDeviceUncapturedError.idl 72 $(PROJECT_DIR)/Modules/WebGPU/GPUErrorFilter.idl 64 73 $(PROJECT_DIR)/Modules/WebGPU/GPUExtent3DDict.idl 65 74 $(PROJECT_DIR)/Modules/WebGPU/GPUExternalTexture.idl … … 83 92 $(PROJECT_DIR)/Modules/WebGPU/GPUOrigin2DDict.idl 84 93 $(PROJECT_DIR)/Modules/WebGPU/GPUOrigin3DDict.idl 94 $(PROJECT_DIR)/Modules/WebGPU/GPUOutOfMemoryError.idl 85 95 $(PROJECT_DIR)/Modules/WebGPU/GPUPipelineBase.idl 86 96 $(PROJECT_DIR)/Modules/WebGPU/GPUPipelineDescriptorBase.idl … … 139 149 $(PROJECT_DIR)/Modules/WebGPU/GPUTextureViewDescriptor.idl 140 150 $(PROJECT_DIR)/Modules/WebGPU/GPUTextureViewDimension.idl 151 $(PROJECT_DIR)/Modules/WebGPU/GPUUncapturedErrorEvent.idl 152 $(PROJECT_DIR)/Modules/WebGPU/GPUUncapturedErrorEventInit.idl 153 $(PROJECT_DIR)/Modules/WebGPU/GPUValidationError.idl 141 154 $(PROJECT_DIR)/Modules/WebGPU/GPUVertexAttribute.idl 142 155 $(PROJECT_DIR)/Modules/WebGPU/GPUVertexBufferLayout.idl -
trunk/Source/WebCore/DerivedSources-output.xcfilelist
r285382 r285384 906 906 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUBufferUsage.cpp 907 907 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUBufferUsage.h 908 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUCanvasCompositingAlphaMode.cpp 909 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUCanvasCompositingAlphaMode.h 910 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUCanvasConfiguration.cpp 911 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUCanvasConfiguration.h 912 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUCanvasContext.cpp 913 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUCanvasContext.h 908 914 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUColorDict.cpp 909 915 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUColorDict.h … … 948 954 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceDescriptor.cpp 949 955 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceDescriptor.h 956 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceError.cpp 957 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceError.h 958 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceLost.cpp 959 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceLost.h 960 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceLostInfo.cpp 961 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceLostInfo.h 962 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceLostReason.cpp 963 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceLostReason.h 964 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceUncapturedError.cpp 965 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUDeviceUncapturedError.h 966 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUErrorFilter.cpp 967 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUErrorFilter.h 950 968 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUExtent3DDict.cpp 951 969 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUExtent3DDict.h … … 990 1008 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUOrigin3DDict.cpp 991 1009 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUOrigin3DDict.h 1010 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUOutOfMemoryError.cpp 1011 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUOutOfMemoryError.h 992 1012 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUPipelineBase.cpp 993 1013 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUPipelineBase.h … … 1102 1122 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUTextureViewDimension.cpp 1103 1123 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUTextureViewDimension.h 1124 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUUncapturedErrorEvent.cpp 1125 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUUncapturedErrorEvent.h 1126 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUUncapturedErrorEventInit.cpp 1127 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUUncapturedErrorEventInit.h 1128 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUValidationError.cpp 1129 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUValidationError.h 1104 1130 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUVertexAttribute.cpp 1105 1131 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGPUVertexAttribute.h -
trunk/Source/WebCore/DerivedSources.make
r285382 r285384 73 73 $(WebCore)/Modules/WebGPU/GPUBufferDescriptor.idl \ 74 74 $(WebCore)/Modules/WebGPU/GPUBufferUsage.idl \ 75 $(WebCore)/Modules/WebGPU/GPUCanvasCompositingAlphaMode.idl \ 76 $(WebCore)/Modules/WebGPU/GPUCanvasConfiguration.idl \ 77 $(WebCore)/Modules/WebGPU/GPUCanvasContext.idl \ 75 78 $(WebCore)/Modules/WebGPU/GPUColorDict.idl \ 76 79 $(WebCore)/Modules/WebGPU/GPUColorTargetState.idl \ … … 94 97 $(WebCore)/Modules/WebGPU/GPUDevice.idl \ 95 98 $(WebCore)/Modules/WebGPU/GPUDeviceDescriptor.idl \ 99 $(WebCore)/Modules/WebGPU/GPUDeviceError.idl \ 100 $(WebCore)/Modules/WebGPU/GPUDeviceLost.idl \ 101 $(WebCore)/Modules/WebGPU/GPUDeviceLostInfo.idl \ 102 $(WebCore)/Modules/WebGPU/GPUDeviceLostReason.idl \ 103 $(WebCore)/Modules/WebGPU/GPUDeviceUncapturedError.idl \ 104 $(WebCore)/Modules/WebGPU/GPUErrorFilter.idl \ 96 105 $(WebCore)/Modules/WebGPU/GPUExtent3DDict.idl \ 97 106 $(WebCore)/Modules/WebGPU/GPUExternalTexture.idl \ … … 115 124 $(WebCore)/Modules/WebGPU/GPUOrigin2DDict.idl \ 116 125 $(WebCore)/Modules/WebGPU/GPUOrigin3DDict.idl \ 126 $(WebCore)/Modules/WebGPU/GPUOutOfMemoryError.idl \ 117 127 $(WebCore)/Modules/WebGPU/GPUPipelineBase.idl \ 118 128 $(WebCore)/Modules/WebGPU/GPUPipelineDescriptorBase.idl \ … … 170 180 $(WebCore)/Modules/WebGPU/GPUTextureViewDescriptor.idl \ 171 181 $(WebCore)/Modules/WebGPU/GPUTextureViewDimension.idl \ 182 $(WebCore)/Modules/WebGPU/GPUUncapturedErrorEvent.idl \ 183 $(WebCore)/Modules/WebGPU/GPUUncapturedErrorEventInit.idl \ 184 $(WebCore)/Modules/WebGPU/GPUValidationError.idl \ 172 185 $(WebCore)/Modules/WebGPU/GPUVertexAttribute.idl \ 173 186 $(WebCore)/Modules/WebGPU/GPUVertexBufferLayout.idl \ -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasCompositingAlphaMode.h
r285383 r285384 26 26 #pragma once 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 #include <cstdint> 31 29 32 30 namespace WebCore { 33 31 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 32 enum class GPUCanvasCompositingAlphaMode : uint8_t { 33 Opaque, 34 Premultiplied 48 35 }; 49 36 -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasCompositingAlphaMode.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once26 // https://gpuweb.github.io/gpuweb/#enumdef-gpucanvascompositingalphamode 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 28 [ 29 EnabledBySetting=WebGPU 30 ] 31 enum GPUCanvasCompositingAlphaMode { 32 "opaque", 33 "premultiplied" 48 34 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h
r285383 r285384 26 26 #pragma once 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 #include "GPUCanvasCompositingAlphaMode.h" 29 #include "GPUDevice.h" 30 #include "GPUExtent3DDict.h" 31 #include "GPUPredefinedColorSpace.h" 32 #include "GPUTextureFormat.h" 33 #include <cstdint> 34 #include <optional> 35 #include <wtf/RefPtr.h> 31 36 32 37 namespace WebCore { 33 38 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 39 using GPUTextureUsageFlags = uint32_t; // FIXME: This doesn't need to be here. 40 40 41 String label() const; 42 void setLabel(String&&);43 44 private: 45 GPU CommandBuffer()46 {47 }41 struct GPUCanvasConfiguration { 42 RefPtr<GPUDevice> device; 43 GPUTextureFormat format; 44 GPUTextureUsageFlags usage; // GPUTextureUsage.RENDER_ATTACHMENT 45 GPUPredefinedColorSpace colorSpace; 46 GPUCanvasCompositingAlphaMode compositingAlphaMode; 47 std::optional<GPUExtent3D> size; 48 48 }; 49 49 -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#dictdef-gpucanvasconfiguration 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 // https://bugs.webkit.org/show_bug.cgi?id=232548 These shouldn't need to be here. 29 typedef [EnforceRange] unsigned long GPUTextureUsageFlags; 30 typedef [EnforceRange] unsigned long GPUIntegerCoordinate; 31 typedef (sequence<GPUIntegerCoordinate> or GPUExtent3DDict) GPUExtent3D; 31 32 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 33 [ 34 EnabledBySetting=WebGPU 35 ] 36 dictionary GPUCanvasConfiguration { 37 required GPUDevice device; 38 required GPUTextureFormat format; 39 GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT 40 GPUPredefinedColorSpace colorSpace = "srgb"; 41 GPUCanvasCompositingAlphaMode compositingAlphaMode = "opaque"; 42 GPUExtent3D size; 48 43 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasContext.cpp
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 #include "config.h" 27 #include "GPUCanvasContext.h" 27 28 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 29 #include "GPUAdapter.h" 30 #include "GPUCanvasConfiguration.h" 31 31 32 32 namespace WebCore { 33 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 34 RefPtr<HTMLCanvasElement> GPUCanvasContext::canvas() 35 { 36 return { }; 37 } 40 38 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 48 }; 39 void GPUCanvasContext::configure(const GPUCanvasConfiguration&) 40 { 49 41 50 42 } 43 44 void GPUCanvasContext::unconfigure() 45 { 46 } 47 48 GPUTextureFormat GPUCanvasContext::getPreferredFormat(const GPUAdapter&) 49 { 50 return GPUTextureFormat::Rgba8unorm; 51 } 52 53 RefPtr<GPUTexture> GPUCanvasContext::getCurrentTexture() 54 { 55 return nullptr; 56 } 57 58 } -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasContext.h
r285383 r285384 26 26 #pragma once 27 27 28 #include "GPUTexture.h" 29 #include "GPUTextureFormat.h" 30 #include "HTMLCanvasElement.h" 31 #include "OffscreenCanvas.h" 32 #include <variant> 28 33 #include <wtf/Ref.h> 29 34 #include <wtf/RefCounted.h> 30 #include <wtf/ text/WTFString.h>35 #include <wtf/RefPtr.h> 31 36 32 37 namespace WebCore { 33 38 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 39 class GPUAdapter; 40 struct GPUCanvasConfiguration; 41 42 class GPUCanvasContext : public RefCounted<GPUCanvasContext> { 35 43 public: 36 static Ref<GPUC ommandBuffer> create()44 static Ref<GPUCanvasContext> create() 37 45 { 38 return adoptRef(*new GPUC ommandBuffer());46 return adoptRef(*new GPUCanvasContext()); 39 47 } 40 48 41 String label() const; 42 void setLabel(String&&); 49 RefPtr<HTMLCanvasElement> canvas(); 50 51 void configure(const GPUCanvasConfiguration&); 52 void unconfigure(); 53 54 GPUTextureFormat getPreferredFormat(const GPUAdapter&); 55 RefPtr<GPUTexture> getCurrentTexture(); 43 56 44 57 private: 45 GPUCommandBuffer() 46 { 47 } 58 GPUCanvasContext() = default; 48 59 }; 49 60 -
trunk/Source/WebCore/Modules/WebGPU/GPUCanvasContext.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#gpucanvascontext 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 [ 29 EnabledBySetting=WebGPU, 30 ImplementationLacksVTable, 31 Exposed=(Window), /* https://bugs.webkit.org/show_bug.cgi?id=232542: DedicatedWorker */ 32 SecureContext 33 ] 34 interface GPUCanvasContext { 35 readonly attribute HTMLCanvasElement canvas; // FIXME: OffscreenCanvas doesn't seem to work with our bindings here. 31 36 32 namespace WebCore { 37 undefined configure(GPUCanvasConfiguration configuration); 38 undefined unconfigure(); 33 39 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 40 GPUTextureFormat getPreferredFormat(GPUAdapter adapter); 41 GPUTexture getCurrentTexture(); 48 42 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUCommandBuffer.h
r285382 r285384 43 43 44 44 private: 45 GPUCommandBuffer() 46 { 47 } 45 GPUCommandBuffer() = default; 48 46 }; 49 47 -
trunk/Source/WebCore/Modules/WebGPU/GPUDevice.cpp
r285382 r285384 156 156 } 157 157 158 void GPUDevice::pushErrorScope(GPUErrorFilter) 159 { 158 160 } 161 162 void GPUDevice::popErrorScope(ErrorScopePromise&&) 163 { 164 } 165 166 } -
trunk/Source/WebCore/Modules/WebGPU/GPUDevice.h
r285382 r285384 27 27 28 28 #include "ActiveDOMObject.h" 29 #include "DOMPromiseProxy.h" 29 30 #include "EventTarget.h" 30 31 #include "GPUComputePipeline.h" 32 #include "GPUDeviceLostInfo.h" 33 #include "GPUError.h" 34 #include "GPUErrorFilter.h" 31 35 #include "GPURenderPipeline.h" 32 36 #include "JSDOMPromiseDeferred.h" … … 108 112 Ref<GPUQuerySet> createQuerySet(const GPUQuerySetDescriptor&); 109 113 114 void pushErrorScope(GPUErrorFilter); 115 using ErrorScopePromise = DOMPromiseDeferred<IDLNullable<IDLInterface<GPUError>>>; 116 void popErrorScope(ErrorScopePromise&&); 117 118 using LostPromise = DOMPromiseProxy<IDLInterface<GPUDeviceLostInfo>>; 119 LostPromise& lost() { return m_lostPromise; } 120 110 121 private: 111 122 GPUDevice(ScriptExecutionContext* scriptExecutionContext) … … 123 134 void refEventTarget() final { ref(); } 124 135 void derefEventTarget() final { deref(); } 136 137 LostPromise m_lostPromise; 125 138 }; 126 139 -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceError.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#ref-for-gpudevice⑤⓪ 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 // https://bugs.webkit.org/show_bug.cgi?id=232548 This shouldn't need to be here. 29 typedef (GPUOutOfMemoryError or GPUValidationError) GPUError; 31 30 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 31 partial interface GPUDevice { 32 undefined pushErrorScope(GPUErrorFilter filter); 33 Promise<GPUError?> popErrorScope(); 48 34 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceLost.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#ref-for-gpudevice④⑨ 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 28 partial interface GPUDevice { 29 readonly attribute Promise<GPUDeviceLostInfo> lost; 48 30 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceLostInfo.cpp
r285383 r285384 24 24 */ 25 25 26 #pragma once 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 26 #include "config.h" 27 #include "GPUDeviceLostInfo.h" 31 28 32 29 namespace WebCore { 33 30 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 31 GPUDeviceLostInfo::GPUDeviceLostInfo(Reason&&, String&& message) 32 { 33 UNUSED_PARAM(message); 34 } 40 35 41 String label() const; 42 void setLabel(String&&); 36 auto GPUDeviceLostInfo::reason() const -> Reason 37 { 38 return std::nullopt; 39 } 43 40 44 private: 45 GPUCommandBuffer() 46 { 47 } 48 }; 41 String GPUDeviceLostInfo::message() const 42 { 43 return StringImpl::empty(); 44 } 49 45 50 46 } 47 48 -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceLostInfo.h
r285383 r285384 26 26 #pragma once 27 27 28 #include "GPUDeviceLostReason.h" 29 #include <optional> 28 30 #include <wtf/Ref.h> 29 31 #include <wtf/RefCounted.h> … … 32 34 namespace WebCore { 33 35 34 class GPU CommandBuffer : public RefCounted<GPUCommandBuffer> {36 class GPUDeviceLostInfo : public RefCounted<GPUDeviceLostInfo> { 35 37 public: 36 static Ref<GPUCommandBuffer> create() 38 using Reason = std::optional<GPUDeviceLostReason>; 39 40 static Ref<GPUDeviceLostInfo> create(Reason&& reason, String&& message) 37 41 { 38 return adoptRef(*new GPU CommandBuffer());42 return adoptRef(*new GPUDeviceLostInfo(WTFMove(reason), WTFMove(message))); 39 43 } 40 44 41 String label() const;42 void setLabel(String&&);45 Reason reason() const; 46 String message() const; 43 47 44 48 private: 45 GPUCommandBuffer() 46 { 47 } 49 GPUDeviceLostInfo(Reason&&, String&& message); 48 50 }; 49 51 -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceLostInfo.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#gpudevicelostinfo 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 28 [ 29 EnabledBySetting=WebGPU, 30 ImplementationLacksVTable, 31 Exposed=(Window), /* https://bugs.webkit.org/show_bug.cgi?id=232542: DedicatedWorker */ 32 SecureContext 33 ] 34 interface GPUDeviceLostInfo { 35 readonly attribute GPUDeviceLostReason? reason; // FIXME: This is supposed to be (GPUDeviceLostReason or undefined) 36 readonly attribute DOMString message; 48 37 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceLostReason.h
r285383 r285384 26 26 #pragma once 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 #include <cstdint> 31 29 32 30 namespace WebCore { 33 31 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 32 enum class GPUDeviceLostReason : uint8_t { 33 Destroyed 48 34 }; 49 35 -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceLostReason.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#enumdef-gpudevicelostreason 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 28 [ 29 EnabledBySetting=WebGPU 30 ] 31 enum GPUDeviceLostReason { 32 "destroyed" 48 33 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUDeviceUncapturedError.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 26 partial interface GPUDevice { 27 [Exposed=(Window, DedicatedWorker)] 28 attribute EventHandler onuncapturederror; 48 29 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUError.h
r285383 r285384 26 26 #pragma once 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 #include "GPUOutOfMemoryError.h" 29 #include "GPUValidationError.h" 30 #include <variant> 31 #include <wtf/RefPtr.h> 31 32 32 33 namespace WebCore { 33 34 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 48 }; 35 using GPUError = std::variant<RefPtr<GPUOutOfMemoryError>, RefPtr<GPUValidationError>>; 49 36 50 37 } -
trunk/Source/WebCore/Modules/WebGPU/GPUErrorFilter.h
r285383 r285384 26 26 #pragma once 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 #include <cstdint> 31 29 32 30 namespace WebCore { 33 31 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 32 enum class GPUErrorFilter : uint8_t { 33 OutOfMemory, 34 Validation 48 35 }; 49 36 -
trunk/Source/WebCore/Modules/WebGPU/GPUErrorFilter.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#enumdef-gpuerrorfilter 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 28 [ 29 EnabledBySetting=WebGPU 30 ] 31 enum GPUErrorFilter { 32 "out-of-memory", 33 "validation" 48 34 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUOutOfMemoryError.h
r285383 r285384 28 28 #include <wtf/Ref.h> 29 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h>31 30 32 31 namespace WebCore { 33 32 34 class GPU CommandBuffer : public RefCounted<GPUCommandBuffer> {33 class GPUOutOfMemoryError : public RefCounted<GPUOutOfMemoryError> { 35 34 public: 36 static Ref<GPU CommandBuffer> create()35 static Ref<GPUOutOfMemoryError> create() 37 36 { 38 return adoptRef(*new GPU CommandBuffer());37 return adoptRef(*new GPUOutOfMemoryError()); 39 38 } 40 39 41 String label() const;42 void setLabel(String&&);43 44 40 private: 45 GPUCommandBuffer() 46 { 47 } 41 GPUOutOfMemoryError() = default; 48 42 }; 49 43 -
trunk/Source/WebCore/Modules/WebGPU/GPUOutOfMemoryError.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#gpuoutofmemoryerror 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 28 [ 29 EnabledBySetting=WebGPU, 30 ImplementationLacksVTable, 31 Exposed=(Window), /* https://bugs.webkit.org/show_bug.cgi?id=232542: DedicatedWorker */ 32 SecureContext 33 ] 34 interface GPUOutOfMemoryError { 35 constructor(); 48 36 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp
r285383 r285384 24 24 */ 25 25 26 #pragma once 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 26 #include "config.h" 27 #include "GPUUncapturedErrorEvent.h" 31 28 32 29 namespace WebCore { 33 30 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 31 GPUUncapturedErrorEvent::GPUUncapturedErrorEvent(String&& type, const GPUUncapturedErrorEventInit&) 32 { 33 UNUSED_PARAM(type); 34 } 40 35 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 48 }; 36 GPUError GPUUncapturedErrorEvent::error() const 37 { 38 return RefPtr<GPUOutOfMemoryError>(GPUOutOfMemoryError::create()); 39 } 49 40 50 41 } 42 43 -
trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.h
r285383 r285384 26 26 #pragma once 27 27 28 #include "Event.h" 29 #include "GPUError.h" 30 #include "GPUUncapturedErrorEventInit.h" 28 31 #include <wtf/Ref.h> 29 32 #include <wtf/RefCounted.h> … … 32 35 namespace WebCore { 33 36 34 class GPU CommandBuffer : public RefCounted<GPUCommandBuffer>{37 class GPUUncapturedErrorEvent : public Event { 35 38 public: 36 static Ref<GPU CommandBuffer> create()39 static Ref<GPUUncapturedErrorEvent> create(String&& type, const GPUUncapturedErrorEventInit& gpuUncapturedErrorEventInitDict) 37 40 { 38 return adoptRef(*new GPU CommandBuffer());41 return adoptRef(*new GPUUncapturedErrorEvent(WTFMove(type), gpuUncapturedErrorEventInitDict)); 39 42 } 40 43 41 String label() const; 42 void setLabel(String&&); 44 GPUError error() const; 43 45 44 46 private: 45 GPUCommandBuffer() 46 { 47 } 47 GPUUncapturedErrorEvent(String&& type, const GPUUncapturedErrorEventInit&); 48 48 }; 49 49 -
trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#gpuuncapturederrorevent 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 // https://bugs.webkit.org/show_bug.cgi?id=232548 This shouldn't need to be here. 29 typedef (GPUOutOfMemoryError or GPUValidationError) GPUError; 31 30 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 31 [ 32 EnabledBySetting=WebGPU, 33 Exposed=(Window), /* https://bugs.webkit.org/show_bug.cgi?id=232542: DedicatedWorker */ 34 SecureContext 35 ] 36 interface GPUUncapturedErrorEvent : Event { 37 constructor( 38 DOMString type, 39 GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict 40 ); 41 [SameObject] readonly attribute GPUError error; 48 42 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEventInit.h
r285383 r285384 26 26 #pragma once 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 #include "EventInit.h" 29 #include "GPUError.h" 31 30 32 31 namespace WebCore { 33 32 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 33 struct GPUUncapturedErrorEventInit : public EventInit { 34 GPUError error; 48 35 }; 49 36 -
trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEventInit.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 26 // https://gpuweb.github.io/gpuweb/#dictdef-gpuuncapturederroreventinit 27 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 28 // https://bugs.webkit.org/show_bug.cgi?id=232548 This shouldn't need to be here. 29 typedef (GPUOutOfMemoryError or GPUValidationError) GPUError; 31 30 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 31 [ 32 EnabledBySetting=WebGPU 33 ] 34 dictionary GPUUncapturedErrorEventInit : EventInit { 35 required GPUError error; 48 36 }; 49 50 } -
trunk/Source/WebCore/Modules/WebGPU/GPUValidationError.cpp
r285383 r285384 24 24 */ 25 25 26 #pragma once 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 26 #include "config.h" 27 #include "GPUValidationError.h" 31 28 32 29 namespace WebCore { 33 30 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 31 GPUValidationError::GPUValidationError(String&& message) 32 { 33 UNUSED_PARAM(message); 34 } 40 35 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 48 }; 36 String GPUValidationError::message() const 37 { 38 return StringImpl::empty(); 39 } 49 40 50 41 } 42 43 -
trunk/Source/WebCore/Modules/WebGPU/GPUValidationError.h
r285383 r285384 28 28 #include <wtf/Ref.h> 29 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h>31 30 32 31 namespace WebCore { 33 32 34 class GPU CommandBuffer : public RefCounted<GPUCommandBuffer> {33 class GPUValidationError : public RefCounted<GPUValidationError> { 35 34 public: 36 static Ref<GPU CommandBuffer> create()35 static Ref<GPUValidationError> create(String&& message) 37 36 { 38 return adoptRef(*new GPU CommandBuffer());37 return adoptRef(*new GPUValidationError(WTFMove(message))); 39 38 } 40 39 41 String label() const; 42 void setLabel(String&&); 40 String message() const; 43 41 44 42 private: 45 GPU CommandBuffer()46 { 47 }43 GPUValidationError(String&& message); 44 45 String m_message; 48 46 }; 49 47 -
trunk/Source/WebCore/Modules/WebGPU/GPUValidationError.idl
r285383 r285384 24 24 */ 25 25 26 #pragma once 27 28 #include <wtf/Ref.h> 29 #include <wtf/RefCounted.h> 30 #include <wtf/text/WTFString.h> 31 32 namespace WebCore { 33 34 class GPUCommandBuffer : public RefCounted<GPUCommandBuffer> { 35 public: 36 static Ref<GPUCommandBuffer> create() 37 { 38 return adoptRef(*new GPUCommandBuffer()); 39 } 40 41 String label() const; 42 void setLabel(String&&); 43 44 private: 45 GPUCommandBuffer() 46 { 47 } 26 [ 27 EnabledBySetting=WebGPU, 28 ImplementationLacksVTable, 29 Exposed=(Window), /* https://bugs.webkit.org/show_bug.cgi?id=232542: DedicatedWorker */ 30 SecureContext 31 ] 32 interface GPUValidationError { 33 constructor(DOMString message); 34 readonly attribute DOMString message; 48 35 }; 49 50 } -
trunk/Source/WebCore/Sources.txt
r285382 r285384 27 27 Modules/WebGPU/GPUBindGroupLayout.cpp 28 28 Modules/WebGPU/GPUBuffer.cpp 29 Modules/WebGPU/GPUCanvasContext.cpp 29 30 Modules/WebGPU/GPUCommandBuffer.cpp 30 31 Modules/WebGPU/GPUCommandEncoder.cpp … … 34 35 Modules/WebGPU/GPUComputePipeline.cpp 35 36 Modules/WebGPU/GPUDevice.cpp 37 Modules/WebGPU/GPUDeviceLostInfo.cpp 36 38 Modules/WebGPU/GPUExternalTexture.cpp 37 39 Modules/WebGPU/GPUPipelineLayout.cpp … … 48 50 Modules/WebGPU/GPUTexture.cpp 49 51 Modules/WebGPU/GPUTextureView.cpp 52 Modules/WebGPU/GPUUncapturedErrorEvent.cpp 53 Modules/WebGPU/GPUValidationError.cpp 50 54 Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp 51 55 Modules/applicationmanifest/ApplicationManifestParser.cpp … … 3111 3115 JSGPUBufferDescriptor.cpp 3112 3116 JSGPUBufferUsage.cpp 3117 JSGPUCanvasCompositingAlphaMode.cpp 3118 JSGPUCanvasConfiguration.cpp 3119 JSGPUCanvasContext.cpp 3113 3120 JSGPUColorDict.cpp 3114 3121 JSGPUColorTargetState.cpp … … 3132 3139 JSGPUDevice.cpp 3133 3140 JSGPUDeviceDescriptor.cpp 3141 JSGPUDeviceError.cpp 3142 JSGPUDeviceLost.cpp 3143 JSGPUDeviceLostInfo.cpp 3144 JSGPUDeviceLostReason.cpp 3145 JSGPUDeviceUncapturedError.cpp 3146 JSGPUErrorFilter.cpp 3134 3147 JSGPUExtent3DDict.cpp 3135 3148 JSGPUExternalTexture.cpp … … 3153 3166 JSGPUOrigin2DDict.cpp 3154 3167 JSGPUOrigin3DDict.cpp 3168 JSGPUOutOfMemoryError.cpp 3155 3169 JSGPUPipelineBase.cpp 3156 3170 JSGPUPipelineDescriptorBase.cpp … … 3208 3222 JSGPUTextureViewDescriptor.cpp 3209 3223 JSGPUTextureViewDimension.cpp 3224 JSGPUUncapturedErrorEvent.cpp 3225 JSGPUUncapturedErrorEventInit.cpp 3226 JSGPUValidationError.cpp 3210 3227 JSGPUVertexAttribute.cpp 3211 3228 JSGPUVertexBufferLayout.cpp -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r285382 r285384 7057 7057 1C289589272F5AC700B3E2B4 /* GPUObjectDescriptorBase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUObjectDescriptorBase.h; sourceTree = "<group>"; }; 7058 7058 1C28958B272F5AF500B3E2B4 /* GPUPredefinedColorSpace.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUPredefinedColorSpace.h; sourceTree = "<group>"; }; 7059 1C2C218527353584009ECA32 /* GPUUncapturedErrorEventInit.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUUncapturedErrorEventInit.idl; sourceTree = "<group>"; }; 7060 1C2C218727353584009ECA32 /* GPUCanvasConfiguration.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUCanvasConfiguration.h; sourceTree = "<group>"; }; 7061 1C2C218827353584009ECA32 /* GPUErrorFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUErrorFilter.h; sourceTree = "<group>"; }; 7062 1C2C218A27353585009ECA32 /* GPUCanvasContext.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUCanvasContext.idl; sourceTree = "<group>"; }; 7063 1C2C218B27353586009ECA32 /* GPUDeviceLostInfo.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUDeviceLostInfo.idl; sourceTree = "<group>"; }; 7064 1C2C218D27353586009ECA32 /* GPUDeviceLostInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUDeviceLostInfo.h; sourceTree = "<group>"; }; 7065 1C2C218E27353587009ECA32 /* GPUValidationError.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUValidationError.idl; sourceTree = "<group>"; }; 7066 1C2C218F27353587009ECA32 /* GPUCanvasContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUCanvasContext.h; sourceTree = "<group>"; }; 7067 1C2C219027353588009ECA32 /* GPUErrorFilter.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUErrorFilter.idl; sourceTree = "<group>"; }; 7068 1C2C219127353588009ECA32 /* GPUCanvasCompositingAlphaMode.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUCanvasCompositingAlphaMode.idl; sourceTree = "<group>"; }; 7069 1C2C219227353588009ECA32 /* GPUOutOfMemoryError.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUOutOfMemoryError.h; sourceTree = "<group>"; }; 7070 1C2C219327353589009ECA32 /* GPUDeviceLostReason.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUDeviceLostReason.idl; sourceTree = "<group>"; }; 7071 1C2C219427353589009ECA32 /* GPUCanvasConfiguration.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUCanvasConfiguration.idl; sourceTree = "<group>"; }; 7072 1C2C219527353589009ECA32 /* GPUCanvasCompositingAlphaMode.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUCanvasCompositingAlphaMode.h; sourceTree = "<group>"; }; 7073 1C2C21962735358A009ECA32 /* GPUCanvasContext.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPUCanvasContext.cpp; sourceTree = "<group>"; }; 7074 1C2C21972735358A009ECA32 /* GPUUncapturedErrorEvent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUUncapturedErrorEvent.h; sourceTree = "<group>"; }; 7075 1C2C21982735358B009ECA32 /* GPUValidationError.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUValidationError.h; sourceTree = "<group>"; }; 7076 1C2C21992735358B009ECA32 /* GPUError.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUError.h; sourceTree = "<group>"; }; 7077 1C2C219A2735358B009ECA32 /* GPUDeviceLostReason.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUDeviceLostReason.h; sourceTree = "<group>"; }; 7078 1C2C219B2735358C009ECA32 /* GPUDeviceUncapturedError.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUDeviceUncapturedError.idl; sourceTree = "<group>"; }; 7079 1C2C219C2735358C009ECA32 /* GPUOutOfMemoryError.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUOutOfMemoryError.idl; sourceTree = "<group>"; }; 7080 1C2C219D2735358D009ECA32 /* GPUUncapturedErrorEventInit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUUncapturedErrorEventInit.h; sourceTree = "<group>"; }; 7081 1C2C219E2735358D009ECA32 /* GPUUncapturedErrorEvent.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUUncapturedErrorEvent.idl; sourceTree = "<group>"; }; 7082 1C2C21A02735377D009ECA32 /* GPUDeviceLostInfo.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPUDeviceLostInfo.cpp; sourceTree = "<group>"; }; 7083 1C2C21A2273537E9009ECA32 /* GPUUncapturedErrorEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPUUncapturedErrorEvent.cpp; sourceTree = "<group>"; }; 7084 1C2C21A32735386C009ECA32 /* GPUValidationError.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPUValidationError.cpp; sourceTree = "<group>"; }; 7085 1C2C21A527353D1F009ECA32 /* GPUDeviceError.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUDeviceError.idl; sourceTree = "<group>"; }; 7086 1C2C21A727353D2C009ECA32 /* GPUDeviceLost.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUDeviceLost.idl; sourceTree = "<group>"; }; 7059 7087 1C3249101C6D6A3B007EDB32 /* FontVariantBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FontVariantBuilder.cpp; sourceTree = "<group>"; }; 7060 7088 1C3969CF1B74211E002BCFA7 /* FontCacheCoreText.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FontCacheCoreText.cpp; sourceTree = "<group>"; }; … … 19380 19408 1C8127832734C5F50068864F /* GPUBufferUsage.h */, 19381 19409 1C8127862734C5F60068864F /* GPUBufferUsage.idl */, 19410 1C2C219527353589009ECA32 /* GPUCanvasCompositingAlphaMode.h */, 19411 1C2C219127353588009ECA32 /* GPUCanvasCompositingAlphaMode.idl */, 19412 1C2C218727353584009ECA32 /* GPUCanvasConfiguration.h */, 19413 1C2C219427353589009ECA32 /* GPUCanvasConfiguration.idl */, 19414 1C2C21962735358A009ECA32 /* GPUCanvasContext.cpp */, 19415 1C2C218F27353587009ECA32 /* GPUCanvasContext.h */, 19416 1C2C218A27353585009ECA32 /* GPUCanvasContext.idl */, 19382 19417 1CA4FD1427351FC10027FD5A /* GPUColorDict.h */, 19383 19418 1CA4FCF027351FB30027FD5A /* GPUColorDict.idl */, … … 19429 19464 1C28957C272F407800B3E2B4 /* GPUDeviceDescriptor.h */, 19430 19465 1C28956C272F27DA00B3E2B4 /* GPUDeviceDescriptor.idl */, 19466 1C2C21A527353D1F009ECA32 /* GPUDeviceError.idl */, 19467 1C2C21A727353D2C009ECA32 /* GPUDeviceLost.idl */, 19468 1C2C21A02735377D009ECA32 /* GPUDeviceLostInfo.cpp */, 19469 1C2C218D27353586009ECA32 /* GPUDeviceLostInfo.h */, 19470 1C2C218B27353586009ECA32 /* GPUDeviceLostInfo.idl */, 19471 1C2C219A2735358B009ECA32 /* GPUDeviceLostReason.h */, 19472 1C2C219327353589009ECA32 /* GPUDeviceLostReason.idl */, 19473 1C2C219B2735358C009ECA32 /* GPUDeviceUncapturedError.idl */, 19474 1C2C21992735358B009ECA32 /* GPUError.h */, 19475 1C2C218827353584009ECA32 /* GPUErrorFilter.h */, 19476 1C2C219027353588009ECA32 /* GPUErrorFilter.idl */, 19431 19477 1C81279B2734D8970068864F /* GPUExtent3DDict.h */, 19432 19478 1C8127B02734D8A00068864F /* GPUExtent3DDict.idl */, … … 19472 19518 1CA4FD1227351FC00027FD5A /* GPUOrigin3DDict.h */, 19473 19519 1CA4FD3227351FCD0027FD5A /* GPUOrigin3DDict.idl */, 19520 1C2C219227353588009ECA32 /* GPUOutOfMemoryError.h */, 19521 1C2C219C2735358C009ECA32 /* GPUOutOfMemoryError.idl */, 19474 19522 1CA4FCB627350CEC0027FD5A /* GPUPipelineBase.idl */, 19475 19523 1CA4FCC427350CF10027FD5A /* GPUPipelineDescriptorBase.h */, … … 19592 19640 1C8127A62734D89C0068864F /* GPUTextureViewDimension.h */, 19593 19641 1C8127AB2734D89E0068864F /* GPUTextureViewDimension.idl */, 19642 1C2C21A2273537E9009ECA32 /* GPUUncapturedErrorEvent.cpp */, 19643 1C2C21972735358A009ECA32 /* GPUUncapturedErrorEvent.h */, 19644 1C2C219E2735358D009ECA32 /* GPUUncapturedErrorEvent.idl */, 19645 1C2C219D2735358D009ECA32 /* GPUUncapturedErrorEventInit.h */, 19646 1C2C218527353584009ECA32 /* GPUUncapturedErrorEventInit.idl */, 19647 1C2C21A32735386C009ECA32 /* GPUValidationError.cpp */, 19648 1C2C21982735358B009ECA32 /* GPUValidationError.h */, 19649 1C2C218E27353587009ECA32 /* GPUValidationError.idl */, 19594 19650 1CA4FCBC27350CEE0027FD5A /* GPUVertexAttribute.h */, 19595 19651 1CA4FCAB27350CE80027FD5A /* GPUVertexAttribute.idl */, -
trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h
r285382 r285384 133 133 macro(GPUBuffer) \ 134 134 macro(GPUBufferUsage) \ 135 macro(GPUCanvasContext) \ 135 136 macro(GPUColorWrite) \ 136 137 macro(GPUCommandBuffer) \ … … 141 142 macro(GPUComputePipeline) \ 142 143 macro(GPUDevice) \ 144 macro(GPUDeviceLostInfo) \ 143 145 macro(GPUExternalTexture) \ 144 146 macro(GPUMapMode) \ 147 macro(GPUOutOfMemoryError) \ 145 148 macro(GPUPipelineLayout) \ 146 149 macro(GPUQuerySet) \ … … 158 161 macro(GPUTextureUsage) \ 159 162 macro(GPUTextureView) \ 163 macro(GPUUncapturedErrorEvent) \ 164 macro(GPUValidationError) \ 160 165 macro(Gamepad) \ 161 166 macro(GamepadButton) \
Note: See TracChangeset
for help on using the changeset viewer.