summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/opengl/shader/glsl_bilinear_rgb32_dir.fsh
Commit message (Collapse)AuthorAgeFilesLines
* Fix Two Issues with the glsl Bilinear Shader Aaron2017-12-301-5/+5
| | | | | | | | | 1. Off-by-one pixel coordinates 2. Sampling of wrong pixels at some non-integer stretch factors First was noticed while comparing screenshots of the software and opengl w/glsl renderers (opengl output was shifted up and to the right). Fixed by subtracting a 1/2 pixel from the texture coordinates when calculating the bottom left pixel to use for interpolation. Second was apparent when running pac-man fullscreen on a 1920x1080 screen and allowing non-integer stretching. Manifested as irregular horizontal 'steps' in the output. Fixed by sampling from the center of all pixels which should avoid any funny business in regards to pixel coordinate rounding.
* Missed a few files (nw) Miodrag Milanovic2016-03-051-1/+2
|
* Moved opengl related stuff to modules/opengl couriersud2015-02-261-0/+54