History log of /frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
871cd2dd6074544bd41a84ff38255d81a392546a 17-Mar-2017 Mike Reed <reed@google.com> use SkVertices::Builder in drawBitmapLattice
override new virtual onDrawVerticesObject

Test: CtsGraphicsTestCases

Change-Id: I38e3ee0aa2a1ee9c11474c2c5d648ee5fca20d78
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
9969111d9c8017cdd439edbb2c54ef9678b24a59 03-Feb-2017 Yuqian Li <liyuqian@google.com> Implement SkiaCanvasProxy::onDrawArc

Test: UiRendering CTS SweepTests with picture mode turned on and
drawBitmapMesh turned off (it's not implemented yet).

This should fix BUG:34306056, and part of BUG:34871089 (the drawArc part
of SweepTests in picture mode).

BUG:34306056
BUG:34871089

Change-Id: I8fdcf72ddb4a0bfccedfd7e4e374a1ec5df17d75
(cherry picked from commit 538b6359cf81b14322141089161f20291295d6d3)
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
db15537e6e0d35c7ed3b1bef45e421760be70683 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> resolve merge conflicts of 082a1721b516 to master

Test: compile
Bug: 26552300
Bug: 31289077
Change-Id: I17f178f425975c1c0dbd48091d25b101956d505e
52eb4e01a49fe2e94555c000de38bbcbbb13401b 29-Sep-2016 Mark Salyzyn <salyzyn@google.com> Replace cutils/log.h and log/logger.h with log/log.h

Test: compile
Bug: 26552300
Bug: 31289077
Change-Id: I578b15b48f0fc2807a92abbc69a377c3d2191496
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
c543713babea6bcb83401726f70a3f25344131fe 09-Jan-2017 Derek Sollenberger <djsollen@google.com> Merge "Remove clipRegion from the public API."
770e0b500793bce45442b5f403913d14017df4e8 05-Jan-2017 Stan Iliev <stani@google.com> Implement image draw functions in SkiaCanvasProxy

Implement onDrawImage, onDrawImageRect and onDrawImageLattice in
SkiaCanvasProxy. This allows to replay SkPicture with HWUI pipeline.
This CL is needed to keep up with other changes in SkiaRecordingCanvas,
because Canvas::drawBitmap is translated to SkCanvas::drawImage.

Test: Built and ran angler-userdebug, ran HWUI unit tests.
Change-Id: Icd6cfd3bc51628a2c336faf4c95dfd5366a949a9
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
b29b16e5423fe7deab8ebf3da512c6d2192f19b5 04-Jan-2017 Derek Sollenberger <djsollen@google.com> Remove clipRegion from the public API.

This API is difficult to support for printing and has other negative
effects as it does not respect the current matrix/clip.

Test: compile
Bug: 14650725
Change-Id: I71f9bd687d446c7ce8910d755421aad8e09458db
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
6e49c9f007c879f05b035c40c0ba543c00f9d0d0 02-Dec-2016 Mike Reed <reed@google.com> switch over clip calls to use SkClipOp instead of SkRegion::Op

Change-Id: I67d23c487b5249bc31d96e3b2393f693c0b2bcff
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
09bd6c201dd7b5dfaae45ebf413fe0a779eb0268 03-Nov-2016 Derek Sollenberger <djsollen@google.com> Implement onDrawTextBlob in the SkiaCanvasProxy.

Test: hwui_unit_tests now pass
Bug: 30353290
Change-Id: I26c98be394e9dbd1cf63fe3eac18cb090403ace7
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
c2f31df8b3b9a237e9abffc59c61804ad8495073 28-Oct-2016 Mike Reed <reed@google.com> use SkBlendMode

skbug.com/5814

Test: compile only
Change-Id: Ibbaff43df1117b2ca77fd8f917f03d88cc476330
(cherry picked from commit 26edbcba8a2ed4cb300e7f87e679e3b73cec2772)
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
fc9999505a36c66892d7ccce85187936105f4f36 17-Oct-2016 sergeyv <sergeyv@google.com> Pass Bitmap instead of SkBitmap for bitmap rect operation
Test: refactoring cl.
bug:32216791

Change-Id: I66d19194c57b3aa2c400aa87acffc774a533776a
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
aed7f58fb05a25ce2112829e77c0eb5dd268e8a7 15-Oct-2016 sergeyv <sergeyv@google.com> Pass Bitmap instead of SkBitmap in canvas.drawBitmap(Bitmap, float,float,Paint)
Test: refactoring cl.
bug:32216791

Change-Id: If9f9fbc19e683b14cce6c3c268258bd832d495d2
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
2b2c7f1e4ee2196750055bf733e939b468ff9502 25-Jul-2016 Stan Iliev <stani@google.com> Merge "Fix bound rectangle calculation in SkiaCanvasProxy::onDrawPosText"
d84d2ee3359af8478afd3f891d5d316af1a562ed 25-Jul-2016 Stan Iliev <stani@google.com> Fix bound rectangle calculation in SkiaCanvasProxy::onDrawPosText

SkiaCanvasProxy::onDrawPosText was calculating wrong bound rectangle,
because the initial rectangle used to accumulate the result was not
initialized.

bug: 30357689
Change-Id: I2c2afd4645237c50a3fcf2bbd99ae1ce2cd911c1
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
afc221499d943386256feb9db46c119ff834bf79 18-Jul-2016 Yuqian Li <liyuqian@google.com> More efficient text rendering on path

Change-Id: I004c15473b527df0f296c54a6a3e9b29505fd9b9
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
79fc3b1f1675364dbb739ffa511a68ed5a80f357 24-Mar-2016 Matt Sarett <msarett@google.com> Update SkiaCanvasProxy with SkSurface API change

(cherry picked from commit 187b99292d0bf86e9e76b0c8d447abcbefe29afb)

Change-Id: I09a5ae6a844dec4607bc3f45e22dad93a00c0dc8
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
35934cccabf72879603ef37222da2195445f027e 23-Mar-2016 Derek Sollenberger <djsollen@google.com> Compute text bounds on a per glyph basis when drawing from an SkPicture.

bug: 27665826
Change-Id: I031c08a348b2488c85f74e708ee90019b24d707f
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
dccca44ffda4836b56a21da95a046c9708ffd49c 21-Mar-2016 sergeyv <sergeyv@google.com> Reland: Move text logic from jni to hwui level

Initial CL: https://googleplex-android-review.git.corp.google.com/#/c/886854/

Change-Id: I9dfd85fe1d2a2c44f4360c8a29fd58d80e6f31c8
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
afbd0f1fef46ef0ddf633dfde0de724db3da1405 21-Mar-2016 Sergei Vasilinetc <sergeyv@google.com> Revert "Move text logic from jni to hwui level"

This reverts commit a7f6bba1a3565c19715e878dfe7f0e01022944ff.

Change-Id: If4f36f87a85411b6128fd92d391313803ccaf9dd
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
a7f6bba1a3565c19715e878dfe7f0e01022944ff 16-Mar-2016 sergeyv <sergeyv@google.com> Move text logic from jni to hwui level

bug:25865834
Change-Id: I2d8c9c9544afcb5ce1784f732aed3e54e0eda372
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
eecff56fed5dd5206acfbc5007b4912081b36d3b 21-Dec-2015 Florin Malita <fmalita@google.com> Add internal Canvas save flags

Skia's SkCanvas::SaveFlags are being deprecated. This CL introduces
the equivalent android::SaveFlags, converts all internal clients to
the new enum, and switches the saveLayer glue to the
SaveLayerRec-based API.

Change-Id: Icb1785f4e7c0f652b1f04b34a1e3ccb063c408f3
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
5518e7cbd4e8d7a7cb3d60a4251eccc3b7fb82db 04-Jan-2016 Leon Scroggins III <scroggo@google.com> Override getSaveLayerStrategy instead of willSaveLayer

willSaveLayer was removed in https://codereview.chromium.org/1537193002

Requires SkCanvas::SaveLayerFlagsToSaveFlags, added in ag/839104
(Ic78acd6d780245bd30b891e7dcabe29daacc17f4)

Change-Id: Idc49b38fc7939620267b4402ff3846b29f27c81a
(cherry picked from commit e208643a6f9d076274dd683c51a086b1e3679896)
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
d2db5c10a338fe5b339bd3d8e71818a43b105c72 16-Dec-2015 Derek Sollenberger <djsollen@google.com> Remove onDrawSprite API as it is no longer exposed via SkCanvas

Change-Id: Id6f0bb7a9b4eaad0d0442d4ab4212f6a56070c66
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
f35b989d26bb98900f6c5fa2e586326b30b6e161 31-Jul-2015 Leon Scroggins III <scroggo@google.com> Merge six commits from master-skia to master

Also corrects some code under development behind the HWUI_NEW_OPS flags
to match the updated Skia API.

Include external/skia/include/private
use SrcConstraint for drawBitmapRect
clean up to allow removal of flags for SCALAR_DIV and IMAGEINFO_FIELDS
don't call DEPRECATED getDevice()
update to newer API for drawBitmapRect
asABitmap is deprecated, used isABitmap

previous-Change-Id: I12208855a95948897077b1c1549eb35416cc801e
previous-Change-Id: I5044f0f61315fe48c60d7af5e261a7d0ed574f56
previous-Change-Id: Ic34a3ba77b3f9e091fa7aaba75018a307abacdab
previous-Change-Id: I79f8dd779920565d1204f7fe67b3286b1bbf4e9b
previous-Change-Id: Ic04d1f8274f6a862ea00f8d241363cf31f5ec1ec
previous-Change-Id: I9e4ae257a1976c74302b6a73f17405174ae58cec
previous-Change-Id: I85de3462ad1e4877784df38edc4bcd0acbd24e5e
Change-Id: Ide8e2f669e91a13c32521af3a16efdaa085c81d0
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
d8f904f256b82e48e9a85561eb96e15399b0b2d9 28-Oct-2015 Tom Hudson <tomhudson@google.com> Revert "Merge six commits from master-skia to master"

This reverts commit 550780745fa28ae9a87d02331841ca5ce4f9c763.

Change-Id: Ic71eccea454b26261fe6e9a9a7a24eff56396989
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
550780745fa28ae9a87d02331841ca5ce4f9c763 31-Jul-2015 Leon Scroggins III <scroggo@google.com> Merge six commits from master-skia to master

Include external/skia/include/private
use SrcConstraint for drawBitmapRect
clean up to allow removal of flags for SCALAR_DIV and IMAGEINFO_FIELDS
don't call DEPRECATED getDevice()
update to newer API for drawBitmapRect
asABitmap is deprecated, used isABitmap

Change-Id: I519f54f97321a7a365ea81a3b78cb03b9bdca021
previous-Change-Id: I12208855a95948897077b1c1549eb35416cc801e
previous-Change-Id: I5044f0f61315fe48c60d7af5e261a7d0ed574f56
previous-Change-Id: Ic34a3ba77b3f9e091fa7aaba75018a307abacdab
previous-Change-Id: I79f8dd779920565d1204f7fe67b3286b1bbf4e9b
previous-Change-Id: Ic04d1f8274f6a862ea00f8d241363cf31f5ec1ec
previous-Change-Id: I9e4ae257a1976c74302b6a73f17405174ae58cec
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
b03198de9f3c1e6f16367d25e9b2ae8bf540b379 20-Aug-2015 Ben Wagner <bungeman@google.com> Merge "Use static_assert instead of SK_COMPILE_ASSERT."
e3a40ea488c7cfa396d5901255719a6ddab791d4 19-Aug-2015 Ben Wagner <bungeman@google.com> Use static_assert instead of SK_COMPILE_ASSERT.

Now that static_assert is allowed, there is no need to use a non-
standard compile time assertion.

Change-Id: I0b294efcf494983f8241e9d5a2c476e2f2a9fff0
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
6daa13c5fa7577fa1d8371deca446f6ca911f38f 19-Aug-2015 Chris Craik <ccraik@google.com> Change setMatrix behavior to only affect canvas-local matrix

bug:22189925

This makes setMatrix(getMatrix()) work as expected, and makes setMatrix()
much more useful without changing behavior relative to a View's parent
hierarchy.

Change-Id: I608613bd27c1b9052ae583f8fd2119cf37a2f6d7
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
6bbf68d05a9deb335fc693b4a64651aea1b4e9e0 19-Aug-2015 Ben Wagner <bungeman@google.com> Remove use of SkAutoSTMalloc from Android.

Skia desires to make SkTemplates.h private since the classes there
are designed only for internal use.

Change-Id: I1e05e54de9eb68e50ccd6a691889fecf34bc9cea
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
a11ee3c4131d889d57b7d2cf30faa7c105b23b10 04-Aug-2015 Ben Wagner <bungeman@google.com> Add Skia includes where needed.

A proposed change in Skia will forward declare more classes in more
headers. As a result, some Skia headers need to be explicitly
included.

Change-Id: I577095afde9de0e36b8f904aee91979b01e30726
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
0f6cb32c75d622d4ae0417eb29b34fc8c8a92598 10-Jul-2015 Tom Hudson <tomhudson@google.com> am a5e2946f: am b9d7bba5: am 434b577f: am 8ac76504: am 9613e9b7: Merge "New setLocalMatrix() operation for HWUI" into mnc-dev

* commit 'a5e2946f5ab7618997fb317ad9f5f56c160ebee5':
New setLocalMatrix() operation for HWUI
ac7b6d33d23cb0baaf61c723346198d41f012035 30-Jun-2015 Tom Hudson <tomhudson@google.com> New setLocalMatrix() operation for HWUI

Concats any matrix passed through from DisplayListCanvas with the
initialTransform of the containing RenderNode.

BUG:22189925

Change-Id: I5ea54a6e2a29520c79a8860bde7682694e8595d2
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
17c5adfa63872fbb6a903a5941e3c6455995b92d 09-Jun-2015 Tom Hudson <tomhudson@google.com> drawBitmap() support for extractSubset()

In SkiaCanvasProxy, translate drawBitmap() calls on bitmaps which
are the result of extractSubset() into drawBitmapRect() calls on the
original PixelRef.

If HWUI isn't going to support subsetting, we'll need to do this,
probably at additional entry points, to interoperate with native Skia
bitmaps. This change by itself fixes the extractbitmap GM.

R=djsollen@google.com
BUG=skia:3606

Change-Id: I5744da87d8f16dc1a252f606dfaa4016bd01e66e
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
20c2b3ef74ac96fee5ef1daa7959c434d6caeb97 15-Apr-2015 Tom Hudson <tomhudson@google.com> Fix positioned text bounds

drawPosText() bounds weren't taking their offset into account properly
in absolute-positioned cases.

R=djsollen@google.com
BUG=skia:3673

Change-Id: Ic39fd45491231ed3e3949ffbc1f063a4fc12c3f8
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
b1476ae7d515d6c406b4367cfb4ada8ce2d116e1 05-Mar-2015 Tom Hudson <tomhudson@google.com> Fix bug, change crashes to warnings

Improve behavior when we get a call to draw 0 points.
Replace one ALWAYS_FATAL statements with noop.

Change-Id: I864b7a9633dfa3dc6eefa403beca4cc7ae14074f
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
806a6f07a37c16b37631d8707dd1f2b41276fafc 19-Feb-2015 Tom Hudson <tomhudson@google.com> Fix onDrawText for non-absolute positioning

If we were drawing text with drawTextAbsolutePos() false, we would
draw the first character at 0,0 but subsequent characters would get
improperly offset by y. (or x if vertical text)

Change-Id: I4e76cd9d95bf1bb6ac021d99ef7cdd6333a290ba
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp
1db141f93c4fe79a4669440c3d14f63bc87b2e34 16-Dec-2014 Derek Sollenberger <djsollen@google.com> Create proxy between Skia's SkCanvas and the framework Canvas.

This enables Picture.java to be replayed into HWUI in addition
to extending the Skia testing suite to HWUI.

Bug: 19011232
Change-Id: Id27ac03eec817b0784763e62ab8413a07b3b8cb2
/frameworks/base/libs/hwui/SkiaCanvasProxy.cpp