/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Subresource.cpp | 22 Aspect ConvertSingleAspect(const Format& format, wgpu::TextureAspect aspect) { in ConvertSingleAspect() argument 23 Aspect aspectMask = ConvertAspect(format, aspect); in ConvertSingleAspect() 28 Aspect ConvertAspect(const Format& format, wgpu::TextureAspect aspect) { in ConvertAspect() argument 29 Aspect aspectMask = SelectFormatAspects(format, aspect); in ConvertAspect() 34 Aspect ConvertViewAspect(const Format& format, wgpu::TextureAspect aspect) { in ConvertViewAspect() argument 37 switch (aspect) { in ConvertViewAspect() 46 return ConvertAspect(format, aspect); in ConvertViewAspect() 49 Aspect SelectFormatAspects(const Format& format, wgpu::TextureAspect aspect) { in SelectFormatAspects() argument 50 switch (aspect) { in SelectFormatAspects() 65 uint8_t GetAspectIndex(Aspect aspect) { in GetAspectIndex() argument [all …]
|
D | SubresourceStorage.h | 121 const T& Get(Aspect aspect, uint32_t arrayLayer, uint32_t mipLevel) const; 175 bool IsAspectCompressedForTesting(Aspect aspect) const; 176 bool IsLayerCompressedForTesting(Aspect aspect, uint32_t layer) const; 188 SubresourceRange GetFullLayerRange(Aspect aspect, uint32_t layer) const; 246 for (Aspect aspect : IterateEnumMask(range.aspects)) { in Update() local 247 uint32_t aspectIndex = GetAspectIndex(aspect); in Update() 254 SubresourceRange::MakeFull(aspect, mArrayLayerCount, mMipLevelCount); in Update() 267 SubresourceRange updateRange = GetFullLayerRange(aspect, layer); in Update() 278 SubresourceRange::MakeSingle(aspect, layer, level); in Update() 305 for (Aspect aspect : IterateEnumMask(mAspects)) { in Merge() local [all …]
|
D | Subresource.h | 49 Aspect ConvertSingleAspect(const Format& format, wgpu::TextureAspect aspect); 53 Aspect ConvertAspect(const Format& format, wgpu::TextureAspect aspect); 58 Aspect SelectFormatAspects(const Format& format, wgpu::TextureAspect aspect); 62 Aspect ConvertViewAspect(const Format& format, wgpu::TextureAspect aspect); 86 static SubresourceRange MakeSingle(Aspect aspect, 94 uint8_t GetAspectIndex(Aspect aspect);
|
D | CommandValidation.cpp | 274 DAWN_TRY(ValidateTextureAspect(textureCopy.aspect)); in ValidateImageCopyTexture() 276 SelectFormatAspects(texture->GetFormat(), textureCopy.aspect) == Aspect::None, in ValidateImageCopyTexture() 278 texture->GetFormat().format, textureCopy.aspect); in ValidateImageCopyTexture() 329 const TexelBlockInfo& blockInfo = format.GetAspectInfo(textureCopy.aspect).block; in ValidateTextureCopyRange() 359 switch (view.aspect) { in SingleAspectUsedByImageCopyTexture() 365 view.aspect, format.format, view.texture); in SingleAspectUsedByImageCopyTexture() 406 SelectFormatAspects(format, src.aspect) != format.aspects, in ValidateTextureToTextureCopyCommonRestrictions() 408 src.texture, src.aspect, format.format); in ValidateTextureToTextureCopyCommonRestrictions() 411 SelectFormatAspects(format, dst.aspect) != format.aspects, in ValidateTextureToTextureCopyCommonRestrictions() 414 dst.texture, dst.aspect, format.format); in ValidateTextureToTextureCopyCommonRestrictions()
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | inherited_model.dart | 12 /// models whose dependents may only depend on one part or "aspect" of the 21 /// with a value that indicates what "aspect" of the model they depend 23 /// only if there was a change in the model that corresponds to the aspect 26 /// The type parameter `T` is the type of the model aspect objects. 39 /// static MyModel of(BuildContext context, String aspect) { 40 /// return InheritedModel.inheritFrom<MyModel>(context, aspect: aspect); 46 /// be rebuilt when the `foo` aspect of `MyModel` changes. If the aspect 53 /// each dependent and the set of aspect objects it depends on. 54 /// The [updateShouldNotifyDependent] method must compare the set of aspect 82 /// [updateShouldNotifyDependent] are just the aspect strings passed to [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | UtilsD3D12.cpp | 74 Aspect aspect) { in ComputeTextureCopyLocationForTexture() argument 78 copyLocation.SubresourceIndex = texture->GetSubresourceIndex(level, layer, aspect); in ComputeTextureCopyLocationForTexture() 89 Aspect aspect) { in ComputeBufferLocationForCopyTextureRegion() argument 95 texture->GetD3D12CopyableSubresourceFormat(aspect); in ComputeBufferLocationForCopyTextureRegion() 155 Aspect aspect) { in RecordCopyBufferToTextureFromTextureCopySplit() argument 156 ASSERT(HasOneBit(aspect)); in RecordCopyBufferToTextureFromTextureCopySplit() 158 ComputeTextureCopyLocationForTexture(texture, textureMiplevel, textureLayer, aspect); in RecordCopyBufferToTextureFromTextureCopySplit() 168 offsetBytes, bufferBytesPerRow, aspect); in RecordCopyBufferToTextureFromTextureCopySplit() 186 Aspect aspect) { in CopyBufferTo2DTextureWithCopySplit() argument 187 ASSERT(HasOneBit(aspect)); in CopyBufferTo2DTextureWithCopySplit() [all …]
|
D | UtilsD3D12.h | 34 Aspect aspect); 42 Aspect aspect); 55 Aspect aspect); 65 Aspect aspect); 75 Aspect aspect);
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 237 auto aspect = static_cast<VkImageAspectFlagBits>(subresourceRange.aspectMask); in getSizeInBytes() local 243 size = (layerCount - 1) * getLayerSize(aspect); in getSizeInBytes() 246 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes() 251 size = layerCount * getLayerSize(aspect); in getSizeInBytes() 258 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes() 350 auto aspect = static_cast<VkImageAspectFlagBits>(pSubresource->aspectMask); in getSubresourceLayout() local 351 pLayout->offset = getMemoryOffset(aspect, pSubresource->mipLevel, pSubresource->arrayLayer); in getSubresourceLayout() 352 pLayout->size = getMultiSampledLevelSize(aspect, pSubresource->mipLevel); in getSubresourceLayout() 353 pLayout->rowPitch = rowPitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout() 354 pLayout->depthPitch = slicePitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout() [all …]
|
D | VkImage.hpp | 82 Format getFormat(VkImageAspectFlagBits aspect) const; 89 VkExtent3D getMipLevelExtent(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 90 size_t rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 91 size_t slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 96 VkDeviceSize getLayerSize(VkImageAspectFlagBits aspect) const; 97 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 125 VkDeviceSize getMultiSampledLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 126 VkDeviceSize getLayerOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 127 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 128 …VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) cons… [all …]
|
D | VkImageView.hpp | 105 Format getFormat(VkImageAspectFlagBits aspect) const { return image->getFormat(aspect); } in getFormat() 106 int rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const; 107 int slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const; 108 int getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const; 109 int layerPitchBytes(VkImageAspectFlagBits aspect, Usage usage = RAW) const; 111 VkExtent2D getMipLevelExtent(uint32_t mipLevel, VkImageAspectFlagBits aspect) const; 126 …void *getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, …
|
D | VkImageView.cpp | 324 int ImageView::rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in rowPitchBytes() argument 326 return getImage(usage)->rowPitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in rowPitchBytes() 329 int ImageView::slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in slicePitchBytes() argument 331 return getImage(usage)->slicePitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in slicePitchBytes() 334 int ImageView::getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in getMipLevelSize() argument 336 return getImage(usage)->getMipLevelSize(aspect, subresourceRange.baseMipLevel + mipLevel); in getMipLevelSize() 339 int ImageView::layerPitchBytes(VkImageAspectFlagBits aspect, Usage usage) const in layerPitchBytes() argument 341 return static_cast<int>(getImage(usage)->getLayerSize(aspect)); in layerPitchBytes() 350 VkExtent2D ImageView::getMipLevelExtent(uint32_t mipLevel, VkImageAspectFlagBits aspect) const in getMipLevelExtent() 352 return Extent2D(image->getMipLevelExtent(aspect, subresourceRange.baseMipLevel + mipLevel)); in getMipLevelExtent() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | EnumMaskIteratorTests.cpp | 48 for (TestAspect aspect : IterateEnumMask(static_cast<TestAspect>(0))) { in TEST() local 50 DAWN_UNUSED(aspect); in TEST() 58 for (TestAspect aspect : IterateEnumMask(aspects)) { in TEST() local 59 EXPECT_EQ(aspect, expected[i++]); in TEST() 67 for (TestAspect aspect : IterateEnumMask(aspects)) { in TEST() local 68 EXPECT_EQ(aspect, expected[i++]); in TEST()
|
D | SubresourceStorageTests.cpp | 40 for (Aspect aspect : IterateEnumMask(range.aspects)) { in Update() local 45 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Update() 46 updateFunc(range, &mData[GetDataIndex(aspect, layer, level)]); in Update() 54 for (Aspect aspect : IterateEnumMask(mAspects)) { in Merge() local 57 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Merge() 58 mergeFunc(range, &mData[GetDataIndex(aspect, layer, level)], in Merge() 59 other.Get(aspect, layer, level)); in Merge() 65 const T& Get(Aspect aspect, uint32_t arrayLayer, uint32_t mipLevel) const { in Get() 66 return mData[GetDataIndex(aspect, arrayLayer, mipLevel)]; in Get() 69 size_t GetDataIndex(Aspect aspect, uint32_t layer, uint32_t level) const { in GetDataIndex() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | Format.cpp | 24 return aspect == Aspect::Color; in IsColor() 28 return aspect == Depth || aspect == DepthStencil; in HasDepth() 32 return aspect == Stencil || aspect == DepthStencil; in HasStencil() 36 return aspect != Color; in HasDepthOrStencil() 74 internalFormat.aspect = Format::Aspect::Color; in BuildFormatTable() 81 auto AddDepthStencilFormat = [&AddFormat](dawn::TextureFormat format, Format::Aspect aspect, in BuildFormatTable() 88 internalFormat.aspect = aspect; in BuildFormatTable() 102 internalFormat.aspect = Format::Aspect::Color; in BuildFormatTable()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ReadOnlyDepthStencilAttachmentTests.cpp | 63 wgpu::RenderPipeline CreateRenderPipeline(wgpu::TextureAspect aspect, in CreateRenderPipeline() argument 86 if (aspect == wgpu::TextureAspect::DepthOnly) { in CreateRenderPipeline() 100 ASSERT(aspect == wgpu::TextureAspect::StencilOnly); in CreateRenderPipeline() 126 void DoTest(wgpu::TextureAspect aspect, in DoTest() argument 138 if (aspect == wgpu::TextureAspect::DepthOnly) { in DoTest() 141 ASSERT(aspect == wgpu::TextureAspect::StencilOnly); in DoTest() 149 viewDesc.aspect = aspect; in DoTest() 168 wgpu::RenderPipeline pipeline = CreateRenderPipeline(aspect, format); in DoTest() 170 if (aspect == wgpu::TextureAspect::DepthOnly) { in DoTest() 176 ASSERT(aspect == wgpu::TextureAspect::StencilOnly); in DoTest()
|
D | DepthStencilSamplingTests.cpp | 82 for (TestAspect aspect : aspects) { in GenerateSamplingShader() local 83 switch (aspect) { in GenerateSamplingShader() 273 void DoSamplingTestImpl(TestAspect aspect, in DoSamplingTestImpl() argument 281 switch (aspect) { in DoSamplingTestImpl() 283 inputViewDesc.aspect = wgpu::TextureAspect::DepthOnly; in DoSamplingTestImpl() 286 inputViewDesc.aspect = wgpu::TextureAspect::StencilOnly; in DoSamplingTestImpl() 299 switch (aspect) { in DoSamplingTestImpl() 328 void DoSamplingTestImpl(TestAspect aspect, in DoSamplingTestImpl() argument 336 switch (aspect) { in DoSamplingTestImpl() 338 inputViewDesc.aspect = wgpu::TextureAspect::DepthOnly; in DoSamplingTestImpl() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | VideoViewsValidationTests.cpp | 50 viewDesc.aspect = wgpu::TextureAspect::Plane0Only; in TEST_F() 55 viewDesc.aspect = wgpu::TextureAspect::Plane1Only; in TEST_F() 60 viewDesc.aspect = wgpu::TextureAspect::All; in TEST_F() 73 viewDesc.aspect = wgpu::TextureAspect::Plane0Only; in TEST_F() 76 viewDesc.aspect = wgpu::TextureAspect::Plane1Only; in TEST_F() 80 viewDesc.aspect = wgpu::TextureAspect::Plane0Only; in TEST_F() 84 viewDesc.aspect = wgpu::TextureAspect::Plane1Only; in TEST_F() 96 planeViewDesc.aspect = wgpu::TextureAspect::Plane0Only; in TEST_F() 99 planeViewDesc.aspect = wgpu::TextureAspect::Plane1Only; in TEST_F() 106 planeViewDesc.aspect = wgpu::TextureAspect::Plane0Only; in TEST_F() [all …]
|
D | TextureViewValidationTests.cpp | 609 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() 612 viewDescriptor.aspect = wgpu::TextureAspect::DepthOnly; in TEST_F() 615 viewDescriptor.aspect = wgpu::TextureAspect::StencilOnly; in TEST_F() 625 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() 628 viewDescriptor.aspect = wgpu::TextureAspect::DepthOnly; in TEST_F() 631 viewDescriptor.aspect = wgpu::TextureAspect::StencilOnly; in TEST_F() 641 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() 644 viewDescriptor.aspect = wgpu::TextureAspect::DepthOnly; in TEST_F() 647 viewDescriptor.aspect = wgpu::TextureAspect::StencilOnly; in TEST_F() 669 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_transform.hpp | 234 T aspect, 249 T aspect, 264 T aspect, 328 T fovy, T aspect, T near); 339 T fovy, T aspect, T near); 350 T fovy, T aspect, T near); 361 T fovy, T aspect, T near); 373 T fovy, T aspect, T near, T ep);
|
D | matrix_transform.inl | 248 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> perspective(T fovy, T aspect, T zNear, T zFar) argument 251 return perspectiveLH(fovy, aspect, zNear, zFar); 253 return perspectiveRH(fovy, aspect, zNear, zFar); 258 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> perspectiveRH(T fovy, T aspect, T zNear, T zFar) argument 260 assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0)); 265 Result[0][0] = static_cast<T>(1) / (aspect * tanHalfFovy); 281 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> perspectiveLH(T fovy, T aspect, T zNear, T zFar) argument 283 assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0)); 288 Result[0][0] = static_cast<T>(1) / (aspect * tanHalfFovy); 368 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> infinitePerspective(T fovy, T aspect, T zNear) argument [all …]
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglvideoflip.c | 167 flip->aspect = 1.0; in gst_gl_video_flip_init() 299 scale_x *= vf->aspect; in _set_active_method() 300 scale_y *= 1. / vf->aspect; in _set_active_method() 307 scale_x *= vf->aspect; in _set_active_method() 308 scale_y *= 1. / vf->aspect; in _set_active_method() 315 scale_x *= -vf->aspect; in _set_active_method() 316 scale_y *= 1. / vf->aspect; in _set_active_method() 324 scale_x *= -vf->aspect; in _set_active_method() 325 scale_y *= 1. / vf->aspect; in _set_active_method() 469 vf->aspect = in _input_sink_probe() [all …]
|
D | gstgltransformation.c | 254 filter->aspect = 1.0; in gst_gl_transformation_init() 279 transformation->aspect, in gst_gl_transformation_build_mvp() 284 GRAPHENE_POINT3D_INIT (-transformation->xpivot * transformation->aspect, in gst_gl_transformation_build_mvp() 327 -transformation->aspect, transformation->aspect, in gst_gl_transformation_build_mvp() 332 transformation->aspect, transformation->znear, transformation->zfar); in gst_gl_transformation_build_mvp() 481 transformation->aspect = in gst_gl_transformation_set_caps() 514 graphene_vec2_init (&screen_coord, (2. * x / w - 1.) / transformation->aspect, in _screen_coord_to_world_ray() 556 graphene_point3d_init (&top_left, -transformation->aspect, 1., 0.); in _init_world_video_plane() 557 graphene_point3d_init (&top_right, transformation->aspect, 1., 0.); in _init_world_video_plane() 558 graphene_point3d_init (&bottom_left, -transformation->aspect, -1., 0.); in _init_world_video_plane() [all …]
|
/third_party/boost/libs/hana/benchmark/ |
D | measure.in.rb | 83 def measure(aspect, template_relative, range, env = {}) argument 121 stat = ctime.captures[0].to_f if aspect == :compilation_time 122 stat = size if aspect == :bloat 127 if aspect == :execution_time
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | RenderbufferVk.cpp | 81 VkImageAspectFlags aspect = vk::GetFormatAspectFlags(textureFormat); in setStorageImpl() local 85 ANGLE_TRY(mImage->initImageView(contextVk, gl::TextureType::_2D, aspect, gl::SwizzleState(), in setStorageImpl() 159 VkImageAspectFlags aspect = vk::GetFormatAspectFlags(textureFormat); in setStorageEGLImageTarget() local 167 mImage->changeLayoutAndQueue(aspect, vk::ImageLayout::ColorAttachment, in setStorageEGLImageTarget() 171 ANGLE_TRY(mImage->initLayerImageView(contextVk, imageVk->getImageTextureType(), aspect, in setStorageEGLImageTarget() 179 ANGLE_TRY(mImage->initLayerImageView(contextVk, arrayType, aspect, gl::SwizzleState(), in setStorageEGLImageTarget()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | QueueGL.cpp | 59 DAWN_INVALID_IF(destination.aspect == wgpu::TextureAspect::StencilOnly, in WriteTextureImpl() 66 textureCopy.aspect = in WriteTextureImpl() 67 SelectFormatAspects(destination.texture->GetFormat(), destination.aspect); in WriteTextureImpl()
|