Home
last modified time | relevance | path

Searched refs:ChainedStruct (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
DChainUtils.h24 void FindInChain(const ChainedStruct* chain, const {{as_cppEnum(value.name)}}** out);
34 MaybeError ValidateSTypes(const ChainedStruct* chain,
38 MaybeError ValidateSingleSTypeInner(const ChainedStruct* chain, T sType) {
45 MaybeError ValidateSingleSTypeInner(const ChainedStruct* chain, T sType, Args... sTypes) {
55 MaybeError ValidateSingleSType(const ChainedStruct* chain, T sType) {
67 MaybeError ValidateSingleSType(const ChainedStruct* chain, T sType, Args... sTypes) {
Dwgpu_structs.h37 struct ChainedStruct {
38 ChainedStruct const * nextInChain = nullptr;
44 struct {{as_cppType(type.name)}} : ChainedStruct {
52 ChainedStruct const * nextInChain = nullptr;
58 alignas(ChainedStruct) {{member_declaration}};
Dwgpu_structs.cpp26 static_assert(sizeof(ChainedStruct) == sizeof(WGPUChainedStruct),
28 static_assert(alignof(ChainedStruct) == alignof(WGPUChainedStruct),
30 static_assert(offsetof(ChainedStruct, nextInChain) == offsetof(WGPUChainedStruct, next),
32 static_assert(offsetof(ChainedStruct, sType) == offsetof(WGPUChainedStruct, sType),
DChainUtils.cpp23 void FindInChain(const ChainedStruct* chain, const {{as_cppEnum(value.name)}}** out) {
34 MaybeError ValidateSTypes(const ChainedStruct* chain,
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DWindowSurfaceTests.cpp87 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in TEST_F()
106 wgpu::ChainedStruct chainedDescriptor; in TEST_F()
129 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor1 = in TEST_F()
131 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor2 = in TEST_F()
146 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in TEST_F()
182 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in TEST_F()
222 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in TEST_F()
DIOSurfaceWrappingTests.cpp145 wgpu::ChainedStruct chainedDescriptor; in TEST_P()
DD3D12ResourceWrappingTests.cpp189 wgpu::ChainedStruct chainedDescriptor; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/utils/
DGLFWUtils.cpp52 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in CreateSurfaceForWindow()
63 std::unique_ptr<wgpu::ChainedStruct> SetupWindowAndGetSurfaceDescriptorForTesting( in SetupWindowAndGetSurfaceDescriptorForTesting()
72 std::unique_ptr<wgpu::ChainedStruct> SetupWindowAndGetSurfaceDescriptorForTesting( in SetupWindowAndGetSurfaceDescriptorForTesting()
83 std::unique_ptr<wgpu::ChainedStruct> SetupWindowAndGetSurfaceDescriptorForTesting(GLFWwindow*) { in SetupWindowAndGetSurfaceDescriptorForTesting()
DGLFWUtils.h37 std::unique_ptr<wgpu::ChainedStruct> SetupWindowAndGetSurfaceDescriptorForTesting(
DGLFWUtils_metal.mm31 std::unique_ptr<wgpu::ChainedStruct> SetupWindowAndGetSurfaceDescriptorForTesting(
/third_party/skia/third_party/externals/dawn/generator/templates/
Dapi.h100 typedef struct {{c_prefix}}ChainedStruct {
101 struct {{c_prefix}}ChainedStruct const * next;
103 } {{c_prefix}}ChainedStruct;
115 {{c_prefix}}ChainedStruct{{Out}} {{const}}* nextInChain;
118 {{c_prefix}}ChainedStruct{{Out}} chain;
Dapi_cpp.h201 struct ChainedStruct {
202 ChainedStruct const * nextInChain = nullptr;
207 ChainedStruct * nextInChain = nullptr;
215 struct {{as_cppType(type.name)}} : ChainedStruct{{Out}} {
223 ChainedStruct{{Out}} {{const}} * nextInChain = nullptr;
229 alignas(ChainedStruct{{Out}}) {{member_declaration}};
Dwebgpu_cpp.cpp56 static_assert(sizeof(ChainedStruct) == sizeof(WGPUChainedStruct),
58 static_assert(alignof(ChainedStruct) == alignof(WGPUChainedStruct),
60 static_assert(offsetof(ChainedStruct, nextInChain) == offsetof(WGPUChainedStruct, next),
62 static_assert(offsetof(ChainedStruct, sType) == offsetof(WGPUChainedStruct, sType),
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/
DWireCmd.cpp489 {% set ChainedStruct = "WGPUChainedStructOut" if out else "WGPUChainedStruct" %}
621 {{ChainedStruct}}* outStruct;
622 WIRE_TRY(GetSpace(allocator, sizeof({{ChainedStruct}}), &outStruct));
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireExtensionTests.cpp28 TEST_F(WireExtensionTests, ChainedStruct) { in TEST_F() argument
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp202 wgpu::ChainedStruct chainedDescriptor; in TEST_P()
DVulkanImageWrappingTestsDmaBuf.cpp208 wgpu::ChainedStruct chainedDescriptor; in TEST_P()
DVulkanImageWrappingTestsOpaqueFD.cpp289 wgpu::ChainedStruct chainedDescriptor; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp986 const ChainedStruct* chainedDescriptor = descriptor->nextInChain; in ValidateShaderModuleDescriptor()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DBindGroupValidationTests.cpp96 wgpu::ChainedStruct chainedDescriptor; in TEST_F()