Home
last modified time | relevance | path

Searched refs:interop (Results 1 – 25 of 214) sorted by relevance

123456789

/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUDevice.h25 class GPUDevice final : public interop::GPUDevice {
31 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override;
32 interop::Interface<interop::GPUSupportedLimits> getLimits(Napi::Env) override;
33 interop::Interface<interop::GPUQueue> getQueue(Napi::Env env) override;
35 interop::Interface<interop::GPUBuffer> createBuffer(
37 interop::GPUBufferDescriptor descriptor) override;
38 interop::Interface<interop::GPUTexture> createTexture(
40 interop::GPUTextureDescriptor descriptor) override;
41 interop::Interface<interop::GPUSampler> createSampler(
43 interop::GPUSamplerDescriptor descriptor) override;
[all …]
DGPURenderPassEncoder.h27 class GPURenderPassEncoder final : public interop::GPURenderPassEncoder {
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::GPUStencilValue reference) override;
51 void beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) override;
54 interop::Interface<interop::GPUQuerySet> querySet,
55 interop::GPUSize32 queryIndex) override;
[all …]
DGPURenderBundleEncoder.h27 class GPURenderBundleEncoder final : public interop::GPURenderBundleEncoder {
32 interop::Interface<interop::GPURenderBundle> finish(
34 interop::GPURenderBundleDescriptor descriptor) override;
36 interop::GPUIndex32 index,
37 interop::Interface<interop::GPUBindGroup> bindGroup,
38 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) override;
40 interop::GPUIndex32 index,
41 interop::Interface<interop::GPUBindGroup> bindGroup,
42 interop::Uint32Array dynamicOffsetsData,
43 interop::GPUSize64 dynamicOffsetsDataStart,
[all …]
DConverter.cpp33 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::GPUTextureAspect::kStencilOnly: in Convert()
[all …]
DGPUCommandEncoder.h27 class GPUCommandEncoder final : public interop::GPUCommandEncoder {
32 interop::Interface<interop::GPURenderPassEncoder> beginRenderPass(
34 interop::GPURenderPassDescriptor descriptor) override;
35 interop::Interface<interop::GPUComputePassEncoder> beginComputePass(
37 interop::GPUComputePassDescriptor descriptor) override;
39 interop::Interface<interop::GPUBuffer> source,
40 interop::GPUSize64 sourceOffset,
41 interop::Interface<interop::GPUBuffer> destination,
42 interop::GPUSize64 destinationOffset,
43 interop::GPUSize64 size) override;
[all …]
DGPUDevice.cpp42 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 { in getReason()
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::Interface<interop::GPUSupportedFeatures> GPUDevice::getFeatures(Napi::Env env) { in getFeatures()
[all …]
DGPURenderPassEncoder.cpp44 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::GPUSize32 queryIndex) { in beginPipelineStatisticsQuery()
86 interop::Interface<interop::GPUQuerySet> querySet, in writeTimestamp()
[all …]
DGPURenderBundleEncoder.cpp33 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::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup()
61 interop::Uint32Array dynamicOffsetsData, in setBindGroup()
62 interop::GPUSize64 dynamicOffsetsDataStart, in setBindGroup()
[all …]
DGPUComputePassEncoder.h27 class GPUComputePassEncoder final : public interop::GPUComputePassEncoder {
38 interop::Interface<interop::GPUComputePipeline> pipeline) override;
40 interop::GPUSize32 x,
41 interop::GPUSize32 y,
42 interop::GPUSize32 z) override;
44 interop::Interface<interop::GPUBuffer> indirectBuffer,
45 interop::GPUSize64 indirectOffset) override;
47 interop::Interface<interop::GPUQuerySet> querySet,
48 interop::GPUSize32 queryIndex) override;
51 interop::Interface<interop::GPUQuerySet> querySet,
[all …]
DGPUCommandEncoder.cpp35 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::GPUBuffer> source, in copyBufferToBuffer()
61 interop::GPUSize64 sourceOffset, in copyBufferToBuffer()
62 interop::Interface<interop::GPUBuffer> destination, in copyBufferToBuffer()
63 interop::GPUSize64 destinationOffset, in copyBufferToBuffer()
[all …]
DConverter.h39 struct ImplOfTraits<interop::NAME> { \
103 [[nodiscard]] bool Convert(wgpu::Extent3D& out, const interop::GPUExtent3D& in);
105 [[nodiscard]] bool Convert(wgpu::Origin3D& out, const interop::GPUOrigin3DDict& in);
107 [[nodiscard]] bool Convert(wgpu::Color& out, const interop::GPUColor& in);
110 const std::vector<interop::GPUIntegerCoordinate>& in);
112 [[nodiscard]] bool Convert(wgpu::TextureAspect& out, const interop::GPUTextureAspect& in);
115 const interop::GPUImageCopyTexture& in);
118 const interop::GPUImageCopyBuffer& in);
120 [[nodiscard]] bool Convert(BufferSource& out, interop::BufferSource in);
123 const interop::GPUImageDataLayout& in);
[all …]
DGPUAdapter.cpp59 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()
80 bool has(interop::GPUFeatureName feature) { in has()
86 interop::GPUFeatureName feature; in has()
87 if (interop::Converter<interop::GPUFeatureName>::FromString(name, feature)) { in has()
96 out.push_back(interop::Converter<interop::GPUFeatureName>::ToString(feature)); in keys()
102 std::unordered_set<interop::GPUFeatureName> enabled_;
[all …]
DGPUComputePassEncoder.cpp35 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::GPUQuerySet> querySet, in beginPipelineStatisticsQuery()
56 interop::GPUSize32 queryIndex) { in beginPipelineStatisticsQuery()
65 interop::Interface<interop::GPUQuerySet> querySet, in writeTimestamp()
66 interop::GPUSize32 queryIndex) { in writeTimestamp()
[all …]
DGPUQueue.h27 class GPUQueue final : public interop::GPUQueue {
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::GPUSize64 bufferOffset,
39 interop::BufferSource data,
40 interop::GPUSize64 dataOffset,
41 std::optional<interop::GPUSize64> size) override;
43 interop::GPUImageCopyTexture destination,
44 interop::BufferSource data,
[all …]
DGPUQueue.cpp35 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::GPUSize64 dataOffset, in writeBuffer()
77 std::optional<interop::GPUSize64> size) { in writeBuffer()
98 interop::GPUImageCopyTexture destination, in writeTexture()
[all …]
DGPUShaderModule.cpp30 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::GPUCompilationMessage>>; in compilationInfo()
68 struct GPUCompilationInfo : public interop::GPUCompilationInfo { in compilationInfo()
87 using Promise = interop::Promise<interop::Interface<interop::GPUCompilationInfo>>; in compilationInfo()
106 interop::GPUCompilationMessage::Create<GPUCompilationMessage>(c->env, msg); in compilationInfo()
[all …]
DGPUAdapter.h27 class GPUAdapter final : public interop::GPUAdapter {
33 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override;
34 interop::Interface<interop::GPUSupportedLimits> getLimits(Napi::Env) override;
36 interop::Promise<interop::Interface<interop::GPUDevice>> requestDevice(
38 interop::GPUDeviceDescriptor descriptor) override;
DGPUBuffer.h27 class GPUBuffer final : public interop::GPUBuffer {
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::GPUSize64 offset,
51 std::optional<interop::GPUSize64> size) override;
64 Napi::Reference<interop::ArrayBuffer> buffer;
DGPUBuffer.cpp43 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::GPUSize64 offset, in getMappedRange()
[all …]
DGPU.cpp71 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()
DGPU.h26 class GPU final : public interop::GPU {
31 interop::Promise<std::optional<interop::Interface<interop::GPUAdapter>>> requestAdapter(
33 interop::GPURequestAdapterOptions options) override;
/third_party/grpc/tools/interop_matrix/testcases/
Dgo__v1.0.53 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
4 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
5 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
6 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
7 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
8 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
9 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
10 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
11 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
12 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
[all …]
Dgo__master5 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
6 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
7 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
8 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
9 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
10 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
11 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
12 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
13 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
14 docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image b…
[all …]
/third_party/mesa3d/src/glx/
Ddri_common_interop.c42 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()
/third_party/boost/libs/compute/test/extra/
DCMakeLists.txt28 # eigen interop tests
32 add_compute_test("interop.eigen" test_interop_eigen.cpp)
35 # opencv interop tests
39 add_compute_test("interop.opencv" test_interop_opencv.cpp)
43 # qt interop tests
67 add_compute_test("interop.qt" test_interop_qt.cpp)
70 # the opengl interop test depends on qt to create the opengl context
71 add_compute_test("interop.opengl" test_interop_opengl.cpp)
75 # vtk interop tests
79 add_compute_test("interop.vtk" test_interop_vtk.cpp)

123456789