Lines Matching refs:height
239 bool GrVkGpu::onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height,
261 int left, int top, int width, int height,
283 // height);
301 success = this->uploadTexData(vkTex, left, top, width, height, config,
314 int left, int top, int width, int height,
330 &width, &height, &data, &rowBytes)) {
353 int texTop = kBottomLeft_GrSurfaceOrigin == desc.fOrigin ? tex->height() - top - height
356 VkDeviceSize size = height*layout.rowPitch;
367 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*layout.rowPitch;
368 for (int y = 0; y < height; y++) {
376 memcpy(mapPtr, data, trimRowBytes * height);
378 SkRectMemcpy(mapPtr, layout.rowPitch, data, rowBytes, trimRowBytes, height);
385 GrVkTransferBuffer::Create(this, trimRowBytes * height, GrVkBuffer::kCopyRead_Type);
392 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*trimRowBytes;
393 for (int y = 0; y < height; y++) {
401 memcpy(mapPtr, data, trimRowBytes * height);
403 SkRectMemcpy(mapPtr, trimRowBytes, data, rowBytes, trimRowBytes, height);
421 flipY ? tex->height() - top - height : top,
429 region.bufferImageHeight = height;
432 region.imageExtent = { (uint32_t)width, (uint32_t)height, 1 };
692 int height) {
695 SkASSERT(height >= rt->height());
705 height,
895 if (rect.width() != target->width() || rect.height() != target->height()) {
911 clearRect.rect.extent = { (uint32_t)rect.width(), (uint32_t)rect.height() };
1032 srcVkRect.fTop = src->height() - srcRect.fBottom;
1033 srcVkRect.fBottom = src->height() - srcRect.fTop;
1034 dstY = dst->height() - dstPoint.fY - srcVkRect.height();
1043 copyRegion.extent = { (uint32_t)srcVkRect.width(), (uint32_t)srcVkRect.height(), 0 };
1084 bool GrVkGpu::onGetReadPixelsInfo(GrSurface* srcSurface, int width, int height, size_t rowBytes,
1102 int left, int top, int width, int height,
1131 reinterpret_cast<GrVkTransferBuffer*>(this->createTransferBuffer(rowBytes * height,
1137 flipY ? surface->height() - top - height : top,
1146 region.bufferImageHeight = 0; // Forces height to be tightly packed. Only useful for 3d images.
1149 region.imageExtent = { (uint32_t)width, (uint32_t)height, 1 };
1172 memcpy(buffer, mappedMemory, rowBytes*height);
1183 const int halfY = height >> 1;
1185 char* bottom = top + (height - 1) * rowBytes;