Skip to content
Commit a970b3b3 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Added an option for High Quality image downsampling for OpenGL canvas

1) This option activates a custom shader, which filters the image
   with a variation of trapezoidal filter using "one-but-nearest"
   mipmap level. This gives quite decent results, although it might
   be not perfect from the maths point of view.

2) The patch also sets the default texture size to 256. Otherwise
   activation of mipmap generation will make the painting with smaller
   brushes insanely slow. This happens because the mipmap is regenerated
   for the whole texture every time we change a small portion of it.

CCBUG:313502
parent e4f81c90
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment