aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
Commit message (Collapse)AuthorAge
* Turn off some debugging statements.Gravatar scroggo@google.com2012-10-11
| | | | | | Review URL: https://codereview.appspot.com/6646044 git-svn-id: http://skia.googlecode.com/svn/trunk@5903 2bbb7eff-a529-9590-31e7-b0007b416f81
* CreateTypefaceFromFile for GDI.Gravatar bungeman@google.com2012-10-11
| | | | | | | https://codereview.appspot.com/6658045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5901 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable automatic font fallback of SkFontHost_android when building for WebKitGravatar djsollen@google.com2012-10-09
| | | | | | | | | | | | | | | | The internal font fallback mechanism prevents WebKit from getting the properties of the actually used font. Disable the internal fallback mechanism when building for WebKit and add SkGetFallbackFamilyNameForChar() to let the upper level know the fallback font for individial characters. This commits a change that was submitted for review by... wangxianzhu1 @ https://codereview.appspot.com/6572059/ BUG=913 (http://code.google.com/p/skia/issues/detail?id=913) Review URL: https://codereview.appspot.com/6640048 git-svn-id: http://skia.googlecode.com/svn/trunk@5866 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix typo in SkFontHost_win_dw.cpp.Gravatar bungeman@google.com2012-10-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5850 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5848 2bbb7eff-a529-9590-31e7-b0007b416f81
* No hinting on Mac should be lower priority than subpixel rendering.Gravatar bungeman@google.com2012-10-05
| | | | | | | https://codereview.appspot.com/6612056/ git-svn-id: http://skia.googlecode.com/svn/trunk@5836 2bbb7eff-a529-9590-31e7-b0007b416f81
* cleanup coding style for r5825Gravatar djsollen@google.com2012-10-05
| | | | | | Review URL: https://codereview.appspot.com/6621054 git-svn-id: http://skia.googlecode.com/svn/trunk@5829 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce Android Log Spam.Gravatar djsollen@google.com2012-10-05
| | | | | | | | The logging of system fonts is now hidden behind a #define Review URL: https://codereview.appspot.com/6609048 git-svn-id: http://skia.googlecode.com/svn/trunk@5825 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add the ability to provide function pointers to SkPicture serializationGravatar scroggo@google.com2012-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and deserialization for encoding and decoding bitmaps. Remove kForceFlattenBitmapPixels_Flag, which is no longer used. When an SkOrderedReadBuffer needs to read a bitmap, if it does not have an image decoder, use a dummy bitmap. In GM, add a tolerance option for color differences, used when testing picture serialization, so it can assume two images are the same even though PNG encoding/decoding may have resulted in small differences. Create dummy implementations for SkImageDecoder and SkImageEncoder functions in SkImageDecoder_empty so that a project that does not want to include the images project it can still build. Allow ports to build without images project. In Mac's image encoder, copy 4444 to 8888 before encoding. Add SkWriter32::reservePad, to provide a pointer to write non 4 byte aligned data, padded with zeroes. In bench_ and render_ pictures, pass decode function to SkPicture creation from a stream. BUG=https://code.google.com/p/skia/issues/detail?id=842 Review URL: https://codereview.appspot.com/6551071 git-svn-id: http://skia.googlecode.com/svn/trunk@5818 2bbb7eff-a529-9590-31e7-b0007b416f81
* Lock gFTMutex when modifying FT globals.Gravatar scroggo@google.com2012-10-04
| | | | | | | | | This prevents a crash when running bench_pictures with multiple threads. Also remove an unused function and fix a typo in SkFontHost. Review URL: https://codereview.appspot.com/6625043 git-svn-id: http://skia.googlecode.com/svn/trunk@5816 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-09-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5735 2bbb7eff-a529-9590-31e7-b0007b416f81
* No hinting with CG should prevent outline dilation.Gravatar bungeman@google.com2012-09-28
| | | | | | | | | https://codereview.appspot.com/6568065/ Will require some rebaselines on mac. git-svn-id: http://skia.googlecode.com/svn/trunk@5728 2bbb7eff-a529-9590-31e7-b0007b416f81
* Load more fonts on Linux.Gravatar bungeman@google.com2012-09-26
| | | | | | | https://codereview.appspot.com/6569061/ git-svn-id: http://skia.googlecode.com/svn/trunk@5704 2bbb7eff-a529-9590-31e7-b0007b416f81
* Vertical metrics for FreeType.Gravatar bungeman@google.com2012-09-25
| | | | | | | https://codereview.appspot.com/6554064/ git-svn-id: http://skia.googlecode.com/svn/trunk@5677 2bbb7eff-a529-9590-31e7-b0007b416f81
* iOS support work in progressGravatar caryclark@google.com2012-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/core/SkTypes.h - address unsigned warning include/core/SkInstCnt.h src/core/SkInstCnt.cpp gyp/common.gypi - always define SK_ENABLE_INST_COUNT for debug builds src/views/mac/SkNSView.mm - only call glClear if there is a GL context src/ports/SkImageDecoder_CG.cpp - fix iOS hack by using proper include gyp/opts.gyp - exclude more ARM files from iOS for now (see issue 900) gyp/common_conditions.gypi - add release, more ios specific common settings gyp/bench.gyp - add iOS condition gyp/SampleApp.gyp - remove precompiled header, hardcoded SDK path - add more frameworks gyp/debugger.gyp - fix syntax error - add iOS/Android condition gyp/core.gyp - remove hardcoded SDK path, add more frameworks gyp/common_variables.gypi - add ios SDK path - add ios SDK version gyp/iOSSampleApp.gyp - remove obsolete project gyp/zlib.gyp - add ios library path Review URL: https://codereview.appspot.com/6551070 git-svn-id: http://skia.googlecode.com/svn/trunk@5649 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make flattenables no longer depend on global static initializers.Gravatar scroggo@google.com2012-09-21
| | | | | | | | | | | | | | | | | Instead, force all builds to call InitializeFlattenables. Remove the make_debugger script, which was created to force rebuilding without global static initializers so that all flattenables would be linked. It is no longer necessary since all flattenables will be linked thanks to InitializeFlattenables, which now can (and must) be called when global static initializers are turned on. BUG=https://code.google.com/p/skia/issues/detail?id=903 BUG=https://code.google.com/p/skia/issues/detail?id=902 Review URL: https://codereview.appspot.com/6548044 git-svn-id: http://skia.googlecode.com/svn/trunk@5642 2bbb7eff-a529-9590-31e7-b0007b416f81
* Yet another speculative Android fix. Unreviewed.Gravatar senorblanco@chromium.org2012-09-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5600 2bbb7eff-a529-9590-31e7-b0007b416f81
* update gyp files to build on iOSGravatar caryclark@google.com2012-09-18
| | | | | | | | | | Note that there's a hack in SkImageDecoder_CG.cpp -- the necessary defines are included directly. This is temporary until I can figure out how to include them properly. Review URL: https://codereview.appspot.com/6523044 git-svn-id: http://skia.googlecode.com/svn/trunk@5586 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a Ref count bug in SkFontHost_win_dw.cppGravatar bungeman@google.com2012-09-17
| | | | | | | | | | https://codereview.appspot.com/6495133 Props tinytail. git-svn-id: http://skia.googlecode.com/svn/trunk@5568 2bbb7eff-a529-9590-31e7-b0007b416f81
* landing https://codereview.appspot.com/6506117Gravatar reed@google.com2012-09-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5549 2bbb7eff-a529-9590-31e7-b0007b416f81
* Check if SK_BUILD_FOR_MAC is defined rather than whether it's 1Gravatar george@mozilla.com2012-09-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5532 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-apply 5508, but with the new compile-flag disabled for nowGravatar reed@google.com2012-09-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5516 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make texteffects gm work through serialization and pipe.Gravatar scroggo@google.com2012-09-12
| | | | | | | | | | | | | | | Move Line2DPathEffect (now Sk_) into a separate header file so it can be shared and initialized. Switch to the shared version in SampleAll and SampleSlides. Remove the skip pipe flag from texteffects, since it can now be serialized. I have a separate change to turn serialization on by default at https://codereview.appspot.com/6498121/ Review URL: https://codereview.appspot.com/6503106 git-svn-id: http://skia.googlecode.com/svn/trunk@5512 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 5508 -- it broke most of the buildsGravatar reed@google.com2012-09-12
| | | | | | | | Use http://skia.googlecode.com/svn/buildbot/buildbots.html to see the state of the build. git-svn-id: http://skia.googlecode.com/svn/trunk@5511 2bbb7eff-a529-9590-31e7-b0007b416f81
* Using the device scale factor for glyph positioningGravatar wjmaclean@chromium.org2012-09-12
| | | | | | | | | | | | The master bug is http://code.google.com/p/chromium/issues/detail?id=138101 . The corresponding WebKit changes for this CL are here: https://bugs.webkit.org/show_bug.cgi?id=96137 BUG= Review URL: https://codereview.appspot.com/6506099 git-svn-id: http://skia.googlecode.com/svn/trunk@5508 2bbb7eff-a529-9590-31e7-b0007b416f81
* land https://codereview.appspot.com/6492099/ -- fix for iOSGravatar reed@google.com2012-09-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5474 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream Clank's SkFontHost_Android DRT infinite loop fix.Gravatar tomhudson@google.com2012-09-04
| | | | | | | | | | | We may have to do future work to reconcile this with Android native; probably pending Android OS adding a font manager API. http://codereview.appspot.com/6497081/ git-svn-id: http://skia.googlecode.com/svn/trunk@5386 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix compile error in SkFontHost_none.cppGravatar borenet@google.com2012-09-04
| | | | | | Review URL: https://codereview.appspot.com/6501083 git-svn-id: http://skia.googlecode.com/svn/trunk@5383 2bbb7eff-a529-9590-31e7-b0007b416f81
* Serialization for DirectWriteGravatar bungeman@google.com2012-08-31
| | | | | | | https://codereview.appspot.com/6494061/ git-svn-id: http://skia.googlecode.com/svn/trunk@5368 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Nightly_House_KeepingGravatar skia.committer@gmail.com2012-08-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5346 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for exceeding int range when we stash the values in the cacheGravatar reed@google.com2012-08-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5339 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change Arabic sample character from 0x0600 to 0x0627.Gravatar djsollen@google.com2012-08-29
| | | | | | | | | | | Arabic font on some devices doesn't have 0x0600 glyph and is not correctly handled by complex text path. BUG=6772513 Review URL: https://codereview.appspot.com/6497053 git-svn-id: http://skia.googlecode.com/svn/trunk@5336 2bbb7eff-a529-9590-31e7-b0007b416f81
* Normalize font BBox to make sure it's correct when rendering a PDF on the mac.Gravatar vandebo@chromium.org2012-08-28
| | | | | | | | | Original CL by abodenha@chromium.org: https://codereview.appspot.com/6501049/ BUG=crbug.com/124572 Review URL: https://codereview.appspot.com/6492048 git-svn-id: http://skia.googlecode.com/svn/trunk@5325 2bbb7eff-a529-9590-31e7-b0007b416f81
* When creating gray from lcd, use luminance instead of coverage.Gravatar bungeman@google.com2012-08-28
| | | | | | | https://codereview.appspot.com/6496048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5318 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a new SkMemory implementation that uses mozalloc instead of mallocGravatar george@mozilla.com2012-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5292 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix greenish text rendering on Linux.Gravatar bungeman@google.com2012-08-24
| | | | | | | https://codereview.appspot.com/6484048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5280 2bbb7eff-a529-9590-31e7-b0007b416f81
* Proper Android fix, and revert of workaround in r5267. Unreviewed.Gravatar senorblanco@chromium.org2012-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5269 2bbb7eff-a529-9590-31e7-b0007b416f81
* Result of running tools/sanitize_source_files.py (which was added in ↵Gravatar rmistry@google.com2012-08-23
| | | | | | | | | https://codereview.appspot.com/6465078/) This CL is part II of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6474054 git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split out SkFontHost_FreeType into common filesGravatar george@mozilla.com2012-08-23
| | | | | | Review URL: https://codereview.appspot.com/6442092 git-svn-id: http://skia.googlecode.com/svn/trunk@5246 2bbb7eff-a529-9590-31e7-b0007b416f81
* Android build fix (unreviewed).Gravatar senorblanco@chromium.org2012-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5236 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implements the non-Porter-Duff compositing modes required for SVG's feBlendGravatar senorblanco@chromium.org2012-08-22
| | | | | | | | | | | | element. This filter has two inputs, since normal blending can't be used. The GPU side uses two filter stages to accomplish this: one to sample the background, and one to sample the foreground and blend it. Review URL: https://codereview.appspot.com/6463081/ git-svn-id: http://skia.googlecode.com/svn/trunk@5231 2bbb7eff-a529-9590-31e7-b0007b416f81
* Android build fix; unreviewed.Gravatar senorblanco@chromium.org2012-08-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5199 2bbb7eff-a529-9590-31e7-b0007b416f81
* DirectWrite font host for skia.Gravatar bungeman@google.com2012-08-16
| | | | | | | https://codereview.appspot.com/5417063/ git-svn-id: http://skia.googlecode.com/svn/trunk@5128 2bbb7eff-a529-9590-31e7-b0007b416f81
* Correctly linearize Windows AA from ClearType.Gravatar bungeman@google.com2012-08-13
| | | | | | | http://codereview.appspot.com/6446129/ git-svn-id: http://skia.googlecode.com/svn/trunk@5069 2bbb7eff-a529-9590-31e7-b0007b416f81
* (Attempt to) fix Android build from r5056, thanks to suggestion by senorblanco@.Gravatar tomhudson@google.com2012-08-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5062 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a zoom filter to Skia. This will be used on ChromeOS to implement the ↵Gravatar bsalomon@google.com2012-08-13
| | | | | | | | | | | screen magnifier. Committed on behalf of zork@chromium.org Review URL: http://codereview.appspot.com/6354065/ git-svn-id: http://skia.googlecode.com/svn/trunk@5056 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove SkShape (unused)Gravatar reed@google.com2012-08-09
| | | | | | Review URL: https://codereview.appspot.com/6461069 git-svn-id: http://skia.googlecode.com/svn/trunk@5033 2bbb7eff-a529-9590-31e7-b0007b416f81
* must include SkPath.h after restructureGravatar reed@google.com2012-08-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4987 2bbb7eff-a529-9590-31e7-b0007b416f81
* need to explicitly include SkPath.h after refactoringGravatar reed@google.com2012-08-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4982 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update SkFlattenable buffers to be more modular.Gravatar djsollen@google.com2012-08-07
| | | | | | | | | | | | | | | | | This CL is an effort to stage the conversion to named parameters for all SkFlattenable commands. This particular stage only does the following two things... 1. Move flattenable buffers from SkFlattenable.h into their own header. 2. Update and Add new read write methods for better clarity and convenience. BUG= Review URL: https://codereview.appspot.com/6448095 git-svn-id: http://skia.googlecode.com/svn/trunk@4980 2bbb7eff-a529-9590-31e7-b0007b416f81