aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Remove Bitmaps Raw Pixel Support.Gravatar djsollen@google.com2012-07-23
| | | | | | | | bitmap.setPixels(...) now creates a mutable pixelRef instead of just setting fPixels. Review URL: https://codereview.appspot.com/6419044 git-svn-id: http://skia.googlecode.com/svn/trunk@4722 2bbb7eff-a529-9590-31e7-b0007b416f81
* update images after gpu changesGravatar reed@google.com2012-07-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4721 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkTRefArray to share readonly data between picturesGravatar reed@google.com2012-07-23
| | | | | | Review URL: https://codereview.appspot.com/6351121 git-svn-id: http://skia.googlecode.com/svn/trunk@4720 2bbb7eff-a529-9590-31e7-b0007b416f81
* add protected method for internal_dispose overrides to jam fRefCnt beforeGravatar reed@google.com2012-07-23
| | | | | | | | | calling destructor. move SkTRefArray to actually inherit from SkRefCnt Review URL: https://codereview.appspot.com/6422057 git-svn-id: http://skia.googlecode.com/svn/trunk@4719 2bbb7eff-a529-9590-31e7-b0007b416f81
* Response to post-commit review comments on r4714Gravatar junov@chromium.org2012-07-23
| | | | | | | | | Correcting formatting and adding const in SkDeferredCanvas.h Unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@4718 2bbb7eff-a529-9590-31e7-b0007b416f81
* update images after gpu changeGravatar reed@google.com2012-07-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4717 2bbb7eff-a529-9590-31e7-b0007b416f81
* removing incorrect imageGravatar reed@google.com2012-07-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4716 2bbb7eff-a529-9590-31e7-b0007b416f81
* In SkWriter32::writeString, initialize all memory reserved.Gravatar scroggo@google.com2012-07-23
| | | | | | | | | | | | SkFlatData compares data which is sometimes created by writeString. Initialize all the memory in writeString so it does not compare uninitialized memory. See http://code.google.com/p/skia/issues/detail?id=721&thanks=721 Review URL: https://codereview.appspot.com/6428054 git-svn-id: http://skia.googlecode.com/svn/trunk@4715 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix unbound memory consumption problem with run away deferred canvases.Gravatar junov@chromium.org2012-07-23
| | | | | | | | | | | | With this CL, deferred canvases will trigger a flush when then the memory allocated for recording commands (including flattened objects) exceeds 64MB. TEST=DeferredCanvas skia unit test, test step TestDeferredCanvasMemoryLimit BUG=http://code.google.com/p/chromium/issues/detail?id=137884 Review URL: https://codereview.appspot.com/6425053 git-svn-id: http://skia.googlecode.com/svn/trunk@4714 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-07-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4713 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for memory leaks in debug-buildGravatar reed@google.com2012-07-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4712 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkData to share between record and playbackGravatar reed@google.com2012-07-21
| | | | | | | | use SkReader32 on the stack, as a step towards thread-reentrant playback git-svn-id: http://skia.googlecode.com/svn/trunk@4711 2bbb7eff-a529-9590-31e7-b0007b416f81
* include <new> since we use placement-newGravatar reed@google.com2012-07-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4710 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkTRefArray, in hopes that it will enable more sharing between ↵Gravatar reed@google.com2012-07-21
| | | | | | | | | | pictureplaybacks in different threads. git-svn-id: http://skia.googlecode.com/svn/trunk@4709 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added picture recording benchmark options to bench.Gravatar keyar@chromium.org2012-07-20
| | | | | | | | | | | | -forceRecording benchmarks how long it takes C++ code to be recorded into a picture. -forcePictureRecording benchmarks how long it takes a picture to be recorded into a picture. Preliminary investigation shows that the second benchmarks can often be much faster than the first. Will rerun these benchmarks and upload the results somewhere when/if this code is committed. Review URL: https://codereview.appspot.com/6404055 git-svn-id: http://skia.googlecode.com/svn/trunk@4708 2bbb7eff-a529-9590-31e7-b0007b416f81
* render_pictures can now do tiling based rendering.Gravatar keyar@chromium.org2012-07-20
| | | | | | Review URL: https://codereview.appspot.com/6401057 git-svn-id: http://skia.googlecode.com/svn/trunk@4707 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a ton of GPU baseline images. Gravatar bsalomon@google.com2012-07-20
| | | | | | | | Review URL: http://codereview.appspot.com/6428065/ git-svn-id: http://skia.googlecode.com/svn/trunk@4706 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace change to trigger Skia buildbots after master update/restartGravatar epoger@google.com2012-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4704 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added asNewCustomStage to SkShader and implemented it for all the gradient ↵Gravatar rileya@google.com2012-07-20
| | | | | | | | | shaders. Not actually hooked up yet, but it should be ready to replace asABitmap for a future CL. Review URL: https://codereview.appspot.com/6351113 git-svn-id: http://skia.googlecode.com/svn/trunk@4702 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix build break in r4694: move reset() call before setting custom stage on ↵Gravatar tomhudson@google.com2012-07-20
| | | | | | | | | | | | sampler. Over-the-shoulder review by bsalomon@. http://codereview.appspot.com/6419061/ git-svn-id: http://skia.googlecode.com/svn/trunk@4700 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline Nexus S gradient GMs for bilinear filtering change (r4680).Gravatar rileya@google.com2012-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4699 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add flag to skip pipe on select GMsGravatar borenet@google.com2012-07-20
| | | | | | | | Confirmed with scroggo@ that these should not be run with pipe. Review URL: https://codereview.appspot.com/6405068 git-svn-id: http://skia.googlecode.com/svn/trunk@4698 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r4695Gravatar junov@chromium.org2012-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4697 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable bitmapcopy gm on AndroidGravatar borenet@google.com2012-07-20
| | | | | | | | | | This has been failing on Nexus S. Disable so that we don't miss further regressions. Bug @ http://code.google.com/p/skia/issues/detail?id=705 Review URL: https://codereview.appspot.com/6427053 git-svn-id: http://skia.googlecode.com/svn/trunk@4696 2bbb7eff-a529-9590-31e7-b0007b416f81
* Try turning on the SkGPipe path in SkDeferredCanvasGravatar junov@chromium.org2012-07-20
| | | | | | | | Unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@4695 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove easily-removable uses of setTexture(), instead creating a ↵Gravatar tomhudson@google.com2012-07-20
| | | | | | | | | | | | GrSingleTextureEffect - where feasible, through convenience function on GrDrawState. http://codereview.appspot.com/6425055/ git-svn-id: http://skia.googlecode.com/svn/trunk@4694 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove assertion when texture matrix is unusedGravatar bsalomon@google.com2012-07-20
| | | | | | | Review URL: http://codereview.appspot.com/6420054/ git-svn-id: http://skia.googlecode.com/svn/trunk@4693 2bbb7eff-a529-9590-31e7-b0007b416f81
* Made clarifying renamings to SkClipStack's iterators (and added to unit test)Gravatar robertphillips@google.com2012-07-20
| | | | | | | | http://codereview.appspot.com/6423051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4692 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix color filter LUT (install custom stage after reset of sampler). Over the ↵Gravatar bsalomon@google.com2012-07-20
| | | | | | shoulder review by TomH. git-svn-id: http://skia.googlecode.com/svn/trunk@4691 2bbb7eff-a529-9590-31e7-b0007b416f81
* Work around unused matrix uniform assertion for color filter LUT.Gravatar bsalomon@google.com2012-07-20
| | | | | | | Review URL: http://codereview.appspot.com/6420054/ git-svn-id: http://skia.googlecode.com/svn/trunk@4690 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkNEW instead of new for lighting effects.Gravatar tomhudson@google.com2012-07-20
| | | | | | | | http://codereview.appspot.com/6351112/ git-svn-id: http://skia.googlecode.com/svn/trunk@4689 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove stage masksGravatar bsalomon@google.com2012-07-20
| | | | | | | | Review URL: http://codereview.appspot.com/6422047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4688 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding new steps to Canvas unit test to validate that the deferredGravatar junov@chromium.org2012-07-20
| | | | | | | | | | | | | canvas state coherence test case passes with sequences of draw commands that trigger flushes and purges of deferred draw commands. This CL confirms that using SkGPipe fixes the deferred canvas issues that are the root problem of crbug.com/133432 BUG=https://code.google.com/p/chromium/issues/detail?id=133432 Review URL: https://codereview.appspot.com/6416049 git-svn-id: http://skia.googlecode.com/svn/trunk@4687 2bbb7eff-a529-9590-31e7-b0007b416f81
* removing trailing ',' on last entry in enum, to fix warningGravatar reed@google.com2012-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4686 2bbb7eff-a529-9590-31e7-b0007b416f81
* #include "SkTemplates.h"Gravatar reed@google.com2012-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4685 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkPaint::getPosTextPath(), with gm to test itGravatar reed@google.com2012-07-20
| | | | | | Review URL: https://codereview.appspot.com/6427055 git-svn-id: http://skia.googlecode.com/svn/trunk@4684 2bbb7eff-a529-9590-31e7-b0007b416f81
* Addition of new-lines at end of files to correct Chromium builds.Gravatar twiz@google.com2012-07-19
| | | | | | Review URL: https://codereview.appspot.com/6423061 git-svn-id: http://skia.googlecode.com/svn/trunk@4683 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing heap corruption issue in deferred canvas when using SkGPipe.Gravatar junov@chromium.org2012-07-19
| | | | | | | | Swapping the declaration order of fPipeController and fPipeWriter to make sure that the writer is destroyed first before the controller. Review URL: https://codereview.appspot.com/6427054 git-svn-id: http://skia.googlecode.com/svn/trunk@4682 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline after enabling bilinear filtering for gpu linear gradients.Gravatar rileya@google.com2012-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4681 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GPU linear gradients do bilinear filtering.Gravatar rileya@google.com2012-07-19
| | | | | | | This will require GM (and webkit) rebaselines. Review URL: https://codereview.appspot.com/6431048 git-svn-id: http://skia.googlecode.com/svn/trunk@4680 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create GL implementation for GrSingleTextureEffect, use it instead of ↵Gravatar tomhudson@google.com2012-07-19
| | | | | | | | | | | | GrPaint::setTexture() or GrDrawState::setTexture() in GrContext.cpp http://codereview.appspot.com/6399053/ git-svn-id: http://skia.googlecode.com/svn/trunk@4677 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff output: indicate which result types would cause failureGravatar epoger@google.com2012-07-19
| | | | | | Review URL: https://codereview.appspot.com/6419053 git-svn-id: http://skia.googlecode.com/svn/trunk@4676 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline for slight changes in linear gradient behavior.Gravatar rileya@google.com2012-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4675 2bbb7eff-a529-9590-31e7-b0007b416f81
* New subclasses for both Gr and GrGL gradient effect classes. Gravatar rileya@google.com2012-07-19
| | | | | | | | | This replaces GrSingleTextureEffect as the base for gradient effects (so we'll be able to do gradient effects without textures), and adds a base class to the GL gradient custom stage implementations (which will soon handle generating the appropriate code to pass colors in and lerp instead of using a cached texture for simpler gradient cases). Also added a custom stage for linear gradients. Review URL: https://codereview.appspot.com/6426049 git-svn-id: http://skia.googlecode.com/svn/trunk@4674 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline XoomGravatar borenet@google.com2012-07-19
| | | | | | Review URL: https://codereview.appspot.com/6416048 git-svn-id: http://skia.googlecode.com/svn/trunk@4672 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporarily remove giantbitmap gpu GM baselines on XoomGravatar borenet@google.com2012-07-19
| | | | | | | These are drawing black boxes. Review URL: https://codereview.appspot.com/6423055 git-svn-id: http://skia.googlecode.com/svn/trunk@4671 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline Nexus S imagesGravatar borenet@google.com2012-07-19
| | | | | | | These haven't been updated in a long time. Review URL: https://codereview.appspot.com/6428051 git-svn-id: http://skia.googlecode.com/svn/trunk@4670 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed glaring typo in SkDebuggerGUI.cpp, unreviewed.Gravatar chudy@google.com2012-07-19
| | | | | | | | | BUG= TEST= Review URL: https://codereview.appspot.com/6423052 git-svn-id: http://skia.googlecode.com/svn/trunk@4669 2bbb7eff-a529-9590-31e7-b0007b416f81
* Quick bug fix that was rendering debugger unusable.Gravatar chudy@google.com2012-07-19
| | | | | | Review URL: https://codereview.appspot.com/6422050 git-svn-id: http://skia.googlecode.com/svn/trunk@4668 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporarily remove giantbitmap gpu GMs on Nexus SGravatar borenet@google.com2012-07-19
| | | | | | | These are just drawing a black box. Review URL: https://codereview.appspot.com/6419051 git-svn-id: http://skia.googlecode.com/svn/trunk@4667 2bbb7eff-a529-9590-31e7-b0007b416f81