Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 24, 2015
  1. Enable rect clips

    joshualitt authored Commit bot committed
  2. move static init to cpp file to fix linux builder

    joshualitt authored Commit bot committed
    TBR=bsalomon@google.com
    BUG=skia:
    
    Review URL: https://codereview.chromium.org/947933004
  3. non-aa rects batch

    joshualitt authored Commit bot committed
  4. joshualitt

    Revert of fix for linux builder warn on exit destructor (patchset #1 …

    joshualitt authored Commit bot committed
    …id:1 of https://codereview.chromium.org/951103002/)
    
    Reason for revert:
    still breaks
    
    Original issue's description:
    > fix for linux builder warn on exit destructor
    >
    > TBR=bsalomon@google.com
    > BUG=skia:
    >
    > Committed: https://skia.googlesource.com/skia/+/51fdb4f8f63b6bb13e719000381e225503a2d4a0
    
    TBR=joshualitt@chromium.org
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=skia:
    
    Review URL: https://codereview.chromium.org/955493003
  5. Provide Mac 10.6 SDK support for kCTFontColorGlyphsTrait.

    bungeman authored Commit bot committed
    kCTFontColorGlyphsTrait was introduced in Mac 10.7 and iPhone 4.3 SDKs.
    Chromium still builds with the 10.6 SDK, so provide this constant when
    it is otherwise unavailable.
    
    TBR=mtklein@google.com
    
    Review URL: https://codereview.chromium.org/951723003
Commits on Feb 23, 2015
  1. fix for linux builder warn on exit destructor

    joshualitt authored Commit bot committed
    TBR=bsalomon@google.com
    BUG=skia:
    
    Review URL: https://codereview.chromium.org/951103002
  2. Move clip off of draw target

    joshualitt authored Commit bot committed
  3. Use traits instead of table for color glyph detection.

    bungeman authored Commit bot committed
    The CTFont already knows if a font might contain color glyphs,
    so use that information directly instead of guessing ourselves.
    
    Review URL: https://codereview.chromium.org/949933003
  4. Use highp for distance field texture coord varyings.

    jvanverth authored Commit bot committed
    Because the glyph texture atlas is 1024x2048, on certain platforms
    using mediump UVs is not enough resolution for doing texture lookups
    and getting good results for distance fields. Bumping these
    to highp solves this problem.
    
    BUG=skia:3445
    
    Review URL: https://codereview.chromium.org/951003002
  5. break out of cubic stroker loop on degenerate case

    caryclark authored Commit bot committed
    The looper can generate more than one quad, but if any one is degenerate,
    give up, but not before generating the state for the line join to
    produce the correct end.
    
    Before, the early return allowed the inside path to contain multiple
    movetos that caused reversePath to assert.
    
    R=reed@google.com
    
    Review URL: https://codereview.chromium.org/948043002
  6. Ensure that skia's test resources are properly packaged on Android

    djsollen authored Commit bot committed
  7. Tom Hudson

    Add HWUI Sink to DM on Android Framework builds

    Naburimannu authored Commit bot committed
    Allows "hwui" as a --config argument to dm, drawing through the Android
    Framework's HWUI backend.
    
    R=djsollen@google.com,mtklein@google.com
    BUG=skia:
    
    Review URL: https://codereview.chromium.org/943393002
  8. Hal Canary
  9. Fix release-developer build.

    bsalomon authored Commit bot committed
    TBR=humper@google.com
    
    Review URL: https://codereview.chromium.org/951613002
  10. Remove canApplyCoverage from XP and all related functions in gpu code.

    egdaniel authored Commit bot committed
  11. Reset conicWeights in SkPath::consumeDegenerateSegments when rewindin…

    robertphillips authored Commit bot committed
    …g to last Move op
    
    Without this patch the iterator can end up running off the end of the conic weights if there is a mixture of degenerate and non-degenerate ops
    
    Note: we might want to suppress the generation of degenerate conics and lines in SkPath::addRRect
    
    BUG=459897
    
    Review URL: https://codereview.chromium.org/954453003
  12. Make STDPQueue::at() available in all builds.

    bsalomon authored Commit bot committed
  13. SkDiscardablePixelRef should favor not decoding to YUV if they alread…

    vmiura authored Commit bot committed
    …y decoded to RGB.
    
    BUG=skia:
    BUG=459760
    
    Review URL: https://codereview.chromium.org/944823004
  14. Remove EGL header from SkANGLELContext.h

    bsalomon authored Commit bot committed
    TBR=egdaniel@google.com
    
    Review URL: https://codereview.chromium.org/947263002
  15. Hal Canary

    Revert of DM: lazy decoding on SKP playback (patchset #4 id:60001 of h…

    halcanary3 authored Commit bot committed
    …ttps://codereview.chromium.org/943383002/)
    
    Reason for revert:
    crashing dm
    
    Test-Mac10.9-MacMini6.2-HD4000-x86_64-Debug
    
    u gm addarc
    (1431MB   932) 169ms	gpu gm aarectmodes
    (1431MB   931) 38.6ms	gpu gm aaclip
    (1431MB   930) 474ms	gpu skp desk_amazon.skp
    (1431MB   929) 615ms	gpu skp desk_baidu.skp
    (1431MB   928) 600ms	gpu skp desk_blogger.skp
    Signal 11:
    _sigtramp (+0x1a)
    compute_yuv_size(jpeg_decompress_struct const&, int, SizeType) (+0x30)
    update_components_sizes(jpeg_decompress_struct const&, SkTSize<int>*, SizeType) (+0x46)
    SkJPEGImageDecoder::onDecodeYUV8Planes(SkStream*, SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x239)
    SkImageDecoder::decodeYUV8Planes(SkStream*, SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x64)
    SkImageDecoderGenerator::onGetYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x9f)
    SkImageGenerator::getYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x3b7)
    SkDiscardablePixelRef::onGetYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x3c)
    SkPixelRef::getYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x55)
    load_yuv_texture(GrContext*, GrUniqueKey const&, SkBitmap const&, GrSurfaceDesc const&) (+0x24b)
    create_unstretched_bitmap_texture(GrContext*, SkBitmap const&, GrUniqueKey const&) (+0x3df)
    create_bitmap_texture(GrContext*, SkBitmap const&, Stretch, GrUniqueKey const&, GrUniqueKey const&) (+0x1ca)
    GrRefCachedBitmapTexture(GrContext*, SkBitmap const&, GrTextureParams const*) (+0x368)
    AutoBitmapTexture::set(GrContext*, SkBitmap const&, GrTextureParams const*) (+0x87)
    AutoBitmapTexture::AutoBitmapTexture(GrContext*, SkBitmap const&, GrTextureParams const*, GrTexture**) (+0xe0)
    AutoBitmapTexture::AutoBitmapTexture(GrContext*, SkBitmap const&, GrTextureParams const*, GrTexture**) (+0x35)
    SkGpuDevice::internalDrawBitmap(SkBitmap const&, SkMatrix const&, SkRect const&, GrTextureParams const&, SkPaint const&, SkCanvas::DrawBitmapRectFlags, bool, bool) (+0x118)
    SkGpuDevice::drawBitmapCommon(SkDraw const&, SkBitmap const&, SkRect const*, SkSize const*, SkPaint const&, SkCanvas::DrawBitmapRectFlags) (+0xa84)
    SkGpuDevice::drawBitmapRect(SkDraw const&, SkBitmap const&, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::DrawBitmapRectFlags) (+0x2bb)
    SkCanvas::internalDrawBitmapRect(SkBitmap const&, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::DrawBitmapRectFlags) (+0x2a9)
    SkCanvas::onDrawBitmapRect(SkBitmap const&, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::DrawBitmapRectFlags) (+0x118)
    SkCanvas::drawBitmapRectToRect(SkBitmap const&, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::DrawBitmapRectFlags) (+0x60)
    void SkRecords::Draw::draw<SkRecords::DrawBitmapRectToRect>(SkRecords::DrawBitmapRectToRect const&) (+0x8a)
    void SkRecords::Draw::operator()<SkRecords::DrawBitmapRectToRect>(SkRecords::DrawBitmapRectToRect const&) (+0x1d)
    void SkRecord::Record::visit<void, SkRecords::Draw>(SkRecord::Type8, SkRecords::Draw&) const (+0x298)
    void SkRecord::visit<void, SkRecords::Draw>(unsigned int, SkRecords::Draw&) const (+0xbc)
    SkRecordDraw(SkRecord const&, SkCanvas*, SkPicture const* const*, SkDrawable* const*, int, SkBBoxHierarchy const*, SkPicture::AbortCallback*) (+0x2eb)
    SkPicture::playback(SkCanvas*, SkPicture::AbortCallback*) const (+0x186)
    SkCanvas::onDrawPicture(SkPicture const*, SkMatrix const*, SkPaint const*) (+0xe0)
    SkCanvas::drawPicture(SkPicture const*) (+0x11b)
    DM::SKPSrc::draw(SkCanvas*) const (+0x25b)
    DM::GPUSink::draw(DM::Src const&, SkBitmap*, SkWStream*, SkString*) const (+0x21d)
    Task::Run(Task*) (+0x1de)
    run_enclave(SkTArray<Task, false>*) (+0x49)
    run_enclave_and_gpu_tests(SkTArray<Task, false>*) (+0x15)
    (anonymous namespace)::ThreadPool::Wait(int*) (+0x14b)
    SkTaskGroup::wait() (+0x15)
    dm_main() (+0x624)
    main (+0x27)
    
    Original issue's description:
    > DM: lazy decoding on SKP playback
    >
    > Command `out/Release/dm --config pdf --src gm skp`, uses 27% less RAM.
    >
    > Committed: https://skia.googlesource.com/skia/+/77d366d72a6ae83fb0abcb2ec7e2d692fef2e923
    
    TBR=mtklein@google.com
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    
    Review URL: https://codereview.chromium.org/947103005
  16. Hal Canary

    DM: lazy decoding on SKP playback

    halcanary3 authored Commit bot committed
    Command `out/Release/dm --config pdf --src gm skp`, uses 27% less RAM.
    
    Review URL: https://codereview.chromium.org/943383002
  17. Remove unnecessary include of gles2 header in SkANGLEGLContext.h

    bsalomon authored Commit bot committed
    TBR=robertphillips@google.com
    
    Review URL: https://codereview.chromium.org/949973002
  18. Sketch SkPMFloat

    mtklein authored Commit bot committed
  19. Add stencil buffer create tracking to GPU stats.

    bsalomon authored Commit bot committed
  20. Revert of Sketch SkPMFloat (patchset #15 id:270001 of https://coderev…

    mtklein authored Commit bot committed
    …iew.chromium.org/936633002/)
    
    Reason for revert:
    http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-Arm7-Release-Android_Neon/builds/2120/steps/build%20most/logs/stdio
    
    Original issue's description:
    > Sketch SkPMFloat
    >
    > BUG=skia:
    >
    > Committed: https://skia.googlesource.com/skia/+/50d2b3114b3e59dc84811881591bf25b2c1ecb9f
    
    TBR=reed@google.com,msarrett@google.com,mtklein@chromium.org
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=skia:
    
    Review URL: https://codereview.chromium.org/952453004
  21. Use IDWriteFontFallback when available.

    bungeman authored Commit bot committed
    This is prefereable to the current IDWriteTextLayout method,
    but is only available on Windows 8.1 and later.
    
    Review URL: https://codereview.chromium.org/942083004
  22. Sketch SkPMFloat

    mtklein authored Commit bot committed
  23. Don't require AA in order to use shader-based clips

    bsalomon authored Commit bot committed
  24. clear stencil buffer using special purpose FBO

    bsalomon authored Commit bot committed
  25. Dynamically create stencil buffer when needed.

    bsalomon authored Commit bot committed
  26. Use D3D11 backend for ANGLE when available.

    bsalomon authored Commit bot committed
  27. Default path renderer batch

    joshualitt authored Commit bot committed
  28. Remove SkFontHost includes and friends.

    bungeman authored Commit bot committed
    SkFontHost no longer exists as a class, so remove the includes and stop
    making it a friend.
    
    Review URL: https://codereview.chromium.org/943333004
  29. remove dead code (covered by surfaceprops)

    reed authored Commit bot committed
Something went wrong with that request. Please try again.