summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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.
| * | | am 57ce0888: Merge change Id22c0137 into eclairJason Sams2009-12-105-33/+45
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '57ce0888fcb1376b385c3dab5e4262793acaaf16' into eclair-mr2 * commit '57ce0888fcb1376b385c3dab5e4262793acaaf16': Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
| | * | Merge change Id22c0137 into eclairAndroid (Google) Code Review2009-12-095-33/+45
| | |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
| | | * | Throttle low priority RS threads by sleeping once per frame to avoid ↵Jason Sams2009-12-095-33/+45
| | | | | | | | | | | | | | | | | | | | starving other apps.
* | | | | am d1b8019a: am ae5bd2b9: am d8c752ef: Merge change Ib548dbb2 into eclairMathias Agopian2009-12-101-9/+15
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd1b8019a69d186df74f072cc51b413e34c3016f4' * commit 'd1b8019a69d186df74f072cc51b413e34c3016f4': improve video performance to minimize the tearing effect seen in 720p movies
| * | | | am d8c752ef: Merge change Ib548dbb2 into eclairMathias Agopian2009-12-101-9/+15
| |\ \ \ \ | | |/ / / | | | | / | | |_|/ | |/| | | | | | | | | | Merge commit 'd8c752ef74bc6d8b412defe35caf1a19be15eb8b' into eclair-mr2 * commit 'd8c752ef74bc6d8b412defe35caf1a19be15eb8b': improve video performance to minimize the tearing effect seen in 720p movies
| | * | improve video performance to minimize the tearing effect seen in 720p moviesMathias Agopian2009-12-081-9/+15
| | |/ | | | | | | | | | | | | | | | | | | | | | always rescale videos to their target size using copybit during yuv->rgb conversion. this improves performance of the GPU pass and doesn't require linear filtering to be enabled. Also always use 16-bits buffers. the average processing time for 720p dropped from ~50ms to ~30ms
* | | am ea483723: am 9fbb534e: Merge change Iafbeb31b into eclair-mr2Dianne Hackborn2009-12-101-1/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'ea483723b3cc630cf5b5b6fda7b08d9592bdbbde' * commit 'ea483723b3cc630cf5b5b6fda7b08d9592bdbbde': Maybe really fix windows build.
| * | Maybe really fix windows build.Dianne Hackborn2009-12-081-1/+4
| | |
* | | am b901f0c6: am 484fe4d6: Merge change I06fb2c1c into eclair-mr2Dianne Hackborn2009-12-101-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'b901f0c6dd4c833e4d5a0aa409066d25762abbbb' * commit 'b901f0c6dd4c833e4d5a0aa409066d25762abbbb': Hopefully fix Windows build
| * | Hopefully fix Windows buildDianne Hackborn2009-12-081-0/+2
| | |
* | | am 5cd6fcd5: am e6c0e993: Merge change I129483f8 into eclair-mr2Kenny Root2009-12-103-46/+183
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '5cd6fcd518d47d1974a10fccf3c3d5431a83307a' * commit '5cd6fcd518d47d1974a10fccf3c3d5431a83307a': Optional use of UTF-8 strings in resource bundles
| * | Merge change I129483f8 into eclair-mr2Android (Google) Code Review2009-12-083-46/+183
| |\ \ | | | | | | | | | | | | | | | | * changes: Optional use of UTF-8 strings in resource bundles
| | * | Optional use of UTF-8 strings in resource bundlesKenny Root2009-12-073-46/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows the use of UTF-8 for packing resources instead of the default of UTF-16 for Java. When strings are extracted from the ResStringPool, they are converted to UTF-16 and the result is cached for subsequent calls. When using aapt to package, add in the "-8" switch to pack the resources using UTF-8. This will result in the value, key, and type strings as well as the compiled XML string values taking significantly less space in the final application package in most scenarios. Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
* | | | am 68a3b8b6: am 24eca800: Merge change I887f355f into eclair-mr2Dianne Hackborn2009-12-102-15/+87
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '68a3b8b66044d0a9fa901ad306fc6db6d13f94d3' * commit '68a3b8b66044d0a9fa901ad306fc6db6d13f94d3': Propagate background scheduling class across processes.
| * | | Propagate background scheduling class across processes.Dianne Hackborn2009-12-072-15/+87
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a very simply implementation: upon receiving an IPC, if the handling thread is at a background priority (the driver will have taken care of propagating this from the calling thread), then stick it in to the background scheduling group. Plus an API to turn this off for the process, which is used by the system process. This also pulls some of the code for managing scheduling classes out of the Process JNI wrappers and in to some convenience methods in thread.h.
* | | am bf831e0d: am 38f6bdc4: am 0a08029f: Fix issue 2306779: Runtime restart - ↵Eric Laurent2009-12-071-12/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Init failed at android.media.ToneGenerator. Merge commit 'bf831e0de0fd1636a7ee2670faed208f96f23f65' * commit 'bf831e0de0fd1636a7ee2670faed208f96f23f65': Fix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
| * | am 0a08029f: Fix issue 2306779: Runtime restart - Init failed at ↵Eric Laurent2009-12-071-12/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | android.media.ToneGenerator. Merge commit '0a08029fc9a370c6ef2a2a6fd1d800d9159b61f8' into eclair-mr2 * commit '0a08029fc9a370c6ef2a2a6fd1d800d9159b61f8': Fix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.