Mathias Agopian
fee4a985fd
fallout of libandroid.so split
...
Test: compiled & booted
Bug: 35164655
Change-Id: I786167a21453e17493969cdacfc9d31bdb781d98
2017-02-23 23:28:20 +00:00
Chris Craik
2f1aaf7e24
updateTexImage before bitmap readback of DeferredLayerUpdaters
...
Bug: 34206215
Test: hwui unit tests passing
Change-Id: I4360c0d94a831b4d2ebfd4020e4241658bfa190a
2017-02-15 17:22:26 +00:00
sergeyv
3e9999bd86
Explicitly destroy Layer in DeferredLayerUpdater on destroyHardwareResources()
...
Change-Id: I0987104eabda9a2a302b9e765213aad48f93aea4
Test: refactoring CL. Existing tests still pass
bug:33753499
2017-01-30 16:42:41 -08:00
Greg Daniel
8cd3edfa15
Break Layer class into Gl and Vulkan subclasses
...
Test: manual testing
Change-Id: Ibd2beed39de3ac6da7448e96496253cfe427dfbb
2017-01-10 15:05:07 -05:00
Greg Daniel
cd55852fcd
Make buffer age work in Vulkan
...
Test: manual testing in skiavk mode
Change-Id: I5b9d8af7d9cecf2f022ef104ec33a5b7477e9e0c
2016-12-09 15:45:15 +00:00
Daichi Hirono
116c376c73
Fix hwui compile error only seen with debug switch.
...
Bug: None
Test: Build succeeded
Change-Id: I26e3f4fdc10f27d7eb7f3987d0f3e5dfa1bc9f45
2016-11-29 16:09:59 +09:00
Derek Sollenberger
c4fbada76a
Support Surface and Layer Readback in the SkiaPipelines.
...
Test: CTS TextureViewTests and UIRendering
Change-Id: I2969c8f5a975bfd9aebcbb585c64d1fcbb2487c2
2016-11-16 13:30:00 -05:00
Derek Sollenberger
b7d34b64dd
Refactor pin/unpinImages to work across pipelines.
...
Test: existing CTS tests still pass
Change-Id: Ib2607e9853396bad42f298829b5c5da0d210af32
2016-11-07 10:05:56 -05:00
Derek Sollenberger
daf7229047
Move OpenGL specific details behind renderPipeline interface.
...
Test: new and existing unit tests still pass.
Change-Id: I6164f30f45ebe450788ed8d949eca5af9a44e585
2016-10-26 12:46:57 +00:00
Matt Sarett
de97307362
Make FrameInfoVisualizer use an IRenderPipeline to draw
...
Removing the direct uses of the BakedOpRenderer should make
it easier for the SkiaGL pipeline to take advantage of these
debugging features.
Test: Verified that debug.hwui.show_dirty_regions and
debug.hwui.profile still behave as expected.
BUG:32370375
Change-Id: I2818bda4a18ec183c9c39ca080ad34a4dc89b5cd
2016-10-25 17:44:55 -04:00
Derek Sollenberger
6a21ca5a4c
Move Layer creation/deletion into the RenderPipeline.
...
Test: refactoring. existing tests still pass.
Change-Id: I032c33896a0cb74c91e2a913a584373518466b88
2016-10-03 16:30:19 -04:00
John Reck
3053ac7f12
Fix texture leak
...
Bug: 31251593
Change-Id: Ic86729eb6089239134213588d80459d14227ade6
2016-09-02 10:14:39 -07:00
Derek Sollenberger
56ad6ec42f
Remove LayerRenderer.
...
There is only one caller each for the static functions here so this
CL moves the logic to the caller. Also by moving some of the code
into the pipeline it makes it easier for future changes to configure
how a pipeline handles a layer.
Change-Id: Ib735b5154325cbb658fd151f7a19dbf434ab44b7
2016-07-26 13:05:13 -04:00
Stan Iliev
768e39335b
Refactor CanvasContext: move OpenGL specific code
...
Move OpenGL specific code from CanvasContext into a new class
OpenGLPipeline.
Change-Id: I4363053f890701a4235927b59ec588861488ea8f
2016-07-13 14:14:12 -04:00