Age | Commit message (Collapse) | Author |
|
If we delete a texture, we need to keep the underlying tiled data buffer
around until any rendering that references it has completed.
Keep a list of buffers referenced by a rendering batch. Unref/free them when
the associated batch's fence is executed/signalled.
|
|
|
|
|
|
|
|
Allows glDrawPixels to work for now...
|
|
Though, the logf() call still needs attention.
|
|
|
|
|
|
This allows us to use 16-bit signed mul/add instructions. Had to
used unsigned mul before and there's no unsigned mul/add instruction.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Distinguish among texture targets in codegen.
progs/demos/cubemap.c runs correctly now too.
|
|
Use the spu_write_decrementer() and spu_read_decrementer() functions to
measure time. Convert to milliseconds according to the system timebase value.
|
|
|
|
Results in slightly tighter code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Though, progs/demos/cubemap.c doesn't quite work right...
|
|
|
|
glDrawPixels works now.
|
|
|
|
|
|
|
|
|
|
Though, only GL_MIPMAP_NEAREST / GL_LINEAR works right now.
|
|
|
|
Also handles images smaller than 32x32 now.
|
|
|
|
|
|
|
|
|