summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Don't clear the framebuffer when not needed."Romain Guy2010-10-066-10/+15
|\
| * Don't clear the framebuffer when not needed.Romain Guy2010-10-066-10/+15
| |
* | am ff04e97f: am f4619308: Merge "fix [2835280] Add support for cancelling ↵Mathias Agopian2010-10-062-11/+53
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | buffers to ANativeWindow" into gingerbread Merge commit 'ff04e97faf75c435e453d4c1caf7eeac8b9c1ceb' * commit 'ff04e97faf75c435e453d4c1caf7eeac8b9c1ceb': fix [2835280] Add support for cancelling buffers to ANativeWindow
| * \ am f4619308: Merge "fix [2835280] Add support for cancelling buffers to ↵Mathias Agopian2010-10-042-11/+53
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ANativeWindow" into gingerbread Merge commit 'f461930872beb4362998642c115691bdd2e94617' into gingerbread-plus-aosp * commit 'f461930872beb4362998642c115691bdd2e94617': fix [2835280] Add support for cancelling buffers to ANativeWindow
| | * | fix [2835280] Add support for cancelling buffers to ANativeWindowMathias Agopian2010-10-042-11/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a new ANativeWindow::cancelBuffer() API that can be used to cancel any dequeued buffer, BEFORE it's been enqueued. The buffer is returned to the list of availlable buffers. dequeue and cancel are not mutually thread safe, they must be called from the same thread or external synchronization must be used. Change-Id: I86cc7985bace8b6a93ad2c75d2bef5c3c2cb4d61
| * | | am 19058877: Merge "refactored screenshot code" into gingerbreadMathias Agopian2010-10-042-2/+58
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '19058877df9bf94f197a72855f810f7f6bf8d068' into gingerbread-plus-aosp * commit '19058877df9bf94f197a72855f810f7f6bf8d068': refactored screenshot code
| | * | Merge "refactored screenshot code" into gingerbreadMathias Agopian2010-10-042-2/+58
| | |\ \
| | | * | refactored screenshot codeMathias Agopian2010-10-042-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the core screenshot function now can capture the screen at any lower resolution performing bilinear filtering. we also now have some client code to interface with the screenshot service. it's now possible to request a screenshot at a lower resolution. Change-Id: I33689bba98507ab928d0898b21596d0d2fe4b953
* | | | | Merge "Apply 3D transformations to gradient shaders."Romain Guy2010-10-063-25/+51
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Apply 3D transformations to gradient shaders.Romain Guy2010-10-063-25/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes only linear gradients. Sweep and radial gradients, as well as bitmap shaders, will be fixed in a future commit. Change-Id: I4eee4ff62e9bbf3b9339fc111a780167449ecfef
* | | | | Merge "changing vec4 to vec2 for perf reasons."Alex Sakhartchouk2010-10-064-5/+6
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | changing vec4 to vec2 for perf reasons.Alex Sakhartchouk2010-10-064-5/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
* | | | | Merge "Optimize saveLayer() when the clip flag is set."Romain Guy2010-10-0510-64/+220
|\ \ \ \ \
| * | | | | Optimize saveLayer() when the clip flag is set.Romain Guy2010-10-0510-64/+220
| | | | | | | | | | | | | | | | | | This speeds up applications, especially Launcher.
* | | | | | am bfa33b94: am f84a5918: Merge "Use pread() in ZipFileRO for Linux" into ↵Kenny Root2010-10-051-1/+32
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit 'bfa33b9484e2c0a019ab81f30261b9696df23a9b' * commit 'bfa33b9484e2c0a019ab81f30261b9696df23a9b': Use pread() in ZipFileRO for Linux
| * | | | | am f84a5918: Merge "Use pread() in ZipFileRO for Linux" into gingerbreadKenny Root2010-10-041-1/+32
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'f84a5918f5e0572c0280fa705970ef7459b45393' into gingerbread-plus-aosp * commit 'f84a5918f5e0572c0280fa705970ef7459b45393': Use pread() in ZipFileRO for Linux
| | * | | | Use pread() in ZipFileRO for LinuxKenny Root2010-10-041-1/+32
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AssetManager instances are created by zygote and passed to all its children so that they don't have to individually open frameworks-res.apk. This creates a problem for determining the current file offset when using lseek() on those files, because you can't guarantee the cross-process locking of a mutex. Luckily, Linux implements pread() to get around this suckiness. The problem is that only Linux implements this, so we have to keep the old locking for use on host builds with aapt and friends. aapt doesn't have this same problem of sharing file descriptors across forked processes, so we can keep the local AutoMutex to protect accesses of those files. Change-Id: Ibe9f11499a53fe345f50fbaea438815ec0fd363e
* | | | | Merge "turn off some useless messages"Vasu Nori2010-10-051-2/+4
|\ \ \ \ \
| * | | | | turn off some useless messagesVasu Nori2010-10-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5ed5696cd052b70e7cf7b872205470cd56fada90
* | | | | | Merge "Adding average fps counter. Removing rsLight from libRS"Alex Sakhartchouk2010-10-0511-231/+24
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Adding average fps counter.Alex Sakhartchouk2010-10-0511-231/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing rsLight from libRS Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
* | | | | | Merge "Add support for paletted textures."Romain Guy2010-10-052-1/+22
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Add support for paletted textures.Romain Guy2010-10-052-1/+22
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I36e6069bd58f78c609cdd1f3e4560c98f128f48e
* | | | | Merge "Implement allocation resizing."Jason Sams2010-10-055-4/+120
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Implement allocation resizing.Jason Sams2010-10-055-4/+120
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
* | | | | Merge "Adding text metrics to renderscript."Alex Sakhartchouk2010-10-057-74/+253
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Adding text metrics to renderscript.Alex Sakhartchouk2010-10-057-74/+253
| |/ / / | | | | | | | | | | | | Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
* | | | Remove logs to reduce logcat spam.Romain Guy2010-10-041-3/+0
| | | | | | | | | | | | | | | | Change-Id: I5fc295b05b5d82bb86827b88e94dd51e8bcdc7d3
* | | | Reorder logs.Romain Guy2010-10-041-1/+1
| | | | | | | | | | | | | | | | Change-Id: I4adbd53662e1f509c860898c8ff9d19eaabd6d5b
* | | | Snap the clip rectangle to pixel boundaries.Romain Guy2010-10-041-0/+1
| | | | | | | | | | | | | | | | Change-Id: Iac2765303552f385995fe46e219af456e0501da7
* | | | Apply bilinear filtering on text only when necessary.Romain Guy2010-10-045-5/+29
|/ / / | | | | | | | | | Change-Id: Ic903f4b5d30e9c92528c6291941896efe4729ee3
* | | am ac754073: am b58b2714: Merge "ZipFileRO: moar logging and wrap close" ↵Kenny Root2010-10-041-7/+19
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit 'ac7540733cafcca5bdb1842e1ebcb396ba064583' * commit 'ac7540733cafcca5bdb1842e1ebcb396ba064583': ZipFileRO: moar logging and wrap close
| * | am b58b2714: Merge "ZipFileRO: moar logging and wrap close" into gingerbreadKenny Root2010-10-041-7/+19
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'b58b27142a936aa76897a7040c08b8a0989a685b' into gingerbread-plus-aosp * commit 'b58b27142a936aa76897a7040c08b8a0989a685b': ZipFileRO: moar logging and wrap close
| | * Merge "ZipFileRO: moar logging and wrap close" into gingerbreadKenny Root2010-10-041-7/+19
| | |\
| | | * ZipFileRO: moar logging and wrap closeKenny Root2010-10-011-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is apparently still a race upon reading the entry Local File Header that can't be tracked down, so move the LFH check inside the mutex-protected block so we can call lseek again to see where we are when we log an error. Also, close() can fail so use TEMP_FAILURE_RETRY on it so we don't unwittingly leak file descriptors when Mean Mr. EINTR comes a-knocking. Change-Id: I753abad0bd882fe28f7281c406fa76f64393ef4c
* | | | Video size retrieval/configuration support in camera halJames Dong2010-10-031-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first part of the camera hal change required for 0-memcpy of input video frames for video recording. o removed check in setVideoSize()/getVideoSize() for impl consistency Change-Id: I01274a62b9f9eaf32154d98f8d0bfedacf645698
* | | | Merge "Initialize font texture cache."Romain Guy2010-10-031-0/+2
|\ \ \ \
| * | | | Initialize font texture cache.Romain Guy2010-10-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that text is renderer using bilinear filtering, each character is surrounded by a 1 pixel border. This border needs to be initialized to a transparent value. Change-Id: I26d3195db4bd576ac1f2da4c8f8e4dd18768bf12
* | | | | am ea58d1ba: am e951ef07: Merge "Wait for initial device scan to finish ↵Jeff Brown2010-10-012-26/+32
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before updating config." into gingerbread Merge commit 'ea58d1bac2960c1794f048bfa5d1a60b1a3d23a1' * commit 'ea58d1bac2960c1794f048bfa5d1a60b1a3d23a1': Wait for initial device scan to finish before updating config.
| * | | | am e951ef07: Merge "Wait for initial device scan to finish before updating ↵Jeff Brown2010-10-012-26/+32
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config." into gingerbread Merge commit 'e951ef07dd8cb36ec0e127e80f5d558b8a2d6125' into gingerbread-plus-aosp * commit 'e951ef07dd8cb36ec0e127e80f5d558b8a2d6125': Wait for initial device scan to finish before updating config.
| | * | | Wait for initial device scan to finish before updating config.Jeff Brown2010-10-012-26/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change narrows the opportunity for a race condition setting the resource Configuration while devices are being updated. Change-Id: I58efa563f4129ab0fce7108511d16a99dff7e451
* | | | | am e11b76d3: am f6295b35: Merge "Minor logging changes to input dispatcher ↵Jeff Brown2010-10-013-70/+138
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | | | | | | | | | | | | | to help with debugging." into gingerbread Merge commit 'e11b76d3efb056edea301d53a354d0730adf3520' * commit 'e11b76d3efb056edea301d53a354d0730adf3520': Minor logging changes to input dispatcher to help with debugging.
| * | | am f6295b35: Merge "Minor logging changes to input dispatcher to help with ↵Jeff Brown2010-10-013-70/+138
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | debugging." into gingerbread Merge commit 'f6295b35db7a7c40d4fb1c981e231bebcf13e2ba' into gingerbread-plus-aosp * commit 'f6295b35db7a7c40d4fb1c981e231bebcf13e2ba': Minor logging changes to input dispatcher to help with debugging.
| | * | Minor logging changes to input dispatcher to help with debugging.Jeff Brown2010-10-013-70/+138
| | |/ | | | | | | | | | | | | | | | | | | | | | Added dumpsys reporting to EventHub. Made the formatting a bit clearer. Added 'Locked' suffix to some internal methods of EventHub. Change-Id: Ic449560bcce378f6361895d27c66854e9724abb0
* | | am 57fa3e8b: am 9e32a438: Merge "Support haptic feedback for virtual keys ↵Jeff Brown2010-10-011-5/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | defined in key layout." into gingerbread Merge commit '57fa3e8b4c94125ddb5be015dd7fbde4a458894f' * commit '57fa3e8b4c94125ddb5be015dd7fbde4a458894f': Support haptic feedback for virtual keys defined in key layout.
| * | am 9e32a438: Merge "Support haptic feedback for virtual keys defined in key ↵Jeff Brown2010-10-011-5/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | layout." into gingerbread Merge commit '9e32a438fd87180692da55197972ecddb1a731d9' into gingerbread-plus-aosp * commit '9e32a438fd87180692da55197972ecddb1a731d9': Support haptic feedback for virtual keys defined in key layout.
| | * Support haptic feedback for virtual keys defined in key layout.Jeff Brown2010-10-011-5/+5
| | | | | | | | | | | | Change-Id: I83e4108a87332692e03791dc066206becbc7941f
* | | Merge "Apply bilinear filtering to text."Romain Guy2010-10-014-58/+77
|\ \ \
| * | | Apply bilinear filtering to text.Romain Guy2010-10-014-58/+77
| | | | | | | | | | | | | | | | Change-Id: I2c81ad657ee2a11a2139e0b11ae3749db54c0749
* | | | Fix for bug 3053078Alex Sakhartchouk2010-10-012-14/+82
| | | | | | | | | | | | | | | | | | | | | | | | Font gamma correction to match with lib HWUI. Change-Id: I329a2f97058f4929b96724c9df39fbfad4243b33