aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* doh. must dynamically allocate space for reading large(r) TTC header when ↵Gravatar reed@google.com2013-03-11
| | | | | | ttcIndex > 0 git-svn-id: http://skia.googlecode.com/svn/trunk@8064 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8061 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a map from index to SkFlatData* in SkFlatDictionaryGravatar robertphillips@google.com2013-03-10
| | | | | | | | https://codereview.appspot.com/7531043/ git-svn-id: http://skia.googlecode.com/svn/trunk@8060 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8059 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't sort extensions when there are none. Make an ANGLE context to validate ↵Gravatar bsalomon@google.com2013-03-08
| | | | | | | | the ANGLE GrGLInterface with. R=robertphillips@google.com git-svn-id: http://skia.googlecode.com/svn/trunk@8049 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream changes from Android.Gravatar djsollen@google.com2013-03-08
| | | | | | Review URL: https://codereview.chromium.org/12699002 git-svn-id: http://skia.googlecode.com/svn/trunk@8045 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove dead/#if 0/if (0) code blocks. no change to compiled output.Gravatar reed@google.com2013-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8043 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make extension string parsing robust.Gravatar bsalomon@google.com2013-03-08
| | | | | | Review URL: https://codereview.chromium.org/12564003 git-svn-id: http://skia.googlecode.com/svn/trunk@8040 2bbb7eff-a529-9590-31e7-b0007b416f81
* PDF: add support for named destinations.Gravatar epoger@google.com2013-03-08
| | | | | | | Landing patchset 7 from https://codereview.appspot.com/7374052 for dml@google.com Review URL: https://codereview.chromium.org/12533009 git-svn-id: http://skia.googlecode.com/svn/trunk@8034 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8033 2bbb7eff-a529-9590-31e7-b0007b416f81
* Always get proc address for gl functions on the mac.Gravatar bsalomon@google.com2013-03-07
| | | | | | Review URL: https://codereview.chromium.org/12628004 git-svn-id: http://skia.googlecode.com/svn/trunk@8032 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing some warnings on LinuxGravatar sugoi@google.com2013-03-07
| | | | | | | There were only a few warnings left, so I fixed them and enabled the unused variable warning by removing the "-Wno-unused" flag. Only the -Wno-unused-parameter remains for now (could be removed later). Review URL: https://codereview.chromium.org/12480002 git-svn-id: http://skia.googlecode.com/svn/trunk@8030 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use vertex array objects on core profiles.Gravatar bsalomon@google.com2013-03-07
| | | | | | Review URL: https://codereview.chromium.org/12533007 git-svn-id: http://skia.googlecode.com/svn/trunk@8024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Restart va_list in SkDebugf on win32.Gravatar bsalomon@google.com2013-03-07
| | | | | | Review URL: https://codereview.chromium.org/12457019 git-svn-id: http://skia.googlecode.com/svn/trunk@8023 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a warning in bitmap checksummer.Gravatar scroggo@google.com2013-03-07
| | | | | | Review URL: https://codereview.chromium.org/12629003 git-svn-id: http://skia.googlecode.com/svn/trunk@8022 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrGLEffects use an interface to append their code.Gravatar bsalomon@google.com2013-03-07
| | | | | | | A small step towards encapsulating GrGLShaderBuilder. Review URL: https://codereview.chromium.org/12547012 git-svn-id: http://skia.googlecode.com/svn/trunk@8018 2bbb7eff-a529-9590-31e7-b0007b416f81
* land https://chromiumcodereview.appspot.com/12440004/Gravatar reed@google.com2013-03-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8013 2bbb7eff-a529-9590-31e7-b0007b416f81
* Put SkPictureRecord saveLayer optimization behind a compiler flagGravatar robertphillips@google.com2013-03-06
| | | | | | | | https://codereview.appspot.com/7508044/ git-svn-id: http://skia.googlecode.com/svn/trunk@8009 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unused varsGravatar bsalomon@google.com2013-03-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8008 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce the minimum scratch size to 16, don't look for next pow2 larger sizes.Gravatar bsalomon@google.com2013-03-06
| | | | | | Review URL: https://codereview.chromium.org/12475007 git-svn-id: http://skia.googlecode.com/svn/trunk@8007 2bbb7eff-a529-9590-31e7-b0007b416f81
* change FontIdentity to explicitly hold ttcIndex and ID, so we can use both ↵Gravatar reed@google.com2013-03-06
| | | | | | | | | | in the IPC version in chrome. git-svn-id: http://skia.googlecode.com/svn/trunk@8005 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8003 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r8000 due to failures on some buildbotsGravatar epoger@google.com2013-03-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8001 2bbb7eff-a529-9590-31e7-b0007b416f81
* PDF: add support for named destinations Gravatar epoger@google.com2013-03-06
| | | | | | | Imported from https://codereview.appspot.com/7374052/ on behalf of dml@google.com Review URL: https://codereview.chromium.org/12466008 git-svn-id: http://skia.googlecode.com/svn/trunk@8000 2bbb7eff-a529-9590-31e7-b0007b416f81
* add ttcIndex parameter to calls to SkFontStreamGravatar reed@google.com2013-03-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7999 2bbb7eff-a529-9590-31e7-b0007b416f81
* start to plumb ttcIndex into fonthost. For now just add to SkFontStream and ↵Gravatar reed@google.com2013-03-05
| | | | | | | | its callers. Review URL: https://codereview.chromium.org/12485002 git-svn-id: http://skia.googlecode.com/svn/trunk@7998 2bbb7eff-a529-9590-31e7-b0007b416f81
* rewind at the start of each FontStream api (since we rewinding internally ↵Gravatar reed@google.com2013-03-05
| | | | | | | | anyway) Review URL: https://codereview.chromium.org/12465009 git-svn-id: http://skia.googlecode.com/svn/trunk@7997 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed a few warningsGravatar sugoi@google.com2013-03-05
| | | | | | | Removed a few warnings from the Skia code. Review URL: https://codereview.chromium.org/12469003 git-svn-id: http://skia.googlecode.com/svn/trunk@7996 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkOSWindow return the sample count and stencil bit count for its GL ↵Gravatar bsalomon@google.com2013-03-05
| | | | | | | | context. Review URL: https://codereview.chromium.org/12437010 git-svn-id: http://skia.googlecode.com/svn/trunk@7995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Restore window creation code in SkNativeGLContext_win.cpp accidentally ↵Gravatar bsalomon@google.com2013-03-05
| | | | | | deleted in r7990. git-svn-id: http://skia.googlecode.com/svn/trunk@7991 2bbb7eff-a529-9590-31e7-b0007b416f81
* Unify wgl context creation.Gravatar bsalomon@google.com2013-03-05
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.chromium.org/12455009 git-svn-id: http://skia.googlecode.com/svn/trunk@7990 2bbb7eff-a529-9590-31e7-b0007b416f81
* PDF : Unused parameters cleanupGravatar sugoi@google.com2013-03-05
| | | | | | | I removed unused parameters in the PDFs wherever it was trivial to do so. A few constructors had to change signature in the process to reflect the changes. Review URL: https://codereview.appspot.com/7390056 git-svn-id: http://skia.googlecode.com/svn/trunk@7987 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added support for non-separable blending modes.Gravatar commit-bot@chromium.org2013-03-05
| | | | | | | | Fixed scalar issue from https://codereview.appspot.com/7346044 Review URL: https://chromiumcodereview.appspot.com/12393049 git-svn-id: http://skia.googlecode.com/svn/trunk@7984 2bbb7eff-a529-9590-31e7-b0007b416f81
* Validate that VAO functions are present in ES2 interfaces and add bit to ↵Gravatar bsalomon@google.com2013-03-05
| | | | | | | | caps indicating VAO support. Review URL: https://codereview.chromium.org/12447003 git-svn-id: http://skia.googlecode.com/svn/trunk@7979 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7976 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix an unused variable warning.Gravatar scroggo@google.com2013-03-04
| | | | | | Review URL: https://codereview.chromium.org/12398026 git-svn-id: http://skia.googlecode.com/svn/trunk@7975 2bbb7eff-a529-9590-31e7-b0007b416f81
* If Ashmem cache fails pinCache, do not reallocate.Gravatar scroggo@google.com2013-03-04
| | | | | | Review URL: https://codereview.chromium.org/12398021 git-svn-id: http://skia.googlecode.com/svn/trunk@7973 2bbb7eff-a529-9590-31e7-b0007b416f81
* Provide an option in bench_pictures to count pixel ram.Gravatar scroggo@google.com2013-03-04
| | | | | | | | | | | | | | In SkLruImageCache, provide an option to keep all pixels, and document the new behavior. In gm/factory.cpp, set the budget for the Lru image cache to 1, to retain (basically) the old behavior. BUG=https://code.google.com/p/skia/issues/detail?id=1010 Review URL: https://codereview.chromium.org/12378075 git-svn-id: http://skia.googlecode.com/svn/trunk@7972 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed doParse functionsGravatar sugoi@google.com2013-03-04
| | | | | | | For some reason, "success" wasn't set in a bunch of template specializations, causing it to be invalid when used later on. Review URL: https://codereview.appspot.com/7370052 git-svn-id: http://skia.googlecode.com/svn/trunk@7969 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rely on libfontconfig to determine our default fontGravatar reed@google.com2013-03-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7967 2bbb7eff-a529-9590-31e7-b0007b416f81
* Address some valgrind issuesGravatar robertphillips@google.com2013-03-04
| | | | | | | | https://codereview.appspot.com/7448051/ git-svn-id: http://skia.googlecode.com/svn/trunk@7966 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a way to monitor cache hits and misses for deferred decoding.Gravatar scroggo@google.com2013-03-04
| | | | | | | | | Adds a new flag to bench_pictures in order to do this. Also fix a warning. Review URL: https://codereview.chromium.org/12393046 git-svn-id: http://skia.googlecode.com/svn/trunk@7965 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initialize bounds even if the text length is zero.Gravatar djsollen@google.com2013-03-04
| | | | | | Review URL: https://codereview.chromium.org/12387092 git-svn-id: http://skia.googlecode.com/svn/trunk@7964 2bbb7eff-a529-9590-31e7-b0007b416f81
* export getter for global instance of fontconfiginterfacedirectGravatar reed@google.com2013-03-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7963 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement fonthost table methods directly in fontconfig backend, _tables now ↵Gravatar reed@google.com2013-03-04
| | | | | | | | | relegated to android and windows... Review URL: https://codereview.chromium.org/12395015 git-svn-id: http://skia.googlecode.com/svn/trunk@7959 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactor fonthost_tables into wrapper (fonthost) and impl (fontstream)Gravatar reed@google.com2013-03-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7958 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix mac buildGravatar humper@google.com2013-03-04
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12387084 git-svn-id: http://skia.googlecode.com/svn/trunk@7956 2bbb7eff-a529-9590-31e7-b0007b416f81
* short-circuit if the requested typeface matches what we've been given.Gravatar reed@google.com2013-03-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7954 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add commented out code to create a core profile on windows.Gravatar bsalomon@google.com2013-03-04
| | | | | | Review URL: https://codereview.chromium.org/12393044 git-svn-id: http://skia.googlecode.com/svn/trunk@7953 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change random number generator for 'tests' to SkMWCRandom. Also removes some Gravatar jvanverth@google.com2013-03-04
| | | | | | | | | | | | | | | | | | | | unused headers and fixes a couple of bugs exposed by changing the random number generator: First, the function SkMatrix::getMaxStretch() had an error where it was testing the square of a number against near-zero. This led to it occasionally taking a cheaper but imprecise path for computing the eigenvalues of the matrix. It's been replaced with a check against the square of SK_ScalarNearlyZero. The second case was a failure in ClipStackTest, where it hit the rare case of a practically empty clip stack (it has a single Union) and we set a tight bounds. The bounds rect doesn't get set by GrReducedClip::ReduceClipStack() in this case, so when it clips the reduced stack it's clipping against garbage, and the resulting regions don't match. The solution is to initialize the tightBounds rect. git-svn-id: http://skia.googlecode.com/svn/trunk@7952 2bbb7eff-a529-9590-31e7-b0007b416f81