summaryrefslogtreecommitdiff
path: root/src/cairo-win32.h
diff options
context:
space:
mode:
authornisanthmp <nisanth.mp@samsung.com>2015-12-02 12:57:34 +0530
committernisanthmp <nisanth.mp@samsung.com>2015-12-18 13:20:33 +0530
commit629101d0a6e2af32727ca0b14acaceddb0897e6c (patch)
tree9c6820465caf673ca40d5b1a9f91c1cd90dd003a /src/cairo-win32.h
parentca3e6d75aaf63e5f77bc31975d77a20cbc5407ca (diff)
downloadcairo-629101d0a6e2af32727ca0b14acaceddb0897e6c.tar.gz
cairo-629101d0a6e2af32727ca0b14acaceddb0897e6c.tar.bz2
cairo-629101d0a6e2af32727ca0b14acaceddb0897e6c.zip
Pattern/GL: Avoid texture creation for radial gradients
with 2 color stops When there are only two color stops in the gradient, we can avoid creating textures before hand, and directly calculate the gradient color in the fragment shader. This speeds up gradient pattern rendering. Change-Id: I758b7bc8f37293edbe546fcc4a55f71a7f3c55ae Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
Diffstat (limited to 'src/cairo-win32.h')
0 files changed, 0 insertions, 0 deletions