aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* Initialize config.Gravatar scroggo@google.com2013-07-18
| | | | | | Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@10159 2bbb7eff-a529-9590-31e7-b0007b416f81
* A8 bitmaps from JPEG are not opaque.Gravatar scroggo@google.com2013-07-18
| | | | | | | | | | | | So do not set them to be. Depends on https://codereview.chromium.org/19185006/ R=reed@google.com Review URL: https://codereview.chromium.org/19613002 git-svn-id: http://skia.googlecode.com/svn/trunk@10158 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow decoding JPEG into A8.Gravatar scroggo@google.com2013-07-18
| | | | | | | | | | | | | | | | If the original image is grayscale, allow decoding into A8. Change the size of PrefConfigTable to allow for 8bit gray, a new source config. Add a new sampler to SkScaledBitmapSampler to 'convert' to A8. FIXME: Should there be a dithered option for gray scale? R=reed@google.com Review URL: https://codereview.chromium.org/18083026 git-svn-id: http://skia.googlecode.com/svn/trunk@10157 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hold on to image-filtered texture in SkGpuDeviceGravatar commit-bot@chromium.org2013-07-18
| | | | | | | | | | R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/19729006 git-svn-id: http://skia.googlecode.com/svn/trunk@10156 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add bench to test float to fixed conversionGravatar djsollen@google.com2013-07-18
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/19773006 git-svn-id: http://skia.googlecode.com/svn/trunk@10155 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for Ubuntu compiler complaintGravatar robertphillips@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10151 2bbb7eff-a529-9590-31e7-b0007b416f81
* Yet another build fix for r10148Gravatar robertphillips@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10150 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix build breakages due to r10148Gravatar robertphillips@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10149 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve null gpu's memory handlingGravatar robertphillips@google.com2013-07-18
| | | | | | | | https://codereview.chromium.org/19678010/ git-svn-id: http://skia.googlecode.com/svn/trunk@10148 2bbb7eff-a529-9590-31e7-b0007b416f81
* The rest of: Add purgeAsNeeded calls before addResource callsGravatar robertphillips@google.com2013-07-18
| | | | | | | | https://codereview.chromium.org/19591003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10146 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add purgeAsNeeded calls before addResource callsGravatar robertphillips@google.com2013-07-18
| | | | | | | | https://codereview.chromium.org/19591003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10145 2bbb7eff-a529-9590-31e7-b0007b416f81
* add FilterLevel API to SkPaint, replacing various Flag bitsGravatar reed@google.com2013-07-18
| | | | | | | | | BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/19769005 git-svn-id: http://skia.googlecode.com/svn/trunk@10138 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10134 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Use SkTypeface::countGlyphs instead of getAdvancedTypefaceMetricsGravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | | resubmit r10063 BUG=1088 R=bungeman@google.com Author: vandebo@chromium.org Review URL: https://chromiumcodereview.appspot.com/19668002 git-svn-id: http://skia.googlecode.com/svn/trunk@10133 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leak of GrGLTexID when its owning GrGLTexture has been abandoned.Gravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | BUG=260708 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/19580003 git-svn-id: http://skia.googlecode.com/svn/trunk@10132 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid lineTo() duplication in SkPath::dump().Gravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | | | | | | | | | | | | Currently, SkPath.dump() produces duplicate entries for lineTo(): path.moveTo(0, 0); path.lineTo(1.00000012f, 0); path.lineTo(1.00000012f, 0); path.lineTo(1.00000012f, 1.00000012f); path.lineTo(1.00000012f, 1.00000012f); path.lineTo(0, 1.00000012f); path.lineTo(0, 1.00000012f); path.lineTo(0, 0); path.lineTo(0, 0); path.close(); R=bungeman@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/19540004 git-svn-id: http://skia.googlecode.com/svn/trunk@10131 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace all instances of GrRect with SkRect.Gravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | And remove the typedef in GrRect.h. The same with GrIRect. R=robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/19449002 git-svn-id: http://skia.googlecode.com/svn/trunk@10130 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add getRectCount to SkRegtionGravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | | | | | | It is useful to know how many rects comprise a region, since in some situations we can optimize code based on the complexity of the region. For instance, if we use SkRegion for tracking invalidation we might opt to use the region bounds as invalidation instead of iterating over each rect. R=reed@google.com, tomhudson@chromium.org, caryclark@google.com, robertphillips@google.com Author: vmpstr@chromium.org Review URL: https://chromiumcodereview.appspot.com/19366008 git-svn-id: http://skia.googlecode.com/svn/trunk@10129 2bbb7eff-a529-9590-31e7-b0007b416f81
* Missed this is r9949 (Allow the resource cache to (indirectly) flush the ↵Gravatar commit-bot@chromium.org2013-07-16
| | | | | | | | | | | | InOrderDrawBuffer - https://codereview.chromium.org/18466005/) R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/19401002 git-svn-id: http://skia.googlecode.com/svn/trunk@10118 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split TLS implementation into its own translation unit.Gravatar bungeman@google.com2013-07-16
| | | | | | | | | | | | | SkTLS has it's own header separate from SkThread, and having SkThread own the platform implementation of SkTLS is problematic with Chromium. The simplest way to clean this up is to put the implementation in its own set of files, where it is also more easily found. R=robertphillips@google.com Review URL: https://codereview.chromium.org/19240007 git-svn-id: http://skia.googlecode.com/svn/trunk@10105 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move implementation of SkFilterShader into its source file.Gravatar tfarina@chromium.org2013-07-16
| | | | | | | | | | | | Since SkFilterShader has its own header file, makes more sense to have a separate source file to implement it rather than placing it in a "random" SkColorFilter.cpp file. R=robertphillips@google.com Review URL: https://codereview.chromium.org/19305004 git-svn-id: http://skia.googlecode.com/svn/trunk@10101 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10096 2bbb7eff-a529-9590-31e7-b0007b416f81
* Const-ify SkDebugCanvas::getSize().Gravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | | | This is an obviously const method, no reason not to mark it as such. R=robertphillips@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/19289003 git-svn-id: http://skia.googlecode.com/svn/trunk@10094 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update SkGScalerContext to properly forward onCountGlyphs.Gravatar bungeman@google.com2013-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10090 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement onCountGlyphs and onGetUPEM on Windows.Gravatar bungeman@google.com2013-07-15
| | | | | | | | R=vandebo@chromium.org Review URL: https://codereview.chromium.org/19231003 git-svn-id: http://skia.googlecode.com/svn/trunk@10089 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added newlines at the end of SkGpuBlurUtils.*Gravatar robertphillips@google.com2013-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10082 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move gaussianBlur functionality to src\effectsGravatar robertphillips@google.com2013-07-15
| | | | | | | | https://codereview.chromium.org/18771004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10080 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix linux point compareGravatar caryclark@google.com2013-07-15
| | | | | | | | | | fix linux pt compare BUG= Review URL: https://codereview.chromium.org/19203002 git-svn-id: http://skia.googlecode.com/svn/trunk@10076 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove possiblity of NULL effect in GrEffectStageGravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/18295008 git-svn-id: http://skia.googlecode.com/svn/trunk@10075 2bbb7eff-a529-9590-31e7-b0007b416f81
* path ops near exactGravatar caryclark@google.com2013-07-15
| | | | | | | | | | | | | | | | | Modify line intersections to first - match exact ends - compute intersections - match near ends where the exact ends are preferred, then near matches, then computed matches. This pulls matches towards existing end points when possible, and keeps intersection distances consistent with different line/line line/quad and line/cubic computations. BUG= Review URL: https://codereview.chromium.org/19183003 git-svn-id: http://skia.googlecode.com/svn/trunk@10073 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 01 - Simple fixesGravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | | | | | | | | | | | | | | | This series contains a few fairly non-controversial fixes. Misc: remove dead references to neon 4444 functions Misc: avoid the double _neon_neon suffix in the clamp matrix functions. MAKENAME already adds the _neon suffix Misc: a few stupid / obvious fixes BUG= R=djsollen@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18666004 git-svn-id: http://skia.googlecode.com/svn/trunk@10072 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 08 - Cleaning / possible fixGravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | | | | | | | | | | | Misc: use SK_PMCOLOR_BYTE_ORDER where appropriate Before SK_PMCOLOR_BYTE_ORDER was introduced, I had written my own macro for the same purpose. I had at the time spotted these two places where it seemed to be useful. The change in SkCreateCGImageRef.cpp may be a bugfix or a bug for the second occurrence, I'm not sure... BUG= R=djsollen@google.com, caryclark@google.com, reed@google.com, tomhudson@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18024003 git-svn-id: http://skia.googlecode.com/svn/trunk@10071 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 03 - Duplicate code removalGravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | | | | | | | Misc: remove some duplicate code SkAlphaMul does exactly the same thing as the mul function above, so use it. BUG= R=djsollen@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18997003 git-svn-id: http://skia.googlecode.com/svn/trunk@10070 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 07 - Equation simplificationGravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | | | | | | | Misc: simplify the equation of the exclusion Xfermode The equation can be dramatically simplified. The results with gm are the same except that the code is faster. BUG= R=djsollen@google.com, reed@google.com, bsalomon@google.com, cabanier@adobe.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18112016 git-svn-id: http://skia.googlecode.com/svn/trunk@10069 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10067 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix trivial matrix computationGravatar humper@google.com2013-07-14
| | | | | | | | | | | | | | Revert "Reverted 10056-10059" This reverts commit bab4ebcaa7270c3b866a8e10917c39b055ebd51a. Fix broken GM test, reintroduce image scaling. BUG= Review URL: https://codereview.chromium.org/18721006 git-svn-id: http://skia.googlecode.com/svn/trunk@10066 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting 10063 due to Win7 crashes in RenderPDFs stepGravatar robertphillips@google.com2013-07-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10064 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Use SkTypeface::countGlyphs instead of getAdvancedTypefaceMetricsGravatar commit-bot@chromium.org2013-07-13
| | | | | | | | | | | BUG=1088 R=bungeman@google.com Author: vandebo@chromium.org Review URL: https://chromiumcodereview.appspot.com/18886005 git-svn-id: http://skia.googlecode.com/svn/trunk@10063 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrPaint have a variable sized array of color and coverage stages rather ↵Gravatar commit-bot@chromium.org2013-07-13
| | | | | | | | | | | | than a fixed size. R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/18686007 git-svn-id: http://skia.googlecode.com/svn/trunk@10062 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverted 10056-10059Gravatar robertphillips@google.com2013-07-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10060 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10059 2bbb7eff-a529-9590-31e7-b0007b416f81
* Working plumb of image scaling:Gravatar humper@google.com2013-07-12
| | | | | | | | | | | | | | | | 1) always generate mipmaps if we detect that we are downsampling. 2) pre-scale the image if we detect that we are upsampling (currently valid for scale+translate only) 3) A few miscellaneous bug fixes related to image scaling. Still need SSE/Neon versions of these image scalers. BUG= R=bsalomon@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/18978014 git-svn-id: http://skia.googlecode.com/svn/trunk@10056 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add implicit hairline conic rendering to GPUGravatar egdaniel@google.com2013-07-12
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/18258005 git-svn-id: http://skia.googlecode.com/svn/trunk@10055 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add newline for r10050.Gravatar bungeman@google.com2013-07-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10051 2bbb7eff-a529-9590-31e7-b0007b416f81
* R=mtklein@google.comGravatar bungeman@google.com2013-07-12
| | | | | | Review URL: https://codereview.chromium.org/18503009 git-svn-id: http://skia.googlecode.com/svn/trunk@10050 2bbb7eff-a529-9590-31e7-b0007b416f81
* The two leaks are:Gravatar commit-bot@chromium.org2013-07-11
| | | | | | | | | | | | | | | missing unrefs in megalooper GM missing reset capability in oval renderer This CL also expands the instance counting system to some recently adding classes (e.g., SkFontStyleSet) R=bsalomon@google.com, jvanverth@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/18461007 git-svn-id: http://skia.googlecode.com/svn/trunk@10030 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initialize the matrix used when recursing from a GPU image filter -> raster ↵Gravatar senorblanco@chromium.org2013-07-11
| | | | | | | | | | | image filter. BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/5636027884503040 git-svn-id: http://skia.googlecode.com/svn/trunk@10029 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 13 - S32A_OpaqueGravatar commit-bot@chromium.org2013-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blitrow32: S32A_Opaque code cleaning and speed improvement - the old way of calculating alpha doesn't seem to be used anymore, so remove the remaining code - adding prefetching allows to improve performance greatly in some cases at the expense of a little trade-off: +-------+-----------+------------+ | count | Cortex-A9 | Cortex-A15 | +-------+-----------+------------+ | 1,2 | 0 | 0 | +-------+-----------+------------+ | 4 | 0 | -3% | +-------+-----------+------------+ | 8 | 0 | -4% | +-------+-----------+------------+ | 16 | 0 | -5% | +-------+-----------+------------+ | 64 | +14% | 0 | +-------+-----------+------------+ | 256 | +14% | +12% | +-------+-----------+------------+ | 1024 | +115% | +15% | +-------+-----------+------------+ BUG= R=djsollen@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18459008 git-svn-id: http://skia.googlecode.com/svn/trunk@10026 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkObjectParser::SaveFlagsToString() should handle SaveFlags as a bitmask.Gravatar fmalita@google.com2013-07-11
| | | | | | | | | | Test one SaveFlags bit at a time instead of exploring the whole value space. R=robertphillips@google.com Review URL: https://codereview.chromium.org/18034028 git-svn-id: http://skia.googlecode.com/svn/trunk@10014 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9992 2bbb7eff-a529-9590-31e7-b0007b416f81