Home | History | Annotate | Download | only in vk

Lines Matching refs:srcData

467                                     const void* srcData, size_t rowBytes) {
498 // both bits, we must make sure to set the destination bit if we are uploading srcData to the
502 VkFlags memProps = (srcData && linearTiling) ? VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT :
531 if (srcData) {
532 if (!this->uploadTexData(tex, 0, 0, desc.fWidth, desc.fHeight, desc.fConfig, srcData,
714 GrBackendObject GrVkGpu::createTestingOnlyBackendTexture(void* srcData, int w, int h,
732 if (srcData && !linearTiling) {
740 VkFlags memProps = (srcData && linearTiling) ? VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT :
762 if (srcData) {
794 // This assumes the srcData comes in with no padding.
796 memcpy(mapPtr, srcData, rowCopyBytes * h);
798 SkRectMemcpy(mapPtr, layout.rowPitch, srcData, w, rowCopyBytes, h);