aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Fix a warning on linux when compiling SkGPipeWrite.cppGravatar scroggo@google.com2012-06-29
| | | | | | Review URL: https://codereview.appspot.com/6349057 git-svn-id: http://skia.googlecode.com/svn/trunk@4413 2bbb7eff-a529-9590-31e7-b0007b416f81
* Un-trifurcate GrTextContext: get rid of Default and Batched subclasses,Gravatar tomhudson@google.com2012-06-29
| | | | | | | | | | | | folding their functionality back into the base class. Requires gyp changes. http://codereview.appspot.com/6357048/ git-svn-id: http://skia.googlecode.com/svn/trunk@4411 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some NV path rendering issues with perspective and inverse pathsGravatar bsalomon@google.com2012-06-29
| | | | | | | | Review URL: http://codereview.appspot.com/6347050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4403 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pseudo-reverted r4396 (SkGrPixelRef files are still in source pool but are ↵Gravatar robertphillips@google.com2012-06-29
| | | | | | unused) git-svn-id: http://skia.googlecode.com/svn/trunk@4402 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporarily readding SkGrTexturePixelRef.h/.cpp until WebKit is transitioned ↵Gravatar robertphillips@google.com2012-06-28
| | | | | | to SkGrPixelRef git-svn-id: http://skia.googlecode.com/svn/trunk@4401 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix PDF code to not crash on SkComposeShader.Gravatar vandebo@chromium.org2012-06-28
| | | | | | Review URL: https://codereview.appspot.com/6354053 git-svn-id: http://skia.googlecode.com/svn/trunk@4400 2bbb7eff-a529-9590-31e7-b0007b416f81
* Moved SkGrTexturePixelRef to SkGrPixelRefGravatar robertphillips@google.com2012-06-28
| | | | | | | | http://codereview.appspot.com/6344054/ git-svn-id: http://skia.googlecode.com/svn/trunk@4397 2bbb7eff-a529-9590-31e7-b0007b416f81
* Collapsed SkGrTexturePixelRef and SkGrRenderTargetPixelRef into SkGrPixelRef ↵Gravatar robertphillips@google.com2012-06-28
| | | | | | | | | | using new GrSurface class http://codereview.appspot.com/6359045/ git-svn-id: http://skia.googlecode.com/svn/trunk@4396 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change CT assert to RT assertGravatar bsalomon@google.com2012-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4391 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initial support for GL_NV_path_renering. Experimental, there are still some ↵Gravatar bsalomon@google.com2012-06-28
| | | | | | | | | | issues to resolve, set gyp variable skia_nv_path_rendering=1 or build flag GR_GL_USE_NV_PATH_RENDERING to enable. http://codereview.appspot.com/6349049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4390 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkGPipe drawing, and turn it on by default.Gravatar scroggo@google.com2012-06-28
| | | | | | | | | | | | | | A recent change broke SkGPipe. Fix it, and turn on pipe drawing in GM by default so we will catch these in the future. We already had a bug where SkGPipeWriter had to use its Cross Process flag to work, so for a quick fix, force the reader to use the Cross Process flag as well. The bug to allow both cross and non cross process is http://code.google.com/p/skia/issues/detail?id=663 Review URL: https://codereview.appspot.com/6333071 git-svn-id: http://skia.googlecode.com/svn/trunk@4384 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkData::NewFromCString()Gravatar reed@google.com2012-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4383 2bbb7eff-a529-9590-31e7-b0007b416f81
* fixed another clang++ compiler errorGravatar robertphillips@google.com2012-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4382 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split GrSWMaskHelper into its own filesGravatar robertphillips@google.com2012-06-27
| | | | | | | | http://codereview.appspot.com/6350046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4380 2bbb7eff-a529-9590-31e7-b0007b416f81
* fixed missing "return" errorGravatar robertphillips@google.com2012-06-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4379 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding checksum to SkFlatData to accelerate SkPicture recording.Gravatar junov@chromium.org2012-06-27
| | | | | | | | | | | | The checksum triggers an early exit in the mem compare use to search for duplicate flattened objects. Also, call to memcmp was replaced with 64-bit at a time comparison loop. Review URL: http://codereview.appspot.com/6339046/ BUG=http://code.google.com/p/chromium/issues/detail?id=54079 TEST=Checksum and PictureRecord tests in bench.exe git-svn-id: http://skia.googlecode.com/svn/trunk@4378 2bbb7eff-a529-9590-31e7-b0007b416f81
* Separated Inst counting from the SK_DEBUG #define (now SK_ENABLE_INST_COUNT)Gravatar robertphillips@google.com2012-06-27
| | | | | | | | http://codereview.appspot.com/6353047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4376 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added ReadPixels format-supported check to GL CapsGravatar robertphillips@google.com2012-06-27
| | | | | | | | http://codereview.appspot.com/6336055/ git-svn-id: http://skia.googlecode.com/svn/trunk@4374 2bbb7eff-a529-9590-31e7-b0007b416f81
* add explicit purgeAll() so we don't get foiled by the min cache-limitGravatar reed@google.com2012-06-27
| | | | | | | call unref instead of delete on the GrFontScaler Review URL: https://codereview.appspot.com/6353045 git-svn-id: http://skia.googlecode.com/svn/trunk@4366 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable Scratch texture detach in SW path renderer's onDrawPath (again)Gravatar robertphillips@google.com2012-06-27
| | | | | | | | http://codereview.appspot.com/6331057/ git-svn-id: http://skia.googlecode.com/svn/trunk@4365 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bump max flattenable from 64 to 1024.Gravatar bungeman@google.com2012-06-27
| | | | | | | Ran into limit on Mac. git-svn-id: http://skia.googlecode.com/svn/trunk@4364 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove duplicate definition of SkAlign8()Gravatar reed@google.com2012-06-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4363 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed Resource counting bug in AutoScratchTexture detach mechanismGravatar robertphillips@google.com2012-06-27
| | | | | | | | http://codereview.appspot.com/6356043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4361 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix leak of Light object (in this private instance, the caller is transferringGravatar reed@google.com2012-06-27
| | | | | | | ownership of the object, so the receive does not need to call ref). Review URL: https://codereview.appspot.com/6348045 git-svn-id: http://skia.googlecode.com/svn/trunk@4360 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added Inst counting to SkFlattenable-derived classesGravatar robertphillips@google.com2012-06-27
| | | | | | | | http://codereview.appspot.com/6355043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4359 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrInOrderDrawBuffer playback command drivenGravatar bsalomon@google.com2012-06-26
| | | | | | | | | Review URL: http://codereview.appspot.com/6341052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4356 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed alignment issue in Linux buildGravatar robertphillips@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4355 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removed cached copy of the GrDebugGLInterfaceGravatar robertphillips@google.com2012-06-26
| | | | | | | | http://codereview.appspot.com/6329068/ git-svn-id: http://skia.googlecode.com/svn/trunk@4354 2bbb7eff-a529-9590-31e7-b0007b416f81
* plumb SkInstCnt to all subclasses of GrRefCntGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove SkInstCnt tracking of SkViewRegistryGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4352 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove bogus SkViewFactory referenceGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4350 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
* 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
* 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
* Reverting r4324Gravatar robertphillips@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4338 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
* 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
* 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