summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Fix ref counting for globals when set from java code.Jason Sams2010-11-163-0/+29
| | | | Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
* Fix crash with extended debugging.Jason Sams2010-11-161-6/+5
| | | | Change-Id: I982a7c7ea7ccae074be5254032c43a862137747a
* Remove WARs for zero-init + destructors.Stephen Hines2010-11-153-6/+3
| | | | Change-Id: I919db554f3f6fa1fb027402298602a16fba4a235
* Fixed a race condition where some recording frames may not be released.James Dong2010-11-151-0/+3
| | | | | | | | | | When startRecording() is called before setListener(), recording frames are sent right after startRecording(), but there is no listener to release the recording frames. This causes the hang in media server. bug - 3166356 Change-Id: I19366ca682ef9f6b847590c190c30a15ed32b8e4
* Merge "Split UTF functions from String8/16"Kenny Root2010-11-158-624/+815
|\
| * Split UTF functions from String8/16Kenny Root2010-11-128-624/+815
| | | | | | | | | | | | | | Split out all the UTF-8/16/32 handling code from String8/16 to its own file to allow better reuse of code. Change-Id: If9ce63920edc75472c38da4adce0d13cda9ad2f7
* | Add support for integer mod.Bryan Mawhinney2010-11-151-1/+5
| | | | | | | | Change-Id: I681b8220c8b39d865ade036a93ba93a965e259c9
* | Merge "Fix line drawing in RS example."Jason Sams2010-11-122-7/+14
|\ \
| * | Fix line drawing in RS example.Jason Sams2010-11-122-7/+14
| | | | | | | | | | | | Change-Id: I5a83ac8d943488d19d83af1bd20a15a3c02999da
* | | Enable touch splitting for all windows by default.Jeff Brown2010-11-121-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New default only applies to applications with targetSdkVersion >= HONEYCOMB. Old applications default to no touch splitting for their windows. In addition, enabled split touch for various system windows. Bug: 3049580 Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
* | | make ResourceCache for display lists thread-safeChet Haase2010-11-112-0/+20
| | | | | | | | | | | | Change-Id: I41885b4ae249d7d7c000bab17bf32340ba85ab3a
* | | Merge "Free resources only from the GL context thread. Bug #3179882"Romain Guy2010-11-1112-65/+121
|\ \ \
| * | | Free resources only from the GL context thread.Romain Guy2010-11-1112-65/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3179882 Resources were freed following garbage collections on a worker thread. This worker thread had no EGL context, which would cause the renderer to incorrectly assume that the memory was liberated. Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
* | | | Merge "Implement reducing the buffer count of a Surface."Jamie Gennis2010-11-113-6/+82
|\ \ \ \ | |_|_|/ |/| | |
| * | | Implement reducing the buffer count of a Surface.Jamie Gennis2010-11-113-6/+82
| | | | | | | | | | | | | | | | | | | | Change-Id: I7f979c60c06d654aa8265002836277434bc1a64f Bug: 3095167
* | | | Merge "Fix a compile warning in the Surface class."Jamie Gennis2010-11-111-1/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Fix a compile warning in the Surface class.Jamie Gennis2010-11-111-1/+1
| |/ | | | | | | Change-Id: Id744e71d2cd23c287925a5090e13a6d9908cdd99
* | Reduce number of GL calls when drawing with shaders.Romain Guy2010-11-113-7/+12
| | | | | | | | Change-Id: I27aca9f6d381d5c7e363d90a93225d185f2ff4e3
* | Merge "Add new runtime debug flags."Romain Guy2010-11-108-1/+63
|\ \ | |/ |/|
| * Add new runtime debug flags.Romain Guy2010-11-108-1/+63
| | | | | | | | Change-Id: I07955de166a89b5053c6c13f250bb3e2936ca86e
* | Merge "Code cleanup to make formatting consistent across all the ↵Alex Sakhartchouk2010-11-1081-1803/+1039
|\ \ | | | | | | | | | renderscript files."
| * | Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-1081-1803/+1039
| | | | | | | | | | | | | | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* | | Merge "Move all debug flags in a single place."Romain Guy2010-11-1013-32/+132
|\ \ \ | |/ / |/| / | |/
| * Move all debug flags in a single place.Romain Guy2010-11-1013-32/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also adds a new memory usage flag. When turned on, the following is printed after every frame: D/OpenGLRenderer( 3723): Current memory usage / total memory usage (bytes): D/OpenGLRenderer( 3723): TextureCache 3766680 / 20971520 D/OpenGLRenderer( 3723): LayerCache 3538944 / 8388608 D/OpenGLRenderer( 3723): GradientCache 135168 / 524288 D/OpenGLRenderer( 3723): PathCache 41180 / 4194304 D/OpenGLRenderer( 3723): TextDropShadowCache 0 / 2097152 D/OpenGLRenderer( 3723): FontRenderer 0 262144 / 262144 D/OpenGLRenderer( 3723): FontRenderer 1 262144 / 262144 D/OpenGLRenderer( 3723): FontRenderer 2 262144 / 262144 D/OpenGLRenderer( 3723): Other: D/OpenGLRenderer( 3723): FboCache 2 / 12 D/OpenGLRenderer( 3723): PatchCache 31 / 512 D/OpenGLRenderer( 3723): Total memory usage: D/OpenGLRenderer( 3723): 8268404 bytes, 7.89 MB This should help tracking possibe memory issues. Change-Id: I83f483ca1d2dbef904829bce368e33fe5503e8d6
* | Merge "Continue error check improvements and write some docs."Jason Sams2010-11-091-0/+2
|\ \ | |/ |/|
| * Continue error check improvements and write some docs.Jason Sams2010-11-091-0/+2
| | | | | | | | Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
* | Fix possible crash when texture is NULL in the drop shadow cache.Romain Guy2010-11-091-3/+3
| | | | | | | | Change-Id: I2142c55dbcfebcdf013a7f4ae04b266a60f5ce8a
* | Correctly remove unused paths from the cache.Romain Guy2010-11-095-10/+50
| | | | | | | | Change-Id: I41d9334dcd9871634037344ab49bf69383498161
* | Merge "Fix fountain bug with more than 10 touches reported."Jason Sams2010-11-091-1/+1
|\ \ | |/
| * Fix fountain bug with more than 10 touches reported.Jason Sams2010-11-091-1/+1
| | | | | | | | Change-Id: Ie4ddefbcbe6407fb7ffae2c6e2440fec0b974cfb
* | Fix GL rendering of translucent surfacesChet Haase2010-11-091-5/+2
|/ | | | | | | | GL renderer was not initializing scissor correctly for translucent surfaces, resulting in invisible window backgrounds in some cases like fading popup windows Change-Id: I87a964986e1ba2c4f59708c8892c5fa71903e6fc
* Handle user message ID 0Jason Sams2010-11-084-28/+63
| | | | | | | Pass RS runtime errors back to java. throw exceptions for runtime errors. Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
* Merge "Moving attrib creation to Mesh. Adding arrays as shader inputs. ↵Alex Sakhartchouk2010-11-0825-377/+700
|\ | | | | | | Removing fixed size arrays."
| * Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-0825-377/+700
| | | | | | | | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* | Merge "Support nested display lists."Romain Guy2010-11-086-7/+48
|\ \
| * | Support nested display lists.Romain Guy2010-11-086-7/+48
| | | | | | | | | | | | Change-Id: I3815a2832fc0f722c668ba8f51c5f177edb77c94
* | | The CHEEK_TOUCH stuff never worked. Remove it.Joe Onorato2010-11-081-18/+1
| | | | | | | | | | | | | | | Bug: 3104906 Change-Id: Ia37236ba1775fc3ec8c111e2e0b85b105e0dea6a
* | | Tell system server whether the app handled input events.Jeff Brown2010-11-084-25/+80
|/ / | | | | | | | | | | | | | | | | | | Refactored ViewRoot, NativeActivity and related classes to tell the dispatcher whether an input event was actually handled by the application. This will be used to move more of the global default key processing into the system server instead of the application. Change-Id: If06b98b6f45c543e5ac5b1eae2b3baf9371fba28
* | Merge "Add vector array test to RSTest."Stephen Hines2010-11-083-0/+92
|\ \ | |/ |/|
| * Add vector array test to RSTest.Stephen Hines2010-11-053-0/+92
| | | | | | | | Change-Id: I258d23a44df011aaf64aa545c86c97611d70143f
* | Rename the locked meta key constants for clarity.Jeff Brown2010-11-052-10/+108
|/ | | | | | Also added some tests for LED setting. Change-Id: I3fd86322afd07ae8de52d1ccbc2fae2c6d586641
* Lines would not set the scissor before drawing.Romain Guy2010-11-042-13/+21
| | | | | | | | Lines were not drawing in Calendar because they were getting clipped by the previous clip rectangle. This change simply updates the scissor as needed. This change also reduces the number of state changes in GL. Change-Id: I41ab13dca3a33cfa6d1a44371c48852ab418b04e
* Merge "Fix possible rendering issue when drawing a path."Romain Guy2010-11-041-1/+7
|\
| * Fix possible rendering issue when drawing a path.Romain Guy2010-11-041-1/+7
| | | | | | | | Change-Id: I25f2e609589f0dd9294bcf7930de6398c0d7e377
* | Merge "Update ScriptC constructor to remove depricated param."Jason Sams2010-11-0311-15/+15
|\ \ | |/ |/|
| * Update ScriptC constructor to remove depricated param.Jason Sams2010-11-0311-15/+15
| | | | | | | | Change-Id: Id36e325834526c6b5416fd78d5cf4259d7df97e9
* | Merge "Fix rendering bug with saveLayerAlpha/drawColor."Romain Guy2010-11-031-17/+19
|\ \ | |/ |/|
| * Fix rendering bug with saveLayerAlpha/drawColor.Romain Guy2010-11-031-17/+19
| | | | | | | | | | | | | | | | | | drawColor() was not calling quickReject because it fills the clip region and thus always passes the test. However, quickReject also checks whether the current layer is invisible. drawColor() now performs the same check and avoid drawing inside an invisible layer. Change-Id: I63d0e9a8a9c0fba774f0f5c3870d58e6ed96fbd1
* | Merge "Fix rendering issue with layers."Romain Guy2010-11-031-4/+5
|\ \ | |/
| * Fix rendering issue with layers.Romain Guy2010-11-031-4/+5
| | | | | | | | Change-Id: I1d511ab2707000762a942d32c300a9944ab38603