aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib
AgeCommit message (Collapse)Author
2020-10-28Fix unnecessary threaded rendering frame dropsJustin Weiss
When DMA requests force a background queue flush, the update lace handler can no longer know there was a pending frame. If this happens often enough, it can delay the next frame indefinitely. Whenever the background queue is emptied, the next update_lace needs to force a render.
2020-10-22Allow threaded rendering for peops and enable on unixJustin Weiss
2020-10-22Add a threaded rendererJustin Weiss
This change adds a gpulib implementation that accepts GPU commands and runs them through a real gpulib implementation on a thread. Depending on a setting, it can either force a sync every frame, or continue to work until the next frame arrives.
2020-08-13Merge pull request #444 from justinweiss/hires-downscalehizzlekizzle
Add an option to downscale hi-res views
2020-08-13Add an option to downscale hi-res viewsJustin Weiss
Some older devices that use gpu_unai don't have a high enough resolution to display all of the pixels in high-res mode. There's a setting in unai to skip rendering of these pixels, but it's not connected to the libretro frontend, and does not appear to be used in the gpulib implementation at all. This commit adds a gpu_unai setting, Enable Hi-Res Downscaling, that will enable pixel skipping and blit only the pixels actually rendered into a buffer no larger than 384x240. This buffer is then treated as the actual framebuffer by gpulib and the libretro frontend.
2020-08-04Add header guardsnegativeExponent
2020-02-08gpulib: fix out-of-bounds reads in do_cmd_buffer()Daniel Silsby
When gpu.cmd_buffer[] is filling up, and the last 1 or 2 words in it are the beginning of a new vram read/write cmd, do_cmd_buffer() would access out-of-bounds, reading garbage pos/size data. Fixes corrupted gfx in this PS1 .exe test utility: https://github.com/PeterLemon/PSX/tree/master/CPUTest/CPU/LOADSTORE/LW (This and all similar tests on Peter's site). Note that gfx access in this utility is done entirely through cmds given through GPUwriteData(), i.e. direct CPU->GP0 stores, not DMA.
2019-12-17UpdatenegativeExponent
2017-05-06Adding enable/disable dithering core option with support for Neon GPUpjft
2015-02-05gpulib: remove unneeded hacknotaz
2015-02-03frontend: fix minor glitches on video mode changesnotaz
2015-01-12gpulib: use more conservative loop detectionnotaz
the old one was causing too many cache misses
2015-01-12some random improvementsnotaz
2013-02-08move cspace back to frontendnotaz
plugins no longer depend on it
2013-02-06disable standalone pluign buildsnotaz
these were for testing mostly, not for general use. Also fix a typo along the way.
2013-02-05frontend: do all bpp handling in plugin_libnotaz
2013-01-05gpulib: update after opennotaz
2013-01-05gpulib: limit heightnotaz
2013-01-04gpulib: fix frameskip cmd skippingnotaz
2012-12-23frontend: switch to libpicofe sdl codenotaz
2012-11-24gpulib: check mode change on blanknotaz
2012-11-24plugins: drop arch filename extensionsnotaz
they do more harm than good
2012-11-18frontend: overlay improvementsnotaz
work directly on psx vram
2012-11-18fix gun handling in enhancement modenotaz
2012-11-13fix some random corner casesnotaz
2012-11-05detect undefined symbols earlynotaz
2012-11-02move blit to core, allow filtering while blittingnotaz
also adds libpicofe to pull filters from, and filter related UI stuff
2012-10-24gpu: move enhacement logic out of vout_plnotaz
2012-10-24psx_gpu: select buffers differentlynotaz
this handles weird drawing areas better
2012-10-12various enhancement tweaksnotaz
2012-10-12start mmap'ing vram, with hugetlb if possiblenotaz
2012-10-12psx_gpu: start handling vram loads/moves for enhancementnotaz
2012-10-12psx_gpu: switch to 1024 width again.notaz
2012-10-12psx_gpu: switch enhancement to 2048 widthnotaz
otherwise games that position framebuffers horizontally corrupt the display.
2012-10-12add support for software-enhanced renderingnotaz
2012-08-01gpulib: don't lose a fill in frameskip modenotaz
..if it's done just before flip
2012-07-19gpulib: implement rgb888_to_rgb565notaz
and use it for menu
2012-07-19gpulib: clear fb when display is blankednotaz
2012-07-18psx_gpu: fix line cmd length and move w/h maskingnotaz
w/h masking untested, I'm lazy
2012-07-18gpulib: drop prim buffer on stateloadnotaz
obscure bugs otherwise
2012-05-27frontend: minor tweaksnotaz
2012-05-27automatically build pluginsnotaz
2012-04-29fix some build issues and warningsnotaz
2012-04-29gpu plugins: always support 16bpp blitnotaz
use this for generic sdl and maemo
2012-04-22rename vout_fb to vout_plnotaz
that code outputs through plugin_lib, which is not necessary fb.
2012-04-22bring in configure build systemnotaz
not using autotools, trying to do something similar like qemu instead.
2012-03-02gpulib: yet another frameskip hacknotaz
or should I call it heuristic?
2012-03-02gpulib: make gpulib.a a dependencynotaz
so that stuff rebuilds when it changes
2012-02-27gpulib: eliminate list scan-aheadnotaz
2012-02-27gpu_unai: update CFLAGSnotaz
avoid -fPIC if not really needed, no need for a performance hit