summaryrefslogtreecommitdiffstats
path: root/virtual-programs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | text: Do text shaping in COmar Rizwan2023-10-251-74/+110
| | | | | |
| * | | | | web-editor: Hacks so slower glslc errors propagate to editor in timeOmar Rizwan2023-10-232-7/+10
| | | | | |
| * | | | | display: Warn instead of error for deprecated methodsOmar Rizwan2023-10-233-32/+68
| | | | | | | | | | | | | | | | | | | | | | | | Clean up camera/display/calibration reactivity slightly
| * | | | | text: Simplify loopOmar Rizwan2023-10-231-2/+1
| | | | | |
| * | | | | display: Simplify GPU statement -> pipeline dispatchOmar Rizwan2023-10-231-22/+13
| | | | | |
| * | | | | shapes: Use explicit a/an instead of wildcardOmar Rizwan2023-10-231-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Permanently fixes overeager matching errors against image and sprite whens
| * | | | | display: Catch missing shaderOmar Rizwan2023-10-161-16/+24
| | | | | |
| * | | | | stroke: Use instances. Idk if this helps muchOmar Rizwan2023-10-141-2/+3
| | | | | |
| * | | | | sprites: Fix to use wishOmar Rizwan2023-10-131-1/+1
| | | | | |
| * | | | | shapes: Fix unadorned shape wishOmar Rizwan2023-10-131-1/+6
| | | | | |
| * | | | | fill,shapes,circle,connections: Breaking: Fix shapesOmar Rizwan2023-10-134-72/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shapes all now work by wishes; connections has been ported to use these wishes.
| * | | | | arc: Re-add arc supportOmar Rizwan2023-10-131-0/+39
| | | | | |
| * | | | | Merge branch 'main' into osnr/multiple-on-process-blocksOmar Rizwan2023-10-131-0/+2
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | text: Restore font supportOmar Rizwan2023-10-131-4/+20
| | | | | |
| * | | | | display: nitOmar Rizwan2023-10-131-1/+0
| | | | | |
| * | | | | display: Report shader compilation errors, catch render errorsOmar Rizwan2023-10-131-3/+13
| | | | | |
| * | | | | fill: Fix quad fill (& mask-tags)Omar Rizwan2023-10-131-1/+1
| | | | | |
| * | | | | display,mask-tags,fill: Add layer supportOmar Rizwan2023-10-133-20/+25
| | | | | | | | | | | | | | | | | | | | | | | | Only implemented minimum for mask-tags for now.
| * | | | | image: Actually fix cache mathOmar Rizwan2023-10-131-2/+2
| | | | | |
| * | | | | image,Gpu: Fix cache, for the most part (was double-freeing)Omar Rizwan2023-10-131-1/+3
| | | | | |
| * | | | | image: WIP: Replace cache refcount with simpler LRU schemeOmar Rizwan2023-10-131-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't really want to be constantly throwing out and recopying images when they flip and back, and it's not a big deal to fault an image now. Works well for static Toph image; doesn't work for camera slice yet (validation errors, and it just blinks a lot).
| * | | | | images: WIP: camera sliceOmar Rizwan2023-10-121-1/+1
| | | | | |
| * | | | | image: WIP: Images are starting to work.Omar Rizwan2023-10-124-50/+66
| | | | | |
| * | | | | display: Error on Display:: calls; implement titles with wishOmar Rizwan2023-10-123-5/+9
| | | | | |
| * | | | | text: Batch glyphs into one wish -- fixes performance.Omar Rizwan2023-10-122-1/+14
| | | | | |
| * | | | | text: Draw with wish; stops the blinking bug.Omar Rizwan2023-10-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (because now, the text draws every frame, instead of just when it happens to change.)
| * | | | | dict getdef -> dict_getdef. Much, much fasterOmar Rizwan2023-10-063-4/+4
| | | | | |
| * | | | | display/text: Write glyphs straight to displaylist. Hack, but fasterOmar Rizwan2023-10-062-11/+13
| | | | | |
| * | | | | display: WIP: Refactor into files; use wishes, not Display::Omar Rizwan2023-10-0620-442/+441
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose shader stuff to user programs for the first time. Mostly works, but display thread and main thread run much slower (28fps display, 70fps main). Also introduce dict getwithdefault (helpful for rest options).
| * | | | | Merge branch 'main' into osnr/multiple-on-process-blocksOmar Rizwan2023-10-065-43/+76
| |\ \ \ \ \
| * | | | | | process: Allow running multiple On process blocks on processOmar Rizwan2023-10-063-24/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn off share wishes/claims default for subprocesses, so you (for now) have to explicitly specify sharing if you want any to happen. On process now only spawns process if it doesn't exist but always runs the code block (which now happens through a statement instead of directly on init).
* | | | | | | Add back tag is a tag statementNaveen Michaud-Agrawal2023-10-101-0/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge pull request #98 from FolkComputer/nm/display-arcOmar Rizwan2023-10-091-0/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | Implement arc primitive
| * | | | | | display: Remove filled arg from arcOmar Rizwan2023-10-091-3/+3
| | | | | | |
| * | | | | | Implement arc primitiveNaveen Michaud-Agrawal2023-10-071-0/+32
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | The arc is specified as start angle (from positive x axis) plus arc length (both in the range [0, 2*pi))
* / | | | | Add claim for display sizeNaveen Michaud-Agrawal2023-10-071-0/+2
|/ / / / /
* | | | | images: Fix saving images with strideOmar Rizwan2023-10-061-12/+13
| | | | |
* | | | | Merge pull request #96 from FolkComputer/nm/object-programsOmar Rizwan2023-10-062-22/+23
|\ \ \ \ \ | | | | | | | | | | | | Support other objects having programs
| * | | | | Support other objects having programsNaveen Michaud-Agrawal2023-10-052-22/+23
| | | | | |
* | | | | | display: Make image cache shrink when more fonts are loadedOmar Rizwan2023-10-061-1/+1
| | | | | |
* | | | | | display: Catch errors, so we don't hard crash if font doesn't existOmar Rizwan2023-10-061-1/+4
| | | | | |
* | | | | | oops, forgot to add to the 2nd functionArcade Wise2023-10-061-1/+1
| | | | | |
* | | | | | Add changing fonts as an option to text renderingArcade Wise2023-10-062-7/+35
| |/ / / / |/| | | |
* | | | | camera,calibrate: Fixing really bad breakage from refactorsOmar Rizwan2023-10-021-17/+2
| | | | | | | | | | | | | | | | | | | | (mostly undoing refactor; also pointer fix in calibrate)
* | | | | display: Camera slice works! Always evict stale draw set imagesOmar Rizwan2023-09-301-0/+12
| | | | |
* | | | | main,display: Version the Folk heap; evict stale/unused images.Omar Rizwan2023-09-301-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | This at least keeps camera slices from crashing the system. TODO: Don't draw stale images.
* | | | | Use c struct for image_tOmar Rizwan2023-09-292-23/+22
| | | | | | | | | | | | | | | | | | | | Preparing to invent managed references
* | | | | display: Fix text extent computation / centeringOmar Rizwan2023-09-291-1/+3
| | | | |
* | | | | main,camera: Can now free things from Folk interprocess heapOmar Rizwan2023-09-291-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | Finish switch to dlmalloc. Get rid of hacky mempool in camera and just use the heap.
* | | | | display: Load images before starting Gpu frameOmar Rizwan2023-09-281-4/+13
| | | | |