summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* SubElementData data upload functions.Jason Sams2010-08-313-3/+39
| | | | Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
* Add hooks for hardware accelerated WebView.Romain Guy2010-08-311-1/+46
| | | | Change-Id: I907cdec8a67594f87749ac46bda85f04af5a2003
* Fixing renderscript uniform binding bugs.Alex Sakhartchouk2010-08-272-7/+46
| | | | | | Working on custom shaders. Change-Id: I0d51e879e1c2b46ef5ab696b35162898f4196fc8
* Add matrix component types.Jason Sams2010-08-254-18/+75
| | | | | | Fix potental overflow in script -> java messages. Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
* More work on the renderscript sampleAlex Sakhartchouk2010-08-244-63/+101
| | | | Change-Id: Ib1812bbaa38180ca63d6d53c9cc3aeeee4134725
* am 5a14271a: am d6f7f225: Merge "Load bitmaps in the correct format." into ↵Romain Guy2010-08-241-0/+11
|\ | | | | | | | | | | | | | | | | gingerbread Merge commit '5a14271aacb932ba0d52978c939f74e4c685f7d6' * commit '5a14271aacb932ba0d52978c939f74e4c685f7d6': Load bitmaps in the correct format.
| * am d6f7f225: Merge "Load bitmaps in the correct format." into gingerbreadRomain Guy2010-08-201-0/+11
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'd6f7f225689ecd33dc54699acc01cfafc781c20d' into gingerbread-plus-aosp * commit 'd6f7f225689ecd33dc54699acc01cfafc781c20d': Load bitmaps in the correct format.
| | * Load bitmaps in the correct format.Romain Guy2010-08-201-0/+11
| | | | | | | | | | | | | | | | | | Bug #2936873 Change-Id: Ide93ffd8227cea6c610dde625163ccffb4590e90
| * | am dc2eabd1: Merge "Don\'t recycle native bitmap after the finalizer is ↵Chih-Chung Chang2010-08-201-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | called." into gingerbread Merge commit 'dc2eabd10847d8e7f016fec5232d40b723ce2828' into gingerbread-plus-aosp * commit 'dc2eabd10847d8e7f016fec5232d40b723ce2828': Don't recycle native bitmap after the finalizer is called.
| | * Don't recycle native bitmap after the finalizer is called.Chih-Chung Chang2010-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | If an object A's finalizer calls Bitmap B's recycle() when B's finalizer is already called, we will have trouble because the native bitmap is already freed in the finalizer. Change-Id: Ic0be8ed75fb3aacee9ce6e3d9908178a55151eb9
| * | am d018a0ce: Merge "Text selection without trackball." into gingerbreadGilles Debunne2010-08-191-2/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c' into gingerbread-plus-aosp * commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c': Text selection without trackball.
| | * Merge "Text selection without trackball." into gingerbreadGilles Debunne2010-08-191-2/+4
| | |\
| | | * Text selection without trackball.Gilles Debunne2010-08-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backported from HC. Squashed commit of the following: commit af214a595c7a9fdd11a2dc384f7d4665abf751c0 Fixes in TextView's selection. commit eb9fd59ebe6500a66c2003d46b5802299970ae8d TextView with Selection Contextual Mode commit 4c4c338ef355b369ce4b57d6c6fba7ee8f9dddf4 Cosmetic changes around TextView. commit d4b4b054e87480d984ad18766f5e76553e3080d8 Double and one and a half tap removed from TextView. commit 897c2847ba1fca8ef01eadadd1bc3de007af3ee5 Selection handlers in TextView commit 832be74a5394649e28927484d9a86c6d53b430e7 New cursor controller in TextViews. Change-Id: I01cc64736e2abea605317ee53907a1713617fc17
| * | | am 288471d8: DO NOT MERGE. Load assets in place instead of deferring until draw.Romain Guy2010-08-191-13/+11
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '288471d8a57e1c318742cbfc28697877436fdb87' into gingerbread-plus-aosp * commit '288471d8a57e1c318742cbfc28697877436fdb87': DO NOT MERGE. Load assets in place instead of deferring until draw.
| | * | DO NOT MERGE. Load assets in place instead of deferring until draw.Romain Guy2010-08-191-13/+11
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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: Ief823139163d8071b8ee1267746622faf52eb8ec
* | | Merge "Renderscript samples. Resolving name conflict in model viewer. Adding ↵Alex Sakhartchouk2010-08-234-8/+163
|\ \ \ | | | | | | | | | | | | fov projection matrix function. Adding helper methods for blending."
| * | | Renderscript samples.Alex Sakhartchouk2010-08-234-8/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolving name conflict in model viewer. Adding fov projection matrix function. Adding helper methods for blending. Change-Id: Ibd3f1510436811398787c285845d050158bd6de8
* | | | Merge "Make sure we have a native Surface in nContextSetSurface."Jim Miller2010-08-201-3/+2
|\ \ \ \
| * | | | Make sure we have a native Surface in nContextSetSurface.Jim Miller2010-08-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was seeing a problem running RenderScript in the system process because mNativeSurface was null. This works around the problem by forcing the native surface to be created when we set the surface. Change-Id: I3abf6cef1b049864e4e063669b6df547de008c93
* | | | | Merge "Load assets in place instead of deferring until draw."Romain Guy2010-08-191-13/+11
|\ \ \ \ \
| * | | | | Load assets in place instead of deferring until draw.Romain Guy2010-08-191-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Load opaque assets in RGB-565 until Bitmap.hasAlpha() works properly."Romain Guy2010-08-191-4/+1
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | |
| * | | | Load opaque assets in RGB-565 until Bitmap.hasAlpha() works properly.Romain Guy2010-08-191-4/+1
| |/ / / | | | | | | | | | | | | Change-Id: I1106855e9f2255c1b78fd76a3fe1c116b3c2fb87
* | | | Merge "Renderscript samples. Merged two model related projects. Cleanup."Alex Sakhartchouk2010-08-191-1/+108
|\ \ \ \ | |/ / / |/| | |
| * | | Renderscript samples. Merged two model related projects. Cleanup.Alex Sakhartchouk2010-08-181-1/+108
| | | | | | | | | | | | | | | | Change-Id: I6fdc70420eee7dfecf0b051fd687e5797c6580ce
* | | | Merge "Remove OOB object destruction."Jason Sams2010-08-183-14/+1
|\ \ \ \
| * | | | Remove OOB object destruction.Jason Sams2010-08-173-14/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
* | | | | New API and implementation of DB and memory-backed FDsBjorn Bringert2010-08-181-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This depends on a kernel patch that implements read(2) in the ashmem driver. Bug http://b/issue?id=2595601 Change-Id: Ie3b10aa471aada21812b35e63954c1b2f0a7b042
* | | | | Merge "Make java entry points for native fifo synchronized."Jason Sams2010-08-173-617/+684
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Make java entry points for native fifo synchronized.Jason Sams2010-08-173-617/+684
| | | | | | | | | | | | | | | | Change-Id: I1baf2beb920016f0202042982075cbce1e67df42
* | | | am 81dcea60: am f1f48bc7: Do JPEG tile-based decoding.Joseph Wen2010-08-172-0/+271
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | Merge commit '81dcea6093dfcdadd52982505249a5eacf47a81b' * commit '81dcea6093dfcdadd52982505249a5eacf47a81b': Do JPEG tile-based decoding.
| * | am f1f48bc7: Do JPEG tile-based decoding.Joseph Wen2010-08-172-0/+271
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'f1f48bc7f200f54c76b22d845d8ba8419879b375' into gingerbread-plus-aosp * commit 'f1f48bc7f200f54c76b22d845d8ba8419879b375': Do JPEG tile-based decoding.
| | * Do JPEG tile-based decoding.Joseph Wen2010-08-172-0/+271
| | | | | | | | | | | | Change-Id: I5c1b4ac3c02eb4350ef0ba9a7877b22cfd730cfb
* | | Add drop shadows.Romain Guy2010-08-131-2/+34
| | | | | | | | | | | | Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b
* | | Merge "Renderscript scenegraph prototype."Alex Sakhartchouk2010-08-133-0/+17
|\ \ \
| * | | Renderscript scenegraph prototype.Alex Sakhartchouk2010-08-133-0/+17
| | | | | | | | | | | | | | | | Change-Id: Ic4daaf6eca8850caf46bd766e148cf12eb6c6ca1
* | | | Merge "Fix GC issue, fix local shader transformations."Romain Guy2010-08-121-0/+7
|\ \ \ \ | |/ / / |/| | |
| * | | Fix GC issue, fix local shader transformations.Romain Guy2010-08-121-0/+7
| | | | | | | | | | | | | | | | Change-Id: I208bdf89815dcd18dcadd43df932a77362918435
* | | | Merge "Fix field packer bug for U32 data. Fix initial refcounts in ↵Jason Sams2010-08-121-1/+5
|\ \ \ \ | |/ / / |/| | | | | | | allocations. Support null references in allocations."
| * | | Fix field packer bug for U32 data.Jason Sams2010-08-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix initial refcounts in allocations. Support null references in allocations. Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
* | | | Preparing renderscript java code for use with phanton references.Alex Sakhartchouk2010-08-1214-51/+50
| | | | | | | | | | | | | | | | | | | | | | | | Changing rs_quaternion to be float4 Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
* | | | Merge "Fix crash in Market."Romain Guy2010-08-111-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Fix crash in Market.Romain Guy2010-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug #2911272 Change-Id: I065e21b9d005ad693e1af1ad82755b5c2ae7b722
* | | | Merge "Adding quaternion functions to math library."Alex Sakhartchouk2010-08-111-0/+70
|\ \ \ \ | |/ / / |/| | |
| * | | Adding quaternion functions to math library.Alex Sakhartchouk2010-08-101-0/+70
| | | | | | | | | | | | | | | | Change-Id: I692214648892120943ca7d3b00034e27d1c330cf
* | | | Support non-PorterDuff xfermodes with Xfermode.Romain Guy2010-08-103-3/+24
| | | | | | | | | | | | | | | | Change-Id: Icef17b72da2d047a24aaac1ddf5cdae77b40d5b4
* | | | Fast text selection drawing.Romain Guy2010-08-101-2/+50
| | | | | | | | | | | | | | | | Change-Id: I93fb1312b47bc05345defa9b6cfe47c0658bb329
* | | | Fix tons of bugs and add new text rendering support.Romain Guy2010-08-103-17/+25
|/ / / | | | | | | | | | Change-Id: I326c66b10784006f6df2f12d38e120cef94cd0d7
* | | Replace Bitmap's finalizers with PhantomReferences.Romain Guy2010-08-091-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Make libhwui entirely optional.Romain Guy2010-08-081-59/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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