Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DTextureUploadPerf.cpp32 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/
DTextureUploadPerf.cpp32 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/
Des31fIndirectComputeDispatchTests.cpp161 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()
Des31fTextureLevelStateQueryTests.cpp479 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()
Des31fShaderImageLoadStoreTests.cpp3320 const IVec3& baseSize = baseImageSizes[imageSizeNdx]; in init() local
3321 const IVec3 imageSize = imageType == TEXTURETYPE_BUFFER ? IVec3(baseSize.x(), 1, 1) in init()
3322 : imageType == TEXTURETYPE_2D ? IVec3(baseSize.x(), baseSize.y(), 1) in init()
3323 : imageType == TEXTURETYPE_CUBE ? IVec3(baseSize.x(), baseSize.x(), 1) in init()
3324 : imageType == TEXTURETYPE_3D ? baseSize in init()
3325 : imageType == TEXTURETYPE_2D_ARRAY ? baseSize in init()
Des31fSSBOLayoutCase.cpp1880 const int baseSize = blockLayout.size; in computeBufferSizes() local
1885 sizes[blockNdx] = baseSize + lastArraySize*stride; in computeBufferSizes()
1896 const int baseSize = blockLayout.size; in getBlockDataPtr() local
1901 const int lastArraySize = (bufferSize-baseSize) / (lastArrayStride ? lastArrayStride : 1); in getBlockDataPtr()
1903 DE_ASSERT(baseSize + lastArraySize*lastArrayStride == bufferSize); in getBlockDataPtr()
Des31fCopyImageTests.cpp405 IVec3 getLevelSize (deUint32 target, const IVec3& baseSize, int level) in getLevelSize() argument
412 size[i] = de::max(baseSize[i] >> level, 1); in getLevelSize()
417 size[i] = de::max(baseSize[i] >> level, 1); in getLevelSize()
419 size[2] = baseSize[2]; in getLevelSize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp1256 vector<IVec4> getMipLevelSizes (IVec4 baseSize) in getMipLevelSizes() argument
1259 levels.push_back(baseSize); in getMipLevelSizes()
1261 while (baseSize.x() != 1 || baseSize.y() != 1 || baseSize.z() != 1) in getMipLevelSizes()
1263 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes()
1264 baseSize.y() = deMax32(baseSize.y() >> 1, 1); in getMipLevelSizes()
1265 baseSize.z() = deMax32(baseSize.z() >> 1, 1); in getMipLevelSizes()
1266 levels.push_back(baseSize); in getMipLevelSizes()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dtext_test.dart44 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/
DGrResourceProvider.cpp799 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()
DGrResourceProvider.h370 SkISize baseSize,
383 SkISize baseSize,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp75 const vk::VkDeviceSize baseSize) in getResultBlockAlignedSize() argument
82 if (alignment == 0 || (baseSize % alignment == 0)) in getResultBlockAlignedSize()
83 return baseSize; in getResultBlockAlignedSize()
85 return (baseSize / alignment + 1)*alignment; in getResultBlockAlignedSize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp239 vector<UVec3> getMipLevelSizes (UVec3 baseSize);
313 vector<UVec3> BasicTranscodingTestInstance::getMipLevelSizes (UVec3 baseSize) in getMipLevelSizes() argument
318 baseSize.z() = 1u; in getMipLevelSizes()
320 levelSizes.push_back(baseSize); in getMipLevelSizes()
324 baseSize.y() = 1u; in getMipLevelSizes()
326 while (levelSizes.size() < levelCount && (baseSize.x() != 1)) in getMipLevelSizes()
328 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes()
329 levelSizes.push_back(baseSize); in getMipLevelSizes()
334 while (levelSizes.size() < levelCount && (baseSize.x() != 1 || baseSize.y() != 1)) in getMipLevelSizes()
336 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DTexture.cpp566 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()
DTexture.h167 Extents baseSize,
170 void setImageDescChainMultisample(Extents baseSize,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiMemoryRequirementInvarianceTests.cpp680 VkDeviceSize baseSize = 1023; in iterate() local
706 baseSize, // VkDeviceSize size in iterate()
832 bufferCreateInfo.size = baseSize + idx; in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DTexture.cpp691 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()
DTexture.h196 Extents baseSize,
199 void setImageDescChainMultisample(Extents baseSize,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp246 static deUint32 baseSize (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in baseSize() function in vkt::Draw::__anon90d6b86d0111::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/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1533 deUint32 baseSize; in getVecStd430ByteAlignment() local
1537 case glu::TYPE_FLOAT16: baseSize = 2u; break; in getVecStd430ByteAlignment()
1538 case glu::TYPE_DOUBLE: baseSize = 8u; break; in getVecStd430ByteAlignment()
1539 default: baseSize = 4u; break; in getVecStd430ByteAlignment()
1544 case 1: return baseSize; in getVecStd430ByteAlignment()
1545 case 2: return baseSize * 2u; in getVecStd430ByteAlignment()
1547 case 4: return baseSize * 4u; in getVecStd430ByteAlignment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1902 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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_resources.mm29 inline NSUInteger GetMipSize(NSUInteger baseSize, const MipmapNativeLevel level)
31 return std::max<NSUInteger>(1, baseSize >> level.get());
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp507 …ut& layout, const std::map<int, void*>& blockPointers, const void* basePtr0, const size_t baseSize) in createMask() argument
509 std::vector<deUint8> mask (baseSize, 0); in createMask()