computation on graphics thread!