summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | am d76b67c3: IME events are now dispatched to native applications.Dianne Hackborn2010-07-131-19/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd76b67c340d1564abf8d14d976fdaf83bf2b3320' into gingerbread-plus-aosp * commit 'd76b67c340d1564abf8d14d976fdaf83bf2b3320': IME events are now dispatched to native applications.
| | * | | IME events are now dispatched to native applications.Dianne Hackborn2010-07-131-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And also: - APIs to show and hide the IME, and control its interaction with the app. - APIs to tell the app when its window resizes and needs to be redrawn. - API to tell the app the content rectangle of its window (to layout around the IME or status bar). There is still a problem with IME interaction -- we need a way for the app to deliver events to the IME before it handles them, so that for example the back key will close the IME instead of finishing the app. Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd
* | | | | am 89ee578b: am fd035829: Add initial gamepad support.Jeff Brown2010-07-138-786/+894
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '89ee578b7053d27a50922f82feb94bf6054b330c' * commit '89ee578b7053d27a50922f82feb94bf6054b330c': Add initial gamepad support.
| * | | | am fd035829: Add initial gamepad support.Jeff Brown2010-07-138-786/+894
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fd03582995e0fce963dd0fa0669e3211b74c0dd7' into gingerbread-plus-aosp * commit 'fd03582995e0fce963dd0fa0669e3211b74c0dd7': Add initial gamepad support.
| | * | | Add initial gamepad support.Jeff Brown2010-07-138-786/+894
| | | | | | | | | | | | | | | | | | | | Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
* | | | | Merge "Enable 32-bits only assets."Romain Guy2010-07-131-1/+1
|\ \ \ \ \
| * | | | | Enable 32-bits only assets.Romain Guy2010-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Go away dithering! Change-Id: Iee5ee2e9430606e732d9b0abb3adc9f68275bd6d
* | | | | | am 706623dd: am c0a7e690: Add Parcel::readExceptionCode() and ↵Brad Fitzpatrick2010-07-133-6/+15
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parcel::writeNoException() Merge commit '706623ddb8314850c0551f0b66e24b5f0bd28620' * commit '706623ddb8314850c0551f0b66e24b5f0bd28620': Add Parcel::readExceptionCode() and Parcel::writeNoException()
| * | | | | am c0a7e690: Add Parcel::readExceptionCode() and Parcel::writeNoException()Brad Fitzpatrick2010-07-133-6/+15
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c0a7e690bfd32dd897ceccd04dd0fa6bf6e9cee6' into gingerbread-plus-aosp * commit 'c0a7e690bfd32dd897ceccd04dd0fa6bf6e9cee6': Add Parcel::readExceptionCode() and Parcel::writeNoException()
| | * | | | Add Parcel::readExceptionCode() and Parcel::writeNoException()Brad Fitzpatrick2010-07-133-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add native Parcel methods analogous to the Java versions. Currently, these don't do much, but upcoming StrictMode work changes the RPC calling conventions in some cases, so it's important that everybody uses these consistently, rather than having a lot of code trying to parse RPC responses out of Parcels themselves. As a summary, the current convention that Java Binder services use is to prepend the reply Parcel with an int32 signaling the exception status: 0: no exception -1: Security exception -2: Bad Parcelable -3: ... -4: ... -5: ... ... followed by Parceled String if the exception code is non-zero. With an upcoming change, it'll be the case that a response Parcel can, non-exceptionally return rich data in the header, and also return data to the caller. The important thing to note in this new case is that the first int32 in the reply parcel *will not be zero*, so anybody manually checking for it with reply.readInt32() will get false negative failures. Short summary: If you're calling into a Java service and manually checking the exception status with reply.readInt32(), change it to reply.readExceptionCode(). Change-Id: I23f9a0e53a8cfbbd9759242cfde16723641afe04
* | | | | | Merge "Work on synchronizing a3d created files and java layer. Adding ↵Alex Sakhartchouk2010-07-138-5/+136
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | culling to ProgramRaster"
| * | | | | | Work on synchronizing a3d created files and java layer.Alex Sakhartchouk2010-07-128-5/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
* | | | | | | am 66fa2b44: am 8e886be4: Merge "Modifications in audio effect engine state ↵Eric Laurent2010-07-132-40/+71
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | / / / | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | management." into gingerbread Merge commit '66fa2b44cadf8694cc1b7e2aae1f8abaff4fc547' * commit '66fa2b44cadf8694cc1b7e2aae1f8abaff4fc547': Modifications in audio effect engine state management.
| * | | | | am 8e886be4: Merge "Modifications in audio effect engine state management." ↵Eric Laurent2010-07-132-40/+71
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit '8e886be413570fab6c623930a5775dd36a6d11e1' into gingerbread-plus-aosp * commit '8e886be413570fab6c623930a5775dd36a6d11e1': Modifications in audio effect engine state management.
| | * | | | Modifications in audio effect engine state management.Eric Laurent2010-07-132-40/+71
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Separate the updating of effect engine state from the process call in EffectModule so that the state of all effects in the same effect chain is updated simultaneusly before all process functions are called. - Added a mechanism for the effect engine to continue being called for processing after receiving the disable commands untils it considers that the framework can stop calling the process function without causing a glitch or loosing some effect tail. - Updated test reverb and equalizer to support this new feature Change-Id: Icb56ae2c84c076d4dbad6cf733b1a62f823febe7
* | | | | Cleanup: remove unnecessary parameters.Romain Guy2010-07-132-26/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I5956ef1db6be28a01369387aaeeb65a94656c48c
* | | | | Fix premultiplied alpha.Romain Guy2010-07-122-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I08da422c5350503e1f4f27b9890f15a813d0c6c7
* | | | | Correctly support pre-multiplied alpha, optimizations, more stuff.Romain Guy2010-07-124-29/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the following drawing functions: - drawBitmap(int[]...) - drawPaint() Optimizes shader state changes by enabling/disabling attribute arrays only when needed. Adds quick rejects when drawing trivial shapes to avoid unnecessary OpenGL operations. Change-Id: Ic2c6c2ed1523d08a63a8c95601a1ec40b6c7fbc9
* | | | | Optimize shader binding changes.Romain Guy2010-07-125-15/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also cleans up the internal API a little bit by using mat4 everywhere instead of float[16] (for the ortho matrix for instance.) Change-Id: I35924c7dc17bad17f30307118d5ed437c2ed37e0
* | | | | Merge "Remove math from the vertex shader."Romain Guy2010-07-125-27/+24
|\ \ \ \ \
| * | | | | Remove math from the vertex shader.Romain Guy2010-07-095-27/+24
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: I02847a60a8734bf8b3d29ec12e76297795095e38
* | | | | am ceb8465e: am 87bb1857: Merge changes I2337051b,I19b426cb into gingerbreadKenny Root2010-07-122-17/+36
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | Merge commit 'ceb8465e974ba5fa971ffe1b5b74e94a1bd53f97' * commit 'ceb8465e974ba5fa971ffe1b5b74e94a1bd53f97': Tweak ObbFile class Allow things that can install packages to set Obb paths
| * | | am 87bb1857: Merge changes I2337051b,I19b426cb into gingerbreadKenny Root2010-07-122-17/+36
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '87bb18579a5eea2e24af78af8c0f54f5455ce8fd' into gingerbread-plus-aosp * commit '87bb18579a5eea2e24af78af8c0f54f5455ce8fd': Tweak ObbFile class Allow things that can install packages to set Obb paths
| | * | Merge changes I2337051b,I19b426cb into gingerbreadKenny Root2010-07-122-17/+36
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Tweak ObbFile class Allow things that can install packages to set Obb paths
| | | * | Tweak ObbFile classKenny Root2010-07-122-17/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move error messages around to clarify the errors. * Add extra error check when reading a file. * Seek to the end of a file when writing the signature so the users of the API don't have to remember to do it. Change-Id: I2337051b9f9fa8147c5900237deec790dcd92436
* | | | | am b14f325a: am 289b9b62: Add ANativeWindow API for directly drawing to the ↵Dianne Hackborn2010-07-091-4/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | surface bits. Merge commit 'b14f325a0118ffce286155caaabaae149653462c' * commit 'b14f325a0118ffce286155caaabaae149653462c': Add ANativeWindow API for directly drawing to the surface bits.
| * | | | am 289b9b62: Add ANativeWindow API for directly drawing to the surface bits.Dianne Hackborn2010-07-091-4/+4
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '289b9b62372ef52a06113b83dfb870e2c2fb325a' into gingerbread-plus-aosp * commit '289b9b62372ef52a06113b83dfb870e2c2fb325a': Add ANativeWindow API for directly drawing to the surface bits.
| | * | | Add ANativeWindow API for directly drawing to the surface bits.Dianne Hackborn2010-07-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also other cleanup and fixes: - We now properly set the default window format to 565. - New APIs to set the window format and flags from native code. - Tweaked glue for simpler handling of the "destroy" message. - Um, other stuff. Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
* | | | | Merge "Fix alpha blending and improve fragment shaders performance."Romain Guy2010-07-096-18/+10
|\ \ \ \ \
| * | | | | Fix alpha blending and improve fragment shaders performance.Romain Guy2010-07-096-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib74f6941d25ca6f6a41708e541174eaa7e8d9bc2
* | | | | | Remove points from fixed function.Jason Sams2010-07-097-35/+21
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
* | | | | Refactoring to move vertex computing to the Patch class.Romain Guy2010-07-095-153/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is mostly cleanup to keep less code in OpenGLRenderer. Change-Id: I954375143b2943829457ab470423729b60b844f5
* | | | | Optimize blending state changes.Romain Guy2010-07-093-50/+97
| | | | | | | | | | | | | | | | | | | | Change-Id: I7c22a8aecccb8b5abfcf7243f049a4ef3cf3979a
* | | | | Merge "Draw n-patches using OpenGL."Romain Guy2010-07-089-31/+457
|\ \ \ \ \
| * | | | | Draw n-patches using OpenGL.Romain Guy2010-07-089-31/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only tested with title bars and buttons. Change-Id: I8263a9281898dc0e943b1b8412827fe55639b9d6
* | | | | | am 49159f07: am 74bf59b4: Merge "Add new glue code for writing native apps." ↵Dianne Hackborn2010-07-083-73/+100
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit '49159f0748c704e53a7bd754f26113d9ab844a97' * commit '49159f0748c704e53a7bd754f26113d9ab844a97': Add new glue code for writing native apps.
| * | | | | am 74bf59b4: Merge "Add new glue code for writing native apps." into gingerbreadDianne Hackborn2010-07-083-73/+100
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '74bf59b450daf9e7e6bf234f01db164099edbfd5' into gingerbread-plus-aosp * commit '74bf59b450daf9e7e6bf234f01db164099edbfd5': Add new glue code for writing native apps.
| | * | | | Add new glue code for writing native apps.Dianne Hackborn2010-07-083-73/+100
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This factors out the boiler-plate code from the sample app to a common glue code that can be used for everyone writing this style of app: a dedicated app thread that takes care of waiting for events and processing them. As part of doing this, ALooper has a new facility to allow registration of fds that cause ALooper_pollOnce() to return the fd that has data, allowing the app to drive the loop without callbacks. Hopefully this makes some people feel better. :) Also do some other cleanup of the ALooper API, plus some actual documentation. Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8
* | | | | am d481cdd4: am c9535de8: Merge "Add OBB file helper class" into gingerbreadKenny Root2010-07-084-0/+366
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd481cdd4c0305f8afd857fe3ec3fbf189b744370' * commit 'd481cdd4c0305f8afd857fe3ec3fbf189b744370': Add OBB file helper class
| * | | | am c9535de8: Merge "Add OBB file helper class" into gingerbreadKenny Root2010-07-074-0/+366
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c9535de8e398d766c95144f9a831f34b2cecfd91' into gingerbread-plus-aosp * commit 'c9535de8e398d766c95144f9a831f34b2cecfd91': Add OBB file helper class
| | * | | Merge "Add OBB file helper class" into gingerbreadKenny Root2010-07-074-0/+366
| | |\ \ \
| | | * | | Add OBB file helper classKenny Root2010-07-074-0/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
* | | | | | resolved conflicts for merge of 167449e5 to masterJeff Brown2010-07-082-56/+79
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | | Change-Id: Ib448e69a726eb45b5c9099d2574e40b8345eee67
| * | | | am b17f4dcf: Merge "More native input dispatch work." into gingerbreadChris Tate2010-07-072-56/+79
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b17f4dcfb3edba25bd8c30e60449b9bbcd600a57' into gingerbread-plus-aosp * commit 'b17f4dcfb3edba25bd8c30e60449b9bbcd600a57': More native input dispatch work.
| | * | | Merge "More native input dispatch work." into gingerbreadChris Tate2010-07-072-56/+79
| | |\ \ \
| | | * | | More native input dispatch work.Jeff Brown2010-07-032-56/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed old input dispatch code. Refactored the policy callbacks. Pushed a tiny bit of the power manager state down to native. Fixed long press on MENU. Made the virtual key detection and cancelation a bit more precise. Change-Id: I5d8c1062f7ea0ab3b54c6fadb058c4d5f5a9e02e
* | | | | | Merge "Create FBOs in LayerCache."Romain Guy2010-07-083-64/+89
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Create FBOs in LayerCache.Romain Guy2010-07-083-64/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves a bit of code away from OpenGLRenderer and matches what happens with the TextureCache. Change-Id: I3c67f54f83d7240770daa015861c0e75a1dd8c42
* | | | | | am b91881fd: am dacabf97: Merge "Added Visualizer effect." into gingerbreadEric Laurent2010-07-072-13/+33
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b91881fdd1608cc922f105ec552b5505da1fecb9' * commit 'b91881fdd1608cc922f105ec552b5505da1fecb9': Added Visualizer effect.
| * | | | | am dacabf97: Merge "Added Visualizer effect." into gingerbreadEric Laurent2010-07-072-13/+33
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'dacabf97c609a040ada857a7da6c560097448ae3' into gingerbread-plus-aosp * commit 'dacabf97c609a040ada857a7da6c560097448ae3': Added Visualizer effect.