aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fixing Canvas unit test to correctly verify object flattening in SkPictureGravatar junov@chromium.org2012-02-23
| | | | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=507 TEST=Canvas unit test REVIEW=http://codereview.appspot.com/5685082/ git-svn-id: http://skia.googlecode.com/svn/trunk@3235 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix line endings.Gravatar bsalomon@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3234 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for FontHost (just tables at the moment)Gravatar reed@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3233 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused variableGravatar bsalomon@google.com2012-02-23
| | | | | | | Review URL: http://codereview.appspot.com/5689055/ git-svn-id: http://skia.googlecode.com/svn/trunk@3232 2bbb7eff-a529-9590-31e7-b0007b416f81
* Provide fallbacks for web fonts.Gravatar caryclark@google.com2012-02-23
| | | | | | | This fixes http://code.google.com/p/chromium/issues/detail?id=114531 Review URL: https://codereview.appspot.com/5683078 git-svn-id: http://skia.googlecode.com/svn/trunk@3231 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use nested template expansions to implement Config8888 conversions.Gravatar bsalomon@google.com2012-02-22
| | | | | | Review URL: https://codereview.appspot.com/5690068 git-svn-id: http://skia.googlecode.com/svn/trunk@3230 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disabling failing unit test on linuxGravatar junov@chromium.org2012-02-22
| | | | | | | | | | TBR=reed TEST=unit test CanvasTest BUG=http://code.google.com/p/skia/issues/detail?id=507 git-svn-id: http://skia.googlecode.com/svn/trunk@3229 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding more unit testing for SkCanvas and derived classes.Gravatar junov@chromium.org2012-02-22
| | | | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=481 REVIEW=http://codereview.appspot.com/5674077/ TEST=unit test CanvasTest git-svn-id: http://skia.googlecode.com/svn/trunk@3228 2bbb7eff-a529-9590-31e7-b0007b416f81
* SSE2 version of ClampX_ClampY_{no}filter_scale; yields 10-20% speedup inGravatar tomhudson@google.com2012-02-22
| | | | | | | | | | | bitmap_8888 benchmarks on top of last week's SSSE3 patch. Thanks to Jin Yang. http://codereview.appspot.com/5685055/ git-svn-id: http://skia.googlecode.com/svn/trunk@3227 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove incorrect GrAssert calls in GrResourceCache::removeAllGravatar twiz@google.com2012-02-21
| | | | | | | | | The asserts in GrResourceCache are too aggressive, and assume that all resources are always purged. Locked resources will not be purged. BUG=114861 Review URL: https://codereview.appspot.com/5674096 git-svn-id: http://skia.googlecode.com/svn/trunk@3226 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change append to appendf for call sites with no format arguments.Gravatar vandebo@chromium.org2012-02-21
| | | | | | | | Original CL: http://codereview.appspot.com/5685062/ Review URL: https://codereview.appspot.com/5686059 git-svn-id: http://skia.googlecode.com/svn/trunk@3225 2bbb7eff-a529-9590-31e7-b0007b416f81
* work in progressGravatar caryclark@google.com2012-02-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3224 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use intrinsics for atomic inc and dec on Windows.Gravatar bungeman@google.com2012-02-17
| | | | | | | http://codereview.appspot.com/5677080/ git-svn-id: http://skia.googlecode.com/svn/trunk@3223 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkFontHost::ValidFontID PART 1: remove only caller.Gravatar bungeman@google.com2012-02-17
| | | | | | | http://codereview.appspot.com/5654055/ git-svn-id: http://skia.googlecode.com/svn/trunk@3222 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3036. This change breaks loading images asGravatar caryclark@google.com2012-02-17
| | | | | | | | | described in Chromium issue 114107. The Chromium break may be fixed by WebKit patch 78239, at which time this patch can be reapplied. Review URL: https://codereview.appspot.com/5675077 git-svn-id: http://skia.googlecode.com/svn/trunk@3219 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added BSD license language where missing.Gravatar caryclark@google.com2012-02-17
| | | | | | | See Chromium bug 98464, Review URL: https://codereview.appspot.com/5671083 git-svn-id: http://skia.googlecode.com/svn/trunk@3218 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off test in fixed pt build.Gravatar bsalomon@google.com2012-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3217 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make cross_prod used in SkPath::cheapComputeDirection fallback to double ↵Gravatar bsalomon@google.com2012-02-17
| | | | | | computation when result is 0. Verbal LGTM from reed. git-svn-id: http://skia.googlecode.com/svn/trunk@3216 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove two static initializers from debug buildsGravatar digit@google.com2012-02-16
| | | | | | Review URL: https://codereview.appspot.com/5622046 git-svn-id: http://skia.googlecode.com/svn/trunk@3215 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove on static initializer in GrGpu.cppGravatar digit@google.com2012-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is another go for the patch that was initially submitted at http://codereview.appspot.com/5504073/ but crashed the 'gm' unit test. A problem with the previous implementation is that the GrStencilSettings ::isDisabled() and ::doesWrite() methods can modify the object's fFlags member if it is 0, and this will crash at runtime when doing this for a static constant object/structure. I'm not sure why this wasn't triggered previously. We solve the issue by modifying the implementation of GR_STATIC_CONST_STENCIL and GR_STATIC_CONST_STENCIL macros to compute the correct default values for fFlags (which prevents any member modifications in the above methods). This requires moving the definition of the disabled/write flags out of the GrStencilSettings class definition's private section. Note that the flags are renamed to avoid any confusion and conflicts, i.e.: SkIsDisabled_Flag -> SkIsDisabled_StencilFlag SkNotDisabled_Flag -> SkNotDisabled_StencilFlag ... Review URL: https://codereview.appspot.com/5616051 git-svn-id: http://skia.googlecode.com/svn/trunk@3214 2bbb7eff-a529-9590-31e7-b0007b416f81
* add missing filesGravatar caryclark@google.com2012-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3213 2bbb7eff-a529-9590-31e7-b0007b416f81
* work in progressGravatar caryclark@google.com2012-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3212 2bbb7eff-a529-9590-31e7-b0007b416f81
* Lazily allocate our global pool for imagerefsGravatar reed@google.com2012-02-16
| | | | | | Review URL: https://codereview.appspot.com/5677055 git-svn-id: http://skia.googlecode.com/svn/trunk@3211 2bbb7eff-a529-9590-31e7-b0007b416f81
* be sure to mark fLastY with the bottom of the rect in blitRectGravatar reed@google.com2012-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3210 2bbb7eff-a529-9590-31e7-b0007b416f81
* aaclip needs to handle paths with holesGravatar reed@google.com2012-02-16
| | | | | | Review URL: https://codereview.appspot.com/5671066 git-svn-id: http://skia.googlecode.com/svn/trunk@3209 2bbb7eff-a529-9590-31e7-b0007b416f81
* add a todoGravatar reed@google.com2012-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3208 2bbb7eff-a529-9590-31e7-b0007b416f81
* Lazily allocate gNameList, and protect its usage behind the global mutex.Gravatar djsollen@google.com2012-02-16
| | | | | | https://codereview.appspot.com/5674059 git-svn-id: http://skia.googlecode.com/svn/trunk@3207 2bbb7eff-a529-9590-31e7-b0007b416f81
* cast to doubleGravatar reed@google.com2012-02-16
| | | | | | | | http://codereview.appspot.com/5645064/ git-svn-id: http://skia.googlecode.com/svn/trunk@3206 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix TypefaceCache races. Gravatar bungeman@google.com2012-02-16
| | | | | | | http://codereview.appspot.com/5656066/ git-svn-id: http://skia.googlecode.com/svn/trunk@3205 2bbb7eff-a529-9590-31e7-b0007b416f81
* work in progressGravatar caryclark@google.com2012-02-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3204 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 3191Gravatar bsalomon@google.com2012-02-15
| | | | | | | Review URL: http://codereview.appspot.com/5656068/ git-svn-id: http://skia.googlecode.com/svn/trunk@3203 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix regression where we disable fonts with no specified nameGravatar djsollen@google.com2012-02-15
| | | | | | Review URL: https://codereview.appspot.com/5675061 git-svn-id: http://skia.googlecode.com/svn/trunk@3202 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix SkFixed build (I hope)Gravatar reed@google.com2012-02-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3201 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a case missed in r3198 where left/right direction of setOrthog matters ↵Gravatar bsalomon@google.com2012-02-15
| | | | | | (matrix computed from a degenerate quad). git-svn-id: http://skia.googlecode.com/svn/trunk@3200 2bbb7eff-a529-9590-31e7-b0007b416f81
* Merge changes from the android repo upstream to SkiaGravatar djsollen@google.com2012-02-15
| | | | | | Review URL: https://codereview.appspot.com/5545070 git-svn-id: http://skia.googlecode.com/svn/trunk@3199 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use cheapComputeDirection to determine normal facing in GrAAConvexPathRendererGravatar bsalomon@google.com2012-02-15
| | | | | | | | Review URL: http://codereview.appspot.com/5649083/ git-svn-id: http://skia.googlecode.com/svn/trunk@3198 2bbb7eff-a529-9590-31e7-b0007b416f81
* suport A8 grayscale text with COLOR_LUMINANCE build optionGravatar reed@google.com2012-02-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3197 2bbb7eff-a529-9590-31e7-b0007b416f81
* Misc small fixes to unblock skia roll.Gravatar bsalomon@google.com2012-02-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3196 2bbb7eff-a529-9590-31e7-b0007b416f81
* hack to enable SSSE3 on MacsGravatar epoger@google.com2012-02-14
| | | | | | Review URL: https://codereview.appspot.com/5649091 git-svn-id: http://skia.googlecode.com/svn/trunk@3195 2bbb7eff-a529-9590-31e7-b0007b416f81
* Attempt to make Windows and Mac compilers happy after breakage in r3193.Gravatar tomhudson@google.com2012-02-14
| | | | | | | | Verified that changes in parameter signatures git-svn-id: http://skia.googlecode.com/svn/trunk@3194 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SSSE3 acceleration for S32_{opaque,alpha}_D32_filter_DX; should yieldGravatar tomhudson@google.com2012-02-14
| | | | | | | | | | | | | 25% speedup on 64b architectures, something smaller but still valuable on 32b. Adds new files, breaking client gyps. http://codereview.appspot.com/5515044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3193 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix compile errors.Gravatar bsalomon@google.com2012-02-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3192 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add test to detect bias in conversion of frag shader floats to bytesGravatar bsalomon@google.com2012-02-14
| | | | | | | Review URL: http://codereview.appspot.com/5669045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3191 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for colored text drawing (hopefully gamma corrected)Gravatar reed@google.com2012-02-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3190 2bbb7eff-a529-9590-31e7-b0007b416f81
* SSE2 version of blit_lcd16, courtesy of Jin Yang.Gravatar tomhudson@google.com2012-02-14
| | | | | | | | | | | | | | | Yields 25-30% speedup on Windows (32b), 4-7% on Linux (64b, less register pressure), not invoked on Mac (lcd text is 32b instead of 16b). Followup: GDI system settings on Windows can suppress LCD text for small fonts, interfering with our benchmarks. (http://code.google.com/p/skia/issues/detail?id=483) http://codereview.appspot.com/5617058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3189 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix include paths in non-standard targets.Gravatar tomhudson@google.com2012-02-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3187 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update cross-platform #include paths to new include/gpu/gl directoryGravatar tomhudson@google.com2012-02-14
| | | | | | | | (aka cowboy fix 3185). git-svn-id: http://skia.googlecode.com/svn/trunk@3186 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GL-specific include files to their own subdirectory, to betterGravatar tomhudson@google.com2012-02-14
| | | | | | | | | | | coexist alongside D3D backend. Requires gyp change. http://codereview.appspot.com/5665045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3185 2bbb7eff-a529-9590-31e7-b0007b416f81
* Set LCD font smoothing to "medium" for gm on Mac, regardless of system settingsGravatar epoger@google.com2012-02-14
| | | | | | | http://code.google.com/p/skia/issues/detail?id=382 ('make gm results consistent regardless of system LCDtext settings') Review URL: https://codereview.appspot.com/5661043 git-svn-id: http://skia.googlecode.com/svn/trunk@3184 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GLCaps be standalone and be a member of GrGLContextInfoGravatar bsalomon@google.com2012-02-14
| | | | | | | | Review URL: http://codereview.appspot.com/5654084/ git-svn-id: http://skia.googlecode.com/svn/trunk@3183 2bbb7eff-a529-9590-31e7-b0007b416f81