skia2/gyp
senorblanco@chromium.org 86fc266eda Implement SkXfermode image filter. This required changing the signature of SkXfermode::asNewEffectOrCoeffs(), to add an optional background texture.
For the raster path, we do a straightforward 2-pass method: draw background, then composite the foreground over it.

For the GPU path, if the xfermode can be expressed as an effect, we build an effect with the background texture incorporated, then do a single-pass draw fetching both foreground and background textures, and compositing to the result. If the xfermode is expressed as src/dst coefficients, we do a 2-pass draw as in the raster path and use fixed-function blending.

R=bsalomon@google.com, reed@google.com

Review URL: https://codereview.chromium.org/16125008

git-svn-id: http://skia.googlecode.com/svn/trunk@9373 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-31 17:49:12 +00:00
..
android_deps.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
animator.gyp Create SkLazyPixelRef which performs lazy decoding. 2013-02-22 21:38:35 +00:00
apptype_console.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
bench.gyp Add SHA1 and MD5 to utils. 2013-01-31 19:47:48 +00:00
bench.gypi add bench for blurred rectori case 2013-05-13 14:10:31 +00:00
cityhash.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
common_conditions.gypi add direct_dependencies for picture_utils, and add cflags_cc for android's gypi 2013-05-15 20:01:07 +00:00
common_variables.gypi Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
common.gypi Collect minidump and print callstack if an app chrashes. 2013-03-08 18:00:16 +00:00
core.gyp API modifications needed to upstream Android font changes. 2013-05-13 14:09:13 +00:00
core.gypi Separate core and images project. 2013-05-31 14:00:10 +00:00
debugger.gyp Copy NaCl directory into trunk/platform_tools, adjust paths 2013-05-06 12:50:00 +00:00
effects.gyp re-enable fast blur so I can rebaseline 2013-03-11 22:42:30 +00:00
effects.gypi Implement SkXfermode image filter. This required changing the signature of SkXfermode::asNewEffectOrCoeffs(), to add an optional background texture. 2013-05-31 17:49:12 +00:00
everything.gyp Gyp changes for NaCl debugger 2013-03-07 15:33:28 +00:00
experimental.gyp This takes the convex path tesselator from the Android code and hooks it into a 2013-01-09 21:04:52 +00:00
FileReaderApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
flags.gyp Change the name of SkFlags to SkCommandLineFlags. 2013-03-21 19:43:15 +00:00
freetype.gyp Remove the fno-rtti excluders now that fno-rtti is only passed to c++ files. 2013-05-16 14:53:28 +00:00
gm.gyp Write/compare against expectations in skimage tool. 2013-05-08 19:14:23 +00:00
gmslides.gypi Implement SkXfermode image filter. This required changing the signature of SkXfermode::asNewEffectOrCoeffs(), to add an optional background texture. 2013-05-31 17:49:12 +00:00
gpu.gyp Exclude angle dependency on non-angle builds 2013-05-03 14:00:34 +00:00
gpu.gypi Expand modulate, add, subtract, extract component glsl helpers. 2013-04-18 19:36:09 +00:00
images.gyp Separate core and images project. 2013-05-31 14:00:10 +00:00
jsoncpp.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libjpeg.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libwebp.gyp Remove the fno-rtti excluders now that fno-rtti is only passed to c++ files. 2013-05-16 14:53:28 +00:00
lua.gyp use define to work-around localeconf() missingness in android 2013-05-15 20:55:49 +00:00
most.gyp shape ops test fixes 2013-04-11 12:33:23 +00:00
nacl.gyp Copy NaCl directory into trunk/platform_tools, adjust paths 2013-05-06 12:50:00 +00:00
opts.gyp Update Android toolchain to NDK r8d with GCC 4.7 2013-01-23 18:56:38 +00:00
pathops_unittest.gyp fix build : add src\pathops to pathops_unittest 2013-04-25 14:28:14 +00:00
pathops_unittest.gypi path ops -- fix skp bugs 2013-05-07 18:51:31 +00:00
pathops.gypi remove deleted file from gyp 2013-04-22 20:09:23 +00:00
pdf.gyp Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream. 2013-04-24 13:01:01 +00:00
pixman_test.gyp more pixman work in progress 2012-10-16 12:32:33 +00:00
ports.gyp Change SkStream. 2013-05-29 13:43:31 +00:00
SampleApp.gyp expand SkLua to handle creation of its own State 2013-05-22 20:12:50 +00:00
sfnt.gyp XPS ttc handling. 2013-05-07 15:28:15 +00:00
shapeops_demo.gyp shape ops work in progress 2013-02-07 13:13:41 +00:00
shapeops_edge.gyp shape ops work in progress 2013-03-13 20:29:41 +00:00
shapeops_tool.gyp checkpoint for shape ops 2012-10-09 14:11:58 +00:00
SimpleCocoaApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
SimpleiOSApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
skia_base_libs.gyp Add freetype to skia_base_libs when building for NaCl 2013-03-01 20:28:57 +00:00
svg.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
tests.gyp Reland 'Add path utils, plus a test for it.' 2013-05-28 16:45:07 +00:00
tools.gyp Separate core and images project. 2013-05-31 14:00:10 +00:00
utils.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
views_animated.gyp Create SkLazyPixelRef which performs lazy decoding. 2013-02-22 21:38:35 +00:00
views.gyp Create SkLazyPixelRef which performs lazy decoding. 2013-02-22 21:38:35 +00:00
xml.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
xps.gyp XPS ttc handling. 2013-05-07 15:28:15 +00:00
zlib.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00