skia2/gyp
reed@google.com f1ab723033 Change drawBitmapRect to take a float-src-rect instead of integer-src-rect. This
allows the client more control over the scaling. Because of virtual overrides
and wanting to keep the old call-sites up and running, this CL renames the
virtual entry-point to drawBitmapRectToRect, and downgrades drawBitmapRect to
a non-virtual helper function.

The implementation is to use the float-rect for computing the matrix, but still
cons-up an integer rect for the purposes of subsetting the original bitmap. We
do this by calling float_src->roundOut(&int_src) so that we include all
(partially) covered src pixels.

No change needed on SkDevice, since that signature is explicitly passed the
computed matrix.
Review URL: https://codereview.appspot.com/6501140

git-svn-id: http://skia.googlecode.com/svn/trunk@5578 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-18 12:59:44 +00:00
..
all.gyp Some final cleanups leading up to The Official Switch to Gyp 2011-06-07 14:48:41 +00:00
android_deps.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
android_system.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
angle.gyp Add ANGLE to DEPS, integrate build 2012-09-04 16:45:05 +00:00
animator.gyp Revert 3538. 2012-03-29 14:51:56 +00:00
apptype_console.gypi Set bench/gm/tests as explicit dependencies of SkiaAndroidApp (trunk) 2012-08-09 15:54:28 +00:00
bench.gyp Create GPU-less build of Skia. 2012-08-02 14:03:32 +00:00
bench.gypi Report data from bench_pictures in the same fashion as bench. 2012-09-07 15:21:18 +00:00
common_conditions.gypi re-apply 5508, but with the new compile-flag disabled for now 2012-09-12 21:08:33 +00:00
common_variables.gypi Fix noisy Android build 2012-09-11 21:37:28 +00:00
common.gypi Remove SK_FONTHOST_WIN_DW define. 2012-08-16 17:35:58 +00:00
core.gyp Add effects/core.gypi to 'sources' to make them appear in VS projects 2012-09-04 14:37:12 +00:00
core.gypi Temporarily revert r5433 due to http://www.crbug.com/148637 until after M23 branch. 2012-09-14 20:30:37 +00:00
debugger.gyp Added 4.6.2 prefix to existing debugger moc files 2012-09-06 18:04:07 +00:00
effects.gyp Fix Android build of render_pictures 2012-09-10 14:41:26 +00:00
effects.gypi Implements the non-Porter-Duff compositing modes required for SVG's feBlend 2012-08-22 16:24:44 +00:00
experimental.gyp Revert 3538. 2012-03-29 14:51:56 +00:00
FileReaderApp.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
freetype.gyp Make all gyp targets automatically include common.gypi 2012-03-16 13:52:49 +00:00
gm.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
gmslides.gypi Change drawBitmapRect to take a float-src-rect instead of integer-src-rect. This 2012-09-18 12:59:44 +00:00
gpu.gyp Add effects/core.gypi to 'sources' to make them appear in VS projects 2012-09-04 14:37:12 +00:00
gpu.gypi Move GrTextureAccess decl/defn to separate files 2012-09-11 13:29:29 +00:00
images.gyp Set bench/gm/tests as explicit dependencies of SkiaAndroidApp (trunk) 2012-08-09 15:54:28 +00:00
iOSSampleApp.gyp Add a header for OverView.cpp as well. 2012-09-18 01:52:20 +00:00
libjpeg.gyp Set no rtti option to avoid warnings on Android. 2012-05-11 13:29:32 +00:00
opts.gyp arm: dynamic NEON support for SkBitmapProcState functions. 2012-08-13 14:06:34 +00:00
pdf.gyp [PDF] Move most of the headers to be private. 2012-03-22 20:45:15 +00:00
ports.gyp Add NaCl port of Skia 2012-09-04 21:09:40 +00:00
SampleApp.gyp Add a header for OverView.cpp as well. 2012-09-18 01:52:20 +00:00
sfnt.gyp Make all gyp targets automatically include common.gypi 2012-03-16 13:52:49 +00:00
shapeops_demo.gyp shape ops work in progress 2012-08-27 14:11:33 +00:00
shapeops_edge.gyp shape ops work in progress 2012-08-27 14:11:33 +00:00
SimpleCocoaApp.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
svg.gyp Make all gyp targets automatically include common.gypi 2012-03-16 13:52:49 +00:00
tests.gyp For a picture playback with nothing written, use an empty SkData. 2012-09-14 17:26:37 +00:00
tools.gyp Enable automatic rescaling in bench_pictures 2012-09-14 14:34:28 +00:00
utils.gyp Add NaCl port of Skia 2012-09-04 21:09:40 +00:00
views_animated.gyp Move animated view headers to correct directory. 2012-07-10 21:54:31 +00:00
views.gyp Create GPU-less build of Skia. 2012-08-02 14:03:32 +00:00
xml.gyp Revert 3538. 2012-03-29 14:51:56 +00:00
xps.gyp Fixing gm build with SkXPSDevice enabled 2012-04-03 20:20:47 +00:00
zlib.gyp Make all gyp targets automatically include common.gypi 2012-03-16 13:52:49 +00:00