/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPUDevice.h | 21 #include "src/dawn_node/interop/WebGPU.h" 24 // GPUDevice is an implementation of interop::GPUDevice that wraps a wgpu::Device. 25 class GPUDevice final : public interop::GPUDevice { 30 // interop::GPUDevice interface compliance 31 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override; 32 interop::Interface<interop::GPUSupportedLimits> getLimits(Napi::Env) override; 33 interop::Interface<interop [all...] |
H A D | GPURenderPassEncoder.h | 21 #include "src/dawn_node/interop/WebGPU.h" 25 // GPURenderPassEncoder is an implementation of interop::GPURenderPassEncoder that wraps a 27 class GPURenderPassEncoder final : public interop::GPURenderPassEncoder { 36 // interop::GPURenderPassEncoder interface compliance 45 interop::GPUIntegerCoordinate x, 46 interop::GPUIntegerCoordinate y, 47 interop::GPUIntegerCoordinate width, 48 interop::GPUIntegerCoordinate height) override; 49 void setBlendConstant(Napi::Env, interop::GPUColor color) override; 50 void setStencilReference(Napi::Env, interop [all...] |
H A D | GPURenderBundleEncoder.h | 21 #include "src/dawn_node/interop/WebGPU.h" 25 // GPURenderBundleEncoder is an implementation of interop::GPURenderBundleEncoder that wraps a 27 class GPURenderBundleEncoder final : public interop::GPURenderBundleEncoder { 31 // interop::GPURenderBundleEncoder interface compliance 32 interop::Interface<interop::GPURenderBundle> finish( 34 interop::GPURenderBundleDescriptor descriptor) override; 36 interop::GPUIndex32 index, 37 interop::Interface<interop [all...] |
H A D | GPUDevice.cpp | 42 class DeviceLostInfo : public interop::GPUDeviceLostInfo { 44 DeviceLostInfo(interop::GPUDeviceLostReason reason, std::string message) in DeviceLostInfo() 47 std::variant<interop::GPUDeviceLostReason> getReason(Napi::Env env) override { 55 interop::GPUDeviceLostReason reason_; 59 class OOMError : public interop::GPUOutOfMemoryError {}; 60 class ValidationError : public interop::GPUValidationError { 93 auto r = interop::GPUDeviceLostReason::kDestroyed; in GPUDevice() 100 r = interop::GPUDeviceLostReason::kDestroyed; in GPUDevice() 106 interop::GPUDeviceLostInfo::Create<DeviceLostInfo>(self->env_, r, message)); in GPUDevice() 115 interop [all...] |
H A D | GPUCommandEncoder.h | 21 #include "src/dawn_node/interop/WebGPU.h" 25 // GPUCommandEncoder is an implementation of interop::GPUCommandEncoder that wraps a 27 class GPUCommandEncoder final : public interop::GPUCommandEncoder { 31 // interop::GPUCommandEncoder interface compliance 32 interop::Interface<interop::GPURenderPassEncoder> beginRenderPass( 34 interop::GPURenderPassDescriptor descriptor) override; 35 interop::Interface<interop::GPUComputePassEncoder> beginComputePass( 37 interop [all...] |
H A D | Converter.cpp | 33 bool Converter::Convert(wgpu::Extent3D& out, const interop::GPUExtent3D& in) { in Convert() 35 if (auto* dict = std::get_if<interop::GPUExtent3DDict>(&in)) { in Convert() 41 if (auto* vec = std::get_if<std::vector<interop::GPUIntegerCoordinate>>(&in)) { in Convert() 59 bool Converter::Convert(wgpu::Origin3D& out, const interop::GPUOrigin3DDict& in) { in Convert() 67 bool Converter::Convert(wgpu::Color& out, const interop::GPUColor& in) { in Convert() 69 if (auto* dict = std::get_if<interop::GPUColorDict>(&in)) { in Convert() 97 const std::vector<interop::GPUIntegerCoordinate>& in) { in Convert() 113 bool Converter::Convert(wgpu::TextureAspect& out, const interop::GPUTextureAspect& in) { in Convert() 116 case interop::GPUTextureAspect::kAll: in Convert() 119 case interop in Convert() [all...] |
H A D | GPURenderPassEncoder.cpp | 44 interop::GPUIntegerCoordinate x, in setScissorRect() 45 interop::GPUIntegerCoordinate y, in setScissorRect() 46 interop::GPUIntegerCoordinate width, in setScissorRect() 47 interop::GPUIntegerCoordinate height) { in setScissorRect() 51 void GPURenderPassEncoder::setBlendConstant(Napi::Env env, interop::GPUColor color) { in setBlendConstant() 62 void GPURenderPassEncoder::setStencilReference(Napi::Env, interop::GPUStencilValue reference) { in setStencilReference() 66 void GPURenderPassEncoder::beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) { in beginOcclusionQuery() 76 interop::Interface<interop::GPUQuerySet> querySet, in beginPipelineStatisticsQuery() 77 interop in beginPipelineStatisticsQuery() [all...] |
H A D | GPURenderBundleEncoder.cpp | 33 interop::Interface<interop::GPURenderBundle> GPURenderBundleEncoder::finish( in finish() 35 interop::GPURenderBundleDescriptor descriptor) { in finish() 38 return interop::GPURenderBundle::Create<GPURenderBundle>(env, enc_.Finish(&desc)); in finish() 43 interop::GPUIndex32 index, in setBindGroup() 44 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() 45 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) { in setBindGroup() 59 interop::GPUIndex32 index, in setBindGroup() 60 interop in setBindGroup() [all...] |
H A D | GPUCommandEncoder.cpp | 35 interop::Interface<interop::GPURenderPassEncoder> GPUCommandEncoder::beginRenderPass( in beginRenderPass() 37 interop::GPURenderPassDescriptor descriptor) { in beginRenderPass() 47 return interop::GPURenderPassEncoder::Create<GPURenderPassEncoder>( in beginRenderPass() 51 interop::Interface<interop::GPUComputePassEncoder> GPUCommandEncoder::beginComputePass( in beginComputePass() 53 interop::GPUComputePassDescriptor descriptor) { in beginComputePass() 55 return interop::GPUComputePassEncoder::Create<GPUComputePassEncoder>( in beginComputePass() 60 interop::Interface<interop in copyBufferToBuffer() [all...] |
H A D | Converter.h | 25 #include "src/dawn_node/interop/WebGPU.h" 29 // ImplOfTraits is a traits helper that is used to associate the interop interface type to the 35 // `typename ImplOfTraits<interop::NAME>::type` is equivalent to `binding::NAME`. 39 struct ImplOfTraits<interop::NAME> { \ 43 // Declare the interop interface to binding implementations 57 // Helper for obtaining the binding implementation type from the interop interface type 61 // Converter is a utility class for converting IDL generated interop types into Dawn types. 71 // Conversion function. Converts the interop type IN to the Dawn type OUT. 78 // Vector conversion function. Converts the vector of interop type IN to a pointer of 95 // BufferSource is the converted type of interop [all...] |
H A D | GPUComputePassEncoder.h | 21 #include "src/dawn_node/interop/WebGPU.h" 25 // GPUComputePassEncoder is an implementation of interop::GPUComputePassEncoder that wraps a 27 class GPUComputePassEncoder final : public interop::GPUComputePassEncoder { 36 // interop::GPUComputePassEncoder interface compliance 38 interop::Interface<interop::GPUComputePipeline> pipeline) override; 40 interop::GPUSize32 x, 41 interop::GPUSize32 y, 42 interop::GPUSize32 z) override; 44 interop [all...] |
H A D | GPUComputePassEncoder.cpp | 35 interop::Interface<interop::GPUComputePipeline> pipeline) { in setPipeline() 40 interop::GPUSize32 x, in dispatch() 41 interop::GPUSize32 y, in dispatch() 42 interop::GPUSize32 z) { in dispatch() 48 interop::Interface<interop::GPUBuffer> indirectBuffer, in dispatchIndirect() 49 interop::GPUSize64 indirectOffset) { in dispatchIndirect() 55 interop::Interface<interop in beginPipelineStatisticsQuery() [all...] |
H A D | GPUAdapter.cpp | 57 // Implements interop::GPUSupportedFeatures 59 class Features : public interop::GPUSupportedFeatures { 63 enabled_.emplace(interop::GPUFeatureName::kDepthClamping); in Features() 66 enabled_.emplace(interop::GPUFeatureName::kPipelineStatisticsQuery); in Features() 69 enabled_.emplace(interop::GPUFeatureName::kTextureCompressionBc); in Features() 72 enabled_.emplace(interop::GPUFeatureName::kTimestampQuery); in Features() 76 // interop::GPUFeatureName::kDepth24UnormStencil8: in Features() 77 // interop::GPUFeatureName::kDepth32FloatStencil8: in Features() 80 bool has(interop::GPUFeatureName feature) { in has() 84 // interop [all...] |
H A D | GPUQueue.h | 22 #include "src/dawn_node/interop/WebGPU.h" 26 // GPUQueue is an implementation of interop::GPUQueue that wraps a wgpu::Queue. 27 class GPUQueue final : public interop::GPUQueue { 31 // interop::GPUQueue interface compliance 34 std::vector<interop::Interface<interop::GPUCommandBuffer>> commandBuffers) override; 35 interop::Promise<void> onSubmittedWorkDone(Napi::Env) override; 37 interop::Interface<interop::GPUBuffer> buffer, 38 interop [all...] |
H A D | GPUShaderModule.cpp | 30 interop::Promise<interop::Interface<interop::GPUCompilationInfo>> 32 struct GPUCompilationMessage : public interop::GPUCompilationMessage { in compilationInfo() 40 interop::GPUCompilationMessageType getType(Napi::Env) override { in compilationInfo() 43 return interop::GPUCompilationMessageType::kError; in compilationInfo() 45 return interop::GPUCompilationMessageType::kWarning; in compilationInfo() 47 return interop::GPUCompilationMessageType::kInfo; in compilationInfo() 66 using Messages = std::vector<interop::Interface<interop in compilationInfo() [all...] |
H A D | GPUQueue.cpp | 35 std::vector<interop::Interface<interop::GPUCommandBuffer>> commandBuffers) { in submit() 48 interop::Promise<void> GPUQueue::onSubmittedWorkDone(Napi::Env env) { in onSubmittedWorkDone() 51 interop::Promise<void> promise; in onSubmittedWorkDone() 54 auto ctx = new Context{env, interop::Promise<void>(env, PROMISE_INFO), async_}; in onSubmittedWorkDone() 73 interop::Interface<interop::GPUBuffer> buffer, in writeBuffer() 74 interop::GPUSize64 bufferOffset, in writeBuffer() 75 interop::BufferSource data, in writeBuffer() 76 interop in writeBuffer() [all...] |
H A D | GPUAdapter.h | 21 #include "src/dawn_node/interop/WebGPU.h" 26 // GPUAdapter is an implementation of interop::GPUAdapter that wraps a dawn_native::Adapter. 27 class GPUAdapter final : public interop::GPUAdapter { 31 // interop::GPUAdapter interface compliance 33 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override; 34 interop::Interface<interop::GPUSupportedLimits> getLimits(Napi::Env) override; 36 interop::Promise<interop [all...] |
H A D | GPUBuffer.h | 22 #include "src/dawn_node/interop/WebGPU.h" 26 // GPUBuffer is an implementation of interop::GPUBuffer that wraps a wgpu::Buffer. 27 class GPUBuffer final : public interop::GPUBuffer { 44 // interop::GPUBuffer interface compliance 45 interop::Promise<void> mapAsync(Napi::Env env, 46 interop::GPUMapModeFlags mode, 47 interop::GPUSize64 offset, 48 std::optional<interop::GPUSize64> size) override; 49 interop::ArrayBuffer getMappedRange(Napi::Env env, 50 interop [all...] |
H A D | GPUBuffer.cpp | 43 interop::Promise<void> GPUBuffer::mapAsync(Napi::Env env, in mapAsync() 44 interop::GPUMapModeFlags mode, in mapAsync() 45 interop::GPUSize64 offset, in mapAsync() 46 std::optional<interop::GPUSize64> size) { in mapAsync() 50 interop::Promise<void> promise(env, PROMISE_INFO); in mapAsync() 56 interop::Promise<void> promise(env, PROMISE_INFO); in mapAsync() 65 interop::Promise<void> promise; in mapAsync() 69 auto ctx = new Context{env, interop::Promise<void>(env, PROMISE_INFO), async_, state_}; in mapAsync() 109 interop::ArrayBuffer GPUBuffer::getMappedRange(Napi::Env env, in getMappedRange() 110 interop in getMappedRange() [all...] |
H A D | GPU.cpp | 71 interop::Promise<std::optional<interop::Interface<interop::GPUAdapter>>> GPU::requestAdapter( in requestAdapter() 73 interop::GPURequestAdapterOptions options) { in requestAdapter() 74 auto promise = interop::Promise<std::optional<interop::Interface<interop::GPUAdapter>>>( in requestAdapter() 147 promise.Resolve(std::optional<interop::Interface<interop::GPUAdapter>>(adapter)); in requestAdapter()
|
H A D | GPU.h | 22 #include "src/dawn_node/interop/WebGPU.h" 25 // GPU is an implementation of interop::GPU that wraps a dawn_native::Instance. 26 class GPU final : public interop::GPU { 30 // interop::GPU interface compliance 31 interop::Promise<std::optional<interop::Interface<interop::GPUAdapter>>> requestAdapter( 33 interop::GPURequestAdapterOptions options) override;
|
H A D | GPUTexture.h | 21 #include "src/dawn_node/interop/WebGPU.h" 25 // GPUTexture is an implementation of interop::GPUTexture that wraps a wgpu::Texture. 26 class GPUTexture final : public interop::GPUTexture { 35 // interop::GPUTexture interface compliance 36 interop::Interface<interop::GPUTextureView> createView( 38 interop::GPUTextureViewDescriptor descriptor) override;
|
H A D | GPUShaderModule.h | 22 #include "src/dawn_node/interop/WebGPU.h" 26 // GPUShaderModule is an implementation of interop::GPUShaderModule that wraps a 28 class GPUShaderModule final : public interop::GPUShaderModule { 37 // interop::GPUShaderModule interface compliance 38 interop::Promise<interop::Interface<interop::GPUCompilationInfo>> compilationInfo(
|
/third_party/libcoap/examples/ |
H A D | oscore_testcases.sh | 4 # This script is used to run the oscore interop tests as specified in 12 # [-s executable-for-interop-server] \ 17 # Remote server hosting interop tests if not running the interop server on this host. 28 # -s executable-for-interop-server 29 # Exectuable to use for the interop server if not the default of ./oscore-interop-server. 45 # host running oscore interop server 56 SERVER=$INDIR/oscore-interop-server 93 echo " [-s executable-for-interop [all...] |
/third_party/mesa3d/src/glx/ |
H A D | dri_common_interop.c | 42 if (!psc->interop) in dri2_interop_query_device_info() 45 return psc->interop->query_device_info(drictx->driContext, out); in dri2_interop_query_device_info() 56 if (!psc->interop) in dri2_interop_export_object() 59 return psc->interop->export_object(drictx->driContext, in, out); in dri2_interop_export_object() 71 if (!psc->interop) in dri3_interop_query_device_info() 74 return psc->interop->query_device_info(drictx->driContext, out); in dri3_interop_query_device_info() 85 if (!psc->interop) in dri3_interop_export_object() 88 return psc->interop->export_object(drictx->driContext, in, out); in dri3_interop_export_object()
|