Lines Matching defs:kTexDims

125     static constexpr SkISize kTexDims = {16, 16};
130 resourceProvider->createTexture(kTexDims, backendFormat, GrTextureType::k2D, renderable,
161 std::unique_ptr<char[]> srcData(new char[kTexDims.fHeight * srcRowBytes]);
163 fill_transfer_data(0, 0, kTexDims.fWidth, kTexDims.fHeight, srcRowBytes,
186 SkIRect::MakeSize(kTexDims),
194 size_t dstRowBytes = GrColorTypeBytesPerPixel(colorType) * kTexDims.fWidth;
195 std::unique_ptr<char[]> dstBuffer(new char[dstRowBytes * kTexDims.fHeight]());
293 static constexpr SkISize kTexDims = {16, 16};
309 size_t textureDataRowBytes = kTexDims.fWidth * textureDataBpp;
310 std::unique_ptr<char[]> textureData(new char[kTexDims.fHeight * textureDataRowBytes]);
311 fill_transfer_data(0, 0, kTexDims.fWidth, kTexDims.fHeight, textureDataRowBytes, colorType,
316 sk_sp<GrTexture> tex = resourceProvider->createTexture(kTexDims, format, GrTextureType::k2D,
341 GrImageInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims);
344 size_t fullBufferRowBytes = SkAlignTo(kTexDims.fWidth * bpp, caps->transferBufferAlignment());
349 size_t bufferSize = fullBufferRowBytes * kTexDims.fHeight;
370 SkIRect::MakeSize(kTexDims),
392 std::unique_ptr<char[]> transferData(new char[kTexDims.fHeight * fullBufferRowBytes]);
393 memcpy(transferData.get(), map, fullBufferRowBytes * kTexDims.fHeight);
396 GrImageInfo transferInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims);
407 GrImageInfo textureDataInfo(colorType, kUnpremul_SkAlphaType, nullptr, kTexDims);
439 memcpy(transferData.get(), bufferStart, partialBufferRowBytes * kTexDims.fHeight);