Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSurface.cpp75 const SurfaceDescriptorFromMetalLayer* metalDesc = nullptr; in ValidateSurfaceDescriptor() local
76 FindInChain(descriptor->nextInChain, &metalDesc); in ValidateSurfaceDescriptor()
77 if (metalDesc) { in ValidateSurfaceDescriptor()
79 DAWN_INVALID_IF(!InheritsFromCAMetalLayer(metalDesc->layer), in ValidateSurfaceDescriptor()
145 const SurfaceDescriptorFromMetalLayer* metalDesc = nullptr; in Surface() local
150 FindInChain(descriptor->nextInChain, &metalDesc); in Surface()
155 ASSERT(metalDesc || hwndDesc || xDesc); in Surface()
156 if (metalDesc) { in Surface()
158 mMetalLayer = metalDesc->layer; in Surface()