aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add support for 8 bits/component glyphs, toGravatar caryclark@google.com2011-06-22
| | | | | | | | | | | | | | | | | | | | better match the fonts produced by CoreText on OS/X. M include/config/SkUserConfig.h M include/core/SkMask.h M include/core/SkScalerContext.h M src/core/SkBlitter_ARGB32.cpp M src/core/SkScalerContext.cpp M src/core/SkPaint.cpp M src/gpu/SkGrFontScaler.cpp M src/ports/SkFontHost_mac_coretext.cpp M src/ports/SkFontHost_mac.cpp M gpu/include/GrTypes.h M gpu/src/GrAtlas.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@1672 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix more coverity defects - Uninitialized class fields.Gravatar vandebo@chromium.org2011-06-22
| | | | | | | | | | In SkCanvas, SkBitmapCache::Entry, SkDrawLooper CID=13440,1366,16236,14393 Review URL: http://codereview.appspot.com/4628055 git-svn-id: http://skia.googlecode.com/svn/trunk@1671 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix copy/paste error in GrDrawTarget::AutoStateRestore::setGravatar bsalomon@google.com2011-06-22
| | | | | | | | Review URL: http://codereview.appspot.com/4639063/ git-svn-id: http://skia.googlecode.com/svn/trunk@1670 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a batch of coverity defects, uninitialized class fields.Gravatar vandebo@chromium.org2011-06-21
| | | | | | | | | In SkClipStack::B2FIter::Clip, SkWriter32, SkClipStack::Rec, SkDeque::F2BIter, SkPDFShader::State CID 15427,15433,15533,15532,16274,16740 Review URL: http://codereview.appspot.com/4630055 git-svn-id: http://skia.googlecode.com/svn/trunk@1669 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some problems detected by coverity.Gravatar vandebo@chromium.org2011-06-21
| | | | | | | | | | | | - Uninitialized class member in GSCanonicalEntry and SkPDFDocument. - Incorrect sign extension in SkPDFFont. - Dead code in SkPDFUtils. CID=16262,16272,16273,16275 Review URL: http://codereview.appspot.com/4659041 git-svn-id: http://skia.googlecode.com/svn/trunk@1668 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix to free a plot when purging gr font cacheGravatar bsalomon@google.com2011-06-21
| | | | | | | | Review URL: http://codereview.appspot.com/4645054/ git-svn-id: http://skia.googlecode.com/svn/trunk@1667 2bbb7eff-a529-9590-31e7-b0007b416f81
* Handle possibly NULL deref in comparisonGravatar vandebo@chromium.org2011-06-21
| | | | | | | | | | | Committed on behalf of groby@chromium.org OCL=http://codereview.appspot.com/4633058/ CID=16790,16789 Review URL: http://codereview.appspot.com/4654049 git-svn-id: http://skia.googlecode.com/svn/trunk@1666 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initialize members to satisfy coverity.Gravatar bsalomon@google.com2011-06-21
| | | | | | | | Code review: http://codereview.appspot.com/4657043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1665 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove createDevice decl from SkProxyCanvas.h. Impl has already been removed ↵Gravatar bsalomon@google.com2011-06-21
| | | | | | | | | | in r1625. Review URL: http://codereview.appspot.com/4654047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1664 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add option in flattening to write factory names inline, as we are recording.Gravatar reed@google.com2011-06-21
| | | | | | | | | | | | | | | | | | | SkGPipe needs this, since it cannot (unlike SkPicture) see all of the factories before it hands its data to the reader. In this mode, the writer embedds the factory name the first time it sees it, and then after that writes an index (referencing the fFactorySet). The reader installs an empty array, and as it encounters names, appends them to that array so that subsequent indices can be used to retrieve the previously named factory. Some of the existing patheffects did not register their factory names, so those changes are also part of this CL. Annoyingly, to register your factory using the current scheme, it has to be in the public section of the class definition. git-svn-id: http://skia.googlecode.com/svn/trunk@1663 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor GrDrawTarget vertex/index apiGravatar bsalomon@google.com2011-06-21
| | | | | | | | Review URL: http://codereview.appspot.com/4631056/ git-svn-id: http://skia.googlecode.com/svn/trunk@1662 2bbb7eff-a529-9590-31e7-b0007b416f81
* SampleApp fixes.Gravatar Scroggo2011-06-21
| | | | | | | | | | | | | | On Android, delete gWindow before calling application_term, avoiding a crash each time the app closes. Also make sure the screen is redrawn when resuming. On Linux, delete gWindow to avoid memory leak. In general, allow moving from sample 0 to the last sample. Reviewed at http://codereview.appspot.com/4639060 git-svn-id: http://skia.googlecode.com/svn/trunk@1661 2bbb7eff-a529-9590-31e7-b0007b416f81
* change string read/write to store length as full 32-bit value. This simplifiesGravatar reed@google.com2011-06-21
| | | | | | | | | the internal logic, and allows SkFlattenable to rely on this when distinguishing between 0 and indices (which will soon be negative) and string-lengths. git-svn-id: http://skia.googlecode.com/svn/trunk@1660 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a way to save to PDF in SampleApp on Android and elsewhere.Gravatar Scroggo2011-06-21
| | | | | | | | | In Android, add the PDF file to downloads, so it can be opened. Reviewed at http://codereview.appspot.com/4638052/ git-svn-id: http://skia.googlecode.com/svn/trunk@1659 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changed mac specific files to use ApplicationServices rather than CarbonGravatar yangsu@google.com2011-06-21
| | | | | | | http://codereview.appspot.com/4644053/ git-svn-id: http://skia.googlecode.com/svn/trunk@1658 2bbb7eff-a529-9590-31e7-b0007b416f81
* update doxGravatar reed@google.com2011-06-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1657 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert the changes to gyp/images.gyp in r1654, as apparently they'reGravatar senorblanco@chromium.org2011-06-20
| | | | | | | | necessary for gm to build correctly. git-svn-id: http://skia.googlecode.com/svn/trunk@1655 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove some files from views.gyp that already being compiled into utils.gypGravatar senorblanco@chromium.org2011-06-20
| | | | | | | | | | (already done for Linux, this change does the same for Mac and Win). Review URL: http://codereview.appspot.com/4575044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1654 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace commit to trigger buildbotGravatar epoger@google.com2011-06-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1652 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable gpu tests when scalar==fixed,Gravatar reed@google.com2011-06-20
| | | | | | | | add baselines for fixedpoint strokes gm git-svn-id: http://skia.googlecode.com/svn/trunk@1651 2bbb7eff-a529-9590-31e7-b0007b416f81
* add mac desktop baselines for strokes gmGravatar reed@google.com2011-06-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1650 2bbb7eff-a529-9590-31e7-b0007b416f81
* add initial baselines for strokes gmGravatar reed@google.com2011-06-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1649 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselines for new testGravatar mike@reedtribe.org2011-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1648 2bbb7eff-a529-9590-31e7-b0007b416f81
* add strokes.cppGravatar mike@reedtribe.org2011-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1647 2bbb7eff-a529-9590-31e7-b0007b416f81
* inherit from SampleViewGravatar mike@reedtribe.org2011-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1646 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar mike@reedtribe.org2011-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1645 2bbb7eff-a529-9590-31e7-b0007b416f81
* another whitespace commitGravatar epoger@google.com2011-06-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1644 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace commitGravatar epoger@google.com2011-06-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1643 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix handling of nan when clamping number of pts in quads/cubicsGravatar bsalomon@google.com2011-06-17
| | | | | | | | Review URL: http://codereview.appspot.com/4646044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1642 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added FileReaderApp to experimental and it's corresponding gyp fileGravatar yangsu@google.com2011-06-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1641 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remember last successful stencil formatGravatar bsalomon@google.com2011-06-17
| | | | | | | | Review URL: http://codereview.appspot.com/4625048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1640 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Gradient2Bench colors so that Debug bench will run.Gravatar bungeman@google.com2011-06-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1639 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix self-assignment Gravatar bsalomon@google.com2011-06-17
| | | | | | | | Review URL: http://codereview.appspot.com/4631047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1637 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove redundant GrTouchGesture. Switch its only user to SkTouchGesture.Gravatar Scroggo2011-06-17
| | | | | | | Review at http://codereview.appspot.com/4636045/ git-svn-id: http://skia.googlecode.com/svn/trunk@1636 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrRenderTexture cons for gpu dev. Remove factory from gpu device.Gravatar bsalomon@google.com2011-06-17
| | | | | | | Review URL: http://codereview.appspot.com/4631046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1634 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added dependencies for SkPipe in SampleAppGravatar yangsu@google.com2011-06-17
| | | | | | | Fixed SkGPipeWrite to reflect changes in SkDevice git-svn-id: http://skia.googlecode.com/svn/trunk@1633 2bbb7eff-a529-9590-31e7-b0007b416f81
* Gyp files for Cocoa Debugger and Simple Cocoa AppGravatar yangsu@google.com2011-06-17
| | | | | | | http://codereview.appspot.com/4632045/ git-svn-id: http://skia.googlecode.com/svn/trunk@1632 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add graphing for multiple runs of bench.Gravatar bungeman@google.com2011-06-17
| | | | | | | http://codereview.appspot.com/4539087/ git-svn-id: http://skia.googlecode.com/svn/trunk@1628 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor fixes for SampleApp.Gravatar Scroggo2011-06-17
| | | | | | | | | - Add a comment for invalidating in onSizeChange. - Call base constructor for SkOSWindow_Unix. - Call onSizeChange in SampleWindow constructor so fZoomCenter gets set. git-svn-id: http://skia.googlecode.com/svn/trunk@1627 2bbb7eff-a529-9590-31e7-b0007b416f81
* -replay tests are only run if forward rendering succeeded.Gravatar tomhudson@google.com2011-06-17
| | | | | | | | | | | -serialize tests are only run if previous test (either -replay or forward rendering) succeeded. The results of -replay and -serialize are compared against the output of forward rendering. git-svn-id: http://skia.googlecode.com/svn/trunk@1626 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add createNewCompatibleDevice. Allow devices to have a NULL factory and ↵Gravatar bsalomon@google.com2011-06-17
| | | | | | | | | | saveLayer will fall back on createNewCompatibleDevice. Review URL: http://codereview.appspot.com/4633044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1625 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use SkTouchGesture to handle pinch events in Android SampleApp.Gravatar Scroggo2011-06-17
| | | | | | | http://codereview.appspot.com/4631043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1624 2bbb7eff-a529-9590-31e7-b0007b416f81
* Modified Pipe Reader to read an atom at a timeGravatar yangsu@google.com2011-06-16
| | | | | | | http://codereview.appspot.com/4636043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1623 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added CocoaDebugger to experimentalGravatar yangsu@google.com2011-06-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1622 2bbb7eff-a529-9590-31e7-b0007b416f81
* make SkDevice constructors explicit between offscreen and on/directGravatar reed@google.com2011-06-16
| | | | | | | | http://codereview.appspot.com/4632044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1620 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll back runhooks to fix production buildbotGravatar epoger@google.com2011-06-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1618 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add "runhooks" to run gyp step upon gclient sync, for buildbotGravatar epoger@google.com2011-06-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1617 2bbb7eff-a529-9590-31e7-b0007b416f81
* First pass at improving temporary tex/rt reuseGravatar bsalomon@google.com2011-06-16
| | | | | | | | | Review URL: http://codereview.appspot.com/4625043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1616 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better fix for changing the viewport in sample app.Gravatar Scroggo2011-06-16
| | | | | | | | | | | | | | Create a platform description and base the size on the SkWindow in order to create a RenderTarget, which results in changing the viewport. This allows us to use only GR calls. In the Android sample app, fix the problem where nothing is drawn in the first frame, and default to drawing in GL. Reviewed at http://codereview.appspot.com/4642043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1615 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added SimpleCocoaApp to the experimental directoryGravatar yangsu@google.com2011-06-16
| | | | | | | http://codereview.appspot.com/4576059/ git-svn-id: http://skia.googlecode.com/svn/trunk@1614 2bbb7eff-a529-9590-31e7-b0007b416f81