aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* add dump for SkWStream inst-leaksGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4349 2bbb7eff-a529-9590-31e7-b0007b416f81
* more SkInstCnt plumbingGravatar reed@google.com2012-06-26
| | | | | | | | fix some typeface leaks git-svn-id: http://skia.googlecode.com/svn/trunk@4348 2bbb7eff-a529-9590-31e7-b0007b416f81
* show # of unknown subclasses in dumpGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4347 2bbb7eff-a529-9590-31e7-b0007b416f81
* In GrBatchedTextContext, use GrSafeSetNull(), for more safeness!Gravatar tomhudson@google.com2012-06-26
| | | | | | | | http://codereview.appspot.com/6326058/ git-svn-id: http://skia.googlecode.com/svn/trunk@4345 2bbb7eff-a529-9590-31e7-b0007b416f81
* more SkInstCnt plumbingGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4344 2bbb7eff-a529-9590-31e7-b0007b416f81
* add more SkInstCnt plumbingGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4343 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-enable gm fontscaler for AndroidGravatar borenet@google.com2012-06-26
| | | | | | | | This was fixed in 4.1, and we're upgrading the bots since no non-beta client uses 4.0. Review URL: https://codereview.appspot.com/6334058 git-svn-id: http://skia.googlecode.com/svn/trunk@4342 2bbb7eff-a529-9590-31e7-b0007b416f81
* stick SkInstCnt in more classes, to help track down leaksGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4341 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleanup flattening code to properly serialize lighting image filters.Gravatar djsollen@google.com2012-06-26
| | | | | | Review URL: https://codereview.appspot.com/6333070 git-svn-id: http://skia.googlecode.com/svn/trunk@4340 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce iteration count on picture_playback benchmarks to bring their costGravatar tomhudson@google.com2012-06-26
| | | | | | | | | | more in line with the rest of the benches. http://codereview.appspot.com/6325063/ git-svn-id: http://skia.googlecode.com/svn/trunk@4339 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r4324Gravatar robertphillips@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4338 2bbb7eff-a529-9590-31e7-b0007b416f81
* Baseline images for msaa complexclip testsGravatar bsalomon@google.com2012-06-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4337 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporarily disable failing GM tests on AndroidGravatar borenet@google.com2012-06-25
| | | | | | | | | - fontscaler - this test fails due to a GL driver bug fixed in Jelly Bean - drawbitmaprect - suspect this is also a driver bug - shadertext - causes the device to reboot Review URL: https://codereview.appspot.com/6330057 git-svn-id: http://skia.googlecode.com/svn/trunk@4336 2bbb7eff-a529-9590-31e7-b0007b416f81
* Register some flattenable factories.Gravatar scroggo@google.com2012-06-25
| | | | | | | | | | | Now, SkComposeShaders, SkDiscreteMapper, SkCosineMapper, Line2DPathEffect, and SkTransparentShader can be flattened and unflattened. This makes more of our samples work when using a pipe. Review URL: https://codereview.appspot.com/6338064 git-svn-id: http://skia.googlecode.com/svn/trunk@4334 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add -o option to bench_graph_svg.py: write the output to a file rather than ↵Gravatar epoger@google.com2012-06-25
| | | | | | | | | | stdout While I was at it, put the command-line options in alphabetical order. BUG=https://code.google.com/p/skia/issues/detail?id=674 Review URL: https://codereview.appspot.com/6329061 git-svn-id: http://skia.googlecode.com/svn/trunk@4333 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable assert blocking DEPS roll. This is a sanity-checking assert notGravatar tomhudson@google.com2012-06-25
| | | | | | | | | | necessary to correct operation (yet). Will pursue a fix & reenable. http://codereview.appspot.com/6330056/ git-svn-id: http://skia.googlecode.com/svn/trunk@4332 2bbb7eff-a529-9590-31e7-b0007b416f81
* if bounds don't intersect in DIFF mode, just return src (don't return empty)Gravatar reed@google.com2012-06-25
| | | | | | Review URL: https://codereview.appspot.com/6337052 git-svn-id: http://skia.googlecode.com/svn/trunk@4331 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: no longer skip .pdf files by defaultGravatar epoger@google.com2012-06-25
| | | | | | Review URL: https://codereview.appspot.com/6257080 git-svn-id: http://skia.googlecode.com/svn/trunk@4330 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix crash when buidling with no deferred drawing in grcontextGravatar bsalomon@google.com2012-06-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4329 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix the stencil rules to perfom an rdiff with an inverse pathGravatar bsalomon@google.com2012-06-25
| | | | | | | Review URL: http://codereview.appspot.com/6336056/ git-svn-id: http://skia.googlecode.com/svn/trunk@4328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add header needed to use the SWAP_PER_DRAW debug facility on windows.Gravatar bsalomon@google.com2012-06-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4327 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrPaint::*StageEnabled() and GrDrawState::stageEnabled() functions.Gravatar tomhudson@google.com2012-06-25
| | | | | | | | | | | | | | These wrap the question of "is this stage of the shader enabled?" so that we can change the semantics - previously iff there was a texture, now if there is a texture OR a GrCustomStage, soon (post-cl 6306097) iff there is a GrCustomStage, which at that point will hold whatever texture is necessary. http://codereview.appspot.com/6306104/ git-svn-id: http://skia.googlecode.com/svn/trunk@4325 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable Scratch texture detach in SW path renderer's onDrawPath (take 2)Gravatar robertphillips@google.com2012-06-25
| | | | | | | | http://codereview.appspot.com/6331057/ git-svn-id: http://skia.googlecode.com/svn/trunk@4324 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix metrics test to no longer include the cpp.Gravatar djsollen@google.com2012-06-25
| | | | | | | | The inclusion of the cpp caused linker errors when building skia components as shared libaries for inclusion in an Android app. Review URL: https://codereview.appspot.com/6338063 git-svn-id: http://skia.googlecode.com/svn/trunk@4323 2bbb7eff-a529-9590-31e7-b0007b416f81
* Simplify vertex layout bitfields by making Position-as-texcoords theGravatar tomhudson@google.com2012-06-25
| | | | | | | | | | default. http://codereview.appspot.com/6337050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4321 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r4319Gravatar robertphillips@google.com2012-06-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4320 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable Scratch texture detach in SW path renderer's onDrawPathGravatar robertphillips@google.com2012-06-25
| | | | | | | | http://codereview.appspot.com/6331057/ git-svn-id: http://skia.googlecode.com/svn/trunk@4319 2bbb7eff-a529-9590-31e7-b0007b416f81
* export flags on the state of the world when a picture was serialized.Gravatar reed@google.com2012-06-25
| | | | | | | e.g. don't read/write functionptrs in that case (sizeof may be different for one) Review URL: https://codereview.appspot.com/6331050 git-svn-id: http://skia.googlecode.com/svn/trunk@4318 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove multi-byte character constants.Gravatar bungeman@google.com2012-06-25
| | | | | | | http://codereview.appspot.com/6305117/ git-svn-id: http://skia.googlecode.com/svn/trunk@4317 2bbb7eff-a529-9590-31e7-b0007b416f81
* [android] Add an API to load customized font config for testing.Gravatar djsollen@google.com2012-06-25
| | | | | | | | | | | When running WebKit layout tests, we need to load some fonts from Linux to match baselines of chromium linux. However, font config file is hard-coded in Skia now. This change add an API to customize font config in skia. https://codereview.appspot.com/6296067/ git-svn-id: http://skia.googlecode.com/svn/trunk@4316 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix misplaced return in GrDrawState::stageDisabled().Gravatar tomhudson@google.com2012-06-25
| | | | | | | | | | Original patch by guanqun.lu@gmail.com http://codereview.appspot.com/6338058/ git-svn-id: http://skia.googlecode.com/svn/trunk@4315 2bbb7eff-a529-9590-31e7-b0007b416f81
* Raster implementation of diffuse and specular lighting filters. Externally,Gravatar senorblanco@chromium.org2012-06-22
| | | | | | | | | | | | | the caller instantiates a light (distant, point or spot), and an SkDiffuseLightingFilter or SkSpecularLightingImageFilter with that light. A Sobel edge detection filter is applied to the alpha of the incoming bitmap, and the result is used as a height map for lighting calculations. Review URL: http://codereview.appspot.com/6302101/ git-svn-id: http://skia.googlecode.com/svn/trunk@4314 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extend texture release on GrDrawState to also handle custom stages.Gravatar tomhudson@google.com2012-06-22
| | | | | | | | | | | | Add asserts to GrContext::setPaint() to make sure we're keeping things cleaned up. Remove double-call of setPaint() during text context initialization. http://codereview.appspot.com/6324046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4313 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding files skipped from previous patch: ↵Gravatar twiz@google.com2012-06-22
| | | | | | | | http://code.google.com/p/skia/source/detail?r=4310 Review URL: https://codereview.appspot.com/6339043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4312 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after recent aa-clipping fix on gpuGravatar reed@google.com2012-06-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4311 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactoring in preparation for adding the picture benchmarking program.Gravatar twiz@google.com2012-06-22
| | | | | | Review URL: https://codereview.appspot.com/6339043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4310 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert #if 0ed out code accidentally committed as part of r4299.Gravatar bsalomon@google.com2012-06-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4309 2bbb7eff-a529-9590-31e7-b0007b416f81
* Expand header in serialized picturesGravatar reed@google.com2012-06-22
| | | | | | | | Make chunk/tag reading allow for optional and (somewhat) out-of-order chunks. Return empty picture instead of throwing on error Review URL: https://codereview.appspot.com/6329049 git-svn-id: http://skia.googlecode.com/svn/trunk@4308 2bbb7eff-a529-9590-31e7-b0007b416f81
* change gm option from -config to --config, to match the double-dash ↵Gravatar reed@google.com2012-06-22
| | | | | | | | | convention of all of its other options. Review URL: https://codereview.appspot.com/6337044 git-svn-id: http://skia.googlecode.com/svn/trunk@4307 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r4287. Large numbers of textures created by random gradients can ↵Gravatar bsalomon@google.com2012-06-22
| | | | | | | | | | cause poor driver performance (at least on Mac) BUG=670 git-svn-id: http://skia.googlecode.com/svn/trunk@4306 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removing redundant calls to GEN_ID_INC_EVAL in SkPaint.cppGravatar junov@chromium.org2012-06-22
| | | | | | | | Review URL: http://codereview.appspot.com/6302099/ git-svn-id: http://skia.googlecode.com/svn/trunk@4305 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaseline for r4303Gravatar robertphillips@google.com2012-06-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4304 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clipping of ovals on top & rightGravatar robertphillips@google.com2012-06-22
| | | | | | | | http://codereview.appspot.com/6294091/ git-svn-id: http://skia.googlecode.com/svn/trunk@4303 2bbb7eff-a529-9590-31e7-b0007b416f81
* add PictInfo chunk to serialized picturesGravatar reed@google.com2012-06-22
| | | | | | Review URL: https://codereview.appspot.com/6325048 git-svn-id: http://skia.googlecode.com/svn/trunk@4302 2bbb7eff-a529-9590-31e7-b0007b416f81
* AutoScratchTexture can now release its texture and it will return to the ↵Gravatar robertphillips@google.com2012-06-22
| | | | | | | | | | texture cache when freed http://codereview.appspot.com/6262043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4301 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GrTemplates.h to srcGravatar bsalomon@google.com2012-06-22
| | | | | | | Review URL: http://codereview.appspot.com/6333053/ git-svn-id: http://skia.googlecode.com/svn/trunk@4300 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor GrStencilSettings cleanupGravatar bsalomon@google.com2012-06-22
| | | | | | | | Review URL: http://codereview.appspot.com/6329044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4299 2bbb7eff-a529-9590-31e7-b0007b416f81
* Altered GrDrawState to always ref texture and render targetGravatar robertphillips@google.com2012-06-22
| | | | | | | | http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4298 2bbb7eff-a529-9590-31e7-b0007b416f81
* another whitespace change to trigger buildbots, now that new win7 bots ↵Gravatar epoger@google.com2012-06-22
| | | | | | should work git-svn-id: http://skia.googlecode.com/svn/trunk@4297 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger all buildbotsGravatar epoger@google.com2012-06-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4296 2bbb7eff-a529-9590-31e7-b0007b416f81