aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Make GrGLProgram be responsible for calling setData on custom stages.Gravatar bsalomon@google.com2012-10-22
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6752044 git-svn-id: http://skia.googlecode.com/svn/trunk@6027 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added ability to extract SkBitmaps to filter toolGravatar robertphillips@google.com2012-10-19
| | | | | | | | https://codereview.appspot.com/6748043/ git-svn-id: http://skia.googlecode.com/svn/trunk@6021 2bbb7eff-a529-9590-31e7-b0007b416f81
* Speculative fix for Chrome bug in SkClipStack::isWideOpenGravatar robertphillips@google.com2012-10-19
| | | | | | | | https://codereview.appspot.com/6743048/ git-svn-id: http://skia.googlecode.com/svn/trunk@6019 2bbb7eff-a529-9590-31e7-b0007b416f81
* GPU: add failure checks for the scratch textures used in Gaussian blur.Gravatar robertphillips@google.com2012-10-19
| | | | | | | | | | https://codereview.appspot.com/6744047/ On behalf of senorblanco git-svn-id: http://skia.googlecode.com/svn/trunk@6014 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6013 2bbb7eff-a529-9590-31e7-b0007b416f81
* Place r5997 (make arcto's convex) behind a compiler flag to delay day of ↵Gravatar robertphillips@google.com2012-10-19
| | | | | | reckoning with Webkit baselines git-svn-id: http://skia.googlecode.com/svn/trunk@6012 2bbb7eff-a529-9590-31e7-b0007b416f81
* PDF: Fail fast if in the tree of resources a child references a parent. ↵Gravatar edisonn@google.com2012-10-18
| | | | | | | | Ideally I want a crash when the tree of resources became corrupt, not later when we try to finalize the pdf. Review URL: https://codereview.appspot.com/6740047 git-svn-id: http://skia.googlecode.com/svn/trunk@6006 2bbb7eff-a529-9590-31e7-b0007b416f81
* Altered arcTo's canonical points to (usually) be convexGravatar robertphillips@google.com2012-10-18
| | | | | | | | | | https://codereview.appspot.com/6709051/ This will require rebaselining of: degeneratesegments, shadertext & shadertext2 git-svn-id: http://skia.googlecode.com/svn/trunk@5997 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5989 2bbb7eff-a529-9590-31e7-b0007b416f81
* Attempt to patch GR_STATIC_RECT_VB pathGravatar robertphillips@google.com2012-10-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5988 2bbb7eff-a529-9590-31e7-b0007b416f81
* Munch the incoming inverse to force nearly-no-scale to no-scale, if we thinkGravatar reed@google.com2012-10-17
| | | | | | | | | | the cheat won't be noticed. This allows us to take a fast case if the caller gave us a matrix scale of (for instance) 1.0000001 instead of 1.0 drawBitmap already has this logic, it just wasn't ever propogated to bitmapShader before. Review URL: https://codereview.appspot.com/6720052 git-svn-id: http://skia.googlecode.com/svn/trunk@5987 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing refcount leak in SkBitmapHeap caused by collisions in SkFlatDictionaryGravatar junov@chromium.org2012-10-17
| | | | | | | | BUG=http://code.google.com/p/chromium/issues/detail?id=155875 TEST=DeferredCanvas unit test, subtest TestDeferredCanvasBitmapShaderNoLeak Review URL: https://codereview.appspot.com/6713048 git-svn-id: http://skia.googlecode.com/svn/trunk@5982 2bbb7eff-a529-9590-31e7-b0007b416f81
* wrap check for gLCDSupported w/ a guard, so we don't have to grab the mutexGravatar reed@google.com2012-10-17
| | | | | | | on every call to FilterRec. Review URL: https://codereview.appspot.com/6713052 git-svn-id: http://skia.googlecode.com/svn/trunk@5978 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make table color filter use asNewCustomStage.Gravatar bsalomon@google.com2012-10-17
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6713051 git-svn-id: http://skia.googlecode.com/svn/trunk@5976 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use GrCustomStage to implement color matrix.Gravatar bsalomon@google.com2012-10-17
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6716044 git-svn-id: http://skia.googlecode.com/svn/trunk@5975 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make Ganesh's resource cache limits more representativeGravatar robertphillips@google.com2012-10-17
| | | | | | | | https://codereview.appspot.com/6709048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5974 2bbb7eff-a529-9590-31e7-b0007b416f81
* Separate out the texture matrix from the coord-system change matrix in ↵Gravatar bsalomon@google.com2012-10-17
| | | | | | | | | GrSamplerState. This is a step towards moving texture matrix to GrCustomStage. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6721047 git-svn-id: http://skia.googlecode.com/svn/trunk@5973 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5972 2bbb7eff-a529-9590-31e7-b0007b416f81
* fast case for translate-only repeat bitmapshader, so Tom can be happyGravatar reed@google.com2012-10-16
| | | | | | Review URL: https://codereview.appspot.com/6721045 git-svn-id: http://skia.googlecode.com/svn/trunk@5971 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r5963 with two fixes:Gravatar bsalomon@google.com2012-10-16
| | | | | | | | | Missing ref in GrSweepGradient::TestCreate. Must reset() the sampler in setup_drawstate_aaclip() to avoid hitting a (dubious) assert. git-svn-id: http://skia.googlecode.com/svn/trunk@5964 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r5962 because of failures.Gravatar bsalomon@google.com2012-10-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5963 2bbb7eff-a529-9590-31e7-b0007b416f81
* Require matrix for custom stage to be set when custom stage is installed.Gravatar bsalomon@google.com2012-10-16
| | | | | | Review URL: https://codereview.appspot.com/6696044 git-svn-id: http://skia.googlecode.com/svn/trunk@5962 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid deadlock in SkGetFallbackFamilyNameForChar().Gravatar djsollen@google.com2012-10-15
| | | | | | | | | | | | The deaklock happened when SkFontHost::CreateTypefaceFromStream() is called indirectly from SkGetFallbackFamilyNameForChar(). This commits a change that was submitted for review by... wangxianzhu1 @ https://codereview.appspot.com/6654051/ Review URL: https://codereview.appspot.com/6690044 git-svn-id: http://skia.googlecode.com/svn/trunk@5956 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use AutoMatrix in GrTextContextGravatar bsalomon@google.com2012-10-15
| | | | | | Review URL: https://codereview.appspot.com/6691043 git-svn-id: http://skia.googlecode.com/svn/trunk@5952 2bbb7eff-a529-9590-31e7-b0007b416f81
* Spell correct some comments.Gravatar bsalomon@google.com2012-10-15
| | | | | | | | Unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@5951 2bbb7eff-a529-9590-31e7-b0007b416f81
* #define SK_DISABLE_EXTRACTSUBSET_OPAQUE_FIX to keep old, slow, non-opaque ↵Gravatar reed@google.com2012-10-15
| | | | | | | | | | | | | | | behavior in SkBitmap::extractSubset. This will allow chrome to keep this behavior until we can fix the callers in PNG and WEBP image decoders, that are incorrectly marking partially-loaded images as opaque (which they aren't, since they have undecoded pixels, which need to be transparent). git-svn-id: http://skia.googlecode.com/svn/trunk@5949 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change FreeType lcd filter to provide better results.Gravatar bungeman@google.com2012-10-13
| | | | | | | | | https://codereview.appspot.com/6652046/ Will require rebaselines on systems using lcd smoothed FreeType. git-svn-id: http://skia.googlecode.com/svn/trunk@5944 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5943 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delete SkWidget.cpp, which has been #ifdef'ed out for 4+ years.Gravatar tfarina@chromium.org2012-10-12
| | | | | | | | R=epoger@google.com Review URL: https://codereview.appspot.com/6650055 git-svn-id: http://skia.googlecode.com/svn/trunk@5942 2bbb7eff-a529-9590-31e7-b0007b416f81
* retool fFilterOne[X,Y] to store the translate dx, dy, so we can avoid floatGravatar reed@google.com2012-10-12
| | | | | | | | conversions on every scanline. git-svn-id: http://skia.googlecode.com/svn/trunk@5939 2bbb7eff-a529-9590-31e7-b0007b416f81
* When two or more color matrix image filters are connected together, and the ↵Gravatar senorblanco@chromium.org2012-10-12
| | | | | | | | non-leaf matrices do not require clamping, we can concatenate their matrices and apply them together. Review URL: https://codereview.appspot.com/6489054 git-svn-id: http://skia.googlecode.com/svn/trunk@5931 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkShader::asShadeProc to fast-path the caller when the shader is fastGravatar reed@google.com2012-10-12
| | | | | | Review URL: https://codereview.appspot.com/6649055 git-svn-id: http://skia.googlecode.com/svn/trunk@5930 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fonts with cubic outlines are rendered without ClearType by GDI.Gravatar bungeman@google.com2012-10-12
| | | | | | | https://codereview.appspot.com/6643060/ git-svn-id: http://skia.googlecode.com/svn/trunk@5929 2bbb7eff-a529-9590-31e7-b0007b416f81
* reland 5926 w/ fix in middle loop (thank you asserts)Gravatar reed@google.com2012-10-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5928 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 5926 (debug assert)Gravatar reed@google.com2012-10-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5927 2bbb7eff-a529-9590-31e7-b0007b416f81
* add shaderproc32 for translate+clamp+nofilter.Gravatar reed@google.com2012-10-12
| | | | | | | todo: should be pretty easy to have a variant for repeat tilemode as well Review URL: https://codereview.appspot.com/6658053 git-svn-id: http://skia.googlecode.com/svn/trunk@5926 2bbb7eff-a529-9590-31e7-b0007b416f81
* Beef up GrContext::AutoMatrix to handle doing GrPaint matrix adjustments.Gravatar bsalomon@google.com2012-10-12
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6656047 git-svn-id: http://skia.googlecode.com/svn/trunk@5918 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix matrix type in setRectToRectGravatar reed@google.com2012-10-12
| | | | | | Review URL: https://codereview.appspot.com/6655055 git-svn-id: http://skia.googlecode.com/svn/trunk@5913 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3219. r3219 was a revert of r3036. r3036 made extractSubset copy the ↵Gravatar bsalomon@google.com2012-10-12
| | | | | | | | | | | | opaque bit but was reverted because of a partally-loaded jpeg issue in WK which has since been fixed: https://bugs.webkit.org/show_bug.cgi?id=78239 Related chrome bug: http://code.google.com/p/chromium/issues/detail?id=114107 git-svn-id: http://skia.googlecode.com/svn/trunk@5911 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn on GPU AA clippingGravatar robertphillips@google.com2012-10-12
| | | | | | | | https://codereview.appspot.com/6638048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5909 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5908 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing SkDeferredCanvas to not consider paint as opaque when xfermode source ↵Gravatar junov@chromium.org2012-10-11
| | | | | | | | | | | | | coeff depends on destination pixel value TEST=DeferredCanvas unit test BUG=http://code.google.com/p/chromium/issues/detail?id=154748 git-svn-id: http://skia.googlecode.com/svn/trunk@5907 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minimize use of SkDraw's matrix in SkGpuDevice.Gravatar bsalomon@google.com2012-10-11
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6604068 git-svn-id: http://skia.googlecode.com/svn/trunk@5906 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkTCopyOnFirstWriteGravatar bsalomon@google.com2012-10-11
| | | | | | | R=reed@google.com Review URL: https://codereview.appspot.com/6650047 git-svn-id: http://skia.googlecode.com/svn/trunk@5905 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off some debugging statements.Gravatar scroggo@google.com2012-10-11
| | | | | | Review URL: https://codereview.appspot.com/6646044 git-svn-id: http://skia.googlecode.com/svn/trunk@5903 2bbb7eff-a529-9590-31e7-b0007b416f81
* CreateTypefaceFromFile for GDI.Gravatar bungeman@google.com2012-10-11
| | | | | | | https://codereview.appspot.com/6658045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5901 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5892 2bbb7eff-a529-9590-31e7-b0007b416f81
* This patch implements generalized DAG connectivity for SkImageFilter. ↵Gravatar senorblanco@chromium.org2012-10-10
| | | | | | | | | | SkImageFilter maintains a list of inputs, which can be constructed either from a SkImageFilter** or zero or more SkImageFilter* arguments (varargs). Existing filters which maintained their own filter connectivity were refactored to use the new constructors and flattening/unflattening code. Modifying the remaining filters which are not yet DAG-friendly is left for future work; they are considered to have zero inputs for now. Review URL: https://codereview.appspot.com/6443119 git-svn-id: http://skia.googlecode.com/svn/trunk@5891 2bbb7eff-a529-9590-31e7-b0007b416f81
* Draw hairline text as path.Gravatar bsalomon@google.com2012-10-10
| | | | | | | R=reed@google.com Review URL: https://codereview.appspot.com/6632060 git-svn-id: http://skia.googlecode.com/svn/trunk@5884 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r5861 but leave setMatrixClip virtual on SkDevice (IOW this is a ↵Gravatar bsalomon@google.com2012-10-10
| | | | | | | | | partial revert of r5871 which reverted r5861). Unreviewed Review URL: https://codereview.appspot.com/6631062 git-svn-id: http://skia.googlecode.com/svn/trunk@5881 2bbb7eff-a529-9590-31e7-b0007b416f81