/third_party/skia/src/gpu/ |
D | GrRecordingContextPriv.cpp | 43 int sampleCount, in createDevice() argument 50 return skgpu::v1::Device::Make(this->context(), budgeted, ii, fit, sampleCount, in createDevice() 122 int sampleCount, in makeSC() argument 126 SkASSERT(renderable == GrRenderable::kYes || sampleCount == 1); in makeSC() 133 sampleCount, in makeSC() 154 int sampleCount, in makeSFC() argument 168 sampleCount, in makeSFC() 179 sampleCount, in makeSFC() 210 int sampleCount, in makeSFC() argument 220 SkASSERT(sampleCount >= 1); in makeSFC() [all …]
|
D | GrRecordingContextPriv.h | 124 int sampleCount, 155 int sampleCount = 1, 171 int sampleCount, 186 int sampleCount = 1, 200 int sampleCount,
|
/third_party/skia/infra/bots/gen_tasks_logic/ |
D | nano_flags.go | 49 sampleCount := 8 51 sampleCount = 4 62 sampleCount = 0 65 sampleCount = 4 68 sampleCount = 0 93 if sampleCount > 0 { 94 configs = append(configs, fmt.Sprintf("%smsaa%d", glPrefix, sampleCount)) 145 if sampleCount > 0 { 146 configs = append(configs, fmt.Sprintf("angle_d3d11_es2_msaa%d", sampleCount)) 147 configs = append(configs, fmt.Sprintf("angle_d3d11_es3_msaa%d", sampleCount)) [all …]
|
D | dm_flags.go | 178 sampleCount := 0 215 sampleCount = 4 221 sampleCount = 0 225 sampleCount = 0 234 if sampleCount > 0 { 235 configs = append(configs, fmt.Sprintf("%smsaa%d", glPrefix, sampleCount)) 281 if sampleCount > 0 { 315 if sampleCount > 0 { 316 configs = append(configs, fmt.Sprintf("angle_d3d11_es2_msaa%d", sampleCount)) 319 configs = append(configs, fmt.Sprintf("angle_d3d11_es3_msaa%d", sampleCount)) [all …]
|
/third_party/glslang/Test/baseResults/ |
D | hlsl.getsampleposition.dx10.frag.out | 15 0:16 '@sampleCount' ( temp uint) 21 0:16 '@sampleCount' ( temp uint) 36 0:16 '@sampleCount' ( temp uint) 55 0:16 '@sampleCount' ( temp uint) 82 0:16 '@sampleCount' ( temp uint) 130 0:17 '@sampleCount' ( temp uint) 136 0:17 '@sampleCount' ( temp uint) 151 0:17 '@sampleCount' ( temp uint) 170 0:17 '@sampleCount' ( temp uint) 197 0:17 '@sampleCount' ( temp uint) [all …]
|
/third_party/skia/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 18 int sampleCount, in GrGLTextureRenderTarget() argument 24 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, sampleCount, rtIDs) { in GrGLTextureRenderTarget() 29 int sampleCount, in GrGLTextureRenderTarget() argument 37 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, sampleCount, in GrGLTextureRenderTarget() 65 int sampleCount, in MakeWrapped() argument 72 gpu, sampleCount, texDesc, std::move(parameters), rtIDs, cacheable, mipmapStatus)); in MakeWrapped()
|
D | GrGLRenderTarget.cpp | 28 int sampleCount, in GrGLRenderTarget() argument 32 , INHERITED(gpu, dimensions, sampleCount, GrProtected::kNo, std::move(stencil)) { in GrGLRenderTarget() 41 int sampleCount, in GrGLRenderTarget() argument 44 , INHERITED(gpu, dimensions, sampleCount, GrProtected::kNo) { in GrGLRenderTarget() 83 int sampleCount, in MakeWrapped() argument 102 sampleCount, in MakeWrapped() 106 new GrGLRenderTarget(gpu, dimensions, format, sampleCount, idDesc, std::move(sb))); in MakeWrapped()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 17 int sampleCount, in GrGLTextureRenderTarget() argument 23 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, texDesc.fConfig, sampleCount, in GrGLTextureRenderTarget() 29 int sampleCount, in GrGLTextureRenderTarget() argument 37 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, texDesc.fConfig, sampleCount, in GrGLTextureRenderTarget() 64 int sampleCount, in MakeWrapped() argument 71 gpu, sampleCount, texDesc, std::move(parameters), rtIDs, cacheable, mipMapsStatus)); in MakeWrapped()
|
D | GrGLRenderTarget.cpp | 26 int sampleCount, in GrGLRenderTarget() argument 30 , INHERITED(gpu, size, config, sampleCount, GrProtected::kNo, stencil) { in GrGLRenderTarget() 40 int sampleCount, in GrGLRenderTarget() argument 43 , INHERITED(gpu, size, config, sampleCount, GrProtected::kNo) { in GrGLRenderTarget() 67 int sampleCount, in MakeWrapped() argument 79 sb = new GrGLStencilAttachment(gpu, sbDesc, size.width(), size.height(), sampleCount, in MakeWrapped() 83 new GrGLRenderTarget(gpu, size, format, config, sampleCount, idDesc, sb)); in MakeWrapped()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPipelineValidationTests.cpp | 104 descriptor.sampleCount = 4; in TEST_F() 113 descriptor.sampleCount = 3; in TEST_F() 136 nonMultisampledPipelineDescriptor.sampleCount = 1; in TEST_F() 149 multisampledPipelineDescriptor.sampleCount = kMultisampledCount; in TEST_F() 166 textureDescriptor.sampleCount = kMultisampledCount; in TEST_F() 181 textureDescriptor.sampleCount = kMultisampledCount; in TEST_F() 202 textureDescriptor.sampleCount = kMultisampledCount; in TEST_F() 217 textureDescriptor.sampleCount = kMultisampledCount; in TEST_F() 238 textureDescriptor.sampleCount = 1; in TEST_F() 254 textureDescriptor.sampleCount = 1; in TEST_F()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fInternalFormatQueryTests.cpp | 76 GLint sampleCount = 0; in test() local 77 for (size_t ndx = 0; ndx < samples.size(); ++ndx, prevSampleCount = sampleCount) in test() 79 sampleCount = samples[ndx]; in test() 82 if (sampleCount <= 0) in test() 84 …ssage << "// ERROR: Expected sample count to be at least one; got " << sampleCount << TestLog::End… in test() 90 if (ndx != 0 && !(sampleCount < prevSampleCount)) in test() 94 …<< "got " << prevSampleCount << " at index " << (ndx - 1) << ", and " << sampleCount << " at index… in test()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 56 int sampleCount; in MakeLazyAtlasProxy() local 63 sampleCount = 1; in MakeLazyAtlasProxy() 68 sampleCount = (caps.mixedSamplesSupport()) ? 1 : caps.internalMultisampleCount(format); in MakeLazyAtlasProxy() 72 sampleCount = 1; in MakeLazyAtlasProxy() 77 sampleCount](GrResourceProvider* rp) { in MakeLazyAtlasProxy() 78 return cb(rp, pixelConfig, format, sampleCount); in MakeLazyAtlasProxy() 81 std::move(instantiate), format, GrRenderable::kYes, sampleCount, GrProtected::kNo, in MakeLazyAtlasProxy() 116 const GrBackendFormat& format, int sampleCount) { in GrCCAtlas() argument 123 desc, format, GrRenderable::kYes, sampleCount, SkBudgeted::kYes, in GrCCAtlas()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSampleReadTests.cpp | 257 deUint32 sampleCount, in createRenderPass() argument 260 const VkSampleCountFlagBits samples (sampleCountBitFromSampleCount(sampleCount)); in createRenderPass() 415 deUint32 sampleCount, in createRenderPass() argument 421 …Dependency1, RenderPassCreateInfo1>(vkd, device, srcFormat, dstFormat, sampleCount, renderingType); in createRenderPass() 423 …Dependency2, RenderPassCreateInfo2>(vkd, device, srcFormat, dstFormat, sampleCount, renderingType); in createRenderPass() 489 deUint32 sampleCount) in createRenderPipeline() argument 514 sampleCountBitFromSampleCount(sampleCount), in createRenderPipeline() 601 deUint32 sampleCount) in createSubpassPipeline() argument 628 sampleCountBitFromSampleCount(sampleCount), in createSubpassPipeline() 731 : sampleCount (sampleCount_) in TestConfig() [all …]
|
D | vktRenderPassMultisampleTests.cpp | 449 deUint32 sampleCount, in createMultisampleImages() argument 453 std::vector<VkImageSp> images (sampleCount); in createMultisampleImages() 456 …, physicalDevice, vkd, device, format, sampleCountBitFromomSampleCount(sampleCount), VK_IMAGE_USAG… in createMultisampleImages() 466 deUint32 sampleCount, in createSingleSampleImages() argument 470 std::vector<VkImageSp> images (sampleCount); in createSingleSampleImages() 508 deUint32 sampleCount, in createBuffers() argument 512 std::vector<VkBufferSp> buffers (sampleCount); in createBuffers() 538 deUint32 sampleCount, in createRenderPass() argument 542 const VkSampleCountFlagBits samples (sampleCountBitFromomSampleCount(sampleCount)); in createRenderPass() 543 const deUint32 splitSubpassCount (deDivRoundUp32(sampleCount, MAX_COLOR_ATTACHMENT_COUNT)); in createRenderPass() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassSampleReadTests.cpp | 257 deUint32 sampleCount, in createRenderPass() argument 260 const VkSampleCountFlagBits samples (sampleCountBitFromSampleCount(sampleCount)); in createRenderPass() 415 deUint32 sampleCount, in createRenderPass() argument 421 …Dependency1, RenderPassCreateInfo1>(vkd, device, srcFormat, dstFormat, sampleCount, renderingType); in createRenderPass() 423 …Dependency2, RenderPassCreateInfo2>(vkd, device, srcFormat, dstFormat, sampleCount, renderingType); in createRenderPass() 489 deUint32 sampleCount) in createRenderPipeline() argument 514 sampleCountBitFromSampleCount(sampleCount), in createRenderPipeline() 601 deUint32 sampleCount) in createSubpassPipeline() argument 628 sampleCountBitFromSampleCount(sampleCount), in createSubpassPipeline() 731 : sampleCount (sampleCount_) in TestConfig() [all …]
|
D | vktRenderPassMultisampleTests.cpp | 449 deUint32 sampleCount, in createMultisampleImages() argument 453 std::vector<VkImageSp> images (sampleCount); in createMultisampleImages() 456 …, physicalDevice, vkd, device, format, sampleCountBitFromomSampleCount(sampleCount), VK_IMAGE_USAG… in createMultisampleImages() 466 deUint32 sampleCount, in createSingleSampleImages() argument 470 std::vector<VkImageSp> images (sampleCount); in createSingleSampleImages() 508 deUint32 sampleCount, in createBuffers() argument 512 std::vector<VkBufferSp> buffers (sampleCount); in createBuffers() 538 deUint32 sampleCount, in createRenderPass() argument 542 const VkSampleCountFlagBits samples (sampleCountBitFromomSampleCount(sampleCount)); in createRenderPass() 543 const deUint32 splitSubpassCount (deDivRoundUp32(sampleCount, MAX_COLOR_ATTACHMENT_COUNT)); in createRenderPass() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPassCache.cpp | 58 void RenderPassCacheQuery::SetSampleCount(uint32_t sampleCount) { in SetSampleCount() argument 59 this->sampleCount = sampleCount; in SetSampleCount() 98 VkSampleCountFlagBits vkSampleCount = VulkanSampleCount(query.sampleCount); in CreateRenderPassForQuery() 216 HashCombine(&hash, query.sampleCount); in operator ()() 231 if (a.sampleCount != b.sampleCount) { in operator ()()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglMakeCurrentPerfTests.cpp | 80 int sampleCount; member 417 …log << TestLog::Message << "Sample count: " << m_spec.sampleCount << TestLog::EndMessag… in logTestInfo() 535 if ((int)m_samples.size() == m_spec.sampleCount) in iterate() 552 const int sampleCount = 100; in init() local 575 spec.sampleCount = sampleCount; in init() 611 spec.sampleCount = sampleCount; in init() 654 spec.sampleCount = sampleCount; in init() 704 spec.sampleCount = sampleCount; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleShaderBuiltInTests.cpp | 1102 void assertSquareSampleCount (deUint32 sampleCount) in assertSquareSampleCount() argument 1104 DE_ASSERT(kValidSquareSampleCounts.find(sampleCount) != kValidSquareSampleCounts.end()); in assertSquareSampleCount() 1105 DE_UNREF(sampleCount); // for release builds. in assertSquareSampleCount() 1123 vk::VkExtent2D imageSize (deUint32 sampleCount) in imageSize() argument 1125 assertSquareSampleCount(sampleCount); in imageSize() 1128 if (sampleCount == vk::VK_SAMPLE_COUNT_1_BIT) in imageSize() 1132 const auto dim = (1u<<(sampleCount>>1u)); in imageSize() 1136 vk::VkExtent3D getExtent3D (deUint32 sampleCount) in getExtent3D() argument 1138 const auto size = imageSize(sampleCount); in getExtent3D() 1152 vk::VkSampleCountFlagBits sampleCount; member [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineMultisampleShaderBuiltInTests.cpp | 1102 void assertSquareSampleCount (deUint32 sampleCount) in assertSquareSampleCount() argument 1104 DE_ASSERT(kValidSquareSampleCounts.find(sampleCount) != kValidSquareSampleCounts.end()); in assertSquareSampleCount() 1105 DE_UNREF(sampleCount); // for release builds. in assertSquareSampleCount() 1123 vk::VkExtent2D imageSize (deUint32 sampleCount) in imageSize() argument 1125 assertSquareSampleCount(sampleCount); in imageSize() 1128 if (sampleCount == vk::VK_SAMPLE_COUNT_1_BIT) in imageSize() 1132 const auto dim = (1u<<(sampleCount>>1u)); in imageSize() 1136 vk::VkExtent3D getExtent3D (deUint32 sampleCount) in getExtent3D() argument 1138 const auto size = imageSize(sampleCount); in getExtent3D() 1152 vk::VkSampleCountFlagBits sampleCount; member [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | D3D11FormatTablesTest.cpp | 136 for (unsigned int sampleCount = 1; in TEST_P() local 137 sampleCount <= D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT; sampleCount *= 2) in TEST_P() 141 renderFormat, sampleCount, &qualityCount)); in TEST_P() 143 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | TextureGL.cpp | 33 ASSERT(descriptor->sampleCount == 1); in TargetForTexture() 36 if (descriptor->sampleCount > 1) { in TargetForTexture() 50 uint32_t sampleCount) { in TargetForTextureViewDimension() argument 53 return (sampleCount > 1) ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D; in TargetForTextureViewDimension() 55 ASSERT(sampleCount == 1); in TargetForTextureViewDimension() 142 uint32_t sampleCount = GetSampleCount(); in Texture() local 159 gl.TexStorage2DMultisample(mTarget, sampleCount, formatInfo.internalFormat, in Texture()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPassCache.cpp | 78 void RenderPassCacheQuery::SetSampleCount(uint32_t sampleCount) { in SetSampleCount() argument 79 this->sampleCount = sampleCount; in SetSampleCount() 122 VkSampleCountFlagBits vkSampleCount = VulkanSampleCount(query.sampleCount); in CreateRenderPassForQuery() 252 HashCombine(&hash, query.sampleCount); in operator ()() 267 if (a.sampleCount != b.sampleCount) { in operator ()()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandEncoder.cpp | 146 uint32_t* sampleCount) { in ValidateOrSetColorAttachmentSampleCount() argument 147 if (*sampleCount == 0) { in ValidateOrSetColorAttachmentSampleCount() 148 *sampleCount = colorAttachment->GetTexture()->GetSampleCount(); in ValidateOrSetColorAttachmentSampleCount() 149 DAWN_ASSERT(*sampleCount != 0); in ValidateOrSetColorAttachmentSampleCount() 152 *sampleCount != colorAttachment->GetTexture()->GetSampleCount(), in ValidateOrSetColorAttachmentSampleCount() 155 colorAttachment, colorAttachment->GetTexture()->GetSampleCount(), *sampleCount); in ValidateOrSetColorAttachmentSampleCount() 219 uint32_t* sampleCount) { in ValidateRenderPassColorAttachment() argument 242 DAWN_TRY(ValidateOrSetColorAttachmentSampleCount(attachment, sampleCount)); in ValidateRenderPassColorAttachment() 257 uint32_t* sampleCount) { in ValidateRenderPassDepthStencilAttachment() argument 316 if (*sampleCount != 0) { in ValidateRenderPassDepthStencilAttachment() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSampleVariableTests.cpp | 291 …NumSamplesCase (Context& context, const char* name, const char* desc, int sampleCount, RenderTa… 304 …SamplesCase (Context& context, const char* name, const char* desc, int sampleCount, RenderTarget t… in NumSamplesCase() argument 305 : MultisampleRenderCase(context, name, desc, sampleCount, target, RENDER_SIZE) in NumSamplesCase() 344 …MaxSamplesCase (Context& context, const char* name, const char* desc, int sampleCount, RenderTa… 358 …SamplesCase (Context& context, const char* name, const char* desc, int sampleCount, RenderTarget t… in MaxSamplesCase() argument 359 : MultisampleRenderCase(context, name, desc, sampleCount, target, RENDER_SIZE) in MaxSamplesCase() 427 …SampleIDCase (Context& context, const char* name, const char* desc, int sampleCount, RenderTarg… 450 SampleIDCase::SampleIDCase (Context& context, const char* name, const char* desc, int sampleCount, … in SampleIDCase() argument 451 …: MultisampleRenderCase (context, name, desc, sampleCount, target, RENDER_SIZE, MultisampleShaderR… in SampleIDCase() 601 …ibutionCase (Context& context, const char* name, const char* desc, int sampleCount, RenderTarget t… [all …]
|