John Reck
66f0be65a1
Wire up texture atlas
...
Bug: 14590563
Change-Id: I2dffbc089dc801f5fb2d1c8fd38e1c71d160e110
2014-05-13 14:54:42 -07:00
John Reck
ef27453cf7
Merge "Cleanup attachFunctor"
2014-05-07 21:48:20 +00:00
John Reck
832b151465
Cleanup attachFunctor
...
Bug: 13961296
Change-Id: Id48d11bfcc234afd1fd7e4fdd409a50e7208c81d
2014-05-07 14:39:44 -07:00
John Reck
b6d9211d31
Merge "Implement TODO(romainguy)"
2014-05-07 21:24:25 +00:00
John Reck
63a0667325
Implement TODO(romainguy)
...
Bug: 14277445
Change-Id: Id52d6f7fcc023000adcc440bd4da67d9a673536b
2014-05-07 13:45:54 -07:00
John Reck
368cdd8526
Don't try to draw if there's no canvas or surface
...
Bug: 14616376
doFrame() can happen after the canvas or surface is destroyed,
handle it gracefully
Change-Id: Ibbbbdbfa77fa2134bd2abc215ca1a0886d706969
2014-05-07 13:19:28 -07:00
John Reck
f9be77940e
Make RenderNodeAnimator and WebView play nice
...
Change-Id: Ifaefcf510b2d377663fc86f60608d6ec9be8329a
2014-05-05 12:35:30 -07:00
John Reck
18f16e6fba
TIME LORD!
...
Bug: 14444180
Change-Id: I68bec3807c4d1c88d5af1aec2fe6907d60b5f2f3
2014-05-05 10:57:04 -07:00
John Reck
e45b1fd03b
RenderThread animator support
...
Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
2014-04-29 10:42:11 -07:00
John Reck
dbc9a86d05
Force a full redraw on surface change
...
Bug: 13913604
Change-Id: Ie90c7ee74cf83358e19d8b4f0bae078540a93a8d
2014-04-17 20:27:37 -07:00
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
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
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