History log of /external/skia/gm/atlastext.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a3f70261ccf4c14648505fed8bdc517ceb1b925e 08-Feb-2018 Robert Phillips <robertphillips@google.com> Switch MDB GrContextOptions over to Enable style

Change-Id: Id6541c346a13649c89ca3b9ccb13972976f9b973
Reviewed-on: https://skia-review.googlesource.com/105603
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/gm/atlastext.cpp
8e546043c6d421b82c8f8945f9688e6d64c76a06 07-Feb-2018 Robert Phillips <robertphillips@google.com> Revert "Re-enable explicit resource allocation in Skia (take 2)"

This reverts commit ed858ec0951a10bc8bef1f883c925e1ac5e5766f.

Reason for revert: Breaking some text GMs

Original change's description:
> Re-enable explicit resource allocation in Skia (take 2)
>
> Unsurprisingly, given how we're adding them to the opList's deferredProxy list, a proxy can appear twice.
>
> Change-Id: I474357a1c3ee8cedf51dbeffcd0e0a96f396375c
> Reviewed-on: https://skia-review.googlesource.com/103701
> Commit-Queue: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>

TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com

Change-Id: I90aa30c37bfc506e5a8e4c2ccf3bd1b968fd9c5f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/105100
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/gm/atlastext.cpp
ed858ec0951a10bc8bef1f883c925e1ac5e5766f 07-Feb-2018 Robert Phillips <robertphillips@google.com> Re-enable explicit resource allocation in Skia (take 2)

Unsurprisingly, given how we're adding them to the opList's deferredProxy list, a proxy can appear twice.

Change-Id: I474357a1c3ee8cedf51dbeffcd0e0a96f396375c
Reviewed-on: https://skia-review.googlesource.com/103701
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/gm/atlastext.cpp
b5086961f335d6757a88ce7507c445485aaba2e6 13-Dec-2017 Brian Salomon <bsalomon@google.com> Add matrix stack to SkAtlasTextTarget.

Makes SkAtlasTextRenderer::SDFVertex now has a 3 component position vector.

Change-Id: I7ec1a8068fb84388a82e1748d6e9d02820d55abd
Reviewed-on: https://skia-review.googlesource.com/84202
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
/external/skia/gm/atlastext.cpp
cf1aa5327ed9b19fbab9fe1e97292cce509096b4 29-Nov-2017 Brian Salomon <bsalomon@google.com> Fix SkInternalAtlasTextContext to update advance the flush token after issuing each draw.

This was causing SkAtlasTextTarget:flush() calls beyond the first to skip the uploads of glyphs added to the atlas after the first flush().

Change-Id: I291b88d50629e38914d4b6af21fc25d8a41fbd9d
Reviewed-on: https://skia-review.googlesource.com/77584
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/gm/atlastext.cpp
a0ba714ad5ee26b3f1929aa572eb77cc71809e64 20-Nov-2017 Brian Salomon <bsalomon@google.com> Require glyph positions in SkAtlasTextTarget::drawText

Change-Id: Idf0977befc8ed4fd9eb3b733db5e945457b2164c
Reviewed-on: https://skia-review.googlesource.com/73701
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/gm/atlastext.cpp
0c1c2b39dd93100542236b23546ed0b855816a49 20-Nov-2017 Brian Salomon <bsalomon@google.com> Make SkAtlasTextTarget use glyph IDs

Bug: skia:
Change-Id: Idefd69f02f62fea22c41a3476676773221c3ae81
Reviewed-on: https://skia-review.googlesource.com/73700
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/gm/atlastext.cpp
40dc8a71f5d55dd7ed4e64c883664efae6da70ca 20-Nov-2017 Brian Salomon <bsalomon@google.com> Add clear function to TestAtlasTextRendering interface

Bug: skia:
Change-Id: I24563abe5e72e57e6764ddf6aca76ccf098cc488
Reviewed-on: https://skia-review.googlesource.com/73640
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/gm/atlastext.cpp
cbcb0a12ad0068b820c28178e8aa141166febd1f 19-Nov-2017 Brian Salomon <bsalomon@google.com> Revert "Revert "Add Atlas Text interface for rendering SDF glyphs.""

This reverts commit 9c2202ffc22b4293b48a4edeafa1b5d2bab8bb83.

Bug: skia:
Change-Id: I482ddf74f8e40d3d0908c840ba5c6ff981ccefbd
Reviewed-on: https://skia-review.googlesource.com/73345
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/gm/atlastext.cpp
9c2202ffc22b4293b48a4edeafa1b5d2bab8bb83 18-Nov-2017 Greg Daniel <egdaniel@google.com> Revert "Add Atlas Text interface for rendering SDF glyphs."

This reverts commit 39631f3df172feb385527a5d125bc53b0bded7e6.

Reason for revert: break google3 rool

Original change's description:
> Add Atlas Text interface for rendering SDF glyphs.
>
> This new API is built upon SDF text atlas code from the GPU backend. Unlike using the GPU
> backend to draw text, this set of interfaces allows the client to render the SDF glyphs. The
> client issues text draws to potentially multiple targets and then the client flushes. The
> client then gets commands from Skia with data to put into a texture atlas and vertices to
> draw that reference the texture. The client is responsible for creating the texture, uploading
> the SDF data to the texture, and drawing the vertices provided by Skia.
>
> Change-Id: Ie9447e19b85f0ce1c2b942e5216c787a74f335d3
> Reviewed-on: https://skia-review.googlesource.com/59360
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com

Change-Id: I4aad0c99e645b476fd8ba25731f2a10e8802bb25
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/73420
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
/external/skia/gm/atlastext.cpp
39631f3df172feb385527a5d125bc53b0bded7e6 17-Nov-2017 Brian Salomon <bsalomon@google.com> Add Atlas Text interface for rendering SDF glyphs.

This new API is built upon SDF text atlas code from the GPU backend. Unlike using the GPU
backend to draw text, this set of interfaces allows the client to render the SDF glyphs. The
client issues text draws to potentially multiple targets and then the client flushes. The
client then gets commands from Skia with data to put into a texture atlas and vertices to
draw that reference the texture. The client is responsible for creating the texture, uploading
the SDF data to the texture, and drawing the vertices provided by Skia.

Change-Id: Ie9447e19b85f0ce1c2b942e5216c787a74f335d3
Reviewed-on: https://skia-review.googlesource.com/59360
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/gm/atlastext.cpp