aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Adding support to trunk for building Skia using the Android NDK.Gravatar djsollen@google.com2011-11-03
| | | | | | | | | | This CL depends on a subsequent CL to add the appropriate NDK toolchain and system sources to the skia repo. Review URL: http://codereview.appspot.com/5306089/ Review URL: http://codereview.appspot.com/5306089 git-svn-id: http://skia.googlecode.com/svn/trunk@2592 2bbb7eff-a529-9590-31e7-b0007b416f81
* speed up font cache creation (20x using FontScalerBench)Gravatar reed@google.com2011-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2591 2bbb7eff-a529-9590-31e7-b0007b416f81
* add hack for testing gSkSuppressFontCachePurgeSpewGravatar reed@google.com2011-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2589 2bbb7eff-a529-9590-31e7-b0007b416f81
* Line-endings only change (some windows line-endings snuck in)Gravatar bsalomon@google.com2011-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2588 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkDevice::onReadPixels take a const& rather than const*Gravatar bsalomon@google.com2011-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2587 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt ↵Gravatar bsalomon@google.com2011-11-02
| | | | | | (gpu code doesn't work in general in fixed pt). git-svn-id: http://skia.googlecode.com/svn/trunk@2586 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2584 (new test fails in fixed pt builds)Gravatar bsalomon@google.com2011-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2585 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changes the SkCanvas::readPixels API. Allows caller to read into prealloced ↵Gravatar bsalomon@google.com2011-11-02
| | | | | | | | | | bitmap pixels. Changes how clipping to device bounds is handled. Review URL: http://codereview.appspot.com/5307077/ git-svn-id: http://skia.googlecode.com/svn/trunk@2584 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix font id calculationGravatar caryclark@google.com2011-11-02
| | | | | | | | M src/ports/SkFontHost_mac_coretext.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2583 2bbb7eff-a529-9590-31e7-b0007b416f81
* up glyphcache hash table to 12bits (from 8bits).Gravatar reed@google.com2011-11-02
| | | | | | | | Experimenting shows that is the sweetspot when drawing lots of CJK git-svn-id: http://skia.googlecode.com/svn/trunk@2582 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add debug assert to detect failure of GDI cache hack.Gravatar vandebo@chromium.org2011-11-01
| | | | | | | | | | If we start hitting this check, then it's likely that something has regressed in WebKit. Original CL from arthurhsu@chromium.org: http://codereview.appspot.com/5322063/ Review URL: http://codereview.appspot.com/5320062 git-svn-id: http://skia.googlecode.com/svn/trunk@2581 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused copyPixelsFrom ... (copyPixelsTo is next on the chopping block)Gravatar reed@google.com2011-11-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2579 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix monospace glyph bounds on LionGravatar caryclark@google.com2011-11-01
| | | | | | | | M src/ports/SkFontHost_mac_coretext.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2578 2bbb7eff-a529-9590-31e7-b0007b416f81
* add getDeviceSize() so callers won't need to call getDevice() so muchGravatar reed@google.com2011-11-01
| | | | | | | | ... we hope to make devices private in the future git-svn-id: http://skia.googlecode.com/svn/trunk@2577 2bbb7eff-a529-9590-31e7-b0007b416f81
* match blitH computation for coverage in new blitRect for supersamplerGravatar reed@google.com2011-11-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2576 2bbb7eff-a529-9590-31e7-b0007b416f81
* specialize blitRect in supersampler:Gravatar reed@google.com2011-10-31
| | | | | | | | | 10% fast aa-roundrects blits, 2x faster aa-roundrect-clips building git-svn-id: http://skia.googlecode.com/svn/trunk@2575 2bbb7eff-a529-9590-31e7-b0007b416f81
* internalDrawBitmap is using kShaderTextureIdx. It should be ↵Gravatar bsalomon@google.com2011-10-31
| | | | | | kBitmapTextureIdx. No functional change, both are names for 0. git-svn-id: http://skia.googlecode.com/svn/trunk@2571 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement blitRect for aaclip builder. This speeds up setRect by 15x (for ↵Gravatar reed@google.com2011-10-31
| | | | | | 640x480) git-svn-id: http://skia.googlecode.com/svn/trunk@2566 2bbb7eff-a529-9590-31e7-b0007b416f81
* call blitRect in our convex scanconverter (next: take advantage of that in ourGravatar reed@google.com2011-10-31
| | | | | | | | region and soft-region builders, and in our supersampler) git-svn-id: http://skia.googlecode.com/svn/trunk@2563 2bbb7eff-a529-9590-31e7-b0007b416f81
* can't assume (ever :( ) that a 2-ptr src will convexGravatar reed@google.com2011-10-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2562 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't assume a 2-point path is convex, unless its also not closedGravatar reed@google.com2011-10-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2561 2bbb7eff-a529-9590-31e7-b0007b416f81
* handle when initial edges don't agree on start-yGravatar mike@reedtribe.org2011-10-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2560 2bbb7eff-a529-9590-31e7-b0007b416f81
* PDF: Fix bug in weak pointer pattern.Gravatar vandebo@chromium.org2011-10-30
| | | | | | | | | | | For Canonicalized objects, only remove an object from the canonical list if it is the canonical object and not if it is an instance equal to the canonical object. BUG=381 TBR=reed@google.com Review URL: http://codereview.appspot.com/5330058 git-svn-id: http://skia.googlecode.com/svn/trunk@2559 2bbb7eff-a529-9590-31e7-b0007b416f81
* Can't put a variable sized array of non-pod on the stack. Use ↵Gravatar mike@reedtribe.org2011-10-30
| | | | | | SkAutoTDeleteArray instead. git-svn-id: http://skia.googlecode.com/svn/trunk@2557 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix pure virtual call from destructor and turn VertBench back onGravatar bsalomon@google.com2011-10-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2556 2bbb7eff-a529-9590-31e7-b0007b416f81
* add convex special case in scanconverter. about 10% faster for modest ovals ↵Gravatar reed@google.com2011-10-28
| | | | | | and rrects git-svn-id: http://skia.googlecode.com/svn/trunk@2554 2bbb7eff-a529-9590-31e7-b0007b416f81
* reload base after we call memmoveGravatar reed@google.com2011-10-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2549 2bbb7eff-a529-9590-31e7-b0007b416f81
* warning fixesGravatar bsalomon@google.com2011-10-27
| | | | | | | | | Review URL http://codereview.appspot.com/5328050/ git-svn-id: http://skia.googlecode.com/svn/trunk@2548 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bad return type (should have been void)Gravatar reed@google.com2011-10-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2547 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add NULL GL context implementation. Use in bench (-nullgl) and SampleApp ↵Gravatar bsalomon@google.com2011-10-27
| | | | | | | | | (backspace key) Review URL: http://codereview.appspot.com/5303080/ git-svn-id: http://skia.googlecode.com/svn/trunk@2545 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extract GrDrawTarget::DrState into independent GrDrawState struct.Gravatar tomhudson@google.com2011-10-27
| | | | | | | | | This is intended to be a first step towards making the stack of states maintained by GrDrawTarget cheaper to maintain. git-svn-id: http://skia.googlecode.com/svn/trunk@2544 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leak, reset not called in ~GrTAllocatorGravatar bsalomon@google.com2011-10-27
| | | | | | | Review URL: http://codereview.appspot.com/5328047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2543 2bbb7eff-a529-9590-31e7-b0007b416f81
* now we trim the aaclip after building it, to ensure that it has tight boundsGravatar reed@google.com2011-10-27
| | | | | | | | around its (rle compressed) image. git-svn-id: http://skia.googlecode.com/svn/trunk@2542 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove warnings (trailing \, signed vs unsigned, parenthesization).Gravatar tomhudson@google.com2011-10-27
| | | | | | | | Convert some tabs into spaces. git-svn-id: http://skia.googlecode.com/svn/trunk@2541 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't use GrDrawTarget's AA state bit to convey whether to do custom-aaGravatar bsalomon@google.com2011-10-27
| | | | | | | | Review URL: http://codereview.appspot.com/5314061/ git-svn-id: http://skia.googlecode.com/svn/trunk@2539 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix cmdline argument passing in SampleApp/Mac.Gravatar senorblanco@chromium.org2011-10-26
| | | | | | | | | | | When SampleApp was ported to Cocoa, it lost the ability to pass a test name on the command line. Fix it. Review URL: http://codereview.appspot.com/5328042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2538 2bbb7eff-a529-9590-31e7-b0007b416f81
* add initial unittests for aaclip. Fix case where BuilderBlitter skipped the topGravatar reed@google.com2011-10-26
| | | | | | | | | | few scanlines (of its bounds) and therefore didn't know to trim its bounds back down. This can happen when the path's bounds are larger than the curve's bounds (i.e. the control points are outside of the tight-bounds of the shape.) git-svn-id: http://skia.googlecode.com/svn/trunk@2534 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unhelpful pixel cache in blitVGravatar reed@google.com2011-10-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2533 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move helper functions out of header file, write new genProgram helpers.Gravatar tomhudson@google.com2011-10-25
| | | | | | | | Review: codereview.appspot.com/5304045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2532 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for convex scan-converter (disabled for now)Gravatar reed@google.com2011-10-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2529 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't use LCD on grayscale devices.Gravatar caryclark@google.com2011-10-25
| | | | | | | | | | http://codereview.appspot.com/5281041 M src/ports/SkFontHost_mac_coretext.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2528 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't blend with zero in colorproc (forgot to return after memcpy check).Gravatar reed@google.com2011-10-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2527 2bbb7eff-a529-9590-31e7-b0007b416f81
* remember our convexity when we're transformed (when not perspective)Gravatar reed@google.com2011-10-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2526 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix Leopard glyph boundsGravatar caryclark@google.com2011-10-25
| | | | | | | | M src/ports/SkFontHost_mac_coretext.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2525 2bbb7eff-a529-9590-31e7-b0007b416f81
* get proc addresses of gl funcs not declared in gl SDK headers on macGravatar bsalomon@google.com2011-10-25
| | | | | | | | Review URL: http://codereview.appspot.com/5297057/ git-svn-id: http://skia.googlecode.com/svn/trunk@2524 2bbb7eff-a529-9590-31e7-b0007b416f81
* add support for local fontsGravatar caryclark@google.com2011-10-25
| | | | | | | | | | http://codereview.appspot.com/5295052/ M src/ports/SkFontHost_mac_coretext.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2523 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove duplicate GetFontStyle from SkFontHost_win.Gravatar bungeman@google.com2011-10-24
| | | | | | | http://codereview.appspot.com/5306058/ git-svn-id: http://skia.googlecode.com/svn/trunk@2522 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r2510 now that mac build bot issue has been fixed.Gravatar bsalomon@google.com2011-10-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2521 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some warnings on VS2010 Gravatar bsalomon@google.com2011-10-24
| | | | | | | | Review URL: http://codereview.appspot.com/5312051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2520 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix scalar=fixed by implementing SkRegion form of AntiFillRectGravatar reed@google.com2011-10-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2516 2bbb7eff-a529-9590-31e7-b0007b416f81