summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
...
* | Point SpritesJason Sams2009-08-204-39/+27
| |
* | Move the skyRomain Guy2009-08-191-7/+1
| |
* | Implement OOB destroy method that can be called from the java finalizer ↵Jason Sams2009-08-183-1/+17
| | | | | | | | removing the need to explicitly destroy objects.
* | Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams2009-08-1813-225/+22
| | | | | | | | function. This was a legacy of the distant past when the classes did not have a common base.
* | Merge change 21660 into eclairAndroid (Google) Code Review2009-08-171-0/+6
|\ \ | | | | | | | | | | | | * changes: Optimized Galaxy
| * | Optimized GalaxyRomain Guy2009-08-171-0/+6
| | |
* | | Merge change 21653 into eclairAndroid (Google) Code Review2009-08-171-109/+109
|\ \ \ | | | | | | | | | | | | | | | | * changes: Remove global IO context and integrate it into the RS context.
| * | | Remove global IO context and integrate it into the RS context.Jason Sams2009-08-171-109/+109
| |/ /
* | | Merge change 21603 into eclairAndroid (Google) Code Review2009-08-171-2/+2
|\ \ \ | |/ / |/| | | | | | | | * changes: Fix infinite recursion.
| * | Fix infinite recursion.Dianne Hackborn2009-08-171-2/+2
| | |
* | | Update fountain and add writable flag to script slots.Jason Sams2009-08-174-6/+59
|/ /
* | More work on wallpapers.Dianne Hackborn2009-08-172-6/+21
| | | | | | | | | | | | | | - 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.
* | Add Galaxy wallpaperRomain Guy2009-08-161-6/+1
| |
* | fix documentationMike Reed2009-08-141-3/+3
| |
* | Surface::GPU and Surface::HARDWARE are now deprecated; they will be set ↵Mathias Agopian2009-08-131-1/+0
| | | | | | | | | | | | automatically if needed. this also ripples into the window manager API by making some constant there deprecated as well.
* | Implement named slots and convert script.addType to script.setType to remove ↵Jason Sams2009-08-134-36/+48
| | | | | | | | ordering restrictions.
* | Fix build break.Jason Sams2009-08-121-1/+1
| |
* | Implement reflecting Java objects into the ACC enviroment.Jason Sams2009-08-126-16/+263
| |
* | readData should read the data, not write the data.Joe Onorato2009-08-121-3/+3
| |
* | Fix the simulator build by removing librs_jni and libRS from it.Marco Nelissen2009-08-121-0/+7
| | | | | | | | | | | | | | 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.
* | Fix the buildRomain Guy2009-08-111-1/+1
| |
* | Add two addDefines methods to ScriptC.Builder. They add #defines from the ↵Joe Onorato2009-08-101-0/+40
| | | | | | | | fileds on a class or object that you pass in.
* | Merge change 20657Android (Google) Code Review2009-08-101-1/+1
|\ \ | | | | | | | | | | | | * changes: Fix possible NPE when mutating a DrawableContainer
| * | Fix possible NPE when mutating a DrawableContainerRomain Guy2009-08-101-1/+1
| | |
* | | Implement basic allocation readback. Add Get height, width to ScriptC_Lib.Jason Sams2009-08-103-0/+38
| | |
* | | build libRSJoe Onorato2009-08-101-2/+1
|/ /
* | Let java put #defines into renderscriptJoe Onorato2009-08-093-9/+71
| |
* | Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-0912-20/+323
| | | | | | | | object destruction tracking.
* | Remove useless slot from ProgramVertex. Optimize GL state setup.Jason Sams2009-08-053-16/+6
| |
* | Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc ↵Jason Sams2009-08-045-176/+204
| | | | | | | | into the ProgramVertex class.
* | Seperate Light and Sampler from RenderScript.javaJason Sams2009-08-044-104/+201
| |
* | Split ProgramFragment and ProgramStore from RenderScript.java. Update ↵Jason Sams2009-08-047-259/+454
| | | | | | | | Element and Type to new cached builder for easier app developement.
* | Split ScriptC from RenderScript.java. Implement state caching in the ↵Jason Sams2009-08-043-100/+197
| | | | | | | | Builder objects.
* | Merge change 9551Android (Google) Code Review2009-08-033-19/+144
|\ \ | | | | | | | | | | | | * changes: Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
| * | Implement the jni bindings for Adapter2D. Fix a refcount bug in the native ↵Jason Sams2009-08-033-19/+144
| | | | | | | | | | | | adapter implementation. Use adapters in Film to border the mipmaps.
* | | Add new utility methods to rsScriptC_Lib, android.util.MathUtil and ↵Romain Guy2009-07-311-14/+182
|/ / | | | | | | | | | | android.graphics.Color. Fixes RS compilation.
* | Split RenderScript Type and Allocation into seperate classes.Jason Sams2009-07-315-190/+288
| |
* | Begin splitting up RenderScript.java into seperate classes. First piece ↵Jason Sams2009-07-314-289/+441
| | | | | | | | split off Element.
* | First pass at implementing the Grass live wallpaper in RenderScript.Romain Guy2009-07-302-1/+29
| | | | | | | | This change also adds second(), minute() and hour() to the RS library.
* | am 25dff70f: Merge change 9039 into donutAndroid (Google) Code Review2009-07-301-6/+23
|\ \ | |/ | | | | | | | | | | Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de' * commit '25dff70f153529b87f5ad4a92f4de21e8950b1de': Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
| * Fix #2018814: System cannot correctly render assets with "wrap_content" ↵Dianne Hackborn2009-07-291-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Implement bitmap resource loaders for utility. cleanup rolloRS and checkin ↵Jason Sams2009-07-301-2/+20
| | | | | | | | maps.png which was missing.
* | Merge change 8835Android (Google) Code Review2009-07-282-1/+31
|\ \ | | | | | | | | | | | | * changes: Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
| * | Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the ↵Jason Sams2009-07-282-1/+31
| | | | | | | | | | | | smallest larger pow texture. The added space is filled black.
* | | am ef9fd18d: Merge change 8616 into donutAndroid (Google) Code Review2009-07-272-31/+86
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c' * commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c': Fiddle with default densities to try to sanitize the API.
| * | Fiddle with default densities to try to sanitize the API.Dianne Hackborn2009-07-262-31/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | am 11ea3347: Allow for screen density drawables in compatibility mode.Dianne Hackborn2009-07-247-283/+465
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8' * commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8': Allow for screen density drawables in compatibility mode.
| * | Allow for screen density drawables in compatibility mode.Dianne Hackborn2009-07-247-283/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge change 8421Android (Google) Code Review2009-07-231-1/+4
|\ \ \ | | |/ | |/| | | | | | | * 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.
| * | Unbreak build by making the build of renderscript again conditional on ↵Jason Sams2009-07-231-1/+4
| | | | | | | | | | | | BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally.