/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 643 int currentWidth = width; in uploadTexDataOptimal() local 654 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal() 658 const size_t trimmedSize = currentWidth * bpp * currentHeight; in uploadTexDataOptimal() 723 currentWidth = width; in uploadTexDataOptimal() 729 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() 742 region.bufferRowLength = currentWidth; in uploadTexDataOptimal() 746 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal() 748 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal() 817 int currentWidth = width; in uploadTexDataCompressed() local 826 currentWidth = SkTMax(1, currentWidth / 2); in uploadTexDataCompressed() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 645 int currentWidth = width; in uploadTexDataOptimal() local 656 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal() 660 const size_t trimmedSize = currentWidth * bpp * currentHeight; in uploadTexDataOptimal() 725 currentWidth = width; in uploadTexDataOptimal() 731 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() 744 region.bufferRowLength = currentWidth; in uploadTexDataOptimal() 748 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal() 750 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal() 819 int currentWidth = width; in uploadTexDataCompressed() local 828 currentWidth = SkTMax(1, currentWidth / 2); in uploadTexDataCompressed() [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 188 int currentWidth = width; 199 currentWidth = SkTMax(1, currentWidth/2); 203 const size_t trimmedSize = currentWidth * bpp * currentHeight; 234 currentWidth = width; 243 const size_t trimRowBytes = currentWidth * bpp; 263 currentWidth = SkTMax(1, currentWidth/2); 540 int currentWidth = w; 543 [transferTexture replaceRegion: MTLRegionMake2D(0, 0, currentWidth, currentHeight) 552 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1) 557 currentWidth = SkTMax(1, currentWidth/2);
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 178 int currentWidth = width; 189 : bpp * currentWidth; 191 if (rowBytes < bpp * currentWidth || rowBytes % bpp) { 208 currentWidth = SkTMax(1, currentWidth/2); 480 int currentWidth = w; 483 [transferTexture replaceRegion: MTLRegionMake2D(0, 0, currentWidth, currentHeight) 492 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1) 497 currentWidth = SkTMax(1, currentWidth/2);
|
/external/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()
|
/external/skqp/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()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 1187 SkScalar currentWidth = 0; in shapeOk() local 1196 candidateGraphemeBreakWidth = currentWidth; in shapeOk() 1199 candidateLineBreakWidth = currentWidth; in shapeOk() 1206 … if (width < currentWidth + glyphWidth && glyph->fHasVisual && candidateGraphemeBreakWidth > 0){ in shapeOk() 1209 currentWidth -= candidateLineBreakWidth; in shapeOk() 1215 currentWidth -= candidateGraphemeBreakWidth; in shapeOk() 1222 if (width < currentWidth) { in shapeOk() 1228 currentWidth = candidateGraphemeBreakWidth; in shapeOk() 1238 currentWidth += glyphWidth; in shapeOk()
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 1282 int currentWidth = 1; in verifySinglesampleLineGroupRasterization() local 1325 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1332 ++currentWidth; in verifySinglesampleLineGroupRasterization() 1338 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1347 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization() 1349 …d line width at (" << x - currentWidth << ", " << y << ") - (" << x - 1 << ", " << y << "). Detect… in verifySinglesampleLineGroupRasterization() 1355 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1367 int currentWidth = 1; in verifySinglesampleLineGroupRasterization() local 1410 currentWidth = 1; in verifySinglesampleLineGroupRasterization() 1417 ++currentWidth; in verifySinglesampleLineGroupRasterization() [all …]
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.h | 58 int currentWidth() const { return fWidth; } in currentWidth() function
|
D | GrCCPerFlushResources.cpp | 488 atlas->currentWidth() == texture->width()) { in finalize()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCAtlas.h | 58 int currentWidth() const { return fWidth; } in currentWidth() function
|
D | GrCCPerFlushResources.cpp | 491 atlas->currentWidth() == texture->width()) { in finalize()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1013 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local 1021 currentWidth, in allocate_and_populate_texture() 1046 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local 1055 currentWidth, in allocate_and_populate_texture() 1119 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() local 1124 size_t dataSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight); in allocate_and_populate_compressed_texture() 1129 currentWidth, in allocate_and_populate_compressed_texture() 1145 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() local 1156 currentWidth, in allocate_and_populate_compressed_texture() 1274 int currentWidth = SkTMax(1, width / twoToTheMipLevel); in uploadTexData() local [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 977 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local 985 currentWidth, in allocate_and_populate_texture() 1010 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local 1019 currentWidth, in allocate_and_populate_texture() 1083 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() local 1088 size_t dataSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight); in allocate_and_populate_compressed_texture() 1093 currentWidth, in allocate_and_populate_compressed_texture() 1109 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() local 1120 currentWidth, in allocate_and_populate_compressed_texture() 1239 int currentWidth = SkTMax(1, width / twoToTheMipLevel); in uploadTexData() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiIncrementalPresentTests.cpp | 728 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local 736 ? currentWidth in generateSwapchainConfigs() 739 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
|