aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Sort GL extension strings and search to find.Gravatar bsalomon@google.com2013-02-27
| | | | | | Review URL: https://codereview.chromium.org/12316141 git-svn-id: http://skia.googlecode.com/svn/trunk@7889 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable fontconfig by default in ports.gypGravatar reed@google.com2013-02-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7888 2bbb7eff-a529-9590-31e7-b0007b416f81
* use fontconfig fonthost for skia (in prep for using in chrome)Gravatar reed@google.com2013-02-27
| | | | | | Review URL: https://codereview.chromium.org/12319150 git-svn-id: http://skia.googlecode.com/svn/trunk@7887 2bbb7eff-a529-9590-31e7-b0007b416f81
* Assign color=0 in GrDrawState.cpp to stop tools from raising false alarms ↵Gravatar bsalomon@google.com2013-02-27
| | | | | | | | | | | | about uninit reads. We were assigning color to oldColor but it in turn would never be read because the valid flags would be cleared. R=jvanverth@google.com Review URL: https://codereview.chromium.org/12313150 git-svn-id: http://skia.googlecode.com/svn/trunk@7886 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change SkTileGride geometry calculations to match the Chromium compositor.Gravatar junov@chromium.org2013-02-27
| | | | | | | | | | | | | | This patch changes the semantics of tileWidth/Height to include the border region, and uses an offset to take into account the fact that there is no outer border for outer tiles. This patch also fixes a previous bug where the right column and bottom row were considered to be included in bounds that are expressed as an SkIRect. Companion Chromium CL required for roll: https://codereview.chromium.org/12221077/ TEST=TileGrid unit test Review URL: https://codereview.appspot.com/7350050 git-svn-id: http://skia.googlecode.com/svn/trunk@7885 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r7883Gravatar edisonn@google.com2013-02-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7884 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use SkSet to fix issue when pdf generates an exp number of resources.Gravatar edisonn@google.com2013-02-27
| | | | | | | | | | | | | | | The problem fixed - http://code.google.com/p/skia/issues/detail?id=940 - is that getResources will recursively obtain all child resource recursively without checking for duplicates. If we have lots of duplicates, then we try to build a very large vector (exponential with the number of nodes usually) and sooner or later we end up using too much memory and crash. A possible solution could have been to make sure resources do not have duplicates, but that requirement is impractical, and it this leaves the solution fragile, if there is any issue in the tree, we crash. When we emit the pdf, the large number of duplicates is not an issue, because SkPDFCatalog::addObject will deal with duplicates. I have run the gm with --config pdf, and the images are 100% same bits, while the pdfs have the same size but some very small changes, the order of some objects. Review URL: https://codereview.appspot.com/6744050 git-svn-id: http://skia.googlecode.com/svn/trunk@7883 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace A8 with RGBA8 when renderable A8 isn't supportedGravatar robertphillips@google.com2013-02-27
| | | | | | | | https://codereview.appspot.com/7372053/ git-svn-id: http://skia.googlecode.com/svn/trunk@7882 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM : Unused parameters cleanupGravatar sugoi@google.com2013-02-27
| | | | | | | | | I removed unused parameters in the gms wherever it was trivial to do so. I'm trying to get the easy ones out of the way before we get into more involved discussions around this. Review URL: https://codereview.appspot.com/7398056 git-svn-id: http://skia.googlecode.com/svn/trunk@7881 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build freetype as a standalone_static_libraryGravatar borenet@google.com2013-02-27
| | | | | | | Needed by external applications which don't use our libraries in-place. Review URL: https://codereview.chromium.org/12328138 git-svn-id: http://skia.googlecode.com/svn/trunk@7879 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change (SkipBuildbotRuns)Gravatar rmistry@google.com2013-02-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7878 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change (SkipBuildbotRuns)Gravatar rmistry@google.com2013-02-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7877 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change (SkipBuildbotRuns)Gravatar rmistry@google.com2013-02-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7876 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-02-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7875 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix getFamilyName by calling FcFreeTypeQueryGravatar reed@google.com2013-02-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7874 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed sk_getMetrics_utf32_xy functionGravatar sugoi@google.com2013-02-26
| | | | | | | The unused parameters x and y here seems to be a mistake. Review URL: https://codereview.appspot.com/7386055 git-svn-id: http://skia.googlecode.com/svn/trunk@7873 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use glGetStringi to get extensions when available.Gravatar bsalomon@google.com2013-02-26
| | | | | | Review URL: https://codereview.chromium.org/12328111 git-svn-id: http://skia.googlecode.com/svn/trunk@7872 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement CreateTypefaceFromFileGravatar reed@google.com2013-02-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7869 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@7868 ↵Gravatar reed@google.com2013-02-26
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SampleTypeface into gm/typefacestylesGravatar reed@google.com2013-02-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7867 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test commit-queueGravatar commit-bot@chromium.org2013-02-26
| | | | | | | | (SkipBuildbotRuns) Review URL: https://chromiumcodereview.appspot.com/12328109 git-svn-id: http://skia.googlecode.com/svn/trunk@7866 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removing blank lines from codereview.settings.Gravatar rmistry@google.com2013-02-26
| | | | | | | | | | | depot_tools/checkout.py does not like blank lines: https://github.com/beurdouche/tools/blob/master/depot_tools/checkout.py#L38 Due to blank lines in our codereview.settings it was not returning the correct VIEW_VC and due to this the 'Commited' line was not showing up in changes submitted by the commit-queue. (SkipBuildbotRuns) Review URL: https://codereview.appspot.com/7388061 git-svn-id: http://skia.googlecode.com/svn/trunk@7865 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-02-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7864 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@7863 ↵Gravatar reed@google.com2013-02-26
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename template param to SkSTArray to be consistent with its base class, ↵Gravatar bsalomon@google.com2013-02-26
| | | | | | | | | SkTArray. R=jvanverth@google.com Review URL: https://codereview.appspot.com/7372050 git-svn-id: http://skia.googlecode.com/svn/trunk@7862 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add files omitted from gcl change in r7860.Gravatar bsalomon@google.com2013-02-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7861 2bbb7eff-a529-9590-31e7-b0007b416f81
* Consolidate functions common the the null and debug GL interfaces.Gravatar bsalomon@google.com2013-02-26
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/7400053 git-svn-id: http://skia.googlecode.com/svn/trunk@7860 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test commit queueGravatar commit-bot@chromium.org2013-02-26
| | | | | | | | (SkipBuildbotRuns) Review URL: https://chromiumcodereview.appspot.com/12326121 git-svn-id: http://skia.googlecode.com/svn/trunk@7859 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pointing CODE_REVIEW_SERVER to Chromium Rietveld.Gravatar rmistry@google.com2013-02-26
| | | | | | | (SkipBuildbotRuns) Review URL: https://codereview.appspot.com/7382058 git-svn-id: http://skia.googlecode.com/svn/trunk@7858 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-02-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7857 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@7856 ↵Gravatar reed@google.com2013-02-25
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a bunch of warnings, mainly around rowBytes.Gravatar scroggo@google.com2013-02-25
| | | | | | | | | | | My recent change changed the way SkBitmap::fRowBytes is stored, and parameter/return values referring to rowBytes were changed to type size_t. Change the storage back, and eliminate warnings resulting from returning a size_t. Review URL: https://codereview.appspot.com/7396059 git-svn-id: http://skia.googlecode.com/svn/trunk@7855 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove duplicate impl for getFileName() on SkFDStreamGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7854 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed the hash key comparison function.Gravatar sugoi@google.com2013-02-25
| | | | | | Review URL: https://codereview.appspot.com/7378065 git-svn-id: http://skia.googlecode.com/svn/trunk@7853 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point: skiafy SkFontHost_fontconfig from chromeGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7852 2bbb7eff-a529-9590-31e7-b0007b416f81
* add --tmpDir foo option to tests, to allow unittests that want to write/read ↵Gravatar reed@google.com2013-02-25
| | | | | | | | | | files use tmpDir in SkStream tests git-svn-id: http://skia.googlecode.com/svn/trunk@7851 2bbb7eff-a529-9590-31e7-b0007b416f81
* Give GrDrawTarget a back ptr to its owning GrContext.Gravatar bsalomon@google.com2013-02-25
| | | | | | Review URL: https://codereview.appspot.com/7395055 git-svn-id: http://skia.googlecode.com/svn/trunk@7850 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add an SkSet class to be used by Pdf only, for now - reverted because of ↵Gravatar edisonn@google.com2013-02-25
| | | | | | triggering heap corruption on Win7, original coe review: https://codereview.appspot.com/6749054 git-svn-id: http://skia.googlecode.com/svn/trunk@7849 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't #include <unistd.h> if we're windowsGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7848 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't try to access filedescriptors on windowsGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7847 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SkFDStream out of images into coreGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7846 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove bogus ability for creating an SkPicturePlayback to fail.Gravatar scroggo@google.com2013-02-25
| | | | | | | | | | | | | | | | | | | Change SkPicturePlayback::parseBufferTag to return void, since it can never return false. Change SkPicturePlayback::parseStreamTag to return void, since the only way it can return false is if parseBufferTag returns false, or if creating a sub picture failed, both of which are nonsensical. Due to the above, there is no reason for creating an SkPicturePlayback to fail, so remove the isValid parameter. Update subclasses in SkDebuggerGUI. Review URL: https://codereview.appspot.com/7388050 git-svn-id: http://skia.googlecode.com/svn/trunk@7844 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use size_t for rowBytes.Gravatar scroggo@google.com2013-02-25
| | | | | | | | | | | | | Previously, we were using uint32_t sometimes, int sometimes, and size_t sometimes. Switch to using size_t, since we are actually talking about a number of bytes. In copyPixelsTo, use 0 as a flag to use the internal rowBytes, which is more consistent with setConfig. Review URL: https://codereview.appspot.com/7370047 git-svn-id: http://skia.googlecode.com/svn/trunk@7843 2bbb7eff-a529-9590-31e7-b0007b416f81
* Always round text position correctly.Gravatar bungeman@google.com2013-02-25
| | | | | | | | | | | | | https://codereview.appspot.com/7383049/ Will require rebaseline of fontscaler GM. Must add SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX to Chromium until ~150 layout tests can be rebaselined. git-svn-id: http://skia.googlecode.com/svn/trunk@7842 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test commit queueGravatar commit-bot@chromium.org2013-02-25
| | | | | | | | (SkipBuildbotRuns) Review URL: https://chromiumcodereview.appspot.com/12340051 git-svn-id: http://skia.googlecode.com/svn/trunk@7841 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed '#if with no expression' warning/errorGravatar robertphillips@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7840 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7839 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix debugger build.Gravatar scroggo@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7375050 git-svn-id: http://skia.googlecode.com/svn/trunk@7838 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkSerializationHelpers.Gravatar scroggo@google.com2013-02-22
| | | | | | | | | | Move the function definition for EncodeBitmap to SkPicture, where InstallPixelRefProc has already moved (and where it is relevant). Review URL: https://codereview.appspot.com/7386053 git-svn-id: http://skia.googlecode.com/svn/trunk@7837 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7836 2bbb7eff-a529-9590-31e7-b0007b416f81