aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Manually update copyright notices in files that defied the automated processGravatar epoger@google.com2011-07-28
| | | | | | | | | | | | | | | | | | | used in http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.') Note that the following files have been left alone, because they name copyright holders outside of Google. Please let me know if we need to update these files: experimental/CiCarbonSampleMain.c src/opts/memset16_neon.S src/opts/memset32_neon.S src/opts/opts_check_arm.cpp src/ports/SkDebug_brew.cpp src/ports/SkMemory_brew.cpp src/ports/SkOSFile_brew.cpp Review URL: http://codereview.appspot.com/4806054 git-svn-id: http://skia.googlecode.com/svn/trunk@1981 2bbb7eff-a529-9590-31e7-b0007b416f81
* delete dead fileGravatar reed@google.com2011-07-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1980 2bbb7eff-a529-9590-31e7-b0007b416f81
* This new test provides a test case for Gravatar junov@google.com2011-07-28
| | | | | | | | | | http://code.google.com/p/skia/issues/detail?id=332 REVIEW=http://codereview.appspot.com/4808058/ git-svn-id: http://skia.googlecode.com/svn/trunk@1979 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Improve efficiency of glyph id collection during font subsetting.Gravatar vandebo@chromium.org2011-07-27
| | | | | | | | Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4828044/ Review URL: http://codereview.appspot.com/4798057 git-svn-id: http://skia.googlecode.com/svn/trunk@1978 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix mem leak in font subsetting.Gravatar vandebo@chromium.org2011-07-27
| | | | | | | | Original CL: http://codereview.appspot.com/4809053/ Review URL: http://codereview.appspot.com/4825052 git-svn-id: http://skia.googlecode.com/svn/trunk@1977 2bbb7eff-a529-9590-31e7-b0007b416f81
* include <new> for SkTLazy, since windows seems to need it.Gravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1976 2bbb7eff-a529-9590-31e7-b0007b416f81
* new baseline now that we're using the built-in quad->cubic converterGravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1975 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't modify a const paintGravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1974 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkConvertQuadToCubic()Gravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1973 2bbb7eff-a529-9590-31e7-b0007b416f81
* add simple test for writepixelsGravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1972 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace commit to trigger buildbotGravatar epoger@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1971 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-enable "core" build target lost in r1968Gravatar epoger@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1970 2bbb7eff-a529-9590-31e7-b0007b416f81
* use safeunref on typefaces, since Deserialize might return NULL.Gravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1969 2bbb7eff-a529-9590-31e7-b0007b416f81
* Properly handle parallel make ("make -j"), and only rerun gyp if necessary.Gravatar epoger@google.com2011-07-27
| | | | | | | | | This should completely resolve http://code.google.com/p/skia/issues/detail?id=330 ('building multiple targets in parallel fails on Linux') This should resolve http://code.google.com/p/skia/issues/detail?id=313 ('toplevel makefile always reruns gyp_skia') for Linux, but not Mac. (See details in comments within the file) Review URL: http://codereview.appspot.com/4827043 git-svn-id: http://skia.googlecode.com/svn/trunk@1968 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for SkConvertQuadToCubicGravatar reed@google.com2011-07-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1967 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleanup from r1843 based on revision comments.Gravatar ctguil@chromium.org2011-07-27
| | | | | | Review URL: http://codereview.appspot.com/4794044 git-svn-id: http://skia.googlecode.com/svn/trunk@1966 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrTextureCache into a generic GrResource cache. Also some GrContext ↵Gravatar bsalomon@google.com2011-07-26
| | | | | | | | | texture interface cleanup. http://codereview.appspot.com/4815055/ git-svn-id: http://skia.googlecode.com/svn/trunk@1965 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add functionality for isRect() to SkPath.Gravatar caryclark@google.com2011-07-26
| | | | | | | | | | | http://codereview.appspot.com/4807052/ M src/core/SkPath.cpp M tests/PathTest.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@1964 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove this, since diff Win machines differ on LCD settingsGravatar reed@google.com2011-07-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1963 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline given new AA text generation in SkFontHost_win.cppGravatar reed@google.com2011-07-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1961 2bbb7eff-a529-9590-31e7-b0007b416f81
* GetGlyphOutline can return clipped results :( so we now draw offscreenGravatar reed@google.com2011-07-26
| | | | | | | | | | instead, as we always did for BW and lcd. This means sometimes we get BG results when we requested AA, since GDI can decide (based on user-settings) that we're too small for AA :( git-svn-id: http://skia.googlecode.com/svn/trunk@1960 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply r1951.Gravatar bsalomon@google.com2011-07-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1959 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Add sizeInBytes to GrResource, make GrRenderTarget aware of its ↵Gravatar vandebo@chromium.org2011-07-26
| | | | | | | | | | | | pixel config (r1951)" Temporarily revert this change in order to roll other changes into Chrome. TBR=bsalomon@google.com Review URL: http://codereview.appspot.com/4807051 git-svn-id: http://skia.googlecode.com/svn/trunk@1958 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add font subsetting using the sfntly library.Gravatar vandebo@chromium.org2011-07-26
| | | | | | | | Patch from Arthur Hsu, original CL: http://codereview.chromium.org/7513003/ Review URL: http://codereview.appspot.com/4828041 git-svn-id: http://skia.googlecode.com/svn/trunk@1957 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Refactor SkPDFFont to enable font/cmap subsetting.Gravatar vandebo@chromium.org2011-07-25
| | | | | | | | | | | Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4633050/ Committed: http://code.google.com/p/skia/source/detail?r=1943 Reverted: http://code.google.com/p/skia/source/detail?r=1944 Review URL: http://codereview.appspot.com/4811049 git-svn-id: http://skia.googlecode.com/svn/trunk@1956 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix bug in catalog substitution.Gravatar vandebo@chromium.org2011-07-25
| | | | | | Review URL: http://codereview.appspot.com/4816051 git-svn-id: http://skia.googlecode.com/svn/trunk@1955 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't modify const SkDraw, since multiple threads may be watching it...Gravatar reed@google.com2011-07-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1954 2bbb7eff-a529-9590-31e7-b0007b416f81
* don/t modify const paint, since it could be used in different threadsGravatar reed@google.com2011-07-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1953 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add sizeInBytes to GrResource, make GrRenderTarget aware of its pixel configGravatar bsalomon@google.com2011-07-25
| | | | | | | | Review URL: http://codereview.appspot.com/4802058/ git-svn-id: http://skia.googlecode.com/svn/trunk@1951 2bbb7eff-a529-9590-31e7-b0007b416f81
* Slightly improve visuals of bitmapscroll test in gmGravatar epoger@google.com2011-07-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1949 2bbb7eff-a529-9590-31e7-b0007b416f81
* Exit SkBitmap::scrollRect() early if width <= 0Gravatar epoger@google.com2011-07-25
| | | | | | | As suggested in email from saintlou@google.com Review URL: http://codereview.appspot.com/4806047 git-svn-id: http://skia.googlecode.com/svn/trunk@1948 2bbb7eff-a529-9590-31e7-b0007b416f81
* Documentation only: add warning to SkCanvas::writePixels() that this operationGravatar epoger@google.com2011-07-25
| | | | | | | will not be recorded by SkPicture. Review URL: http://codereview.appspot.com/4815054 git-svn-id: http://skia.googlecode.com/svn/trunk@1947 2bbb7eff-a529-9590-31e7-b0007b416f81
* add --match to the help textGravatar reed@google.com2011-07-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1946 2bbb7eff-a529-9590-31e7-b0007b416f81
* reenable rotated freetype fix, but behind #ifndef ↵Gravatar reed@google.com2011-07-25
| | | | | | | | | | | | SK_IGNORE_ROTATED_FREETYPE_FIX, so chrome can disable it for now. add --match foo to gm/ so you can run just tests that substring match your pattern (foo) git-svn-id: http://skia.googlecode.com/svn/trunk@1945 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "[PDF] Refactor SkPDFFont to enable font/cmap subsetting."Gravatar vandebo@chromium.org2011-07-23
| | | | | | | | The PDF xref table is corrupt with this change. Revert until we figure it out. Review URL: http://codereview.appspot.com/4803049 git-svn-id: http://skia.googlecode.com/svn/trunk@1944 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Refactor SkPDFFont to enable font/cmap subsetting.Gravatar vandebo@chromium.org2011-07-23
| | | | | | | | Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4633050/ Review URL: http://codereview.appspot.com/4811049 git-svn-id: http://skia.googlecode.com/svn/trunk@1943 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporary rollback of r1924 to unblock DEPS rollGravatar bsalomon@google.com2011-07-22
| | | | | | | | Review URL: http://codereview.appspot.com/4817046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1942 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve GPU blur performance by clearing only when necessary. This gives aGravatar senorblanco@chromium.org2011-07-22
| | | | | | | | | | | | | | | | | | 1.8X speedup on the Blurs sample, and 2.3X on the BigBlur sample. We don't need to clear while downsampling, since each step reads only the pixels written in the previous step. We can avoid destination clears before convolution by disabling blending. We also don't need to clear when upsampling, since the upsample step also only reads pixels written by the convolution. The only clears we then need to do are on each side of the srcRect used for convolution, and a 1-pixel border for bilinear upsampling. Since our srcRect is always offset to (0, 0), we only need to clear on the right and bottom. Review URL: http://codereview.appspot.com/4803048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1941 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add debug symbols to Windows static librariesGravatar epoger@google.com2011-07-22
| | | | | | | As requested in http://code.google.com/p/skia/issues/detail?id=320 Review URL: http://codereview.appspot.com/4805050 git-svn-id: http://skia.googlecode.com/svn/trunk@1940 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] fix off by one in setPage.Gravatar vandebo@chromium.org2011-07-22
| | | | | | | | TBR=ctguil@chromium.org Review URL: http://codereview.appspot.com/4807045 git-svn-id: http://skia.googlecode.com/svn/trunk@1939 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r1937 while I try to figure out the GM failures.Gravatar senorblanco@chromium.org2011-07-21
| | | | | | | | (Unreviewed; build fix). git-svn-id: http://skia.googlecode.com/svn/trunk@1938 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve GPU blur speed by clearing only when necessary. This gives aGravatar senorblanco@chromium.org2011-07-21
| | | | | | | | | | | | | | | | | | 1.8X speedup on the Blurs sample, and 2.3X on the BigBlur sample. We don't need to clear while downsampling, since each step reads only the pixels written in the previous step. We can avoid destination clears before convolution by disabling blending. We also don't need to clear when upsampling, since the upsample step also only reads pixels written by the convolution. The only clears we then need to do are on each side of the srcRect used for convolution. Since our srcRect is always offset to (0, 0), we only need to clear on the right and bottom. Review URL: http://codereview.appspot.com/4803048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1937 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove forward declaration and reference to extinct SkDeviceFactoryGravatar reed@google.com2011-07-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1931 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add gm/base-win-fixed baseline imagesGravatar epoger@google.com2011-07-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1930 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix gradients_degenerate test case for SKIA_SCALAR_IS_FIXEDGravatar epoger@google.com2011-07-21
| | | | | | | | http://codereview.appspot.com/4811046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1928 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline with unhinted rotated text in freetypeGravatar reed@google.com2011-07-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1927 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline now that freetype is unhinted when rotatedGravatar reed@google.com2011-07-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1926 2bbb7eff-a529-9590-31e7-b0007b416f81
* In experimental/SkSetPoly3To3_A.cpp, rename div() to divide() to resolve ↵Gravatar epoger@google.com2011-07-21
| | | | | | namespace collision in Windows. git-svn-id: http://skia.googlecode.com/svn/trunk@1925 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable hinting when rotated, since it looks badGravatar reed@google.com2011-07-21
| | | | | | | | we do the same thing on windows (mac seems to handle rotation fine) git-svn-id: http://skia.googlecode.com/svn/trunk@1924 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkFlate.cpp when SK_ZLIB_INCLUDE is not #defined.Gravatar epoger@google.com2011-07-21
| | | | | | This was failing for Windows builds since r1911. git-svn-id: http://skia.googlecode.com/svn/trunk@1923 2bbb7eff-a529-9590-31e7-b0007b416f81