summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix mTexCoordsSlot > 0 check to mTexCoordsSlot >= 0David Li2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 Is a valid attribute location. Change-Id: Ib24335f48efd6cc59e2ab877569d7d0c95f8490a Signed-off-by: David Li <davidxli@google.com>
* | | | Remove the right entries from the cache when a GC happens.Romain Guy2011-02-241-1/+3
| | | | | | | | | | | | | | | | Change-Id: I4649b18c4721a5511a404299e771e675c843407b
* | | | Correctly blend translucent GIF bitmaps.Romain Guy2011-02-243-8/+6
| | | | | | | | | | | | | | | | Change-Id: Ifeb2c1d97a4c6dfeb1a7b5b26f1a3153e9f8da7f
* | | | Merge "Fix some issues with RefBase debugging."Mathias Agopian2011-02-241-70/+101
|\ \ \ \
| * | | | Fix some issues with RefBase debugging.Mathias Agopian2011-02-231-70/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First slipt sp<> out of RefBase into StrongPointer.h so it can be reused more easily and to make it clear that it doesn't require RefBase. Note: the rest of the change only affects the system when DEBUG_REFS is enabled. The main problem we fix here is that the owner id associated with each reference could get out of date when a sp<> or wp<> was moved, for instance when they're used in a Vector< >. We fix this issue by calling into RefBase::moveReferences from a template specialization for sp<TYPE> and wp<TYPE> of the type helpers. RefBase::moveReferences() has then a chance to update the owner ids. There is a little bit of trickery to implement this generically in RefBase, where we need to use a templatized functor that can turn a sp<TYPE>* casted to a void* into a RefBase*. Introduced a new debug option DEBUG_REFS_FATAL_SANITY_CHECKS currently set to 0 by default as there seem to be an issue with sp<ANativeWindow> which trips the sanity checks. Change-Id: I4825b21c8ec47d4a0ef35d760760ae0c9cdfbd7f
* | | | | Merge "Bug 3362814 Fix SMP race in access to mRequestExit"Glenn Kasten2011-02-241-4/+23
|\ \ \ \ \
| * | | | | Bug 3362814 Fix SMP race in access to mRequestExitGlenn Kasten2011-02-231-4/+23
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Also fix an unlikely SMP race in access to mHoldSelf on entry to _threadLoop. Change-Id: I6cbc0b94739c7dd5e77e8a5ba0da22cdc0b1a4db
* | | | | Merge "Skia Merge (revision 808)"Derek Sollenberger2011-02-244-10/+12
|\ \ \ \ \
| * | | | | Skia Merge (revision 808)Derek Sollenberger2011-02-224-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a companion CL to the one found in /external/skia Change-Id: If81748545435cab20a5d8479329ab333cb973e16
* | | | | | Merge "Add YV12 preview format to camera parameter constants."Wu-cheng Li2011-02-241-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Add YV12 preview format to camera parameter constants.Wu-cheng Li2011-02-241-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | bug:3463624 Change-Id: I8f2992dadfd3fb9e3c9d67743e52da7f3212827e
* | | | | Merge "fix bug 3477451 Bogus asserts with pure compute scripts."Jason Sams2011-02-231-10/+14
|\ \ \ \ \
| * | | | | fix bug 3477451Jason Sams2011-02-231-10/+14
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Bogus asserts with pure compute scripts. Change-Id: If5928c563e06405f75a11606d9148d64fa10be07
* | | | | Merge "Remove RefBase.h dependency on TextOutput.h"Mathias Agopian2011-02-231-1/+17
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Remove RefBase.h dependency on TextOutput.hMathias Agopian2011-02-221-1/+17
| |/ / / | | | | | | | | | | | | Change-Id: I72cd6b98ef82b4868fe1c8ec87862cf43fb4ee73
* | | | Application-managed callback buffer support for raw imageJames Dong2011-02-222-6/+8
|/ / / | | | | | | | | | | | | | | | bug - 3292153 Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
* | | Merge "Moving renderscript tests away from the library to a dedicated test ↵Alex Sakhartchouk2011-02-2256-5587/+0
|\ \ \ | |/ / |/| | | | | folder."
| * | Moving renderscript tests away from the library to a dedicated test folder.Alex Sakhartchouk2011-02-2256-5587/+0
| |/ | | | | | | Change-Id: I7d8e20a17513f167eae3681d77463c01f4fa24a7
* | Add new hover move action and scroll wheel plumbing.Jeff Brown2011-02-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Added support for tracking the mouse position even when the mouse button is not pressed. To avoid confusing existing applications, mouse movements are reported using the new ACTION_HOVER_MOVE action when the mouse button is not pressed. Added some more plumbing for the scroll wheel axes. The values are reported to Views but they are not yet handled by the framework. Change-Id: I1706be850d25cf34e5adf880bbed5cc3265cf4b1
* | Add new axes for joysticks and mouse wheels.Jeff Brown2011-02-194-145/+430
|/ | | | | | | | | | | | | | | | | | Added API on InputDevice to query the set of axes available. Added API on KeyEvent and MotionEvent to convert keycodes and axes to symbolic name strings for diagnostic purposes. Added API on KeyEvent to query if a given key code is a gamepad button. Added a new "axis" element to key layout files to specify the mapping between raw absolute axis values and motion axis ids. Expanded the axis bitfield to 64bits to allow for future growth. Modified the Makefile for keyboard prebuilts to run the keymap validation tool during the build. Added layouts for two game controllers. Added default actions for game pad button keys. Added more tests. Fixed a bunch of bugs. Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
* Merge "Fixing font renderer attribute slot locations."Alex Sakhartchouk2011-02-183-8/+22
|\
| * Fixing font renderer attribute slot locations.Alex Sakhartchouk2011-02-173-8/+22
| | | | | | | | Change-Id: I6377bb641df7d8372d873c00790189f9a190afd6
* | Merge "Fix UI in image processing."Alex Sakhartchouk2011-02-183-166/+131
|\ \
| * | Fix UI in image processing.Alex Sakhartchouk2011-02-173-166/+131
| |/ | | | | | | Change-Id: I4ec562e986e5009c101a62de8b15c6be0f0bc03b
* | am d2acfd6d: am a58f58da: Merge "Doc change: fixing renderscript samples" ↵Robert Ly2011-02-176-0/+11
|\ \ | | | | | | | | | | | | | | | | | | into honeycomb * commit 'd2acfd6d04545562fcacd266e175461f26b25da9': Doc change: fixing renderscript samples
| * \ am a58f58da: Merge "Doc change: fixing renderscript samples" into honeycombRobert Ly2011-02-176-0/+11
| |\ \ | | | | | | | | | | | | | | | | * commit 'a58f58daf94caa7e50c04707a67ba1a9dacb0a9c': Doc change: fixing renderscript samples
| | * \ Merge "Doc change: fixing renderscript samples" into honeycombRobert Ly2011-02-176-0/+11
| | |\ \
| | | * | Doc change: fixing renderscript samplesRobert Ly2011-02-176-0/+11
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie5d17df121ec4bc5fd46448c1670d306322b92d8
| * | | | am 0ddd2d1e: DO NOT MERGE Delete unused/broken samples and tests from the ↵Scott Main2011-02-1748-3873/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC * commit '0ddd2d1ea7cda544efc4d25601e1cdc0236e44d8': DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
| | * | | DO NOT MERGEScott Main2011-02-1748-3873/+0
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC Change-Id: I0428074e995d7ee282520f54a9a3c81e32bff027
* | | | Fix a regression with MotionEvent parceling.Jeff Brown2011-02-175-54/+498
| |_|/ |/| | | | | | | | | | | | | | Also added some more unit tests. Change-Id: I413654294d1a998eec056884e6df5eaa50f3daf4
* | | Merge "Adding better navigation to model viewer (pinch to zoom, rotations) ↵Alex Sakhartchouk2011-02-178-102/+462
|\ \ \ | | | | | | | | | | | | Adding ability to load a3d files from disk."
| * | | Adding better navigation to model viewer (pinch to zoom, rotations)Alex Sakhartchouk2011-02-168-102/+462
| | | | | | | | | | | | | | | | | | | | | | | | Adding ability to load a3d files from disk. Change-Id: I8697483cf0e3136113e74f9239dc5bc3de770cee
* | | | Merge "Add support for arbitrary axes in MotionEvents."Jeff Brown2011-02-163-39/+343
|\ \ \ \
| * | | | Add support for arbitrary axes in MotionEvents.Jeff Brown2011-02-153-39/+343
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes it possible to extend the set of axes that are reported in MotionEvents by defining new axis constants. The MotionEvent object is now backed by its C++ counterpart to avoid having to maintain multiple representations of the same data. Change-Id: Ibe93c90d4b390d43c176cce48d558d20869ee608
* | | | Clean up use of HAVE_ANDROID_OSKenny Root2011-02-164-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_ANDROID_OS was defined as "1" for targets, but never defined as "0" for non-targets. Changing them to #ifdef should be safe and matches all the other uses of HAVE_ANDROID_OS throughout the system. Change-Id: I82257325a8ae5e4e4371ddfc4dbf51cea8ea0abb
* | | | allow root to call into surfaceflingerMathias Agopian2011-02-151-1/+1
|/ / / | | | | | | | | | | | | | | | | | | this is useful for running standalone tests with standalone SurfaceFlinger. Change-Id: I08d054f6214affa3a777a82765f4e0bd256ba26d
* | | am e49f75eb: am bbcf2079: Merge "Fix struct initializer for balls." into ↵Stephen Hines2011-02-111-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | honeycomb * commit 'e49f75eb4634f8ee70ad0b5fbd8c6ea19773024f': Fix struct initializer for balls.
| * | am bbcf2079: Merge "Fix struct initializer for balls." into honeycombStephen Hines2011-02-111-1/+1
| |\ \ | | |/ | | | | | | | | | * commit 'bbcf2079e9978ad6f75732070ce1dcc0dea3ea3f': Fix struct initializer for balls.
| | * Fix struct initializer for balls.Stephen Hines2011-02-111-1/+1
| | | | | | | | | | | | | | | Bug: 3092382 Change-Id: Ie4e85177727b32f0a260fae53885c97bee111343
* | | Merge "Dirty layers in the area covered by a drawBitmapMesh() call Bug #3410827"Romain Guy2011-02-101-1/+28
|\ \ \
| * | | Dirty layers in the area covered by a drawBitmapMesh() callRomain Guy2011-02-101-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3410827 Change-Id: Ic8b4f6201af94497bba86c75819588c78debddc2
* | | | am e8d074d7: am cbcd9335: Merge "Basic 101 level compute example for RS." ↵Jason Sams2011-02-106-0/+205
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | into honeycomb * commit 'e8d074d763f1c9551c41654589597e45476d27e0': Basic 101 level compute example for RS.
| * | | am cbcd9335: Merge "Basic 101 level compute example for RS." into honeycombJason Sams2011-02-106-0/+205
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit 'cbcd93352b9fff3ada4a01c3094b24e5fafde97f': Basic 101 level compute example for RS.
| | * | Merge "Basic 101 level compute example for RS." into honeycombJason Sams2011-02-106-0/+205
| | |\ \
| | | * | Basic 101 level compute example for RS.Jason Sams2011-02-096-0/+205
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic196ebdf558c1b9661182e191e31d7f62448e73a
* | | | | am bf3aae10: am efc48eea: Merge "HelloWorld graphics sample for ↵Alex Sakhartchouk2011-02-107-0/+290
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Renderscript." into honeycomb * commit 'bf3aae10b5fa73cced245276f3b2f433c9cd635e': HelloWorld graphics sample for Renderscript.
| * | | | am efc48eea: Merge "HelloWorld graphics sample for Renderscript." into honeycombAlex Sakhartchouk2011-02-107-0/+290
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'efc48eea1541990046248b86e899c72b58c8506f': HelloWorld graphics sample for Renderscript.
| | * | | Merge "HelloWorld graphics sample for Renderscript." into honeycombAlex Sakhartchouk2011-02-107-0/+290
| | |\ \ \
| | | * | | HelloWorld graphics sample for Renderscript.Alex Sakhartchouk2011-02-097-0/+290
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7f5c4813a207a37f67c563407369a1dbc1be250d