Author: Carlos Lopez <genet...@gmail.com> Date: Thu Jun 28 22:07:34 2012 +0200
Modify CairoSurface to receive a cairo_surface_t on creation. Add members to map and unmap the image surface from cairo surface. Add Target_Cairo class for targets that use CairoSurface. Add target2cairosurface target to render to a CairoSurface in memory with possibility to use the direct access to the data. New Layer::accelerated_render member to receive CairoSurface --- synfig-core/src/synfig/Makefile.am | 2 + synfig-core/src/synfig/layer.cpp | 28 +++ synfig-core/src/synfig/layer.h | 2 + synfig-core/src/synfig/render.h | 1 + synfig-core/src/synfig/surface.cpp | 139 ++++++++++++ synfig-core/src/synfig/surface.h | 57 ++++-- synfig-core/src/synfig/target_cairo.cpp | 367 +++---------------------------- synfig-core/src/synfig/target_cairo.h | 55 ++--- 8 files changed, 256 insertions(+), 395 deletions(-) Diff: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commitdiff;h=de6bcb2e129bdda914e0165f7d4fd3add865334f ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl