aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
Commit message (Collapse)AuthorAge
* Improved codec link-forcing system by adding Encoder/Decoder creation entry ↵Gravatar robertphillips@google.com2012-03-23
| | | | | | | | | | | points http://codereview.appspot.com/5881055/ git-svn-id: http://skia.googlecode.com/svn/trunk@3481 2bbb7eff-a529-9590-31e7-b0007b416f81
* apply imagefilter to all draw callsGravatar reed@google.com2012-03-23
| | | | | | Review URL: https://codereview.appspot.com/5856048 git-svn-id: http://skia.googlecode.com/svn/trunk@3476 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove circular dependency of views and animator.Gravatar bungeman@google.com2012-03-23
| | | | | | | http://codereview.appspot.com/5874056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3473 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Move most of the headers to be private.Gravatar vandebo@chromium.org2012-03-22
| | | | | | | | | | Compute font stats in SkPDFDocument in order to make more of the headers private. Previous review: https://codereview.appspot.com/5868049/ Review URL: https://codereview.appspot.com/5875049 git-svn-id: http://skia.googlecode.com/svn/trunk@3470 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extended debug GL interface to include tracking of render buffersGravatar robertphillips@google.com2012-03-22
| | | | | | | | http://codereview.appspot.com/5875050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3469 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove mutual dependency of gr and skgr.Gravatar bungeman@google.com2012-03-22
| | | | | | | http://codereview.appspot.com/5879043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3467 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move SkBitSet to utils.Gravatar vandebo@chromium.org2012-03-21
| | | | | | Review URL: https://codereview.appspot.com/5875043 git-svn-id: http://skia.googlecode.com/svn/trunk@3460 2bbb7eff-a529-9590-31e7-b0007b416f81
* Utils must not depend on Views.Gravatar bungeman@google.com2012-03-21
| | | | | | | http://codereview.appspot.com/5867051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3459 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "[PDF] Move most of the headers to be private."Gravatar vandebo@chromium.org2012-03-21
| | | | | | | | | | This reverts r3457 TBR=epoger@google.com Review URL: https://codereview.appspot.com/5866051 git-svn-id: http://skia.googlecode.com/svn/trunk@3458 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Move most of the headers to be private.Gravatar vandebo@chromium.org2012-03-21
| | | | | | | | | | Compute font stats in SkPDFDocument in order to make more of the headers private. Previous review: https://codereview.appspot.com/5865048/ Review URL: https://codereview.appspot.com/5868049 git-svn-id: http://skia.googlecode.com/svn/trunk@3457 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-attempting Linux debug GL interface compiler complaint fix.Gravatar robertphillips@google.com2012-03-21
| | | | | | | | | | Fixed two additional compiler complaints. http://codereview.appspot.com/5845068/ git-svn-id: http://skia.googlecode.com/svn/trunk@3456 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "[PDF] Move most of the headers to be private."Gravatar vandebo@chromium.org2012-03-21
| | | | | | | | | | This reverts r3453 TBR=epoger@google.com Review URL: https://codereview.appspot.com/5869048 git-svn-id: http://skia.googlecode.com/svn/trunk@3454 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Move most of the headers to be private.Gravatar vandebo@chromium.org2012-03-21
| | | | | | | | Compute font stats in SkPDFDocument in order to make more of the headers private. Review URL: https://codereview.appspot.com/5865048 git-svn-id: http://skia.googlecode.com/svn/trunk@3453 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream changes from Android repository.Gravatar djsollen@google.com2012-03-21
| | | | | | Review URL: https://codereview.appspot.com/5752055 git-svn-id: http://skia.googlecode.com/svn/trunk@3449 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cast the result of SK_OFFSETOF to size_t to match offsetof() and avoid ↵Gravatar reed@google.com2012-03-21
| | | | | | narrowing conversion errors git-svn-id: http://skia.googlecode.com/svn/trunk@3446 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move SkClampRange into src/effects, where it isn't being advertised asGravatar tomhudson@google.com2012-03-20
| | | | | | | | | | something for end-users. http://codereview.appspot.com/5864044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3445 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix scaling issue when drawing text on a path.Gravatar djsollen@google.com2012-03-20
| | | | | | | | If the paint is stroked and the font size is small we were incorrectly rendering the sample text. Review URL: https://codereview.appspot.com/5844060 git-svn-id: http://skia.googlecode.com/svn/trunk@3437 2bbb7eff-a529-9590-31e7-b0007b416f81
* add optional updateMatrixClip param to getTopDevice(). Chrome should set thisGravatar reed@google.com2012-03-19
| | | | | | | | | only when it is needed, and in doing so it can stop using the layeriter just to get its top device. git-svn-id: http://skia.googlecode.com/svn/trunk@3432 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added debug GL Interface. This interface tracks various GL objects in order ↵Gravatar robertphillips@google.com2012-03-19
| | | | | | | | | | | to find leaks & invalid accesses. Core Review: http://codereview.appspot.com/5846049/ git-svn-id: http://skia.googlecode.com/svn/trunk@3426 2bbb7eff-a529-9590-31e7-b0007b416f81
* (SSE2) acceleration for rectangular opaque erases.Gravatar tomhudson@google.com2012-03-19
| | | | | | | | | | 15% speedup for rectangles < 31 px wide, 5% for larger. http://codereview.appspot.com/5843050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3423 2bbb7eff-a529-9590-31e7-b0007b416f81
* Skip unnecessary copies in GrPaint operator ==Gravatar bsalomon@google.com2012-03-16
| | | | | | | | Review URL: http://codereview.appspot.com/5846046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3417 2bbb7eff-a529-9590-31e7-b0007b416f81
* add IRect variant of getBounds()Gravatar reed@google.com2012-03-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3414 2bbb7eff-a529-9590-31e7-b0007b416f81
* decal mode babystepGravatar reed@google.com2012-03-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3413 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split GrTextContext into baseclass and subclassGravatar bsalomon@google.com2012-03-16
| | | | | | | | | | | | This is a step towards enabling alternate text rendering code paths (GLyphy in particular) Committed on behalf of baranowski@chromium.org Review URL: http://codereview.appspot.com/5796071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3412 2bbb7eff-a529-9590-31e7-b0007b416f81
* forward declare SkRectGravatar reed@google.com2012-03-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3410 2bbb7eff-a529-9590-31e7-b0007b416f81
* add getBounds() helperGravatar reed@google.com2012-03-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3409 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add CreateFallbackForScript to SkTypeface for Android.Gravatar djsollen@google.com2012-03-15
| | | | | | | | | | | | | | | WebKit uses HarfBuzz directly to do Complex Text Layout, so it needs to get the proper SkTypeface to pass it to HarfBuzz. However, on Android, fallback scripts have no name, and we can only get them by file name each time (CreateFromFile). This actually breaks the semantics of SkTypeface, which states 'The ID should be unique for the underlying font file/data, not unique per typeface instance.' And add 2 helper function to convert between FallbackScripts enum and font file name. These are useful for WebKit's FontCache, which needs string as key. https://codereview.appspot.com/5797066/ git-svn-id: http://skia.googlecode.com/svn/trunk@3403 2bbb7eff-a529-9590-31e7-b0007b416f81
* Expand SkMatrix type mask from uint8 to uint32, aligning the structGravatar tomhudson@google.com2012-03-15
| | | | | | | | | | | | so there's no uninitialized padding and potentially allowing future expansion. http://codereview.appspot.com/5824056/ http://code.google.com/p/skia/issues/detail?id=354 git-svn-id: http://skia.googlecode.com/svn/trunk@3395 2bbb7eff-a529-9590-31e7-b0007b416f81
* make commonBitmap un-virtual. That was a leftover from previous subclassingGravatar reed@google.com2012-03-15
| | | | | | | | I think. git-svn-id: http://skia.googlecode.com/svn/trunk@3394 2bbb7eff-a529-9590-31e7-b0007b416f81
* add kUTF32_TextEncodingGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3387 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix four memory leaks uncovered by valgrinding gm tests.Gravatar vandebo@chromium.org2012-03-14
| | | | | | | | | | | | | All are triggered by PDF code. Two are missing unref's on SkData. One is a missing unref on a SkAdvancedTypefaceMetrics. The last is missing destruction of SkClipStack internal state. BUG=526 Review URL: https://codereview.appspot.com/5824049 git-svn-id: http://skia.googlecode.com/svn/trunk@3386 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkFourByteInterp256 variant, when the caller has already scaled the lastGravatar reed@google.com2012-03-12
| | | | | | | | parameter to 0..256 git-svn-id: http://skia.googlecode.com/svn/trunk@3362 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix memory hungry inefficiency in pdf resource tracking.Gravatar vandebo@chromium.org2012-03-09
| | | | | | | | | | | | | When moving the content of a device into a PDF object like SkPDFFormXObject or SkPDFShader does, we only need the top level resources in the new object's resource list, not the recursive set of objects. Otherwise, when you put a form on a form on form, etc, references to the objects multiply. This fixed http://crbug.com/117321 Review URL: https://codereview.appspot.com/5796048 git-svn-id: http://skia.googlecode.com/svn/trunk@3360 2bbb7eff-a529-9590-31e7-b0007b416f81
* use higher precision (64bit) fixed-point for matrix procGravatar reed@google.com2012-03-07
| | | | | | Review URL: https://codereview.appspot.com/5772044 git-svn-id: http://skia.googlecode.com/svn/trunk@3336 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor Gaussian blur and morphology from SkGpuDevice into GrContext.Gravatar senorblanco@chromium.org2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5720060/ git-svn-id: http://skia.googlecode.com/svn/trunk@3327 2bbb7eff-a529-9590-31e7-b0007b416f81
* make skpaint2grpaint functions be local to skgpudevice.cppGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5726061/ git-svn-id: http://skia.googlecode.com/svn/trunk@3322 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SK_OVERRIDE where appropriate.Gravatar tomhudson@google.com2012-03-05
| | | | | | | | http://codereview.appspot.com/5734044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3318 2bbb7eff-a529-9590-31e7-b0007b416f81
* minor improvement, remove some conditionals in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5728060 git-svn-id: http://skia.googlecode.com/svn/trunk@3316 2bbb7eff-a529-9590-31e7-b0007b416f81
* simplify GrPathRenderer interfaceGravatar bsalomon@google.com2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5706053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3312 2bbb7eff-a529-9590-31e7-b0007b416f81
* Erode and dilate image filter effects, CPU and GPU implementations.Gravatar senorblanco@chromium.org2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5656067/ git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better workaround for osx / nv bugGravatar bsalomon@google.com2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5727044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3308 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove offscreen supersampler.Gravatar bsalomon@google.com2012-03-02
| | | | | | | | | | THIS IS EXPECTED TO BREAK MANY GM TESTS. They will be rebaselined. Review URL: http://codereview.appspot.com/5722044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3305 2bbb7eff-a529-9590-31e7-b0007b416f81
* move the post cleanup of the rec until after we wack it for maskfilterGravatar reed@google.com2012-03-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3297 2bbb7eff-a529-9590-31e7-b0007b416f81
* add experimental files to encapsulate device-level font settingsGravatar reed@google.com2012-03-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3292 2bbb7eff-a529-9590-31e7-b0007b416f81
* Workaround for chrome on mac buffer object performance issue.Gravatar bsalomon@google.com2012-03-01
| | | | | | | | Review URL: http://codereview.appspot.com/5713051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3289 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SKPaint's defaults (that might be configurable) into a headerGravatar reed@google.com2012-02-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3280 2bbb7eff-a529-9590-31e7-b0007b416f81
* reverting r3268 because of test failuresGravatar junov@chromium.org2012-02-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3270 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkDeferredCanvas, performance: small refactor to remove unnecessary ↵Gravatar junov@chromium.org2012-02-28
| | | | | | | | | | conditional branches on all canvas API calls REVIEW=http://codereview.appspot.com/5700086/ git-svn-id: http://skia.googlecode.com/svn/trunk@3268 2bbb7eff-a529-9590-31e7-b0007b416f81
* reapply r3259 (that was reverted) with fix.Gravatar djsollen@google.com2012-02-27
| | | | | | | The SkASSERT was incorrect and failing on debug runs. Review URL: https://codereview.appspot.com/5699071 git-svn-id: http://skia.googlecode.com/svn/trunk@3263 2bbb7eff-a529-9590-31e7-b0007b416f81
* Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track ↵Gravatar junov@chromium.org2012-02-24
| | | | | | | | | | | | | | matrix and clipping state Removed 'virtual' from a few canvas methods that no longer need it thanks to this change. BUG=http://code.google.com/p/skia/issues/detail?id=506 TEST=Canvas unit test REVIEW=http://codereview.appspot.com/5697052/ git-svn-id: http://skia.googlecode.com/svn/trunk@3261 2bbb7eff-a529-9590-31e7-b0007b416f81