ecbcdd384c07402204064243981a432f5b0aad36 |
|
22-Mar-2016 |
sergeyv <sergeyv@google.com> |
Add offset() to Path's fast-case mode bug:22510833 Change-Id: I417ed13ff450aa7f6c72370b4c5de8e8a53a0235
/frameworks/base/core/jni/android/graphics/Path.cpp
|
434a481b2191562582c79be29f24c2e0b5ca60d0 |
|
24-Sep-2015 |
Elliott Hughes <enh@google.com> |
am ea1831d2: am b57dd722: resolved conflicts for a884d81e to stage-aosp-master * commit 'ea1831d211ea0e6b2d161c714bb0786369ef2df5': constify JNINativeMethod function pointer tables
|
b57dd722f1dc0663417da37d3a82f8283ad3c982 |
|
24-Sep-2015 |
Elliott Hughes <enh@google.com> |
resolved conflicts for a884d81e to stage-aosp-master Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/android/graphics/Path.cpp
|
1ad545d207db840d0e403569ce214431eead4217 |
|
20-Aug-2015 |
Derek Sollenberger <djsollen@google.com> |
Fix path direction enum to match native SkPath values Change-Id: I4010e400cef0baf6dd23d7f7e837a2bfb7154059
/frameworks/base/core/jni/android/graphics/Path.cpp
|
ee248599d49a15fc207c5aeb0b90ec263cc1d600 |
|
12-Feb-2015 |
Derek Sollenberger <djsollen@google.com> |
Refactor DisplayList path caching. This removes dependence on SkPath ptrs that HWUI does not control the lifecycle of. This clears up some errors where the paths are not generated from Java, but rather the Skia test suites. Cherry-pick of a change that originally landed in master-skia and is dependent on a skia merge (ag/655422). Change-Id: I41b9797a2b0af5d6b4ea51891565469d4f1d832d
/frameworks/base/core/jni/android/graphics/Path.cpp
|
a2732a2bf98f7dbd063f4e5679f5b8bfcbec2698 |
|
18-Dec-2014 |
John Reck <jreck@google.com> |
Stop pretending USE_OPENGL_RENDERER is a thing Change-Id: I732b490431fe90eafa00a00f3b5429f0d3a067e6
/frameworks/base/core/jni/android/graphics/Path.cpp
|
7d13d9db1ef90063cb542ccd6554042a6a3263b7 |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
resolved conflicts for merge of 3fc5e3ca to lmp-mr1-dev-plus-aosp Change-Id: Id8286e5a4381315a6060251a8055b0f1d1a96019
|
ed6b9dff563c5e22f040ff37e12c0d771e0478ae |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Consistency in core/jni Make consistent use of core_jni_helpers for registration. Translate some #ifdefs into const bools. Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
/frameworks/base/core/jni/android/graphics/Path.cpp
|
a35778c799e8073a42b9e22191bde9d838327ab7 |
|
06-Nov-2014 |
John Reck <jreck@google.com> |
Yank ResourceCache out of Caches Bug: 17947547 Pull the ResourceCache (aka, ref-counting side channel) out of Caches so that DisplayListRenderer doesn't use Caches, avoiding the risk of instantiating Caches on the wrong thread or without a GL context Change-Id: I7d63b70b3b0a0163308c5dedd6ef255eadebe8fd
/frameworks/base/core/jni/android/graphics/Path.cpp
|
68cfdad20d83400e0cc0ddb4c86deaeda3337d4d |
|
11-Sep-2014 |
George Mount <mount@google.com> |
Allow Path approximation to work with a single point Path. Bug 17452965 A single point Path (move-to only) was not returning any verbs in the verb list. This forces an approximation for single move-to and empty paths by giving the same value for fraction 0 and fraction 1. Change-Id: Icb1b932d730457680cf422377a83fe669f0a7687
/frameworks/base/core/jni/android/graphics/Path.cpp
|
24609581330bc350f797179e3c1a59789c645ec2 |
|
13-Jun-2014 |
Antonio Calabrese <acalabrese@google.com> |
Added primitive parameters to various functions requiring rectangles. Change-Id: I5a2678fa989f0ff34404b8236787a8153b05f113 bug:14322352
/frameworks/base/core/jni/android/graphics/Path.cpp
|
7979388d4f7d5d9dbfcf7e1cc4709f8088c034ae |
|
25-Apr-2014 |
Chris Craik <ccraik@google.com> |
Support Oval GradientDrawable outlines, and ShapeDrawable Change-Id: Ifc9e55757d3325cb28a1a812ec696512d4a18b39
/frameworks/base/core/jni/android/graphics/Path.cpp
|
2e0103eb340822f9d580c1aa8492bae8394b8243 |
|
04-Apr-2014 |
Leon Scroggins III <scroggo@google.com> |
Remove SkFloatToScalar. Now that SkScalar is always float (it may someday be double, but float to double is trivial), remove callers of SkFloatToScalar, which is deprecated in Skia. BUG:13694396 Change-Id: I524a9bb6f7702bc810bac55fb9d2cd5361a01cf7
/frameworks/base/core/jni/android/graphics/Path.cpp
|
5be83edd15e11420287cc0af93a95d5a6dfae68f |
|
04-Mar-2014 |
Chris Craik <ccraik@google.com> |
Add Path.isConvex, and force View outlines to be convex Change-Id: Idf3f1ee44240d77f7a7ddd0da898da8aa5d41864
/frameworks/base/core/jni/android/graphics/Path.cpp
|
eece0dda56ae29fff6e9003df97594f6ac50b6e2 |
|
27-Feb-2014 |
Derek Sollenberger <djsollen@google.com> |
Fix includes so that they no longer rely on the global Skia includes directories. bug:13225538 Change-Id: Ia5d816dc665f81c7985f21036af4fd0a63c560cf
/frameworks/base/core/jni/android/graphics/Path.cpp
|
56f57ccbd4fbbf4d572cc966d1cb76d7ae7ad334 |
|
31-Jan-2014 |
George Mount <mount@google.com> |
Revert "Add Path trimming." Bug 12489442 This reverts commit 7fe03a267e6edb65142444765ce29ad5ff126052. Change-Id: Idf434d79683e170364838388c7933a8591f7f4d3
/frameworks/base/core/jni/android/graphics/Path.cpp
|
e55bc7f1575fc5dacac70c4cb209e6aa0c582e71 |
|
29-Jan-2014 |
Narayan Kamath <narayan@google.com> |
Path.native_trim should return long, not int. Change-Id: Idafc4c58eb86ad1af614d31f8cb05216bd869482
/frameworks/base/core/jni/android/graphics/Path.cpp
|
36bef0bf30d6bae48cf3837df351075ca4fce654 |
|
20-Jan-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
AArch64: Make graphics classes 64-bit compatible This a merger of two commits submitted to AOSP by the following authors: ashok.bhat@arm.com, david.butcher@arm.coma craig.barber@arm.com, kevin.petit@arm.com and marcus.oakland@arm.com Due to the very large number of internal conflicts, I have chosen to cherry-pick this change instead of letting it merge through AOSP because the merge conflict resolution would be very hard to review. Commit messages below: ================================================ AArch64: Make graphics classes 64-bit compatible Changes in this patch include [x] Long is used to store native pointers as they can be 64-bit. [x] Some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) [x] AssetAtlasManager is not completely 64-bit compatible yet. Specifically mAtlasMap member has to be converted to hold native pointer using long. Added a TODO to AssetAtlasManager.java to indicate the change required. Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> ================================================================== AArch64: Use long for pointers in graphics/Camera For storing pointers, long is used in android/graphics/Camera class, as native pointers can be 64-bit. In addition, some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> =================================================================== Change-Id: Id5793fa0ebc17ee8b1eecf4b3f327977fdccff71
/frameworks/base/core/jni/android/graphics/Path.cpp
|
7023df08f14ec5dee76ac54c03e870f84e297636 |
|
27-Jan-2014 |
Narayan Kamath <narayan@google.com> |
Revert "AArch64: Make graphics classes 64-bit compatible" This reverts commit 18b4cbeedef21c1fa666a110a157bab66edff976. Change-Id: I0c52983a3ab1ace3ff743de546a43eca28e5cb0e
/frameworks/base/core/jni/android/graphics/Path.cpp
|
18b4cbeedef21c1fa666a110a157bab66edff976 |
|
20-Jan-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
AArch64: Make graphics classes 64-bit compatible This a merger of two commits submitted to AOSP by the following authors: ashok.bhat@arm.com, david.butcher@arm.coma craig.barber@arm.com, kevin.petit@arm.com and marcus.oakland@arm.com Due to the very large number of internal conflicts, I have chosen to cherry-pick this change instead of letting it merge through AOSP because the merge conflict resolution would be very hard to review. Commit messages below: ================================================ AArch64: Make graphics classes 64-bit compatible Changes in this patch include [x] Long is used to store native pointers as they can be 64-bit. [x] Some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) [x] AssetAtlasManager is not completely 64-bit compatible yet. Specifically mAtlasMap member has to be converted to hold native pointer using long. Added a TODO to AssetAtlasManager.java to indicate the change required. Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> ================================================================== AArch64: Use long for pointers in graphics/Camera For storing pointers, long is used in android/graphics/Camera class, as native pointers can be 64-bit. In addition, some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> =================================================================== Change-Id: Ib3eab85ed97ea3e3c227617c20f8d213f17d4ba0
/frameworks/base/core/jni/android/graphics/Path.cpp
|
7fe03a267e6edb65142444765ce29ad5ff126052 |
|
23-Nov-2013 |
George Mount <mount@google.com> |
Add Path trimming. Change-Id: Iafcf127a5136883ad4c0185d3c15f96d67f38d0d
/frameworks/base/core/jni/android/graphics/Path.cpp
|
c96c7b2e54965e30c8fb82295f1ca9f891ebd5e7 |
|
23-Aug-2013 |
George Mount <mount@google.com> |
Add animations along a Path. Change-Id: If03bd10a3961ff874e33489e1253146b8dadca33
/frameworks/base/core/jni/android/graphics/Path.cpp
|
8018c8db8221aa604b3c083e09d173cc27e53d83 |
|
30-Jul-2013 |
Romain Guy <romainguy@google.com> |
Add path ops API Path ops can be used to combine two paths instances in a single path object. The following operations can be used: - Difference - Reverse difference - Union - XOR - Intersection To use the API: Path p1 = createCircle(); Path p2 = createRect(); Path result = new Path(); result.op(p1, p2, Path.Op.DIFFERENCE); This code will subtract the rectangle from the circle and generate the resulting path in "result." Change-Id: Ic25244665b6691a7df0b0002a09da73d937b553b
/frameworks/base/core/jni/android/graphics/Path.cpp
|
5a7e828842c26f64bb6e0ef3e0019e1949b245ee |
|
04-Feb-2011 |
Chet Haase <chet@google.com> |
Fix crash when Paths are GCd in hw accelerated apps A recent change to optimize path rendering didn't account for the destruction of native objects by the VM finalizer. We may be done with the Java level version before we're done with the native structure that's used by the display list. For example, a drawing method on a View that creates a temporary path to render into the canvas will implicitly create a native structure that is put onto the GL display list. That temporary path may go away, but the native version should stick around as long as the display list does. The fix is to refcount the original native version of the path and only delete it when the refcoutn reaches zero (which means that it is no longer needed by any display list). This is a similar mechanism used for bitmaps and shaders. Change-Id: I4de1047415066d425d1c689aa60827f97729b470
/frameworks/base/core/jni/android/graphics/Path.cpp
|
fe48f65922d4a3cc4aefe058cee5acec51504a20 |
|
12-Nov-2010 |
Romain Guy <romainguy@google.com> |
Free resources only from the GL context thread. Bug #3179882 Resources were freed following garbage collections on a worker thread. This worker thread had no EGL context, which would cause the renderer to incorrectly assume that the memory was liberated. Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
/frameworks/base/core/jni/android/graphics/Path.cpp
|
a2341a9f6addcd79723965ec5b1a1c5ae0f8bd65 |
|
09-Sep-2010 |
Romain Guy <romainguy@google.com> |
Purge Skia objects from GL caches as needed. Change-Id: I754c671cf790ad5ae8bf047ad328034217da4ecc
/frameworks/base/core/jni/android/graphics/Path.cpp
|
54900e8c05e92a0783e8468ad7c4513eb66adc80 |
|
25-Mar-2010 |
Mike Reed <reed@google.com> |
update dox that we ignore the exact parameter on computeBounds Change-Id: I6051210ea2a73b4d1c6cd631a285209ab130b4e5
/frameworks/base/core/jni/android/graphics/Path.cpp
|
8ba88775fe9df1146de7683a6ef59e36e749b271 |
|
02-Apr-2009 |
Mike Reed <> |
AI 144018: change path to return its internal cached bounds, making it much lighter-weight to get the bounds. BUG=1748928 Automated import of CL 144018
/frameworks/base/core/jni/android/graphics/Path.cpp
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android/graphics/Path.cpp
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android/graphics/Path.cpp
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/jni/android/graphics/Path.cpp
|