summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Glop Bitmap and RoundRect clipping supportChris Craik2015-02-1214-189/+421
| | | | Change-Id: I4577546a5d2e5f084cc03f39a89db9231b8111ee
* Fix Glop vertex alpha blendingChris Craik2015-02-093-6/+17
| | | | | | Need to force blending if vertices have alpha attribute Change-Id: I821792db6b613b4d0243cf9c7a045cba014acdc1
* Glop support for indexed quadsChris Craik2015-02-098-53/+123
| | | | | bug:19014311 Change-Id: If35a873421b41cc4508b0d8ac1b4d900c9bb3717
* Merge "Glop ColorFilter & VertexBuffer support, initial enable"Chris Craik2015-02-0639-415/+443
|\
| * Glop ColorFilter & VertexBuffer support, initial enableChris Craik2015-02-0639-415/+443
| | | | | | | | | | | | | | Enables Glop rendering for supported Rects and VertexBuffers Also removes unused Query object Change-Id: Ibe227bc362685a153159f75077664f0947764e06
* | Merge "Don't try to fully tear down program in terminate()"Chris Craik2015-02-051-1/+1
|\ \ | |/
| * Don't try to fully tear down program in terminate()Chris Craik2015-02-051-1/+1
| | | | | | | | | | | | | | | | bug:19277550 The program will be destroyed anyway by nature of the program cache cleanup. Change-Id: I304becd34fdf40baf314bae8b37d2c072ad44409
* | Merge "GlopBuilder, and test app refactor"Chris Craik2015-02-0515-112/+417
|\ \ | |/
| * GlopBuilder, and test app refactorChris Craik2015-02-0415-112/+417
| | | | | | | | Change-Id: I2cd299ccf178007fd5f83bab6c3448f03aec7843
* | resolved conflicts for merge of c7e6b93a to masterJohn Reck2015-02-044-13/+13
|\ \ | | | | | | | | | Change-Id: I4b791f37193727a0306214645f2f98cdf218cad0
| * \ am af6eaf65: Merge "Fix ANR caused by hwuiTask thread" automerge: 5ad36d4John Reck2015-02-044-13/+13
| |\ \ | | | | | | | | | | | | | | | | * commit 'af6eaf656ec0de5fcbea03968daffe2c845e2089': Fix ANR caused by hwuiTask thread
| | * \ Merge "Fix ANR caused by hwuiTask thread"John Reck2015-02-044-13/+13
| | |\ \
| | | * | Fix ANR caused by hwuiTask threadSangkyu Lee2015-01-124-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If hwuiTask thread is exited while HWUI renders something, some tasks can remain unfinished forever. This can make ANR problem if RenderThread waits this kind of tasks. According to the current implementation, hwuiTask threads are exited when HWUI receives trimMemory() callback with level >= 20 and some applications such as SystemUI can receive trimMemory() with level >= 20 even though they renders something yet. (For instance, when RecentsActivity in SystemUI is finished, HWUI receives trimMemory() callback with level >= 20 but SystemUI should still render the status bar and navigation bar.) This patch prevents the tasks from remaining unfinished and make the tasks executed immediately if they cannot be added to their TaskProcessors. Change-Id: I5bd26439aa5f183b1a7c1ce466362e27554b4d16
* | | | | Merge "Refactoring of Program ownership/lifecycle, and WIP Glop rendering path"Chris Craik2015-02-0317-124/+293
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Refactoring of Program ownership/lifecycle, and WIP Glop rendering pathChris Craik2015-02-0217-124/+293
| | | | | | | | | | | | | | | | | | | | Change-Id: I2549032790bddbc048b0bccc224ed8f386b4517c
* | | | | Merge "Add a WAIT_FOR_GPU_COMPLETION option"John Reck2015-01-304-115/+21
|\ \ \ \ \
| * | | | | Add a WAIT_FOR_GPU_COMPLETION optionJohn Reck2015-01-304-115/+21
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I18d526120651676109200bfd5da87cafcd7e3d13
* | | | | | Merge "Refactor blending and texture gl state"Chris Craik2015-01-3026-345/+498
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Refactor blending and texture gl stateChris Craik2015-01-3026-345/+498
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia6b3c8b2afd3dfcee7f3ce401d846b789612054a
* | | | | | Merge "Create proxy between Skia's SkCanvas and the framework Canvas."Derek Sollenberger2015-01-306-12/+474
|\ \ \ \ \ \
| * | | | | | Create proxy between Skia's SkCanvas and the framework Canvas.Derek Sollenberger2015-01-306-12/+474
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables Picture.java to be replayed into HWUI in addition to extending the Skia testing suite to HWUI. Bug: 19011232 Change-Id: Id27ac03eec817b0784763e62ab8413a07b3b8cb2
* | | | | | Merge "Fix double create of Caches"Chris Craik2015-01-301-1/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix double create of CachesChris Craik2015-01-301-1/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | bug:19208182 Change-Id: I91ac591cecc207da1b102013ca4985dd075cca80
* | | | | Merge "Rename Canvas::getSkCanvas to Canvas::asSkCanvas"Derek Sollenberger2015-01-303-54/+59
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Rename Canvas::getSkCanvas to Canvas::asSkCanvasDerek Sollenberger2015-01-293-54/+59
| | | | | | | | | | | | | | | | | | | | Change-Id: I967a45698d382e54eaa5ff64fa8909ff00908650
* | | | | resolved conflicts for merge of fe5ac4fc to masterJohn Reck2015-01-295-7/+27
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | Change-Id: I6c0cc82db14b56297586469f940e408c0e218b3b
| * | | | am 5f3e21ce: am 6efc3ac6: Merge "Allow ~Layer() to happen after ↵John Reck2015-01-295-7/+26
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | onGLContextDestroyed" into lmp-mr1-dev * commit '5f3e21cebeecf042e8e18a5021b3965415d9ff60': Allow ~Layer() to happen after onGLContextDestroyed
| | * | | | Allow ~Layer() to happen after onGLContextDestroyedJohn Reck2015-01-295-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19146354 Change-Id: I9e885936168bd541bfbed4064ad67ab524f58e32
* | | | | | Move more GL state management to RenderState and its directoryChris Craik2015-01-2825-497/+683
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic68584e1c08dc64be2ad43450cb6caa1de834fdc
* | | | | | Move scissor state to RenderStateChris Craik2015-01-2716-198/+248
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1227a3886fb24e4d9fad79fca469794f06cfb15e
* | | | | | am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."Yabin Cui2015-01-272-10/+2
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | | | | | | | | | | | | automerge: 3a10a67 * commit '3a10a672f05735be46256617b8a61cdb1e589008': kill HAVE_PTHREADS.
| * | | | am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."Yabin Cui2015-01-272-10/+2
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * commit 'f70492898b3efa3c5f480f195062fa6f293bc764': kill HAVE_PTHREADS.
| | * | | kill HAVE_PTHREADS.Yabin Cui2015-01-262-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19083585 Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
* | | | | Merge "Ensure compatible layout for vertices"Rob Tsuk2015-01-221-16/+27
|\ \ \ \ \
| * | | | | Ensure compatible layout for verticesRob Tsuk2015-01-221-16/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Require that these structs have standard layout, which is what we need to pass them to OpenGL. Inheritence with data members violates the rules for standard layout so I re-implemented them using templates to share the code and putting all the data members in each struct. Change-Id: I19cd0e5518728f2d3e0993b17d15fce7be7e0edb
* | | | | | Remove DisplayListLogBufferChris Craik2015-01-2110-208/+14
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I001832fc444b6d532f4a382e0a31cc1d8956dbd8
* | | | | | Merge "Simplify and correct texture upload unpack alignment parameter"Chris Craik2015-01-201-4/+1
|\ \ \ \ \ \
| * | | | | | Simplify and correct texture upload unpack alignment parameterChris Craik2015-01-201-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:18928352 Change-Id: I484dd225ef495394d5e4283345387647345c2a07
* | | | | | | am d9bd0886: am aee7225e: Merge "Process base APK" into lmp-mr1-dev ↵Adam Lesinski2015-01-201-1/+7
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 554a6f5 * commit 'd9bd08864eaf9d8847d974eadb81806b9e086a2d': Process base APK
| * | | | | | am aee7225e: Merge "Process base APK" into lmp-mr1-devAdam Lesinski2015-01-201-1/+7
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 554a6f5 * commit '554a6f5278ec05077d8252249afc911897fbfe76': Process base APK
| | * | | | | Process base APKAdam Lesinski2015-01-161-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The base APK may have resources with configurations that compete against some splits. The base APK must be involved in the selection of splits. Bug:18982001 Change-Id: Ieb29b5a36cf2c68e7831484d98a9fd275acd97e8
* | | | | | | Move CanvasJohn Reck2015-01-205-3/+876
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | Change-Id: I83d557af30fc2d5c69d06eedc0f4d52ac41c4210
* | | | | | am a2e1630b: am 996d3974: am ed35f5c7: Merge "Fast loadInverse() ↵Chris Craik2015-01-161-4/+32
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation for the common case" * commit 'a2e1630b1e82f19c8e58882ab484ed21c3508692': Fast loadInverse() implementation for the common case
| * | | | | am 996d3974: am ed35f5c7: Merge "Fast loadInverse() implementation for the ↵Chris Craik2015-01-161-4/+32
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | common case" * commit '996d39743a73cc37fb888779d52323743f50c666': Fast loadInverse() implementation for the common case
| | * | | | Fast loadInverse() implementation for the common caseRomain Guy2015-01-151-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most matrices used by the UI toolkit are translation matrices, whose inverses can be quickly computed by using the negated translation vector. Change-Id: I54a28a634a586085779bfc26f3a4160cd5ab2b22
| * | | | | Restore write_delete_fileBrian Carlstrom2015-01-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id93a59ae6c82f6068c58b22e2a651ff8a3b8f530
* | | | | | Merge "Clipping performance improvements"Rob Tsuk2015-01-1515-204/+884
|\ \ \ \ \ \
| * | | | | | Clipping performance improvementsRob Tsuk2015-01-1415-204/+884
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a ClipArea class to handle tracking clip regions. This class can select the most efficient implementation depending on the types of clipping presented. ClipArea re-used the rectangle and region-based clipping implementations as well as adding a "list of rotated rectangles" approach that is more efficient for rotated views with children. Change-Id: I2133761a2462ebc0852b394220e265974b3086f0
* | | | | | | am cefeb34e: am 2c9f86aa: am 53af1cd3: Merge "Vsyncs are hard" into lmp-mr1-devJohn Reck2015-01-151-0/+8
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | * commit 'cefeb34e4866209e2ccf4c520919fe31a3f1aeb5': Vsyncs are hard
| * | | | | | am 2c9f86aa: am 53af1cd3: Merge "Vsyncs are hard" into lmp-mr1-devJohn Reck2015-01-151-0/+8
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | * commit '2c9f86aa21b8d7ea6a77eaca9a49ccdb31245129': Vsyncs are hard