aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Allow building on platforms with SSE2 but not SSSE3 by adding an #ifdef.Gravatar tomhudson@google.com2012-04-27
| | | | | | | | | | | Patch from Wei James (wistoch@gmail). http://codereview.appspot.com/6124050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3770 2bbb7eff-a529-9590-31e7-b0007b416f81
* First portion of refactoring to bundle SW path rendering into GrPathRendererGravatar robertphillips@google.com2012-04-27
| | | | | | | | http://codereview.appspot.com/6125046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3769 2bbb7eff-a529-9590-31e7-b0007b416f81
* work in progressGravatar caryclark@google.com2012-04-26
| | | | | | in the middle of switching to sortless version git-svn-id: http://skia.googlecode.com/svn/trunk@3768 2bbb7eff-a529-9590-31e7-b0007b416f81
* Give GrGLProgramStage a virtual destructorGravatar bsalomon@google.com2012-04-25
| | | | | | | | Review URL: http://codereview.appspot.com/6127044 git-svn-id: http://skia.googlecode.com/svn/trunk@3767 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed minor Release & fixed point compiler warnings on LinuxGravatar robertphillips@google.com2012-04-25
| | | | | | | | http://codereview.appspot.com/6118050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3766 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselines from r3764Gravatar bsalomon@google.com2012-04-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3765 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixes matrix inconsistency in GPU draws with filters. Also adds a GM test.Gravatar bsalomon@google.com2012-04-25
| | | | | | | | | | | | May make GM go red on bots, will rebaseline. Committed on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/6049046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3764 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor refactoring to remove duplicate enum from Ganesh (_SetOp -> SkRegion::Op)Gravatar robertphillips@google.com2012-04-25
| | | | | | | | http://codereview.appspot.com/6116047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3763 2bbb7eff-a529-9590-31e7-b0007b416f81
* add isSimilarityTransform() and some testsGravatar bsalomon@google.com2012-04-25
| | | | | | | | | Committed on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5999050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3762 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for numerical imprecision on phaseGravatar reed@google.com2012-04-24
| | | | | | | | fixes http://code.google.com/p/chromium/issues/detail?id=124652 git-svn-id: http://skia.googlecode.com/svn/trunk@3761 2bbb7eff-a529-9590-31e7-b0007b416f81
* use new storage parameter to SkOrderedWriteBuffer (to avoid small dynamic ↵Gravatar reed@google.com2012-04-24
| | | | | | allocs) git-svn-id: http://skia.googlecode.com/svn/trunk@3760 2bbb7eff-a529-9590-31e7-b0007b416f81
* add optional storage parameter to SkWriter32Gravatar reed@google.com2012-04-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3759 2bbb7eff-a529-9590-31e7-b0007b416f81
* Land http://codereview.appspot.com/6117046/ for Guanqun.Lu@gmail.comGravatar epoger@google.com2012-04-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3758 2bbb7eff-a529-9590-31e7-b0007b416f81
* allow SkMutex* as an alternative arg to SkAutoMutexAcquire constructorGravatar reed@google.com2012-04-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3754 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix copy/paste errorGravatar reed@google.com2012-04-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3753 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkTLS::DeleteGravatar reed@google.com2012-04-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3752 2bbb7eff-a529-9590-31e7-b0007b416f81
* move FontCacheLimit implementations into SkGlyphCache.cpp, in prep for TLSGravatar reed@google.com2012-04-23
| | | | | | Review URL: https://codereview.appspot.com/6110043 git-svn-id: http://skia.googlecode.com/svn/trunk@3751 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix debug buildGravatar reed@google.com2012-04-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3750 2bbb7eff-a529-9590-31e7-b0007b416f81
* cleanups in prep for tls cacheGravatar reed@google.com2012-04-23
| | | | | | Review URL: https://codereview.appspot.com/6109045 git-svn-id: http://skia.googlecode.com/svn/trunk@3749 2bbb7eff-a529-9590-31e7-b0007b416f81
* add experimental tls (for font cache eventually)Gravatar reed@google.com2012-04-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3748 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace change to test buildbot changes in r3746Gravatar epoger@google.com2012-04-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3747 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix early termination of GM when 16x msaa rt can't be created.Gravatar bsalomon@google.com2012-04-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3744 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix the Android build.Gravatar scroggo@google.com2012-04-20
| | | | | | | Use the correct macro for SkEmbossMaskFilter Review URL: https://codereview.appspot.com/6081045 git-svn-id: http://skia.googlecode.com/svn/trunk@3743 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hooks up the GrCustomStage/GrGLProgramStageFactory/GrGLProgramStageGravatar tomhudson@google.com2012-04-20
| | | | | | | | | | | | | | | | | | classes from r3726 so they can be used. Does not implement any actual effect stages. Has one large known bug: if custom stages are provided, GrSamplerState comparisons will break; this should preserve correct drawing, but decrease performance - among other things, we'll break draw batching. To fix this we'll need a RTTI system for GrCustomState objects, and we'll need to change the GrSamplerState comparison from a memcmp to something that also does a deep type-sensitive compare of any GrCustomState objects present. http://codereview.appspot.com/6074043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3742 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixes for drawing through an SkGPipe.Gravatar scroggo@google.com2012-04-20
| | | | | | | | | | | | | | | | | | | Implement SkGPipeCanvas::drawBitmap. Fix a bug where needOpBytes did not necessarily provide as many bytes as requested. Fix a bug where needOpBytes would wipe old data without calling notify. Register SkEmbossMaskFilter so it can be flattened. Override drawBitmapNine (currently unimplemented) so an SkGPipeCanvas does not call its base class' method (which would fail). Review URL: https://codereview.appspot.com/6071045 git-svn-id: http://skia.googlecode.com/svn/trunk@3741 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix gdi assert that the font is not a vector FON font.Gravatar bungeman@google.com2012-04-20
| | | | | | | See http://code.google.com/p/chromium/issues/detail?id=124313 git-svn-id: http://skia.googlecode.com/svn/trunk@3740 2bbb7eff-a529-9590-31e7-b0007b416f81
* only add pathmeasure segment if the accumulated length was actually changed,Gravatar reed@google.com2012-04-20
| | | | | | | | | | | | | | | and not based on if the local length was > 0. This is necessary since assert(delta > 0); // true prevDistance = distance; distance += delta; assert(distance > prevDistance); // not always true Fixes https://bugs.webkit.org/show_bug.cgi?id=78979 git-svn-id: http://skia.googlecode.com/svn/trunk@3739 2bbb7eff-a529-9590-31e7-b0007b416f81
* add x() and y() aliases for fLeft and fTop (matching SkIRect)Gravatar reed@google.com2012-04-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3737 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix undefined GLint in Mac buildsGravatar bsalomon@google.com2012-04-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3736 2bbb7eff-a529-9590-31e7-b0007b416f81
* silence warningGravatar reed@google.com2012-04-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3735 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GM able to run MSAA modes and multiple GPU configs in a single run.Gravatar bsalomon@google.com2012-04-19
| | | | | | | | Review URL: http://codereview.appspot.com/6061051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3734 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix unused-return-result-warning for invert/getPosTanGravatar reed@google.com2012-04-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3733 2bbb7eff-a529-9590-31e7-b0007b416f81
* retarget fonttable tests to use SkTypeface api, rather than ↵Gravatar reed@google.com2012-04-19
| | | | | | (should-be-private) SkFontHost api git-svn-id: http://skia.googlecode.com/svn/trunk@3732 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix class/struct warning Gravatar bsalomon@google.com2012-04-19
| | | | | | | Review URL: http://codereview.appspot.com/6073044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3730 2bbb7eff-a529-9590-31e7-b0007b416f81
* mirror 3713 for non-antialiased-hairlines. clamp lines to 32K to avoid ↵Gravatar reed@google.com2012-04-18
| | | | | | | | | | fixedpoint overflow fixes crbug.com/123105 git-svn-id: http://skia.googlecode.com/svn/trunk@3729 2bbb7eff-a529-9590-31e7-b0007b416f81
* speculative fix for debug/release problem on windows with mirror bitmapsGravatar reed@google.com2012-04-18
| | | | | | Review URL: https://codereview.appspot.com/6063051 git-svn-id: http://skia.googlecode.com/svn/trunk@3728 2bbb7eff-a529-9590-31e7-b0007b416f81
* inline common case when we are left-aligned in drawPosTextGravatar reed@google.com2012-04-18
| | | | | | Review URL: https://codereview.appspot.com/6051051 git-svn-id: http://skia.googlecode.com/svn/trunk@3727 2bbb7eff-a529-9590-31e7-b0007b416f81
* Infrastructure for new Ganesh shader pipeline: base classes for GPUGravatar tomhudson@google.com2012-04-18
| | | | | | | | | | implementation of user-defined effects. http://codereview.appspot.com/6052047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3726 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some float/scalar/int confusion.Gravatar vandebo@chromium.org2012-04-18
| | | | | | Review URL: https://codereview.appspot.com/6064043 git-svn-id: http://skia.googlecode.com/svn/trunk@3725 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix memory leaksGravatar reed@google.com2012-04-18
| | | | | | Review URL: https://codereview.appspot.com/6063049 git-svn-id: http://skia.googlecode.com/svn/trunk@3724 2bbb7eff-a529-9590-31e7-b0007b416f81
* Basic support for bitmap fonts on Windows.Gravatar bungeman@google.com2012-04-18
| | | | | | | http://codereview.appspot.com/6062044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3723 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unecessary virtual calls by having SkPicture use SkReader32 directly.Gravatar djsollen@google.com2012-04-18
| | | | | | Review URL: https://codereview.appspot.com/6048046 git-svn-id: http://skia.googlecode.com/svn/trunk@3722 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added glBlendEquation to GL interfaceGravatar robertphillips@google.com2012-04-18
| | | | | | | | http://codereview.appspot.com/6057047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3720 2bbb7eff-a529-9590-31e7-b0007b416f81
* In SampleWindow, pass ownership of menus to SkWindow, so it can safelyGravatar scroggo@google.com2012-04-18
| | | | | | | | | | delete them in its destructor. BUG=557 TEST=Run SampleApp on linux. Then press escape. Review URL: https://codereview.appspot.com/6050047 git-svn-id: http://skia.googlecode.com/svn/trunk@3719 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix bug where SkGPipe'ed clips do not happen.Gravatar scroggo@google.com2012-04-18
| | | | | | | | | | | | Modify SkGPipeCanvas::clipRect and ::clipPath so they correctly override the SkCanvas versions, and therefore get called. Also use SK_OVERRIDE for its virtual functions to help catch this in the future. BUG=572 Review URL: https://codereview.appspot.com/6055050 git-svn-id: http://skia.googlecode.com/svn/trunk@3718 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make gm tool able to read and write image files in the same runGravatar epoger@google.com2012-04-18
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=571 Review URL: https://codereview.appspot.com/6052050 git-svn-id: http://skia.googlecode.com/svn/trunk@3717 2bbb7eff-a529-9590-31e7-b0007b416f81
* Track oval in SkPathGravatar bsalomon@google.com2012-04-18
| | | | | | | | | | Committed on behalf of Guanqun.Lu@gmail.com Review URL:http://codereview.appspot.com/6012047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3716 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Handle failures of matrix inversionGravatar vandebo@chromium.org2012-04-17
| | | | | | | | | Previously reviewed in https://codereview.appspot.com/6033047. Rolled back because of unrelated fixed-point bugs. Review URL: https://codereview.appspot.com/6052051 git-svn-id: http://skia.googlecode.com/svn/trunk@3715 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some fixed-point bugs.Gravatar vandebo@chromium.org2012-04-17
| | | | | | Review URL: https://codereview.appspot.com/6047046 git-svn-id: http://skia.googlecode.com/svn/trunk@3714 2bbb7eff-a529-9590-31e7-b0007b416f81
* chop hairlines against 32K bounds, since that is our limit (currently)Gravatar reed@google.com2012-04-17
| | | | | | | | for a fixedpoint implementation. git-svn-id: http://skia.googlecode.com/svn/trunk@3713 2bbb7eff-a529-9590-31e7-b0007b416f81