summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-1522-373/+399
| | | | | | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* | Implement RS tracked defered texture and buffer object uploads.Jason Sams2009-12-145-14/+74
| |
* | am 2378f141: am b63d91c6: am f9b0e826: fix [2269582] ↵Mathias Agopian2009-12-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly Merge commit '2378f1413426987ccfe9d6ed5f856bb01c9d7c30' * commit '2378f1413426987ccfe9d6ed5f856bb01c9d7c30': fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly
| * \ am f9b0e826: fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes ↵Mathias Agopian2009-12-111-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | camera preview screen is truncated after launching and back to home screen by home key repeatedly Merge commit 'f9b0e826689cca5ecbd40aa49f3ea7f7c73ad2a2' into eclair-mr2 * commit 'f9b0e826689cca5ecbd40aa49f3ea7f7c73ad2a2': fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly
| | * fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview ↵Mathias Agopian2009-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | screen is truncated after launching and back to home screen by home key repeatedly When a surface is removed from the screen while it holds a "freeze lock", the release of that lock happens in the destructor as a "safety net". However, it doesn't trigger an update at that point. Make sure that "freeze locks" are released from the transaction at the point a surface is removed from the screen (if it's not on screen, it shouldn't prevent the screen to redraw, and therefore cannot hold a freeze lock). The refresh corresponding to that transaction will pick it up as soon as possible.
* | | am 871f9de3: am 02472639: am 083a557c: fix [2319255] crash in openGL : from ↵Mathias Agopian2009-12-111-1/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | the media recorder stress test. Merge commit '871f9de3554ccfd2028837dea97b76fcaf5ffedb' * commit '871f9de3554ccfd2028837dea97b76fcaf5ffedb': fix [2319255] crash in openGL : from the media recorder stress test.
| * | am 083a557c: fix [2319255] crash in openGL : from the media recorder stress ↵Mathias Agopian2009-12-101-1/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | test. Merge commit '083a557c25e0032bc4900f335b6643d0badd09ce' into eclair-mr2 * commit '083a557c25e0032bc4900f335b6643d0badd09ce': fix [2319255] crash in openGL : from the media recorder stress test.
| | * fix [2319255] crash in openGL : from the media recorder stress test.Mathias Agopian2009-12-101-1/+8
| | | | | | | | | | | | | | | never call eglCreateImageKHR() with a NULL native buffer, which can happen in OOM conditions.
* | | am 1e1d4492: am 218aa945: Merge change I6478884a into eclair-mr2Kenny Root2009-12-101-1/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '1e1d44924a334637f9fb47ca8796625bd86cb66a' * commit '1e1d44924a334637f9fb47ca8796625bd86cb66a': Add string resource type inspection
| * | Merge change I6478884a into eclair-mr2Android (Google) Code Review2009-12-101-1/+9
| |\ \ | | | | | | | | | | | | | | | | * changes: Add string resource type inspection
| | * | Add string resource type inspectionKenny Root2009-12-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows "aapt dump --values resource" to print out whether a string in a ResStringPool is in UTF-8 or UTF-16 encoding. Change-Id: I6478884a70a3b46fee862dece6cb33454fc34843
* | | | am abcb3703: am 75ca58d6: am 76169da0: fix [2315900] Monochrome camera ↵Mathias Agopian2009-12-102-50/+69
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | preview screen after launching camera Merge commit 'abcb37038a4981e935e516dd4d56cecd1f6fcb39' * commit 'abcb37038a4981e935e516dd4d56cecd1f6fcb39': fix [2315900] Monochrome camera preview screen after launching camera
| * | | am 76169da0: fix [2315900] Monochrome camera preview screen after launching ↵Mathias Agopian2009-12-102-50/+69
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | camera Merge commit '76169da0e84b0fcf621aeac6141af3ee85bc7c1e' into eclair-mr2 * commit '76169da0e84b0fcf621aeac6141af3ee85bc7c1e': fix [2315900] Monochrome camera preview screen after launching camera
| | * | fix [2315900] Monochrome camera preview screen after launching cameraMathias Agopian2009-12-092-50/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was introduced by a recent change. when we try to figure out the size of the yuv->rgb temporary buffer, the output resolution has not been computed yet and an invalid buffer size is used. most of the time the allocation fails and the system reverts to "standard" GL will uses onle the Y plane. the allocation of the temporary buffer is moved to onDraw(), the first time it is called, by that time, the window is positioned properly.
* | | | am b62954b6: am 8f31c230: am 57ce0888: Merge change Id22c0137 into eclairJason Sams2009-12-105-33/+45
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'b62954b66542e3e2654d97a81123c51805bceca7' * commit 'b62954b66542e3e2654d97a81123c51805bceca7': Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.