aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Enforce thread-safety of bitmaps in pictures via the type.Gravatar mtklein2014-12-11
| | | | | | | | | | | No runtime difference here, but it makes it impossible to forget to make a shallow copy; you can't get at the full bitmap without it. NOTREECHECKS=true BUG=skia: Review URL: https://codereview.chromium.org/799603002
* Force embedding full font when serializing pictures.Gravatar mtklein2014-12-11
| | | | | | | | | | | We can't do this unconditionally or pipe will become stupidly slow. DM's serialize mode fails subtly on Mac when we force embedding, so I've #ifdef'd that away. Other platforms look fine. BUG=skia: Review URL: https://codereview.chromium.org/796523002
* Replace EncodeBitmap with an interface.Gravatar scroggo2014-12-11
| | | | | | | | | | | | | | Gives more flexibility to the caller to decide whether to use the encoded data returned by refEncodedData(). Provides an implementation that supports the old version of SkPicture::serialize(). TODO: Update Chrome, so we can remove SK_LEGACY_ENCODE_BITMAP entirely BUG=skia:3190 Review URL: https://codereview.chromium.org/784643002
* Making GrGpuResource::release public for special case in BlinkGravatar junov2014-12-11
| | | | | | BUG=440462 Review URL: https://codereview.chromium.org/739383006
* Remove action_runner steps for worldjournal pageset to prevent crashesGravatar rmistry2014-12-11
| | | | | | | BUG=skia:3196 NOTRY=true Review URL: https://codereview.chromium.org/795173002
* hmm one more hairlines 'straggler' might be flipfloppingGravatar joshualitt2014-12-11
| | | | | | | | TBR= NOTRY= BUG=skia: Review URL: https://codereview.chromium.org/798533005
* straggler hairlineGravatar joshualitt2014-12-11
| | | | | | | | NOTRY=True TBR= BUG=skia: Review URL: https://codereview.chromium.org/796893002
* Poppler rebaseline for clipped-bitmap-shaders-clampGravatar fmalita2014-12-11
| | | | | | | | Follow-up for https://codereview.chromium.org/787043006. TBR=scroggo@google.com Review URL: https://codereview.chromium.org/798533003
* Apply the layer's image filter to the hoisted imageGravatar robertphillips2014-12-11
| | | | | | | | Exposing SkSurface_Gpu makes me sad and I would welcome alternatives. This change is desireable since it greatly decreases the render target swaps. Review URL: https://codereview.chromium.org/792923002
* rebase cpu hairlinesGravatar joshualitt2014-12-11
| | | | | | | | | NOTRY=True NOTREECHECKS=True TBR= BUG=skia: Review URL: https://codereview.chromium.org/793393002
* update test after I added a clip call, making the count oddGravatar reed2014-12-11
| | | | | | | | | BUG=skia: TBR= NOTREECHECKS=True NOTRY=True Review URL: https://codereview.chromium.org/797633002
* Defer saves() until they're neededGravatar reed2014-12-11
| | | | | | | | patch from issue 759443006 at patchset 40001 (http://crrev.com/759443006#ps40001) BUG=skia: Review URL: https://codereview.chromium.org/767333002
* rebase hairlinesGravatar joshualitt2014-12-11
| | | | | | | TBR= BUG=skia: Review URL: https://codereview.chromium.org/795133002
* Really fix valgrind issueGravatar joshualitt2014-12-11
| | | | | | | TBR= BUG=skia: Review URL: https://codereview.chromium.org/795123002
* More rebaselines.Gravatar scroggo2014-12-11
| | | | | | | TBR=robertphillips BUG=skia: Review URL: https://codereview.chromium.org/793353002
* Mark nexus10 images as flaky.Gravatar scroggo2014-12-11
| | | | | | | TBR=robertphillips BUG=skia:3226 Review URL: https://codereview.chromium.org/785323003
* Additional rebaselines for 3490263287e9.Gravatar bungeman2014-12-11
| | | | | | TBR=bungeman1 Review URL: https://codereview.chromium.org/794863004
* Replace use of deprecated CG methods.Gravatar bungeman2014-12-10
| | | | | | | | | | | OSX10.9 and iOS7.0 deprecated CGContextShowGlyphsAtPoint so a new API should be used. OSX10.7 and iOS4.2 replace CGContextShowGlyphsAtPoint with CTFontDrawGlyphs. OSX10.5 and iOS2.0 have CGContextShowGlyphsAtPositions which works similarly to CTFontDrawGlyphs and has not yet been deprecated. This change allows the use of CTFontDrawGlyphs when it is available, falling back to CGContextShowGlyphsAtPositions when it isn't. Review URL: https://codereview.chromium.org/770383002
* Revert of Create xfer processor backend. (patchset #6 id:100001 of ↵Gravatar joshualitt2014-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/764643004/) Reason for revert: CL breaks windows DM Original issue's description: > Create xfer processor backend. > > This includes: > -Having an actual XP stage at the end of the gl pipeline. > -All Blending work is handled by XP until actually setting GL blend states > -GLPrograms test to test XP > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/4dffc940c430eec66d4707490eace19c9b3f7904 TBR=bsalomon@google.com,joshualitt@chromium.org,egdaniel@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/789343002
* Revert of Add more ignore gm's for recent Xfer Processor CL (patchset #1 ↵Gravatar joshualitt2014-12-10
| | | | | | | | | | | | | | | | | | | | | | | | id:1 of https://codereview.chromium.org/786083004/) Reason for revert: Preventing revert of cl breaking windows DM Original issue's description: > Add more ignore gm's for recent Xfer Processor CL > > TBR=bsalomon@google.com > NOTRY=true > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/125251133a62a07225b7119ab3ac90153ba4c58a TBR=bsalomon@google.com,egdaniel@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/794883002
* Revert of Fix to set correct output type when blending when we've read dst ↵Gravatar joshualitt2014-12-10
| | | | | | | | | | | | | | | | | | | | | (patchset #4 id:60001 of https://codereview.chromium.org/791143002/) Reason for revert: Breaks DM on windows Original issue's description: > Fix to set correct output type when blending when we've read dst > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/733fc2054044377e914559fa4f46db66ab7d9cea TBR=bsalomon@google.com,egdaniel@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/795783002
* fix for chrome bug with sub pixel hairlinesGravatar joshualitt2014-12-10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/796573002
* Initial baselines for tall_stretched_bitmaps GMGravatar Brian Salomon2014-12-10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/789293003
* Revert of Remove GP from drawstate, revision of invariant output for GP ↵Gravatar joshualitt2014-12-10
| | | | | | | | | | | | | | | | | | | | | (patchset #9 id:160001 of https://codereview.chromium.org/791743003/) Reason for revert: breaks mac Original issue's description: > Remove GP from drawstate, revision of invariant output for GP > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da TBR=bsalomon@google.com,egdaniel@google.com,joshualitt@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/794843002
* Remove GP from drawstate, revision of invariant output for GPGravatar joshualitt2014-12-10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/791743003
* Don't store an SkMatrix in BitmapShaderKey.Gravatar fmalita2014-12-10
| | | | | | | | | | SkMatrix makes for a poor key component due to mutable/cache fields. Use its canonical scalars instead. R=reed@google.com,mtklein@google.com Review URL: https://codereview.chromium.org/792123002
* Fix to set correct output type when blending when we've read dstGravatar egdaniel2014-12-10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/791143002
* fix for valgrind uninit variablesGravatar joshualitt2014-12-10
| | | | | | | TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/793773002
* Rebaseline imagefiltersscaled images (and rm from ignored-tests file)Gravatar robertphillips2014-12-10
| | | | | | | | Rebaselines for https://codereview.chromium.org/785893004/ (Fix MatrixImageFilter computeFastBounds) TBR=scroggo@google.com Review URL: https://codereview.chromium.org/794673004
* More rebaselines.Gravatar scroggo2014-12-10
| | | | | | | TBR=bsalomon BUG=skia: Review URL: https://codereview.chromium.org/790263002
* Remove MULTILINE, ^, and $ from re finding actual_results.json.Gravatar bungeman2014-12-10
| | | | | | | | | | | | | | | MULTILINE, ^, and $ work based on the platform, but the files being parsed are from other platforms. As a result, the current code for extracting the actual_results.json version will not find it in logfiles produced on Windows when run on Mac. The code for extracting the exact actual_results.json file to use from a logfile is itself something of a hack, as this information should be provided ina more structured manner. This proposed method of finding the exact file is no worse than the old one, and in cases like above, better. Review URL: https://codereview.chromium.org/789253002
* Detect discarded SkPictureShader pixel refs.Gravatar fmalita2014-12-10
| | | | | | | | | | This doesn't address the more general problem, but reduces the race window significantly. BUG=440282 R=reed@google.com Review URL: https://codereview.chromium.org/787043006
* Rebaseline.Gravatar scroggo2014-12-10
| | | | | | | | | | All these images barely differ. TBR=bsalomon BUG=skia: Review URL: https://codereview.chromium.org/795673002
* Include SkTypes.h from SkDynamicAnnotations.hGravatar mtklein2014-12-10
| | | | | | | | | This allows us to control SK_DYNAMIC_ANNOTATIONS_ENABLED by Sk*Config.h files. This is a no-op today, because we control it from the compiler command line. BUG=430815 Review URL: https://codereview.chromium.org/787003003
* Gradient shaders: make fPtsToUnit const, pre-cache getType().Gravatar mtklein2014-12-10
| | | | | | | | | | | This prevents races when calling fPtsToUnit.getType() from multiple threads. This introduces a small amount of redundant code in SkTwoPointRadialGradient, but it's probably optimized together into no extra run-time work. BUG=437511 Review URL: https://codereview.chromium.org/793763003
* Change how SkDebugf is sent to stdout on Android.Gravatar scroggo2014-12-10
| | | | | | | | | | | | | Previously, a function was called using dlsym in skia_launcher. Add a static initializer that changes the setting, and include that for the tools we automate for testing. Also only do va_copy if we actually use it. BUG=skia:2454 Review URL: https://codereview.chromium.org/753543003
* dd readPixels to SkImageGravatar reed2014-12-10
| | | | | | | | patch from issue 789673007 at patchset 1 (http://crrev.com/789673007#ps1) BUG=skia: Review URL: https://codereview.chromium.org/793723002
* Suppress clipped-bitmap-shaders-clampGravatar Florin Malita2014-12-10
| | | | | | | | Pending PDF rebaseline after c54d8db4d169 TBR=scroggo@google.com Review URL: https://codereview.chromium.org/788143003
* Remove SkCanvas::drawBitmapMatrix()Gravatar Florin Malita2014-12-10
| | | | | | R=mtklein@google.com, reed@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/789033002
* more rebaselinesGravatar Brian Salomon2014-12-10
| | | | Review URL: https://codereview.chromium.org/789263002
* Add more ignore gm's for recent Xfer Processor CLGravatar egdaniel2014-12-10
| | | | | | | | | TBR=bsalomon@google.com NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/786083004
* Add baseline images for new filterfastbounds GMGravatar robertphillips2014-12-10
| | | | | | TBR=scroggo@google.com Review URL: https://codereview.chromium.org/787423002
* Create xfer processor backend.Gravatar egdaniel2014-12-10
| | | | | | | | | | | This includes: -Having an actual XP stage at the end of the gl pipeline. -All Blending work is handled by XP until actually setting GL blend states -GLPrograms test to test XP BUG=skia: Review URL: https://codereview.chromium.org/764643004
* Add GM for 2-rects blur which cannot break into nine-patchGravatar qiankun.miao2014-12-10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/791943002
* Remove canvas::NewRaster, and rename surface::NewRasterPMColor to N32PremulGravatar reed2014-12-10
| | | | | | | | | | patch from issue 781403002 at patchset 20001 (http://crrev.com/781403002#ps20001) BUG=skia: TBR= re-landing after chrome fixes have landed Review URL: https://codereview.chromium.org/784223007
* Add SSSE3 acceleration for S32_D16_filter_DXGravatar qiankun.miao2014-12-10
| | | | | | | | | | | With this CL, related nanobench can be improved for 565 config. bitmap_BGRA_8888_update_scale_bilerp 76.1us -> 46.7us 0.61x bitmap_BGRA_8888_scale_bilerp 78.7us -> 47us 0.6x bitmap_BGRA_8888_update_volatile_scale_bilerp 82.7us -> 46.9us 0.57x BUG=skia: Review URL: https://codereview.chromium.org/788853002
* fix surface test for gpu and codecsGravatar reed2014-12-10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/789173004
* Update SKP versionGravatar skia.buildbots2014-12-09
| | | | | | | | Automatic commit by the RecreateSKPs bot. TBR= Review URL: https://codereview.chromium.org/790073002
* Add bench to measure blur rects performanceGravatar qiankun.miao2014-12-09
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/787913002
* Update SKP versionGravatar skia.buildbots2014-12-09
| | | | | | | | Automatic commit by the RecreateSKPs bot. TBR= Review URL: https://codereview.chromium.org/760943003