summaryrefslogtreecommitdiff
path: root/sys/src/libdraw/alloc.c
AgeCommit message (Collapse)Author
2016-03-08rio, libdraw: experimental removal of redundant flushimage() calls for ↵cinap_lenrek
roundtrip latency reduction - remove redundant flushimage() calls before readmouse() - remove flushimage() calls for allocimage(),freeimage() and originwindow() this is experimental. it will break allocimage() error handling unless the caller does explicit flushimage() calls, tho the gains in usability over high latency connections is huge. in most cases, programs will just terminate when encountering these errors.
2015-06-09libdraw: sync allocimage/allocwindow prototypes with man pagesftrvxmtrx
2015-06-09libdraw: consistent use of nil for pointers, error handlingcinap_lenrek
2013-06-16draw: add badrect() function to reject zero, negative size or orverly huge ↵cinap_lenrek
rectangles not checking the rectangle dimensions causes integer overflows and memory corruption. adding a new badrect() function that checks for these cases.
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen