summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Avoid over-damaging layer area for multidrawsChris Craik2015-06-242-8/+19
| |/ | | | | | | | | | | bug:19608961 Change-Id: Ib7495f155da62a352e9a010a362fd40ec0acad21
* | Merge "Sync canvas proxy CTM (b/21945972)" into mnc-devTom Hudson2015-06-242-0/+12
|\ \
| * | Sync canvas proxy CTM (b/21945972)Tom Hudson2015-06-242-0/+12
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SkiaCanvasProxy was being created with an identity transform, ignoring any transform that may have been applied in Java (or C++) to the android graphics Canvas it was proxy for. This CL makes sure the DisplayListCanvas transform is propagated to the Proxy every time asSkCanvas() is called. We could instead move the code to the SkiaCanvasProxy constructor if we got rid of the cached proxy on DisplayListCanvas; nobody's using the proxy heavily enough that that should be a performance hit at this time. BUG:21945972 R=djsollen@google.com Change-Id: I99ed1563802a2449bb9939cb67976cd60dd8611c
* | Merge "Unify clipping return value behavior - true if not empty" into mnc-devChris Craik2015-06-241-3/+3
|\ \
| * | Unify clipping return value behavior - true if not emptyChris Craik2015-06-231-3/+3
| |/ | | | | | | | | | | bug:22035484 Change-Id: I23ecca38554a60c590181290900deb0e2c48cea1
* | Merge "Dump GL errors and crash on failure to allocate texture for layer" ↵Chris Craik2015-06-233-11/+10
|\ \ | | | | | | | | | into mnc-dev
| * | Dump GL errors and crash on failure to allocate texture for layerChris Craik2015-06-233-11/+10
| |/ | | | | | | | | | | bug:22029728 Change-Id: Ib6f778975225b36567b12e30967955640ec185b3
* | Avoid flushing DisplayListCanvas state for noop callsChris Craik2015-06-221-0/+6
|/ | | | | | bug:22006795 Change-Id: I2eceee69772b08f5319ea882be429a5b36860b7d
* ZipFileRO: Use precise widths for zip file types.Narayan Kamath2015-06-173-18/+11
| | | | | | | | | | | | | | | | | | getEntryInfo crashes on 64-bit devices because "long" types were being passed int pointers (that pointed to a stack frame) that were reinterpret_cast'ed to long* (sigh.). To fix this issue once and for all, use types with explicitly defined widths. This change also removes some dead invariant checking from Asset.cpp instead of cleaning it up. Note that we've introduced a wart in NativeLibraryHelper, where we need to deal with zlib's uLong type, which is "at least 32 bits wide". bug: 21622286 Change-Id: Iae675a9601db7aae03a8b80b40321d2cc1d97f50
* Fix null derefJohn Reck2015-06-161-2/+6
| | | | | | | | | | Bug: 21857172 willHaveFunctor was assuming that either mStagingDisplayList or mDisplayList would be non-null but this isn't true. Both can be null in some scenarios (notably after a trimMemory) Change-Id: Ia2915b84cfc907ec9c7cbec54ed6dc26283ec998
* Merge "Put WebViews with on a HW layer if stencil/shader clipping is needed" ↵Chris Craik2015-06-126-19/+85
|\ | | | | | | into mnc-dev
| * Put WebViews with on a HW layer if stencil/shader clipping is neededChris Craik2015-06-126-19/+85
| | | | | | | | | | bug:17322378 Change-Id: I0de574bf116b30e2ad4194366e19d47d49708902
* | Merge "Fix roundrect clipping / blending ordering" into mnc-devChris Craik2015-06-123-29/+42
|\ \ | |/ |/|
| * Fix roundrect clipping / blending orderingChris Craik2015-06-123-29/+42
| | | | | | | | | | | | | | | | | | bug:21803918 Also, don't consider rr clipped ops opaque, and put stage checking behind a debug flag. Change-Id: I9304ae571337a7cf835524682d1a590a21d30fa4
* | Revert to save-layer based alpha if layer would be too largeChris Craik2015-06-123-5/+42
|/ | | | | bug:21011574 Change-Id: I323f2398188ffc2bbed6a98578d25d7e5f6c337d
* Merge "Upload bitmaps in SkShader* safely" into mnc-devJohn Reck2015-06-093-16/+23
|\
| * Upload bitmaps in SkShader* safelyJohn Reck2015-06-093-16/+23
| | | | | | | | | | Bug: 19412589 Change-Id: Id50c08ff523d5540f60c39b435c0ab1b4c685655
* | Merge "Delete unused" into mnc-devJohn Reck2015-06-082-15/+0
|\ \ | |/
| * Delete unusedJohn Reck2015-06-082-15/+0
| | | | | | | | Change-Id: If27e1eb8e42313eae14df58a24ca54fafb2992fa
* | Merge "Add projection info to RenderNode dumps" into mnc-devChris Craik2015-06-081-9/+12
|\ \
| * | Add projection info to RenderNode dumpsChris Craik2015-06-081-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | bug:21502154 Also fixes several issues around DISPLAY_LIST_DEBUG Change-Id: I726f5bc071f8c037ffe1b224175fe5c1e2b1c5bd
* | | Merge "Disable -Werror on Clang" into mnc-devJohn Reck2015-06-081-1/+5
|\ \ \
| * | | Disable -Werror on ClangJohn Reck2015-06-081-1/+5
| | |/ | |/| | | | | | | | | | Bug: 21698669 Change-Id: I90549599ed52cff028a29f56d3d8ffe80c9afab4
* | | Fix clang warningsJohn Reck2015-06-081-1/+0
| |/ |/| | | | | | | Bug: 21695880 Change-Id: I2985a42a52ab27c546b4317ea70f94d1506c5347
* | Iterate step of launch & iterateJohn Reck2015-06-044-56/+97
|/ | | | | | | | | | Bug: 18052916 Tweaked colors, merged some categories Reduced significance of fast frames Increased visual weight of janky frames Change-Id: I5b4e86164c4d51debad7de0e0f8715dda34c7a60
* Delete MAKE_ENUM_FLAGSChris Craik2015-06-036-98/+73
| | | | | | | | bug:21595702 Settle on namespace-enum for consistency. Also removes k prefix. Change-Id: Ib89f94cb9263de40b6e4636577dca4860867d0d8
* Fix warningJohn Reck2015-06-033-3/+3
| | | | | Bug: 21608208 Change-Id: I1d1cf1fbc8c0a4561bf76e307c56be580fb4baef
* Merge "Handle shader matrix correctly when ignoring canvas transform" into ↵Chris Craik2015-06-0310-132/+203
|\ | | | | | | mnc-dev
| * Handle shader matrix correctly when ignoring canvas transformChris Craik2015-06-0210-132/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | bug:20063841 Restores old SkShader matrix behavior from before the Glop refactor. Many drawing operations draw without sending the canvas transform to the GL shader. In such cases, we need to adapt the matrix sent to the SkShader logic to invert the canvas transform that's built into the mesh. Change-Id: I42b6f59df36ce46436322b95bf9ad2140795ee58
* | Merge "More colors, now with material colors" into mnc-devJohn Reck2015-06-024-75/+85
|\ \
| * | More colors, now with material colorsJohn Reck2015-06-024-75/+85
| |/ | | | | | | | | Bug: 18052916 Change-Id: I66c2573d796338ee7b7d0ddf240b90cc78a71ce5
* | FrameInfo header fixesJohn Reck2015-06-023-1/+24
|/ | | | | | | | | Bug: 21560187 Log column names as part of output in case of other such issues Change-Id: I16157ed968307e761d416ca54bd7af5453fe67bf
* Tweak the threshold for conic path quads computation.ztenghui2015-05-293-33/+62
| | | | | | | | We still want it to be related to the threshold for bezier generation. b/19903239 Change-Id: Ifdce32f1c28ecea9eac98d02c73afa948341fc7d
* Merge "Fix round cap approximation to understand scale" into mnc-devChris Craik2015-05-282-5/+18
|\
| * Fix round cap approximation to understand scaleChris Craik2015-05-272-5/+18
| | | | | | | | | | bug:19772120 Change-Id: I7b944faed1d1e8d5f55453802da57679217d9d9a
* | Fix buildChris Craik2015-05-281-1/+2
| | | | | | | | Change-Id: I7ee28c474aa821eb598f719723d87416a41537b9
* | Merge "Use path intersection instead of saveLayer+mesh to mask projected ↵Chris Craik2015-05-2815-126/+190
|\ \ | |/ |/| | | ripples" into mnc-dev
| * Use path intersection instead of saveLayer+mesh to mask projected ripplesChris Craik2015-05-2615-126/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:14297149 SaveLayer's performance cost is high, and proportional to the surface being projected onto. Since ripples (even unbounded ones) are now always projected to the arbitrary background content behind them, this cost is especially important to avoid. This removes the last semi-secret, saveLayer from the projected ripple implementation. Also fixes the HW test app to correctly demonstrate this projection masking behavior. Additionaly, alters PathTessellator to gracefully handle counter-clockwise paths, and simplifies the work done by ShadowTessellator to ensure all of its paths are counterclockwise. Change-Id: Ibe9e12812bd10a774e20b1d444a140c368cbba8c
* | Merge "Fix assert when dumping view at 0 alpha" into mnc-devChris Craik2015-05-272-3/+4
|\ \
| * | Fix assert when dumping view at 0 alphaChris Craik2015-05-272-3/+4
| |/ | | | | | | | | | | bug:21461177 Change-Id: Ib4aba7b9641254012471da44aa804813b9679423
* | Merge "Fix GL texture binding for TextureViews" into mnc-devChris Craik2015-05-271-2/+2
|\ \
| * | Fix GL texture binding for TextureViewsChris Craik2015-05-271-2/+2
| |/ | | | | | | | | | | | | | | | | bug:21431334 Should be explicitly passing target through, to ensure GL_EXTERNAL_OES textures are bound correctly. Change-Id: I997672ae292ea7fc016c02a59a3c7c8358ecfe0b
* | Merge "Enable swapBuffersWithDamage by default" into mnc-devJohn Reck2015-05-272-8/+3
|\ \
| * | Enable swapBuffersWithDamage by defaultJohn Reck2015-05-272-8/+3
| | | | | | | | | | | | | | | | | | Bug: 20761426 Change-Id: I520e60ca4f182dea590bc86eebd522e1db7a018a
* | | Merge "Fix position snapping for drawBitmap(rect, rect)" into mnc-devChris Craik2015-05-261-6/+9
|\ \ \
| * | | Fix position snapping for drawBitmap(rect, rect)Chris Craik2015-05-261-6/+9
| | |/ | |/| | | | | | | | | | bug:20669049 Change-Id: Ied5f1d7e681409b6b7f6f582ed344b479df4c6d7
* | | Merge "Unflip TextureView getBitmap readback" into mnc-devChris Craik2015-05-261-8/+0
|\ \ \ | |_|/ |/| |
| * | Unflip TextureView getBitmap readbackChris Craik2015-05-221-8/+0
| |/ | | | | | | | | | | bug:20165725 Change-Id: I09035f43be140145c54221d6865206ce486994c9
* | Suppress benign clang warning.Chih-Hung Hsieh2015-05-221-1/+3
| | | | | | | | | | | | | | To unblock continuous clang/llvm builds. BUG: 21337624 Change-Id: I38e5d11fd3c44f50430a3a8519c5071674b3df9f
* | Eliminate requireGlContextJohn Reck2015-05-207-56/+17
|/ | | | | | Bug: 20297820 Change-Id: I37c63bab6f6c0d2337c8c6002046d2ef17e74097