/third_party/flutter/skia/src/gpu/ |
D | GrDataUtils.cpp | 316 int currentWidth = baseWidth; in GrComputeTightCombinedBufferSize() local 326 currentWidth = SkTMax(1, currentWidth / 2); in GrComputeTightCombinedBufferSize() 329 size_t trimmedSize = currentWidth * bytesPerPixel * currentHeight; in GrComputeTightCombinedBufferSize() 351 int currentWidth = baseWidth; in GrFillInData() local 356 fill_buffer_with_color(config, currentWidth, currentHeight, colorf, &(dstPixels[offset])); in GrFillInData() 357 currentWidth = SkTMax(1, currentWidth / 2); in GrFillInData() 365 int currentWidth = baseWidth; in GrFillInCompressedData() local 368 fillin_ETC1_with_color(currentWidth, currentHeight, colorf, dstPixels); in GrFillInCompressedData()
|
D | GrContextPriv.cpp | 366 int currentWidth = baseWidth; in createBackendTexture() local 369 currentWidth = SkTMax(1, currentWidth / 2); in createBackendTexture() 376 if (srcData[i].width() != currentWidth || srcData[i].height() != currentHeight) { in createBackendTexture()
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 248 int currentWidth = width; 257 const size_t trimRowBytes = currentWidth * bpp; 269 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1) 275 currentWidth = SkTMax(1, currentWidth/2); 307 int currentWidth = tex->width(); 318 const size_t trimmedSize = currentWidth * bpp * currentHeight; 326 currentWidth = SkTMax(1, currentWidth/2); 348 currentWidth = tex->width(); 353 const size_t rowBytes = currentWidth * bpp; 359 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1) [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/ |
D | vktFragmentShadingRateTests.cpp | 343 const deUint32 currentWidth = fragmentSize.width; in testShadingRates() local 344 if (widthCheckPassed && (currentWidth > previousWidth)) in testShadingRates() 354 if (currentWidth == previousWidth) in testShadingRates() 366 previousWidth = currentWidth; in testShadingRates()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
D | vktFragmentShadingRateTests.cpp | 343 const deUint32 currentWidth = fragmentSize.width; in testShadingRates() local 344 if (widthCheckPassed && (currentWidth > previousWidth)) in testShadingRates() 354 if (currentWidth == previousWidth) in testShadingRates() 366 previousWidth = currentWidth; in testShadingRates()
|
/third_party/flutter/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 1043 SkScalar currentWidth = 0; in wrap() local 1052 candidateGraphemeBreakWidth = currentWidth; in wrap() 1055 candidateLineBreakWidth = currentWidth; in wrap() 1062 … if (width < currentWidth + glyphWidth && glyph->fHasVisual && candidateGraphemeBreakWidth > 0){ in wrap() 1065 currentWidth -= candidateLineBreakWidth; in wrap() 1071 currentWidth -= candidateGraphemeBreakWidth; in wrap() 1078 if (width < currentWidth) { in wrap() 1084 currentWidth = candidateGraphemeBreakWidth; in wrap() 1094 currentWidth += glyphWidth; in wrap()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 737 int currentWidth = width; in uploadTexDataOptimal() local 748 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal() 752 const size_t trimmedSize = currentWidth * bpp * currentHeight; in uploadTexDataOptimal() 821 currentWidth = width; in uploadTexDataOptimal() 827 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() 838 region.bufferRowLength = currentWidth; in uploadTexDataOptimal() 842 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal() 844 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal() 1732 int currentWidth = w; in createVkImageForBackendSurface() local 1739 region.bufferRowLength = currentWidth; in createVkImageForBackendSurface() [all …]
|
/third_party/flutter/skia/tests/ |
D | MipMapTest.cpp | 79 int currentWidth = width / twoToTheMipLevel; in test_mipmap_generation() local 81 REPORTER_ASSERT(reporter, level.fPixmap.width() == currentWidth); in test_mipmap_generation()
|
/third_party/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 1074 SkScalar currentWidth = 0; in wrap() local 1083 candidateGraphemeBreakWidth = currentWidth; in wrap() 1086 candidateLineBreakWidth = currentWidth; in wrap() 1093 … if (width < currentWidth + glyphWidth && glyph->fHasVisual && candidateGraphemeBreakWidth > 0){ in wrap() 1096 currentWidth -= candidateLineBreakWidth; in wrap() 1102 currentWidth -= candidateGraphemeBreakWidth; in wrap() 1109 if (width < currentWidth) { in wrap() 1115 currentWidth = candidateGraphemeBreakWidth; in wrap() 1125 currentWidth += glyphWidth; in wrap()
|
/third_party/skia/tests/ |
D | MipMapTest.cpp | 80 int currentWidth = width / twoToTheMipLevel; in test_mipmap_generation() local 82 REPORTER_ASSERT(reporter, level.fPixmap.width() == currentWidth); in test_mipmap_generation()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 367 int currentWidth = rect.width(); 383 const size_t trimRowBytes = currentWidth * bpp; 395 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1) 401 currentWidth = std::max(1, currentWidth/2); 435 int currentWidth = tex->width(); 446 const size_t trimmedSize = currentWidth * bpp * currentHeight; 454 currentWidth = std::max(1, currentWidth/2); 485 currentWidth = tex->width(); 490 const size_t rowBytes = currentWidth * bpp; 496 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1) [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuRasterizationVerifier.cpp | 1545 int currentWidth = 1; in verifySinglesampleLineGroupRasterization() local 1587 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1594 ++currentWidth; in verifySinglesampleLineGroupRasterization() 1600 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1609 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization() 1611 …d line width at (" << x - currentWidth << ", " << y << ") - (" << x - 1 << ", " << y << "). Detect… in verifySinglesampleLineGroupRasterization() 1617 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1629 int currentWidth = 1; in verifySinglesampleLineGroupRasterization() local 1672 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1679 ++currentWidth; in verifySinglesampleLineGroupRasterization() [all …]
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCAtlas.h | 77 int currentWidth() const { return fWidth; } in currentWidth() function
|
D | GrCCPerFlushResources.cpp | 570 atlas->currentWidth() == texture->width()) { in finalize()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 987 const int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local 991 const size_t trimRowBytes = currentWidth * dataBpp; in allocate_and_populate_texture() 1010 currentWidth, in allocate_and_populate_texture() 1035 const int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local 1040 const size_t trimRowBytes = currentWidth * dataBpp; in allocate_and_populate_texture() 1064 currentWidth, in allocate_and_populate_texture() 1074 currentWidth, in allocate_and_populate_texture() 1195 const int currentWidth = SkTMax(1, width / twoToTheMipLevel); in uploadTexData() local 1197 const size_t trimRowBytes = currentWidth * bpp; in uploadTexData() 1209 currentWidth, in uploadTexData() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 920 int currentWidth = rect.width(); in uploadTexDataOptimal() local 924 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() 935 region.bufferRowLength = currentWidth; in uploadTexDataOptimal() 939 region.imageExtent = {(uint32_t)currentWidth, (uint32_t)currentHeight, 1}; in uploadTexDataOptimal() 942 currentWidth = std::max(1, currentWidth/2); in uploadTexDataOptimal()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
D | vktWsiSharedPresentableImageTests.cpp | 611 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local 619 ? currentWidth in generateSwapchainConfigs() 622 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
|
D | vktWsiIncrementalPresentTests.cpp | 699 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local 707 ? currentWidth in generateSwapchainConfigs() 710 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSharedPresentableImageTests.cpp | 611 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local 619 ? currentWidth in generateSwapchainConfigs() 622 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
|
D | vktWsiIncrementalPresentTests.cpp | 699 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local 707 ? currentWidth in generateSwapchainConfigs() 710 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 742 int currentWidth = rect.width(); in uploadToTexture() local 747 const size_t trimRowBytes = currentWidth * bpp; in uploadToTexture() 757 currentWidth = std::max(1, currentWidth / 2); in uploadToTexture()
|
/third_party/skia/experimental/sktext/src/ |
D | Text.cpp | 394 auto currentWidth = line.width() + spaces.width() + clusters.width() + cluster.width(); in wrap() local 395 if (currentWidth > width) { in wrap()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1745 const int currentWidth = std::max(1, dimensions.width() / twoToTheMipLevel); in createTexture() local 1747 error = GL_ALLOC_CALL(TexImage2D(target, level, internalFormat, currentWidth, in createTexture()
|