summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Fix some minor bugs with GL state setup that were exposed by Droids driver.Jason Sams2010-01-277-13/+24
|
* Merge "Add support for setting camera display orientation."Chih-Chung Chang2010-01-271-20/+0
|\
| * Add support for setting camera display orientation.Chih-Chung Chang2010-01-261-20/+0
| |
* | Merge "Turn the debugging back on."Jason Sams2010-01-261-0/+1
|\ \
| * | Turn the debugging back on.Jason Sams2010-01-261-0/+1
| | |
* | | Revert "Fix failure to open AVRCP input device due to EPERM."Nick Pelly2010-01-261-7/+1
| |/ |/| | | | | This reverts commit e6b1bbd8acca3f6e174c24cf4eb23a66db2d08a2.
* | am 425324e9: am e834722f: Merge "Fix failure to open AVRCP input device due ↵Nick Pelly2010-01-251-2/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | to EPERM." into eclair Merge commit '425324e97bba75cd69bb6c81de6248529540e6fe' * commit '425324e97bba75cd69bb6c81de6248529540e6fe': Fix failure to open AVRCP input device due to EPERM.
| * | Fix failure to open AVRCP input device due to EPERM.Nick Pelly2010-01-201-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sleep for 100us and try to open the input device again if it fails, with a maximum of 10 attempts. We need the retry logic because setting permissions on a new input device is racy. The init process watches for new input device (via uevent) and sets the permission on them in devices.c:make_device(). However at the same time EventHub.cpp watches for new input devices from the system_server process, and immediately tries to open them. I can't see a simple way to avoid this race condition. As best as I can tell this race condition has always exisited. There must have been some timing change that happened recently that causes us to hit this race condition much more often. See repro notes in referenced bug. Bug: 2375632
* | | Fix issue 2378022: AudioService should direct volume control to ↵Eric Laurent2010-01-252-6/+6
| |/ |/| | | | | | | | | | | | | | | STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active. Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream type is playing. Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
* | Cleanup seperation of Legacy and user attribs. All user programs now use ↵Jason Sams2010-01-257-195/+172
| | | | | | | | the new names. Legacy vertex attribs are given default names.
* | Change key to KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES for consistency.Wu-cheng Li2010-01-251-1/+1
| | | | | | | | bug:2375986
* | Merge "Add support for 180/270 degrees rotation."Chih-Chung Chang2010-01-221-5/+14
|\ \
| * | Add support for 180/270 degrees rotation.Chih-Chung Chang2010-01-221-5/+14
| | |
* | | Merge "return an error when Surface::lock() is called while the surface is ↵Mathias Agopian2010-01-221-3/+11
|\ \ \ | |/ / |/| | | | | already locked."
| * | return an error when Surface::lock() is called while the surface is already ↵Mathias Agopian2010-01-221-3/+11
| | | | | | | | | | | | locked.
* | | Add an orientation parameter for overlay, so we can do camera preview in ↵Chih-Chung Chang2010-01-217-14/+35
|/ / | | | | | | portrait mode.
* | fix [2324665] texture leak in surfaceflinger when using cameraMathias Agopian2010-01-211-1/+16
| |
* | fix a texture leak introduced recently.Mathias Agopian2010-01-211-4/+11
| | | | | | | | | | create the texture name once and for all for a given BufferSource and make sure to recreate it when we're forced to delete the texture.
* | Merge "fix [2363362] [Sapphire] Corrupted raw picture displayed during snapshot"Mathias Agopian2010-01-201-0/+10
|\ \
| * | fix [2363362] [Sapphire] Corrupted raw picture displayed during snapshotMathias Agopian2010-01-201-0/+10
| | | | | | | | | | | | | | | handled all cases where the scale factor of a video is out of bounds of supported scale factors in copybit.
* | | Merge "part of fix for [2363362] [Sapphire] Corrupted raw picture displayed ↵Mathias Agopian2010-01-202-11/+18
|\ \ \ | |/ / | | | | | | during snapshot"
| * | part of fix for [2363362] [Sapphire] Corrupted raw picture displayed during ↵Mathias Agopian2010-01-202-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | snapshot make sure to fallback properly to software when copybit operation fails. with this change, the preview image will at least be displayed in b&w (since GL doesn't support the yuv format). This would also fix 2363506, but that one is now handled more cleanly.
* | | am b3699b14: am 836e1666: Merge "add drawSpriteScreenspaceCropped to ↵Joe Onorato2010-01-202-4/+13
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | renderscript" into eclair Merge commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be' * commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be': add drawSpriteScreenspaceCropped to renderscript
| * add drawSpriteScreenspaceCropped to renderscriptJoe Onorato2010-01-142-4/+13
| |
* | Merge "fix [2363506] [Sapphire] Video playback broken"Mathias Agopian2010-01-202-6/+8
|\ \
| * | fix [2363506] [Sapphire] Video playback brokenMathias Agopian2010-01-202-6/+8
| | | | | | | | | | | | don't try to use copybit for incompatible buffers
* | | Merge "Create base class for audio policy manager."Eric Laurent2010-01-206-1165/+1962
|\ \ \
| * | | Create base class for audio policy manager.Eric Laurent2010-01-136-1165/+1962
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First implementations of audio policy manager in Eclair branch have shown that most code is common to all platforms. Creating AudioPolicyManagerBase base class will improve code maintainability and readability. Audio policy manager code for platforms using generic audio previously in AudioPolicyManagerGeneric is replaced by AudioPolicyManagerBase. Audio policy manager test code previously in AudioPolicyManagerGeneric is moved to AudioPolicyManagerBase. Also added a wake lock for delayed commands in AudioPolicyService.
* | | | Fix RS mipmap generation for 8 bit alpha textures.Jason Sams2010-01-191-0/+22
| |/ / |/| |
* | | Merge "Remove excessive logging, fix error in GLSL uniform generation."Jason Sams2010-01-132-3/+1
|\ \ \ | |/ / |/| |
| * | Remove excessive logging, fix error in GLSL uniform generation.Jason Sams2010-01-132-3/+1
| | |
* | | Merge "Implement type generation for user uniforms in vertex shader."Jason Sams2010-01-126-36/+130
|\ \ \ | |/ /
| * | Implement type generation for user uniforms in vertex shader.Jason Sams2010-01-126-36/+130
| | |
* | | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-1/+1
| | | | | | | | | | | | Bug: #2361749.
* | | less log spewJoe Onorato2010-01-081-1/+0
|/ /
* | Fix npot but where mipmap level sizes were rounding in the wrong direction. ↵Jason Sams2010-01-071-3/+3
| | | | | | | | Should always be floor.
* | Change user attribs to look for empty slot rather than using them in order. ↵Jason Sams2010-01-073-13/+12
| | | | | | | | Prevents conflict with numbered legacy slots.
* | Support npot on es 2.0 HW.Jason Sams2010-01-062-4/+3
| |
* | More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-0613-103/+203
| | | | | | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* | explicit set an "optional" tagJean-Baptiste Queru2010-01-053-0/+6
| |
* | Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-0411-129/+107
| |
* | Disable excessive RS logging.Jason Sams2009-12-231-1/+0
| |
* | Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-2324-416/+682
| | | | | | | | | | | | the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures. This will break some apps, checkings for other projects will follow to unbreak them.
* | am 0c5cc224: am d20a55af: Merge change Iccfa50fe into eclairEric Laurent2009-12-222-25/+85
|\ \ | |/ | | | | | | | | | | Merge commit '0c5cc224b052654ee38d39effce427a47697481b' * commit '0c5cc224b052654ee38d39effce427a47697481b': Fix issue 2323920: Notification & A2DP audio stutter.
| * Fix issue 2323920: Notification & A2DP audio stutter.Eric Laurent2009-12-222-25/+85
| | | | | | | | | | | | | | Modified AudioFlinger duplicating output thread so that audio tracks are not mixed until both outputs (A2DP and hardware) have exited standby mode. This avoids to have one output far ahead of the other and audio frames dropped because the compensation mechanism cannot keep up. Also calculate the maximum wait time in OutputTrack::write() based the on smallest frame count of all output threads instead of the frame count of the thread the OutputTrack is connected to. This avoids starving the thread with the smallest frame count by waiting too long on the other thread. Since the frame count was reduced on hardware output to reduce latency the difference between A2DP and hardware outputs frame counts had become problematic. Also increased the number of overflow buffers to cope with bigger timing differences among outputs.
* | Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams2009-12-178-175/+102
| | | | | | | | creation to require a texture format in 1.0 mode.
* | Fix live wallpaper many. Z coordinate was being ignored for draw quad call.Jason Sams2009-12-161-1/+1
| |
* | Fix emulated glColor in es2 mode.Jason Sams2009-12-163-0/+12
| |
* | Place shader logging behind prop to declutter logs.Jason Sams2009-12-1510-19/+32
| |
* | Continue es2 shader devJason Sams2009-12-156-42/+90
| | | | | | | | | | | | | | Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java