summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Begin adding async allocation creation."Jason Sams2010-10-263-20/+9
|\
| * Begin adding async allocation creation.Jason Sams2010-10-263-20/+9
| | | | | | | | | | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* | Optimizing ColorFilter in display listsChet Haase2010-10-263-7/+8
|/ | | | Change-Id: Ie4d5e5b0bc45e0ce47bba144049303c270762e54
* Some cleanupAlex Sakhartchouk2010-10-181-3/+0
| | | | Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
* Fix object cast.Jason Sams2010-10-141-1/+1
| | | | Change-Id: Idcf1b43392d43b6b46040b59551b73df6d6e42a9
* Async type creation.Jason Sams2010-10-143-60/+47
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Merge "Changing scenegraph sample to use arrays."Alex Sakhartchouk2010-10-141-1/+1
|\
| * Changing scenegraph sample to use arrays.Alex Sakhartchouk2010-10-131-1/+1
| | | | | | | | Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
* | Delete unused WebView drag tracking codeBjorn Bringert2010-10-141-173/+0
| | | | | | | | | | | | | | | | This also removes android.graphics.utils.BoundaryPatch which was only used by the Browser for the unused drag tracking (and by a demo app that I'm also removing). Change-Id: I48253ae005ab11cb4c70d132bc1ea4f2692e2bd2
* | Merge "Begin hooking up SurfaceConfig."Jason Sams2010-10-133-12/+50
|\ \ | |/ |/|
| * Begin hooking up SurfaceConfig.Jason Sams2010-10-133-12/+50
| | | | | | | | Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
* | Add a getNativeMatrix() API.Romain Guy2010-10-131-0/+10
|/ | | | | | | This API can be used by WebView to apply the appropriate transform on its rendering. Change-Id: I79aa39a29805f462fb08226370328815e74bdc52
* Optimize 9patch rendering.Romain Guy2010-10-121-2/+2
| | | | | | | This change detects empty quads in 9patches and removes them from the mesh to avoid unnecessary blending. Change-Id: I4500566fb4cb6845d64dcb59b522c0be7a0ec704
* Simplify black texture fragment shader.Romain Guy2010-10-121-2/+2
| | | | Change-Id: If2d43f92f4c98ec128692761a670b0f31207a3c0
* Support for unsigned long and unsigned long long.Stephen Hines2010-10-112-1/+9
| | | | Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
* Update allocation from bitmap.Alex Sakhartchouk2010-10-113-0/+34
| | | | | | GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
* Fix support for 64-bit integers.Stephen Hines2010-10-113-0/+16
| | | | Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
* Cleanup error message for null binding address.Jason Sams2010-10-105-71/+84
| | | | | | | | | | | Only print the debug if script debugging is enabled. Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6 Implement inner utiliy class to specify surface formats. Remove boxed bitmap upload functions. Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
* Merge "changing vec4 to vec2 for perf reasons."Alex Sakhartchouk2010-10-062-4/+4
|\
| * changing vec4 to vec2 for perf reasons.Alex Sakhartchouk2010-10-062-4/+4
| | | | | | | | Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
* | Merge "Implement allocation resizing."Jason Sams2010-10-053-0/+43
|\ \ | |/ |/|
| * Implement allocation resizing.Jason Sams2010-10-053-0/+43
| | | | | | | | Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
* | am b12bfbd4: am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into ↵Brad Fitzpatrick2010-10-041-0/+9
|\ \ | |/ |/| | | | | | | | | | | | | gingerbread Merge commit 'b12bfbd4df985041ab0e584ef5a746328baac038' * commit 'b12bfbd4df985041ab0e584ef5a746328baac038': Document Bitmap.createScaledBitmap
| * am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into gingerbreadBrad Fitzpatrick2010-10-041-0/+9
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802' into gingerbread-plus-aosp * commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802': Document Bitmap.createScaledBitmap
| | * Document Bitmap.createScaledBitmapBrad Fitzpatrick2010-10-041-0/+9
| | | | | | | | | | | | Change-Id: Ife6a42bc08d17c56274e78a1f5d2c100c2fe4dc8
* | | Apply all Canvas transformations to ColorDrawable.Romain Guy2010-10-041-5/+7
| | | | | | | | | | | | Change-Id: I29252c58224b236d0770ec005da9842990ef2c06
* | | am 3d019a37: am 83d52229: Doc fix: duplicate word \'of\'Brad Fitzpatrick2010-10-031-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '3d019a374fa41a11fb7b718770076e61235d1c45' * commit '3d019a374fa41a11fb7b718770076e61235d1c45': Doc fix: duplicate word 'of'
| * | am 83d52229: Doc fix: duplicate word \'of\'Brad Fitzpatrick2010-10-031-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '83d522290e56f614d0d9373d47c2b54b9e207795' into gingerbread-plus-aosp * commit '83d522290e56f614d0d9373d47c2b54b9e207795': Doc fix: duplicate word 'of'
| | * Doc fix: duplicate word 'of'Brad Fitzpatrick2010-10-031-1/+1
| | | | | | | | | | | | Change-Id: I45a4ca443becc2f2cf02cbca2bd61ef2ee590b5c
| * | am f7681f84: Do not merge.Wei-Ta Chen2010-10-011-263/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'f7681f84918c27f6a626681ce37ed2a236c44e82' into gingerbread-plus-aosp * commit 'f7681f84918c27f6a626681ce37ed2a236c44e82': Do not merge.
| | * Do not merge.Wei-Ta Chen2010-10-011-263/+0
| | | | | | | | | | | | | | | | | | | | | Fix 3052285 by not publishing the BitmapRegionDecoder API until the honeycomb release. Bug: 3052285 Change-Id: Ie339e414c1a5581e1d38684621e0e97162616977
| | * Prevent unhandled exception in NinePatchDrawableSonia Serafimova2010-09-261-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added null check in computeBitmapSize() to avoid unhandled exception "java.lang.NullPointerException" at android.graphics.Rect.<init>(Rect.java:72). This problem was discovered in the wild. Change-Id: I9d40629a052f1390e1811288af6209d8cc3f679b
* | | Merge "Support for 64-bit integer type."Stephen Hines2010-10-012-1/+9
|\ \ \
| * | | Support for 64-bit integer type.Stephen Hines2010-10-012-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | b/3050131 exported renderscript structures don't appear to support int64_t Change-Id: I9aea676425b694a3a6457e63e38b00e591847e20
* | | | Merge "Make simple paths made of lines work."Romain Guy2010-09-301-0/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Make simple paths made of lines work.Romain Guy2010-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3041098 Change-Id: Ife9c3f01ded10e2bb35b1cdf1a54734d8347fee4
* | | | Finish plumbing for double RS elements.Stephen Hines2010-09-303-2/+10
|/ / / | | | | | | | | | Change-Id: Ic708dcaeda4966bb2121ecb6834f56cfa68ad58e
* | | Adding anisotropic filtering and related samples.Alex Sakhartchouk2010-09-303-0/+23
| | | | | | | | | | | | Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
* | | Fix RS bug with message ID 0.Stephen Hines2010-09-281-2/+3
| | | | | | | | | | | | | | | | | | Clamp RSTest list to nice viewable range. Change-Id: I0909511e16984ec78150cda17c22e22af1fa0cdb
* | | am ca3f968c: am 7d9c73fb: Merge "Prevent unhandled exception in ↵Jean-Baptiste Queru2010-09-261-8/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | NinePatchDrawable" Merge commit 'ca3f968c6f0acbf94988d00bf21a82a2e8f49b86' * commit 'ca3f968c6f0acbf94988d00bf21a82a2e8f49b86': Prevent unhandled exception in NinePatchDrawable
| * | am 7d9c73fb: Merge "Prevent unhandled exception in NinePatchDrawable"Jean-Baptiste Queru2010-09-261-8/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564' into gingerbread-plus-aosp * commit '7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564': Prevent unhandled exception in NinePatchDrawable
| | * | Prevent unhandled exception in NinePatchDrawableSonia Serafimova2010-09-151-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added null check in computeBitmapSize() to avoid unhandled exception "java.lang.NullPointerException" at android.graphics.Rect.<init>(Rect.java:72). This problem was discovered in the wild. Change-Id: I8a4729ceadcfc9744f11b8ceafdf24d6de88c645
* | | | Merge "Adding support for all allowed textures. Cleaning up unused code ↵Alex Sakhartchouk2010-09-245-61/+36
|\ \ \ \ | | | | | | | | | | | | | | | Adding error messages"
| * | | | Adding support for all allowed textures.Alex Sakhartchouk2010-09-235-61/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* | | | | am ac487f70: am 6b849e21: Unhide BitmapRegionDecoder.Wei-Ta Chen2010-09-222-136/+263
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | Merge commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe' * commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe': Unhide BitmapRegionDecoder.
| * | | am 6b849e21: Unhide BitmapRegionDecoder.Wei-Ta Chen2010-09-222-136/+263
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | Merge commit '6b849e2123be98eb2a1a25b8abf0b13a279ce952' into gingerbread-plus-aosp * commit '6b849e2123be98eb2a1a25b8abf0b13a279ce952': Unhide BitmapRegionDecoder.
| | * | Unhide BitmapRegionDecoder.Wei-Ta Chen2010-09-232-136/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Rename LargeBitmap to BitmapRegionDecoder 2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory. 3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build. 4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 . However, that change broke the master build due to (3) and was reverted eventually. So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one. Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
| * | | am 219eb7ec: Merge "Fix bug in JNI BitmapFactory" into gingerbreadJoseph Wen2010-09-101-6/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '219eb7ec8403ef9b98125f2b58cc27669ae69712' into gingerbread-plus-aosp * commit '219eb7ec8403ef9b98125f2b58cc27669ae69712': Fix bug in JNI BitmapFactory
| | * | Fix bug in JNI BitmapFactoryJoseph Wen2010-09-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In nativeCreateLargeBitmapFromFileDescriptor() if the file descriptor can not be rewinded isShareable should be set to false. Change-Id: I7dd545c9d52d21c226e11b8921e35a1d9bba9515
* | | | Merge "Fix two minor RS bugs. 1: index set size was populated with bad value ↵Jason Sams2010-09-221-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | in java, 2: bad error check in uploadToBufferObject."