John Reck
6f07a0dc87
Add missing resume() call
...
Bug: 14087850
Change-Id: Ic555ca6027e617c7ed6e7e66b5cf713c36ed1c6c
2014-04-16 21:32:25 -07:00
John Reck
e8a866d4a4
Merge "Fix issue with bitmap uploading"
2014-04-14 20:57:38 +00:00
John Reck
860d155f86
Fix issue with bitmap uploading
...
Bug: 13912749
Change-Id: Ic23fa1d280118dc93dc2716a4a24cc0bbbdca595
2014-04-14 13:17:25 -07:00
John Reck
fae904d639
Fence on destruction
...
Bug: 14052927
destroyCanvasAndSurface() needs a fence as when it returns the
underlying BufferQueue is going to be released from under
the render thread.
Change-Id: I0147a1d5ec5adf0239c761ef22f65cd8c8a137df
2014-04-14 12:44:53 -07:00
John Reck
822bbb382f
Merge "Make attachFunctor blocking"
2014-04-10 22:23:22 +00:00
John Reck
d3d8dafc2f
Make attachFunctor blocking
...
Bug: 13930200
Change-Id: I9b0cf92fd16bb30baa09b6f8d7ae22a8b2a7fd80
2014-04-10 15:00:13 -07:00
John Reck
8ca3eecc2b
Remove sync flush
...
Bug: 13952590
It was attempting to flush state changes after the canvas was
destroyed, which caused layer updates to crash.
Due to the removal of SetDisplayListData, the sync mode isn't able
to do anything ever, so remove it.
Change-Id: I1e18ce288d81fd47cc6e612afda9476f75ecef2e
2014-04-10 10:46:55 -07:00
John Reck
f4198b713e
Merge hasFunctors & pushStaging into prepareTree
...
Bug: 13902607
Fixes synchronous mode for WebView in HardwareLayers
Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
2014-04-09 17:00:04 -07:00
John Reck
8e1f918738
Merge "Switch DisplayListData to a staging model"
2014-04-09 23:01:02 +00:00
John Reck
8de65a8e05
Switch DisplayListData to a staging model
...
Bug: 13912977
Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
2014-04-09 15:48:00 -07:00
John Reck
f7d9c1dc84
Fix ThreadedRenderer.setEnabled()
...
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
2014-04-09 11:01:29 -07:00
John Reck
1949e7928e
Ensure there's a GL context before creating a Layer
...
Bug: 13745587
Change-Id: Ib0ec059d9a5974a48734daeec9d83580cada94a3
2014-04-08 15:18:56 -07:00
John Reck
e2c4552643
Veto pool TODO
...
Change-Id: I50067dba630b75aa539e4406cfc15f66949684b3
2014-04-07 17:38:47 -07:00
John Reck
85189c5daf
Merge "Fence on draws that are reported"
2014-04-08 00:32:15 +00:00
John Reck
28ad7b52e0
Fence on draws that are reported
...
Change-Id: Ib2ec16cbda40f40df1710bdc868869ea8301f17e
2014-04-07 16:59:25 -07:00
John Reck
087bc0c14b
Refcount RenderNode
...
Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
2014-04-07 14:53:08 -07:00
John Reck
0d1f634f4b
Add invokeFunctor
...
Change-Id: I09e675d3e02e3e528642175ada00b2b17fab7652
2014-03-28 20:57:32 -07:00
John Reck
750ca6dbdb
Remove kStatusInvoke & kStatusDraw
...
They are unused
Change-Id: I44ecf1164dc6bc1b09438e733976d5a97a25f00e
2014-03-28 16:43:15 -07:00
John Reck
668f0e38ef
Async drawing!
...
Change-Id: I7e728356f58af88174328a8c0b90d27b128bfe01
2014-03-27 10:00:04 -07:00
John Reck
bfb07a0377
Move where updateProperties is called
...
Change-Id: I27da448996019094c44487ce28c5689d098d6535
2014-03-24 21:00:18 -07:00
John Reck
16efa9a330
Fix functor removal
...
Bug: 12179257
Change-Id: Ib63a351b1b289b08452f17086cb6c8b688e2ba4d
2014-03-18 09:24:28 -07:00
John Reck
e18264b079
Rename DisplayList->RenderNode
...
Change-Id: Id42e23c9a1a6eb6eaeafef707ced7fa6887b03d0
2014-03-12 13:56:30 -07:00
John Reck
be34f2f3b3
DisplayList lifecycle changes
...
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
2014-03-10 10:12:32 -07:00
John Reck
44fd8d24f7
DisplayList overhaul
...
Change-Id: I53418d580c98f706e971545cff81b9921c12cc5f
2014-03-04 15:18:16 -08:00
John Reck
19b6bcfd83
Support HardwareLayers in RenderThread
...
Also has a few HardwareLayer lifecycle fixes
Change-Id: I6308cb05f8f199eed72189ace768013a46815941
2014-02-19 10:47:19 -08:00
John Reck
fc53ef2779
Implement missing safelyRun() on ThreadedRenderer
...
Change-Id: I14b75f37a13fabaa759a51369190dbdc84087c4b
2014-02-11 10:40:25 -08:00
John Reck
a6260b83da
Fix nano vs. millis
...
Change-Id: I54f752bb7faab5fa66c36252c9f7cf8f5c9939c9
2014-01-29 19:59:16 -08:00
John Reck
4f02bf4eef
Native-side proxy
...
Remove RemoteGLRenderer
Remove reflection-based control
Change-Id: If17c2bbb61c7141986d88c4763def77ed1074985
2014-01-27 16:40:39 -08:00
John Reck
23b797ab51
EGL migration to native
...
Move EGL state management to native side for RemoteGLRenderer
Change-Id: I12b0fed70246564d4caebf87374e8bbca655c572
2014-01-07 14:53:55 -08:00
Brian Carlstrom
69d251383f
Track Looper decoupling from ALooper
...
Change-Id: I83d1f5f6600019268c53706b7bf6d94b84931e18
2013-12-19 00:25:07 -08:00
John Reck
cec24ae16e
RenderThread work
...
Hacky prototype needs a private API to enable
Change-Id: I21e0ddf3cdbd38a4036354b5d6012449e1a34849
2013-12-09 15:57:09 -08:00