summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorAlex Szpakowski <slime73@gmail.com>2018-01-03 00:43:01 -0400
committerAlex Szpakowski <slime73@gmail.com>2018-01-03 00:43:01 -0400
commit5b0bb001f15aee73b914ad988ae3ec342908ce11 (patch)
treec98eaac137065fb8a7d9e03f24260258ceb43479 /src/video
parent264d0b8a14c08f991cb2573677e4e0c3b60b3582 (diff)
downloadsdl-5b0bb001f15aee73b914ad988ae3ec342908ce11.tar.gz
metal: Misc. improvements.
- Use a single buffer for various non-changing constants accessed by the GPU, instead of multiple buffers. - Do the half-pixel offset for points and lines using a transform matrix so we don't need a malloc when rendering. - Don't add a half-pixel offset for other primitives and textures. This matches D3D and GL render behaviour. - Remove the half-texel texture coordinate offset since it's not needed now that there's no more half-pixel position offset when rendering a texture. - Don't try to set texture usage on iOS 8 since it doesn't exist there.
Diffstat (limited to 'src/video')
0 files changed, 0 insertions, 0 deletions