am: eadd2b8
* commit 'eadd2b8aba89ebab859149c25779127bd755ace9':
Avoid copying of font table data, provide raw font bytes
Change-Id: If2a32510f97d15924970e31454f805757745a9fc
am: c147dbb
* commit 'c147dbbca4ea1870bcf88c5889e6a83865ceed54':
Avoid copying of font table data, provide raw font bytes
Change-Id: Icf7e1aa1bc8ae759aaff94a3eeea7261a5456b47
Minikin is changing its approach to table access to use HarfBuzz to
access the tables, based on raw font data, rather than calling the
MinikinFont::GetTable() virtual method. This patch provides raw access
to the font data to make this work.
There's a bit of plumbing to make sure fonts get a pointer to the raw
data as well.
Bug: 27860101
Change-Id: I638e18cf363644bf22fbc9fb9b3358a9e731087f
am: 620a86e
* commit '620a86e464d585c796e51a16dad419d46d3837e4':
Make stopped state a first-class thing
Change-Id: Idd258fd34c68ec214e41ceb90f1d911901535802
am: c724dcf
* commit 'c724dcf23c5e2ebd22c042a8a6f2424b7e9d5029':
Make stopped state a first-class thing
Change-Id: Idfa3cc5d8fa5b07c742c2700b38441ff7d692f42
am: 6e5c652
* commit '6e5c652347a4a260adaa197e6ceeff5829a3fb12':
Support replace op in new pipeline
Change-Id: Ife7464f061d53a1cb39b5626ea667c26a5b95836
am: d306065
* commit 'd30606575783acd8689cfac604cba51e537b6b77':
Support replace op in new pipeline
Change-Id: Iab37f13a5fca72b2e581a897f7e03c17f9ce0b84
Bug: 27286867
WindowManager has committed to stopped state
controlling the lifecycle of the Surface, so
make that a first-class thing in HWUI as well.
This makes it more resistent to things like
a rogue updateSurface() happening while mStopped=true,
leading to bad things down the line. Instead let
the surface be changed/updated as often as desired,
and just block any attempt to draw on that surface.
Also removes some unnecessary makeCurrent()s, as
EglManager ensures that we *always* have a valid
GL context now (using a pbuffer surface if there is
no window surface set)
Change-Id: Iead78ddebc7997e8fdb0c9534836352f5e54b9bd
Bug: 27709981
This desperately needs a refactor, but to keep
the current (really needed & nice) behavior of
dispatching after sync finishes would be difficult
to handle cleanly without lots of ripping so... #yolo
Change-Id: I831a06c6ae7412a062720d68ecbe3085190f0258
Fixes: 27941148
Make OffscreenBuffer lifecycle an explicit (and tested) contract between
FrameBuilder and BakedOpRenderer, entirely separate from dispatch. This
makes it safe to reject any rendering work via overdraw content
rejection (before it gets to a BakedOpDispatcher).
Adds a couple tests around OffscreenBuffer leaks, and switches
OffscreenBuffer tests to RENDERTHREAD_TEST macro, as appropriate.
Change-Id: Id114b835d042708ae921028fb4b17e5fa485fe64
am: 517dad1
* commit '517dad11db03f2eda4d3135440122b0d4ee7539d':
Fix how outlines are sent to rendernode
Change-Id: I3359177f304f355edd53d6dd268b7c1fe2d1d00f
am: a7f775d
* commit 'a7f775db93235ab25636ab2350ccf6df2729c030':
Fix how outlines are sent to rendernode
Change-Id: I5ffd4fbd553c3b81aca4290b8c03a9837ac7f31b
This CL introduces staging properties to VectorDrawable, which holds
properties coming from UI thread. When staging properties are changed,
they are marked dirty, and the staging properties then get pushed to
RenderThread at sync point. In cases where no staging property has
been changed, at sync point we sync the render thread properties back
to staging properties to reflect the latest render thread animation
value change.
Also, update Vector Drawable bitmap only when it's dirty
Bug: 27343970
Bug: 27385912
Bug: 27263667
Bug: 27927674
Bug: 27774383
Change-Id: Ia864f5400a53a08dbfb284fae581fb1aac4fff87
bug:27918183
Fixes an issue where all convex outlines were pushed as empty rects to
RenderNode.
Also adds outline/reveal clip property logging, so such issues are
easier to debug in the future.
Change-Id: Ic4a996ecd09a8ef84cdf8b963bdb4853c7f6d180
am: 4f6bb3e
* commit '4f6bb3e0127bbce2269425e38f4c2c7a7900f197':
Fix layer damage and clipping for Text shadows
Change-Id: Iee78899cd44291eaf0598b4e0be93fa3d31642ef
am: 08f41df
* commit '08f41dfb8c43e8d34d8723ef22fe96b580af4d56':
Fix layer damage and clipping for Text shadows
Change-Id: I17147a76c8f02dd2933cc8ac5664d889ba7d0c26
Bug: 27922347
* Dump the full histogram
* Expand the histogram to have a slow-frame section with
large 50ms buckets to raise the cap to 5s to give more
insight into system-health
* Stop excluding first-frame metrics as we want to include
those in our global tracking. Automated tests already filter
these out by doing resets before running anyway.
Change-Id: Idaba8aad591f59d10a6477b11efc0767ff715083
am: 6176087
* commit '617608769d3543085d55f460e00528e7388bc5de':
AAPT2: Suppress warnings from libandroidfw when built for host
Change-Id: I0b240dd4487bc5f936dbaf94eabde931330a9f8a
am: 30cadc2
* commit '30cadc25293b82c6f142ead81ef10563ed52bf99':
AAPT2: Suppress warnings from libandroidfw when built for host
Change-Id: I53cdedcfb71db41226d6bb07c3e2a8cca70b8320