| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Before this change, all framework assets would be decoded at drawing time
outside of zygote. This was forcing all apps to re-decode the assets and
zygote to keep an in-memory copy of each asset. This behavior is now
opt-in by setting the inPurgeable flag on BitmapFactory.Options.
Change-Id: Ic703f57adb26b2a701ecff0a653d35a93e26d47c
|
| |
|
|
| |
Change-Id: I1106855e9f2255c1b78fd76a3fe1c116b3c2fb87
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This depends on a kernel patch that implements read(2)
in the ashmem driver.
Bug http://b/issue?id=2595601
Change-Id: Ie3b10aa471aada21812b35e63954c1b2f0a7b042
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Change-Id: I1baf2beb920016f0202042982075cbce1e67df42
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Merge commit '81dcea6093dfcdadd52982505249a5eacf47a81b'
* commit '81dcea6093dfcdadd52982505249a5eacf47a81b':
Do JPEG tile-based decoding.
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'f1f48bc7f200f54c76b22d845d8ba8419879b375' into gingerbread-plus-aosp
* commit 'f1f48bc7f200f54c76b22d845d8ba8419879b375':
Do JPEG tile-based decoding.
|
| | | |
| | |
| | |
| | | |
Change-Id: I5c1b4ac3c02eb4350ef0ba9a7877b22cfd730cfb
|
| | | |
| | |
| | |
| | | |
Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: Ic4daaf6eca8850caf46bd766e148cf12eb6c6ca1
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I208bdf89815dcd18dcadd43df932a77362918435
|
| |\ \ \ \
| |/ / /
|/| | |
| | | | |
allocations. Support null references in allocations."
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix initial refcounts in allocations.
Support null references in allocations.
Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changing rs_quaternion to be float4
Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug #2911272
Change-Id: I065e21b9d005ad693e1af1ad82755b5c2ae7b722
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I692214648892120943ca7d3b00034e27d1c330cf
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: Icef17b72da2d047a24aaac1ddf5cdae77b40d5b4
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I93fb1312b47bc05345defa9b6cfe47c0658bb329
|
| |/ / /
| | |
| | |
| | | |
Change-Id: I326c66b10784006f6df2f12d38e120cef94cd0d7
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change also removes the use of SoftReferences for View's
drawing cache.
A bitmap now creates a PhantomReference enqueued in a reference
queue provided by the new Finalizers class. This queue is polled
from a thread started after forking zygote. That thread is in charge
of clearing the references after GC runs and of calling reclaim()
on them. The reclaim() method is now how finalizers are run.
Note that a PhantomReference cannot be kept in the instance it
refers to, which is why they are kept in a separate List.
Change-Id: If3c1a5e9dc23fa49e34857860d730f5cf5ad5926
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The makefile variable USE_OPENGL_RENDERER must be set to true to compile
libhwui and the related code in the JNI layer.
This change also removes obsolete APIs from Canvas that must not be used
and would be confusing if left in. These APIs were remnants of our first
attempt at an OpenGL renderer for the view hierarchy and had not been
taken out before Android 1.0 was released.
Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
|
| | | |
| | |
| | |
| | | |
Change-Id: I926186c96b3c61085cdb6173d56d3a15a04ac95b
|
| | | |
| | |
| | |
| | | |
Change-Id: I3cef1b2723e5ebf3583f91b1bfe8121c0f6d253d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rendering is implementing by rasterizing the paths into A8 textures.
This cna be extremely inefficient if the path changes often.
Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Fixing build.
Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
|
| | | |
| | |
| | |
| | | |
Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Propagating the name of meshes and allocations from native a3d to java
Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
|
| | | |
| | |
| | |
| | | |
Change-Id: I597b1b3955e29921394909f302800034571e6a50
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Color filters are fully supported and can be used with shaders.
Change-Id: Id90ccf1c81cb462f2431f366f3f8f710d7971e04
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With this change, Skia shaders can easily be applied to any mesh. This change also
supports ComposeShader. For instance, this can be used to blend a gradient and a
bitmap togehter and paint a string of text with the result.
Change-Id: I701c2f9cf7f89b2ff58005e8a1d0d80ccf4a4aea
|
| | | |
| | |
| | |
| | | |
Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
|
| | | |
| | |
| | |
| | | |
Change-Id: I547eb631dbda24d13960d54b4144fb8908fd8a49
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change adds a new DrawLinearGradientProgram class to enable the drawing
of linear gradients. Two new vertex and fragment shaders are introduced,
based on DrawTextureProgram's shaders.
Change-Id: I885afc076bb6cef8cd3962ae21a086fa6a03bf96
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The LinearGradient class keeps a copy of the various parameters that
define the gradient. The copies are native arrays to avoid copying
Java arrays on every draw call. The gradient code path is implemented
until OpenGLRenderer::drawRect() (see TODO.) The actual gradient
implementation will be added in a latter change.
Change-Id: I9300d250ef5e2e9c2e097c3116ee71dfc9d752d8
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change also modifies the way the clip is stored. The clip is now
always stored in screen-space coordinates.
Change-Id: I96375784d82dfe975bc6477a159e6866e7052487
|
| |\ \ \
| | | |
| | | |
| | | | |
constructor from programraster Make a3d object creation synchronous"
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove legacy constructor from programraster
Make a3d object creation synchronous
Change-Id: Ic7d7547cf6eee6f9a7c6e3ee12cd104e80056a7b
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change also fixes an issue with the clip and layers.
Change-Id: I5fd9832098d8cf7ae8eb781ff9bffe7defaea279
|
| |\ \ \ \ |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is for better correspondence with the Builder pattern.
See also: Effective Java, 2nd edition.
Change-Id: Iecccd42be49dea2ed8e4b8cc38ce96379cf3c11c
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo
Merge commit '4fd416880e53c172bac4a51b2eafea699b58badf'
* commit '4fd416880e53c172bac4a51b2eafea699b58badf':
docs: lots of additions to the resources docs
|
| | |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo
Merge commit '5352d2378d2f92ebe0657e4caedb4498492fc404' into gingerbread-plus-aosp
* commit '5352d2378d2f92ebe0657e4caedb4498492fc404':
docs: lots of additions to the resources docs
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo
Merge commit '38137d7a27b037611c70a9d900aa53b4c15563bf' into gingerbread
* commit '38137d7a27b037611c70a9d900aa53b4c15563bf':
docs: lots of additions to the resources docs
|