Home | History | Annotate | Download | only in gpu

Lines Matching refs:uvSize

208                 SkISize uvSize = sizes[1];
210 SkAutoSTMalloc<128 * 128, uint32_t> tempUV(uvSize.fWidth * uvSize.fHeight);
211 if (!uvTex->readPixels(0, 0, uvSize.fWidth, uvSize.fHeight,
216 size_t uRowBytes = rowBytes[1] ? rowBytes[1] : uvSize.fWidth;
217 size_t vRowBytes = rowBytes[2] ? rowBytes[2] : uvSize.fWidth;
218 if (uRowBytes < (size_t)uvSize.fWidth || vRowBytes < (size_t)uvSize.fWidth) {
221 for (int j = 0; j < uvSize.fHeight; ++j) {
222 for (int i = 0; i < uvSize.fWidth; ++i) {
224 uint32_t u = GrColorUnpackR(tempUV.get()[j * uvSize.fWidth + i]);
225 uint32_t v = GrColorUnpackG(tempUV.get()[j * uvSize.fWidth + i]);