| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| |
| |
| |
| | |
removing the need to explicitly destroy objects.
|
| |
| |
| |
| | |
function. This was a legacy of the distant past when the classes did not have a common base.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Optimized Galaxy
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Remove global IO context and integrate it into the RS context.
|
| |/ / |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
* changes:
Fix infinite recursion.
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| | |
- Do better about figuring out when to stop them and other related window
management.
- Fix problem where we were not redrawing the surface when the orientation
changed. This was the cause of the device hang.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
automatically if needed.
this also ripples into the window manager API by making some constant there deprecated as well.
|
| |
| |
| |
| | |
ordering restrictions.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.
|
| | |
|
| |
| |
| |
| | |
fileds on a class or object that you pass in.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Fix possible NPE when mutating a DrawableContainer
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| | |
object destruction tracking.
|
| | |
|
| |
| |
| |
| | |
into the ProgramVertex class.
|
| | |
|
| |
| |
| |
| | |
Element and Type to new cached builder for easier app developement.
|
| |
| |
| |
| | |
Builder objects.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
|
| | |
| | |
| | |
| | | |
adapter implementation. Use adapters in Film to border the mipmaps.
|
|/ /
| |
| |
| |
| |
| | |
android.graphics.Color.
Fixes RS compilation.
|
| | |
|
| |
| |
| |
| | |
split off Element.
|
| |
| |
| |
| | |
This change also adds second(), minute() and hour() to the RS library.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de'
* commit '25dff70f153529b87f5ad4a92f4de21e8950b1de':
Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
attribute in QVGA
It turns out we were not returning the density for anything retrieved from a
TypedArray... which basically means any bitmap references from a layout or style...!!!
This is now fixed.
Also fiddle with the density compatibility mode to turn on smoothing in certain situations,
helping the look of things when they need to scale and we couldn't do the scaling at
load time.
|
| |
| |
| |
| | |
maps.png which was missing.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
|
| | |
| | |
| | |
| | | |
smallest larger pow texture. The added space is filled black.
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Merge commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c'
* commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c':
Fiddle with default densities to try to sanitize the API.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An issue with the density API is that bitmaps assumed the old default density,
so new programs would have to explicitly set the correct density for every bitmap
they create.
This is an attempt to fix that situation, by define the default density of bitmaps
to be the main screen's density, except for old apps where it is the original default
density.
Actually implementing this is not so great, though, because the Bitmap constructors
can't really know anything about who is calling them to know which density to use.
So at this level the compatibility mode is defined per-process -- meaning the initial
package loaded into a process defines the default bitmap density, and everyone else
loaded in later on has to live with that.
In practice this shouldn't be much of a problem, there shouldn't be much mixing of
old vs. new apps in a process. It does mean that, going forward, if a developer is
going to use shared user IDs for this, they will need to make sure either that all of
their apps are in the same compatibility mode, or that their code explicitly sets the
density of bitmaps it receives. This isn't all that great, but I think it is worth
the benefit of allowing people who write modern apps to not have to deal with bitmap
densities.
This change also does some cleanup of the density management (making sure to always
copy over bitmap densities, etc) and adds java docs to explain the various ways
density is set and used by the system.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'
* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
Allow for screen density drawables in compatibility mode.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode. In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.
This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable. For
the small rare chance of them breaking, it worth getting the correct
graphics. Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).
As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* changes:
Unbreak build by making the build of renderscript again conditional on BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally.
|
| | |
| | |
| | |
| | | |
BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally.
|