aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Update SkCoInitialize to better match spec.Gravatar bungeman@google.com2011-09-16
| | | | | | | http://codereview.appspot.com/5036044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2274 2bbb7eff-a529-9590-31e7-b0007b416f81
* make string's reference counting thread-safeGravatar reed@google.com2011-09-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2268 2bbb7eff-a529-9590-31e7-b0007b416f81
* add override for max-text-size for lcdGravatar reed@google.com2011-09-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2258 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkCanvas::getClipDescription() and getClipDeviceBounds() so clients don'tGravatar tomhudson@google.com2011-09-13
| | | | | | | | | need to explicitly get the exact clip & compute those values themselves. (We may be able to provide description/bounds more cheaply than the exact clip.) git-svn-id: http://skia.googlecode.com/svn/trunk@2255 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2250 - removal of setMatrixClip() - because Chrome makes heavy useGravatar tomhudson@google.com2011-09-13
| | | | | | | | of those functions in a way we're not yet ready to clean up. git-svn-id: http://skia.googlecode.com/svn/trunk@2254 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SK_RESTRICT to mask procsGravatar reed@google.com2011-09-13
| | | | | | | | separate out opaque and non for lcd16 blits git-svn-id: http://skia.googlecode.com/svn/trunk@2253 2bbb7eff-a529-9590-31e7-b0007b416f81
* set max size for lcdtextGravatar reed@google.com2011-09-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2252 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replaces SkDevice::setMatrixClip() with markMatrixDirty() and markClipDirty(),Gravatar tomhudson@google.com2011-09-12
| | | | | | | | | | | which require no arguments and so may be called without requiring the matrix and clip to be completely evaluated. De-inlines virtual functions in SkDevice interface. git-svn-id: http://skia.googlecode.com/svn/trunk@2250 2bbb7eff-a529-9590-31e7-b0007b416f81
* [gpu] Remove getMaxStretch for perspective, use mapRadius for perspective ↵Gravatar bsalomon@google.com2011-09-09
| | | | | | | | | | path subdiv tol, add test Review URL: http://codereview.appspot.com/4975063/ git-svn-id: http://skia.googlecode.com/svn/trunk@2246 2bbb7eff-a529-9590-31e7-b0007b416f81
* cache offscreen HDCGravatar reed@google.com2011-09-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2245 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable premul check for now in 16bit blit, until we cleanup GDI's messGravatar reed@google.com2011-09-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2241 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve gpu path subdiv with perspective, remove tolerance scale, fix commentGravatar bsalomon@google.com2011-09-07
| | | | | | | | Review URL: http://codereview.appspot.com/4993041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2239 2bbb7eff-a529-9590-31e7-b0007b416f81
* use templated skipT() for skipping structs within a readerGravatar reed@google.com2011-09-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2238 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkPoint::CanNormalize to unify decisions about when a vector is degenerateGravatar reed@google.com2011-09-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2236 2bbb7eff-a529-9590-31e7-b0007b416f81
* add impl for drawBitmapNineGravatar reed@google.com2011-09-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2234 2bbb7eff-a529-9590-31e7-b0007b416f81
* add drawBitmapNine to canvasGravatar reed@google.com2011-09-07
| | | | | | | | will add to device soon I think git-svn-id: http://skia.googlecode.com/svn/trunk@2233 2bbb7eff-a529-9590-31e7-b0007b416f81
* detect when scale is really 1.0, and don't mis-mark our flags to kScaleGravatar reed@google.com2011-09-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2230 2bbb7eff-a529-9590-31e7-b0007b416f81
* Ignore blur margin fix flag for backward bug compatibility.Gravatar bungeman@google.com2011-09-06
| | | | | | | http://codereview.appspot.com/4981046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2219 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix realloc->reset rename missed in mac fileGravatar bsalomon@google.com2011-09-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2216 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename existing nonpreserving reallocs to reset, add reset to SkAutoMalloc, ↵Gravatar bsalomon@google.com2011-09-02
| | | | | | | | | use reset in GrBufferAllocPool Review URL: http://codereview.appspot.com/4951058/ git-svn-id: http://skia.googlecode.com/svn/trunk@2215 2bbb7eff-a529-9590-31e7-b0007b416f81
* outset 2 on all sides, as we now find some CJK fonts that are off byGravatar reed@google.com2011-09-02
| | | | | | | | | that amount when we compare the bounds returned by GetGlyphOutline and what GDI actually draws. git-svn-id: http://skia.googlecode.com/svn/trunk@2214 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce size of filter mask.Gravatar bungeman@google.com2011-09-02
| | | | | | | | | http://codereview.appspot.com/4965057/ Reduce the size of filter masks, fix HQ blur when clipped, and add tests. git-svn-id: http://skia.googlecode.com/svn/trunk@2211 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added SimpleiOSApp and updated iOSSampleAppGravatar yangsu@google.com2011-08-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2202 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename getBounds to getGlobalBounds, since it now takes the device's originGravatar reed@google.com2011-08-30
| | | | | | | | into account. Remove unused intersects(). git-svn-id: http://skia.googlecode.com/svn/trunk@2193 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed key handling code in Mac SampleAppGravatar yangsu@google.com2011-08-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2192 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkMatrix::getPerspectiveTypeMaskOnly() and SkMatrix::isTriviallyIdentity().Gravatar tomhudson@google.com2011-08-30
| | | | | | | | | Reduces profile time in setConcat() and computeTypeMask() for demos that do a lot of matrix concatenation. git-svn-id: http://skia.googlecode.com/svn/trunk@2191 2bbb7eff-a529-9590-31e7-b0007b416f81
* Switched Mac SampleApp to use Cocoa, removed the seperate CocoaSampleApp, ↵Gravatar yangsu@google.com2011-08-30
| | | | | | moved dependencies out of experimental git-svn-id: http://skia.googlecode.com/svn/trunk@2190 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix pictures to not skip-over clip ops that might expand the clipGravatar reed@google.com2011-08-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2187 2bbb7eff-a529-9590-31e7-b0007b416f81
* rolling back the experimental rollbacks in r2178-2179Gravatar epoger@google.com2011-08-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2180 2bbb7eff-a529-9590-31e7-b0007b416f81
* rolling tree back to its state as of r2169 to see if that fixes Windows ↵Gravatar epoger@google.com2011-08-26
| | | | | | buildbots git-svn-id: http://skia.googlecode.com/svn/trunk@2179 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't intersect clipstack with root device boundsGravatar bsalomon@google.com2011-08-25
| | | | | | | | Review URL: Don't intersect clipstack with root device bounds git-svn-id: http://skia.googlecode.com/svn/trunk@2175 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove compiler warnings (Linux clang, mostly).Gravatar tomhudson@google.com2011-08-25
| | | | | | | | | | Fix indentation. Remove unnecessary virtual destructor. codereview.appspot.com/4965043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2171 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SkComputeAxisAlignmentForHText(const SkMatrix& matrix) out of inline,Gravatar reed@google.com2011-08-24
| | | | | | | | | since that isn't really necessary, and it is generating a warning/error for some builds ('defined but not used') git-svn-id: http://skia.googlecode.com/svn/trunk@2169 2bbb7eff-a529-9590-31e7-b0007b416f81
* respect subpixel positioningGravatar reed@google.com2011-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2165 2bbb7eff-a529-9590-31e7-b0007b416f81
* More prep work in Gr for landing AA hairline renderer.Gravatar bsalomon@google.com2011-08-23
| | | | | | | | Review URL: http://codereview.appspot.com/4944045 git-svn-id: http://skia.googlecode.com/svn/trunk@2164 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clean up PDF code for text decoration change.Gravatar bungeman@google.com2011-08-23
| | | | | | | http://codereview.appspot.com/4939044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2163 2bbb7eff-a529-9590-31e7-b0007b416f81
* Core skia changes to prepare for Gr AA Hairline rendererGravatar bsalomon@google.com2011-08-23
| | | | | | | | Review URL: http://codereview.appspot.com/4940045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2160 2bbb7eff-a529-9590-31e7-b0007b416f81
* Gpu can draw underlined text.Gravatar bungeman@google.com2011-08-22
| | | | | | | http://codereview.appspot.com/4919047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2154 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactor utility code to create a mask (any format) from the path, for thoseGravatar reed@google.com2011-08-22
| | | | | | | | | | | | | | | cases when we need to do that instead of the scalercontext subclass (e.g. stroking, patheffects, etc.) This also now keeps the LCD formats, rather than forcing those down to grayscale. This also respects subpixel position when it requests the path from the subclass. Note it is still up to the subclass to notice that, and potentially adjust their hinting to respect subpixelness (e.g. hinting in Y but not X for horizontal text) git-svn-id: http://skia.googlecode.com/svn/trunk@2153 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow the y-baseline to float except when text is horizontal, as we were alreadyGravatar reed@google.com2011-08-22
| | | | | | | | | doing for the gpu case. Note: drawPosText was already behaving this way, this change just brings drawText into line with drawPosText. git-svn-id: http://skia.googlecode.com/svn/trunk@2152 2bbb7eff-a529-9590-31e7-b0007b416f81
* silence end of file LF warning on chrome's mac buildsGravatar bsalomon@google.com2011-08-22
| | | | | | | | Review URL: http://codereview.appspot.com/4921042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2149 2bbb7eff-a529-9590-31e7-b0007b416f81
* No effect cleanup in pdf code.Gravatar ctguil@chromium.org2011-08-20
| | | | | | Review URL: http://codereview.appspot.com/4927042 git-svn-id: http://skia.googlecode.com/svn/trunk@2146 2bbb7eff-a529-9590-31e7-b0007b416f81
* Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary ↵Gravatar bsalomon@google.com2011-08-19
| | | | | | | | | | to support it. Review URL: http://codereview.appspot.com/4928041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2144 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use gcc intrinsic functions for atomic incr and decrGravatar bsalomon@google.com2011-08-18
| | | | | | | | Review URL: http://codereview.appspot.com/4894055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2138 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Subset font advance data (W array).Gravatar vandebo@chromium.org2011-08-18
| | | | | | | | | | Patch by arthurhsu@chromium.org. Original CL: http://codereview.appspot.com/4830068 http://codereview.appspot.com/4905051/ Review URL: http://codereview.appspot.com/4911042 git-svn-id: http://skia.googlecode.com/svn/trunk@2134 2bbb7eff-a529-9590-31e7-b0007b416f81
* Canvas to handle null layer device.Gravatar bungeman@google.com2011-08-17
| | | | | | | | | | http://codereview.appspot.com/4907045/ See also http://code.google.com/p/chromium/issues/detail?id=93000. git-svn-id: http://skia.googlecode.com/svn/trunk@2130 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Improve generation of glyph advance array." This reverts commit r2126Gravatar vandebo@chromium.org2011-08-16
| | | | | | | | | | gm segfaults in font id retrieval. TBR=arthurhsu@chromium.org Review URL: http://codereview.appspot.com/4901049 git-svn-id: http://skia.googlecode.com/svn/trunk@2128 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve generation of glyph advance array.Gravatar vandebo@chromium.org2011-08-16
| | | | | | Review URL: http://codereview.appspot.com/4830068 git-svn-id: http://skia.googlecode.com/svn/trunk@2126 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrContext::drawCustomVerticesGravatar bsalomon@google.com2011-08-16
| | | | | | | | Review URL: http://codereview.appspot.com/4910042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2124 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unneeded sk/gr conversion codeGravatar bsalomon@google.com2011-08-16
| | | | | | | | Review URL: http://codereview.appspot.com/4876055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2123 2bbb7eff-a529-9590-31e7-b0007b416f81