/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TextureUploadPerf.cpp | 32 baseSize = 1024; in TextureUploadParams() 40 GLsizei baseSize; member 105 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark() 130 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark() 134 glBufferData(GL_PIXEL_UNPACK_BUFFER, params.baseSize * params.baseSize * 4, in initializeBenchmark() 161 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_COMPRESSED_RGB8_ETC2, params.baseSize, in initializeBenchmark() 162 params.baseSize); in initializeBenchmark() 212 ASSERT_TRUE(params.baseSize >= params.subImageSize); in initializeBenchmark() 213 mTextureData.resize(params.baseSize * params.baseSize * 4, 0.5); in initializeBenchmark() 259 glTexSubImage2D(GL_TEXTURE_2D, 0, rand() % (params.baseSize - params.subImageSize), in drawBenchmark() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TextureUploadPerf.cpp | 32 baseSize = 1024; in TextureUploadParams() 40 GLsizei baseSize; member 98 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark() 147 ASSERT_TRUE(params.baseSize >= params.subImageSize); in initializeBenchmark() 148 mTextureData.resize(params.baseSize * params.baseSize * 4, 0.5); in initializeBenchmark() 194 glTexSubImage2D(GL_TEXTURE_2D, 0, rand() % (params.baseSize - params.subImageSize), in drawBenchmark() 195 rand() % (params.baseSize - params.subImageSize), params.subImageSize, in drawBenchmark() 216 for (GLsizei levelSize = params.baseSize; levelSize > 0; levelSize >>= 1) in drawBenchmark()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fIndirectComputeDispatchTests.cpp | 161 const int baseSize = RESULT_BLOCK_BASE_SIZE; in getResultBlockAlignedSize() local 165 if (alignment == 0 || (baseSize % alignment == 0)) in getResultBlockAlignedSize() 166 return baseSize; in getResultBlockAlignedSize() 168 return (baseSize/alignment + 1)*alignment; in getResultBlockAlignedSize()
|
D | es31fTextureLevelStateQueryTests.cpp | 479 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup() local 486 texGen.texBufferDataSize = 32 * baseSize + (baseSize - 1); in generateColorTextureGenerationGroup() 503 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup() local 510 texGen.texBufferDataSize = 16 * baseSize + (baseSize - 1); in generateColorTextureGenerationGroup() 626 const int baseSize = getPixelSize(internalFormats[internalFormatNdx]); in generateInternalFormatTextureGenerationGroup() local 639 texGen.texBufferDataSize = 32 * baseSize + (baseSize - 1); in generateInternalFormatTextureGenerationGroup()
|
D | es31fShaderImageLoadStoreTests.cpp | 3381 const IVec3& baseSize = baseImageSizes[imageSizeNdx]; in init() local 3382 const IVec3 imageSize = imageType == TEXTURETYPE_BUFFER ? IVec3(baseSize.x(), 1, 1) in init() 3383 : imageType == TEXTURETYPE_2D ? IVec3(baseSize.x(), baseSize.y(), 1) in init() 3384 : imageType == TEXTURETYPE_CUBE ? IVec3(baseSize.x(), baseSize.x(), 1) in init() 3385 : imageType == TEXTURETYPE_3D ? baseSize in init() 3386 : imageType == TEXTURETYPE_2D_ARRAY ? baseSize in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 1170 vector<IVec4> getMipLevelSizes (IVec4 baseSize) in getMipLevelSizes() argument 1173 levels.push_back(baseSize); in getMipLevelSizes() 1175 while (baseSize.x() != 1 || baseSize.y() != 1 || baseSize.z() != 1) in getMipLevelSizes() 1177 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes() 1178 baseSize.y() = deMax32(baseSize.y() >> 1, 1); in getMipLevelSizes() 1179 baseSize.z() = deMax32(baseSize.z() >> 1, 1); in getMipLevelSizes() 1180 levels.push_back(baseSize); in getMipLevelSizes()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 1170 vector<IVec4> getMipLevelSizes (IVec4 baseSize) in getMipLevelSizes() argument 1173 levels.push_back(baseSize); in getMipLevelSizes() 1175 while (baseSize.x() != 1 || baseSize.y() != 1 || baseSize.z() != 1) in getMipLevelSizes() 1177 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes() 1178 baseSize.y() = deMax32(baseSize.y() >> 1, 1); in getMipLevelSizes() 1179 baseSize.z() = deMax32(baseSize.z() >> 1, 1); in getMipLevelSizes() 1180 levels.push_back(baseSize); in getMipLevelSizes()
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | text_test.dart | 44 final Size baseSize = tester.getSize(find.byType(RichText)); 45 expect(baseSize.width, equals(70.0)); 46 expect(baseSize.height, equals(14.0)); 69 final Size baseSize = tester.getSize(find.byType(RichText)); 70 expect(baseSize.width, equals(100.0)); 71 expect(baseSize.height, equals(20.0));
|
/third_party/skia/src/gpu/ |
D | GrResourceProvider.cpp | 799 SkISize baseSize, in prepareLevels() argument 814 auto size = baseSize; in prepareLevels() 827 SkISize baseSize, in writePixels() argument 837 auto tempColorType = this->prepareLevels(texture->backendFormat(), colorType, baseSize, texels, in writePixels() 843 SkIRect::MakeSize(baseSize), in writePixels()
|
D | GrResourceProvider.h | 370 SkISize baseSize, 383 SkISize baseSize,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 566 Extents baseSize, in setImageDescChain() argument 573 Extents levelSize(std::max<int>(baseSize.width >> relativeLevel, 1), in setImageDescChain() 574 std::max<int>(baseSize.height >> relativeLevel, 1), in setImageDescChain() 576 ? baseSize.depth in setImageDescChain() 577 : std::max<int>(baseSize.depth >> relativeLevel, 1)); in setImageDescChain() 594 void TextureState::setImageDescChainMultisample(Extents baseSize, in setImageDescChainMultisample() argument 601 ImageDesc levelInfo(baseSize, format, samples, fixedSampleLocations, initState); in setImageDescChainMultisample()
|
D | Texture.h | 167 Extents baseSize, 170 void setImageDescChainMultisample(Extents baseSize,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 240 vector<UVec3> getMipLevelSizes (UVec3 baseSize); 314 vector<UVec3> BasicTranscodingTestInstance::getMipLevelSizes (UVec3 baseSize) in getMipLevelSizes() argument 319 baseSize.z() = 1u; in getMipLevelSizes() 321 levelSizes.push_back(baseSize); in getMipLevelSizes() 325 baseSize.y() = 1u; in getMipLevelSizes() 327 while (levelSizes.size() < levelCount && (baseSize.x() != 1)) in getMipLevelSizes() 329 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes() 330 levelSizes.push_back(baseSize); in getMipLevelSizes() 335 while (levelSizes.size() < levelCount && (baseSize.x() != 1 || baseSize.y() != 1)) in getMipLevelSizes() 337 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 240 vector<UVec3> getMipLevelSizes (UVec3 baseSize); 314 vector<UVec3> BasicTranscodingTestInstance::getMipLevelSizes (UVec3 baseSize) in getMipLevelSizes() argument 319 baseSize.z() = 1u; in getMipLevelSizes() 321 levelSizes.push_back(baseSize); in getMipLevelSizes() 325 baseSize.y() = 1u; in getMipLevelSizes() 327 while (levelSizes.size() < levelCount && (baseSize.x() != 1)) in getMipLevelSizes() 329 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes() 330 levelSizes.push_back(baseSize); in getMipLevelSizes() 335 while (levelSizes.size() < levelCount && (baseSize.x() != 1 || baseSize.y() != 1)) in getMipLevelSizes() 337 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 214 const vk::VkDeviceSize baseSize) in getResultBlockAlignedSize() argument 221 if (alignment == 0 || (baseSize % alignment == 0)) in getResultBlockAlignedSize() 222 return baseSize; in getResultBlockAlignedSize() 224 return (baseSize / alignment + 1)*alignment; in getResultBlockAlignedSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 214 const vk::VkDeviceSize baseSize) in getResultBlockAlignedSize() argument 221 if (alignment == 0 || (baseSize % alignment == 0)) in getResultBlockAlignedSize() 222 return baseSize; in getResultBlockAlignedSize() 224 return (baseSize / alignment + 1)*alignment; in getResultBlockAlignedSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiMemoryRequirementInvarianceTests.cpp | 683 VkDeviceSize baseSize = 1023; in iterate() local 709 baseSize, // VkDeviceSize size in iterate() 837 bufferCreateInfo.size = baseSize + idx; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiMemoryRequirementInvarianceTests.cpp | 683 VkDeviceSize baseSize = 1023; in iterate() local 709 baseSize, // VkDeviceSize size in iterate() 837 bufferCreateInfo.size = baseSize + idx; in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 691 Extents baseSize, in setImageDescChain() argument 698 Extents levelSize(std::max<int>(baseSize.width >> relativeLevel, 1), in setImageDescChain() 699 std::max<int>(baseSize.height >> relativeLevel, 1), in setImageDescChain() 701 ? baseSize.depth in setImageDescChain() 702 : std::max<int>(baseSize.depth >> relativeLevel, 1)); in setImageDescChain() 719 void TextureState::setImageDescChainMultisample(Extents baseSize, in setImageDescChainMultisample() argument 726 ImageDesc levelInfo(baseSize, format, samples, fixedSampleLocations, initState); in setImageDescChainMultisample()
|
D | Texture.h | 196 Extents baseSize, 199 void setImageDescChainMultisample(Extents baseSize,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultiExtTests.cpp | 246 static deUint32 baseSize (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in baseSize() function in vkt::Draw::__anon860270ac0111::DrawInfoPacker 258 const auto minStride = baseSize(drawType, offsetType); in calcExtraBytes() 266 return baseSize(m_drawType, m_offsetType) + m_extraBytes; in entrySize()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawMultiExtTests.cpp | 246 static deUint32 baseSize (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in baseSize() function in vkt::Draw::__anoneb0b3f2c0111::DrawInfoPacker 258 const auto minStride = baseSize(drawType, offsetType); in calcExtraBytes() 266 return baseSize(m_drawType, m_offsetType) + m_extraBytes; in entrySize()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 1536 deUint32 baseSize; in getVecStd430ByteAlignment() local 1540 case glu::TYPE_FLOAT16: baseSize = 2u; break; in getVecStd430ByteAlignment() 1541 case glu::TYPE_DOUBLE: baseSize = 8u; break; in getVecStd430ByteAlignment() 1542 default: baseSize = 4u; break; in getVecStd430ByteAlignment() 1547 case 1: return baseSize; in getVecStd430ByteAlignment() 1548 case 2: return baseSize * 2u; in getVecStd430ByteAlignment() 1550 case 4: return baseSize * 4u; in getVecStd430ByteAlignment()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 1536 deUint32 baseSize; in getVecStd430ByteAlignment() local 1540 case glu::TYPE_FLOAT16: baseSize = 2u; break; in getVecStd430ByteAlignment() 1541 case glu::TYPE_DOUBLE: baseSize = 8u; break; in getVecStd430ByteAlignment() 1542 default: baseSize = 4u; break; in getVecStd430ByteAlignment() 1547 case 1: return baseSize; in getVecStd430ByteAlignment() 1548 case 2: return baseSize * 2u; in getVecStd430ByteAlignment() 1550 case 4: return baseSize * 4u; in getVecStd430ByteAlignment()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1902 const int baseSize = blockLayout.size; in computeBufferSizes() local 1907 sizes[blockNdx] = baseSize + lastArraySize*stride; in computeBufferSizes() 1918 const int baseSize = blockLayout.size; in getBlockDataPtr() local 1923 const int lastArraySize = (bufferSize-baseSize) / (lastArrayStride ? lastArrayStride : 1); in getBlockDataPtr() 1925 DE_ASSERT(baseSize + lastArraySize*lastArrayStride == bufferSize); in getBlockDataPtr()
|