summaryrefslogtreecommitdiff
path: root/core/java/android/view/GLRenderer.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove GLRendererJohn Reck2014-06-021-1521/+0
| | | | Change-Id: I180286417c1a354fc7eb1eadb1884ac6add0795c
* Re-jigger layersJohn Reck2014-05-301-14/+8
| | | | | | | | | | | | | | | | Bug: 15185239 Bug: 15238382 Make DeferredLayerUpdater ref counted so that HardwareLayer:finalizer() works non-crashily on leaked layers Give DeferredLayerUpdater the ability to have a layer destroyer set so that leaked layers can still be recycled on the RenderThread Order layer updates based off of pushLayerUpdate() calls to fix issue with nested layers Change-Id: I4449cee607f7e5126e02fed7464cf48038e3dfdf
* Enable debug stuffsJohn Reck2014-05-291-23/+16
| | | | | | | | Bug: 14596762 * dumpsys gfxinfo implemented * profile GPU visual_bars implemented Change-Id: Icb948a9d5af5989b5615504d0d76ade64b93ef5b
* Define light position (using new lighting spec) in JavaChris Craik2014-05-211-1/+2
| | | | | | Also updates the relative shadow strengths. Change-Id: I6cac7275d38df98aea9f0dda463cd7207102986a
* resolved conflicts for merge of 313c5f38 to masterJohn Reck2014-05-161-4/+0
| | | | | | | Conflicts: core/java/android/view/HardwareRenderer.java Change-Id: Ic5e4d578932fdcfe52d5f541bf1e1a93f33c32cd
* Merge "Cleanup attachFunctor"John Reck2014-05-071-34/+0
|\
| * Cleanup attachFunctorJohn Reck2014-05-071-34/+0
| | | | | | | | | | | | Bug: 13961296 Change-Id: Id48d11bfcc234afd1fd7e4fdd409a50e7208c81d
* | Implement TODO(romainguy)John Reck2014-05-071-0/+5
|/ | | | | | Bug: 14277445 Change-Id: Id52d6f7fcc023000adcc440bd4da67d9a673536b
* Add invokeFunctor call to ViewRootImplBo Liu2014-04-281-1/+1
| | | | | | BUG: 13961296 Change-Id: Ief8eea0b4c79a64ea76d75daaec176f1b8438581
* Clear mIgnoreDirtyState after drawJohn Reck2014-04-161-3/+3
| | | | Change-Id: I6dfb39e0ebc9a5732678d735d9bc5e8813926096
* Merge hasFunctors & pushStaging into prepareTreeJohn Reck2014-04-091-2/+2
| | | | | | | Bug: 13902607 Fixes synchronous mode for WebView in HardwareLayers Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
* Merge "Switch DisplayListData to a staging model"John Reck2014-04-091-7/+2
|\
| * Switch DisplayListData to a staging modelJohn Reck2014-04-091-7/+2
| | | | | | | | | | | | Bug: 13912977 Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
* | Fix ThreadedRenderer.setEnabled()John Reck2014-04-091-0/+5
|/ | | | | | | | | | | Bug: 13914116 Fixes lifecycle issues around setEnabled where ThreadedRenderer was reporting as being enabled before it had a Surface. This is incorrect. Also fix some EGL lifecycle issues Change-Id: I12ebb279707f9b533a570b61d68735d858b560bf
* Fence on draws that are reportedJohn Reck2014-04-071-0/+5
| | | | Change-Id: Ib2ec16cbda40f40df1710bdc868869ea8301f17e
* Add invokeFunctorJohn Reck2014-03-281-0/+26
| | | | Change-Id: I09e675d3e02e3e528642175ada00b2b17fab7652
* Merge "Remove kStatusInvoke & kStatusDraw"John Reck2014-03-291-23/+1
|\
| * Remove kStatusInvoke & kStatusDrawJohn Reck2014-03-281-23/+1
| | | | | | | | | | | | They are unused Change-Id: I44ecf1164dc6bc1b09438e733976d5a97a25f00e
* | Update several stale RenderNode variable namesChris Craik2014-03-281-3/+3
|/ | | | Change-Id: I61c8c66f5a79e3a89ae0d3cffbfd351c05bd6a2b
* Move where updateProperties is calledJohn Reck2014-03-241-0/+3
| | | | Change-Id: I27da448996019094c44487ce28c5689d098d6535
* Rename DisplayList->RenderNodeJohn Reck2014-03-171-9/+9
| | | | Change-Id: Idcca6f26ba6282594789962f5edb3ed53a290fef
* DisplayList lifecycle changesJohn Reck2014-03-101-3/+3
| | | | | | | | | | | Bug: 13360343 Change DisplayList to be more forgiving with weaker lifecycle requirements. Is more self-managed with a strong reference to the renderer it needs Also fix naming mismatch Change-Id: I5c89453a72a52954f6f959f0846199705dbb6476
* DisplayList overhaulJohn Reck2014-03-041-0/+5
| | | | Change-Id: I53418d580c98f706e971545cff81b9921c12cc5f
* Add back resize bufferJohn Reck2014-02-211-0/+1
| | | | | | Bug: 12825810 Change-Id: Ic2329c30524010f54778101853b30f8f8d9eeb6c
* AArch64: Make AssetAtlasService 64-bit compatibleAshok Bhat2014-02-211-1/+1
| | | | | | | | | | | | | | | | | Changes in this patch include [x] Long(64-bit) is used to store native pointers in AssetAtlasService and related classes 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) Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> (cherry-picked from 4de3f481bc59ab4b766dc027e41aff7cda9d62f7) Change-Id: If22daf40eef46f8df9f94d65ddcc52c45b3acf2a
* Fix NPE in layer destructionJohn Reck2014-02-201-1/+6
| | | | | | | | | Bug: 13111945 Fixes an issue where a layer is destroyed after the GLRenderer lost its Surface. Instead just check that the context we want is current regardless of the active surface Change-Id: I6537e6232b5c667b218b896ed5ef390fbe956344
* Merge "Fix layer recycling for GLRenderer"John Reck2014-02-201-0/+6
|\
| * Fix layer recycling for GLRendererJohn Reck2014-02-191-0/+6
| | | | | | | | | | | | Bug: 13007905 Change-Id: I1589f2bb14429099e391c03d7dfb1650da145f28
* | Support HardwareLayers in RenderThreadJohn Reck2014-02-191-32/+9
|/ | | | | | Also has a few HardwareLayer lifecycle fixes Change-Id: I6308cb05f8f199eed72189ace768013a46815941
* Avoid crash if layer is destroyed after GLRendererChris Craik2014-02-121-1/+3
| | | | | bug:12988766 Change-Id: I96961aeef0b1d42ae8c609f1607a100e61a3d593
* Refactor HardwareLayerJohn Reck2014-02-101-12/+39
| | | | | | | Defer all the things! Groundwork to allow hardware layers to work in a renderthread world Change-Id: Ib3aa47525f393083621254a743dbaa6352f933bd
* Remove overdraw counterJohn Reck2014-02-061-70/+0
| | | | Change-Id: Iee05362b9080b28714a4cca5a571f19ce81eadfd
* AArch64: Make graphics classes 64-bit compatibleAshok Bhat2014-01-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Native-side proxyJohn Reck2014-01-271-3/+1
| | | | | | | Remove RemoteGLRenderer Remove reflection-based control Change-Id: If17c2bbb61c7141986d88c4763def77ed1074985
* Remove dead codeJohn Reck2014-01-151-1/+0
| | | | Change-Id: I9c96d3d21bd3faed91a5146f5a2b8916c634fdff
* Add drawGlFunctor support to RenderThreadJohn Reck2013-12-131-65/+5
| | | | | | | | | | | Add gl functor to the prototype support to allow webview team to begin playing with RT Also create RemoteGLRenderer to avoid needing to make breaking changes to GLRenderer. Currently the differences are mainly around mFunctorsRunnable and how it queues itself up Change-Id: I1ca39056189b68cd7b8dded4dd5889d331f6660a
* RenderThread workJohn Reck2013-12-091-8/+62
| | | | | | Hacky prototype needs a private API to enable Change-Id: I21e0ddf3cdbd38a4036354b5d6012449e1a34849
* More refactoringJohn Reck2013-11-111-0/+1610
Merge GlRenderer and Gl20Renderer Move GLRenderer to its own file Move native methods from HardwareRenderer to GLRenderer Change-Id: Ib4680b03dd98101b2a428062cc94774ff73baa75