aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* handle overflowGravatar reed@google.com2011-04-18
| | | | | | | | | | note: gradient caller doesn't so we can still draw wrong when the caller converts its initial fx from float->fixed. Perhaps SkClampRange should offer a float interface as well. git-svn-id: http://skia.googlecode.com/svn/trunk@1149 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warningsGravatar reed@google.com2011-04-18
| | | | | | | | code style git-svn-id: http://skia.googlecode.com/svn/trunk@1147 2bbb7eff-a529-9590-31e7-b0007b416f81
* add fFx1 field, returning where to start the iterator for fCount1 rangeGravatar reed@google.com2011-04-18
| | | | | | | | add unittest git-svn-id: http://skia.googlecode.com/svn/trunk@1145 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable fast linear for now (really this time)Gravatar reed@google.com2011-04-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1144 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable fast linear until we handle the overflow casesGravatar reed@google.com2011-04-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1143 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Implement clear() method and a couple fixes.Gravatar vandebo@chromium.org2011-04-15
| | | | | | | | | + If the clip matches the initial clip, don't set the clip. + Don't change the transform for drawPaint. Review URL: http://codereview.appspot.com/4424041 git-svn-id: http://skia.googlecode.com/svn/trunk@1142 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] If the clip is empty, we shouldn't bother actually drawing anything.Gravatar vandebo@chromium.org2011-04-15
| | | | | | | | Plus, fix ifdef for flate test. Review URL: http://codereview.appspot.com/4420041 git-svn-id: http://skia.googlecode.com/svn/trunk@1141 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SK_USE_SLOW_2POINT_RADIAL_GRADIENT option for clients that like slownessGravatar reed@google.com2011-04-15
| | | | | | | | (or the previous images) git-svn-id: http://skia.googlecode.com/svn/trunk@1140 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkClampRange to speedup clamp iteratorsGravatar reed@google.com2011-04-15
| | | | | | | | speeds up linear gradients 4x git-svn-id: http://skia.googlecode.com/svn/trunk@1139 2bbb7eff-a529-9590-31e7-b0007b416f81
* move headerGravatar reed@google.com2011-04-15
| | | | | | | | fix warning in release build git-svn-id: http://skia.googlecode.com/svn/trunk@1136 2bbb7eff-a529-9590-31e7-b0007b416f81
* http://codereview.appspot.com/4373057/Gravatar Scroggo2011-04-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1135 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream android changes.Gravatar djsollen@google.com2011-04-15
| | | | | | | reviewed by: reed git-svn-id: http://skia.googlecode.com/svn/trunk@1134 2bbb7eff-a529-9590-31e7-b0007b416f81
* code styleGravatar reed@google.com2011-04-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1133 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimentalGravatar mike@reedtribe.org2011-04-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1132 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkCanvas::clear(SkColor color) to call the new virtual clear on device.Gravatar reed@google.com2011-04-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1131 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename SkDevice::eraseColor to clear and make virtual.Gravatar bsalomon@google.com2011-04-14
| | | | | | | | | | Properly flush in GrContext before calling GrGpu::clear() Review URL: http://codereview.appspot.com/4419043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1130 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warningsGravatar reed@google.com2011-04-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1129 2bbb7eff-a529-9590-31e7-b0007b416f81
* add reflection asColorMode to SkColorFilter (for gpu)Gravatar reed@google.com2011-04-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1126 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add genID for SkBitmaps with raw pixelsGravatar bsalomon@google.com2011-04-14
| | | | | | | | Review URL: http://codereview.appspot.com/4413047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1125 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix wrong class name used when unregistering class for dummy window in ↵Gravatar bsalomon@google.com2011-04-14
| | | | | | | | | | SkOsWindow_win.cpp Skia issue 212. git-svn-id: http://skia.googlecode.com/svn/trunk@1124 2bbb7eff-a529-9590-31e7-b0007b416f81
* add mask for paint-bits to layerdrawlooperGravatar mike@reedtribe.org2011-04-14
| | | | | | | | change addLayer variants that don't respect paint changes to return void git-svn-id: http://skia.googlecode.com/svn/trunk@1123 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix asMode() to always succeed if the xfermode was built from a ModeGravatar reed@google.com2011-04-13
| | | | | | | | | update dox to reflect this update test git-svn-id: http://skia.googlecode.com/svn/trunk@1121 2bbb7eff-a529-9590-31e7-b0007b416f81
* speed up 2-point-radial gradients by 9x, using float instead of fixedGravatar reed@google.com2011-04-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1118 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkFixed overflows in SkFixedSquare, SkGradientShader.Gravatar wjmaclean@chromium.org2011-04-13
| | | | | | Return SK_FixedMax when overflow occurs. git-svn-id: http://skia.googlecode.com/svn/trunk@1117 2bbb7eff-a529-9590-31e7-b0007b416f81
* return Coeff for kPlus_Mode and kMultiply_ModeGravatar reed@google.com2011-04-12
| | | | | | | | now these work correctly on the gpu git-svn-id: http://skia.googlecode.com/svn/trunk@1116 2bbb7eff-a529-9590-31e7-b0007b416f81
* expand SkLayerDrawLooper to allow for an xfermode when transfering the ↵Gravatar reed@google.com2011-04-12
| | | | | | | | | | paint's color, and allow that the offset be applied pre or post git-svn-id: http://skia.googlecode.com/svn/trunk@1115 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix missing assignment of fContext in new SkGpuDevice cons.Gravatar bsalomon@google.com2011-04-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1114 2bbb7eff-a529-9590-31e7-b0007b416f81
* Generalize the flip origin argument to the PDF device constructor.Gravatar vandebo@chromium.org2011-04-11
| | | | | | | | | | | The argument still has a default value that does what most users will want, but provides more flexibility. Chrome will use this change to support an initial translation of the origin to simulate a margin and to scale the entire content (needed on Windows). When landing to Chrome, this will need http://codereview.chromium.org/6820038 Review URL: http://codereview.appspot.com/4373052 git-svn-id: http://skia.googlecode.com/svn/trunk@1111 2bbb7eff-a529-9590-31e7-b0007b416f81
* add testing defines to test different blitters for antialiasing (RLE and mask)Gravatar reed@google.com2011-04-11
| | | | | | | | | speed up wide spans for maskblitter by accumulating 4-bytes at a time code style clean up git-svn-id: http://skia.googlecode.com/svn/trunk@1109 2bbb7eff-a529-9590-31e7-b0007b416f81
* Review URL: http://codereview.appspot.com/4360049/Gravatar bsalomon@google.com2011-04-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1107 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add APIs and plumbing for external rendertaret-textures w/ and w/out MSAA.Gravatar bsalomon@google.com2011-04-11
| | | | | | | | Review URL: http://codereview.appspot.com/4388049/ git-svn-id: http://skia.googlecode.com/svn/trunk@1102 2bbb7eff-a529-9590-31e7-b0007b416f81
* code styleGravatar reed@google.com2011-04-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1096 2bbb7eff-a529-9590-31e7-b0007b416f81
* code styleGravatar mike@reedtribe.org2011-04-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1095 2bbb7eff-a529-9590-31e7-b0007b416f81
* balance sk_malloc with sk_free (instead of delete[]) in SkAutoUCS2Gravatar mike@reedtribe.org2011-04-10
| | | | | | | | patch submitted by alean2...@gmail.com git-svn-id: http://skia.googlecode.com/svn/trunk@1094 2bbb7eff-a529-9590-31e7-b0007b416f81
* add init() to SkTLazy to create a default instanceGravatar mike@reedtribe.org2011-04-10
| | | | | | | | use SkLazyPaint in internalDrawBitmap git-svn-id: http://skia.googlecode.com/svn/trunk@1093 2bbb7eff-a529-9590-31e7-b0007b416f81
* coding styleGravatar mike@reedtribe.org2011-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1092 2bbb7eff-a529-9590-31e7-b0007b416f81
* coding styleGravatar mike@reedtribe.org2011-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1091 2bbb7eff-a529-9590-31e7-b0007b416f81
* coding style updatesGravatar mike@reedtribe.org2011-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1090 2bbb7eff-a529-9590-31e7-b0007b416f81
* update coding style - no logic changeGravatar mike@reedtribe.org2011-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1089 2bbb7eff-a529-9590-31e7-b0007b416f81
* fast return if no part of the paint gets replacedGravatar mike@reedtribe.org2011-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1088 2bbb7eff-a529-9590-31e7-b0007b416f81
* add CR at endGravatar reed@google.com2011-04-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1086 2bbb7eff-a529-9590-31e7-b0007b416f81
* unbias fy in the gpu glyphproc, since skia has pre-added 1/2 to the valueGravatar reed@google.com2011-04-08
| | | | | | | | | | | (assuming we would call floor to get a rounded value.) apply finalFYMask not to the initial fy, but to the fyMask (so it is always applied in the loop) in drawText. git-svn-id: http://skia.googlecode.com/svn/trunk@1084 2bbb7eff-a529-9590-31e7-b0007b416f81
* add optional bitflags to control which aspect of each layer's paint is appliedGravatar mike@reedtribe.org2011-04-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1083 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix node count in page tree.Gravatar vandebo@chromium.org2011-04-08
| | | | | | | | It should be the number of leaves below a given node, not the number of direct children in the node. Review URL: http://codereview.appspot.com/4355044 git-svn-id: http://skia.googlecode.com/svn/trunk@1082 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix infinite loop (doh)Gravatar mike@reedtribe.org2011-04-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1081 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix infinite loop if we have a drawfilter but no drawlooperGravatar mike@reedtribe.org2011-04-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1079 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a typo in my prior commit.Gravatar Scroggo2011-04-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1078 2bbb7eff-a529-9590-31e7-b0007b416f81
* BorgGravatar Scroggo2011-04-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1077 2bbb7eff-a529-9590-31e7-b0007b416f81
* Simplify drawloopers and drawfilters. This allows the canvas to keep itsGravatar reed@google.com2011-04-07
| | | | | | | | | promise that const SkPaint& stay const (so we don't have bugs if a const paint is referenced from two threads in pictures) git-svn-id: http://skia.googlecode.com/svn/trunk@1074 2bbb7eff-a529-9590-31e7-b0007b416f81
* round the alphamul so we don't overflow a byteGravatar reed@google.com2011-04-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1071 2bbb7eff-a529-9590-31e7-b0007b416f81