2749 Commits

Author SHA1 Message Date
Shih-wei Liao
1ad9612e99 1. fp_mad.rs: Pass C99 check.
2. Include C99 header (Will be fixed later at build.git.)

Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
2011-01-19 02:18:45 -08:00
Shih-wei Liao
d2d88bd3bc am 888a0c94: am 9d30f754: Merge "Fix the build." into honeycomb
* commit '888a0c94e88fd32f067427b43dec3875bb029fb9':
  Fix the build.
2011-01-18 22:55:39 -08:00
Shih-wei Liao
cbb7279e7b Fix the build.
Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
2011-01-18 22:50:18 -08:00
Stephen Hines
d04a8999bc am dd8c9d68: am 688de88b: Fix bug in modf library function (plus typos).
* commit 'dd8c9d68f96805fcd47f7dfe7f6d365ea985e0f9':
  Fix bug in modf library function (plus typos).
2011-01-18 22:03:41 -08:00
Jason Sams
803a5ad48a am a11b2e8a: am e70b445d: Merge "Correctly log debugging info as debug." into honeycomb
* commit 'a11b2e8a34b671a87dde69c4f246f8a7efb4149f':
  Correctly log debugging info as debug.
2011-01-18 22:01:10 -08:00
Jason Sams
e83cdeb63b am 17cab460: am e6a97e27: Merge "Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer." into honeycomb
* commit '17cab460b137edd4832b4b71ed4a161373ebacf2':
  Fix race condition between GC thread and the teardown of RS.  The RS context was going away while the objects were being deleted within the finializer.
2011-01-18 22:01:03 -08:00
Stephen Hines
52619a3a4f am 5df7b840: am 66934423: Merge "Provide mechanism to switch between extern/static." into honeycomb
* commit '5df7b8404863874aa0a5e569af65ab11dfcc8281':
  Provide mechanism to switch between extern/static.
2011-01-18 22:00:35 -08:00
Mathias Agopian
e4d8b8ad29 am 246bd60e: am fc14d42b: Merge "fix [3361121] hang in glClear() - device unresponsive, OTA fails" into honeycomb
* commit '246bd60efa89376918e5d4cd53d2ed4f9288bf8d':
  fix [3361121] hang in glClear() - device unresponsive, OTA fails
2011-01-18 21:59:58 -08:00
Stephen Hines
ed6b96f68a am 780816b3: am 0e5f4e54: Merge "Validate that version pragma is correct." into honeycomb
* commit '780816b306876ad3e82fa5181f5d77a44720c497':
  Validate that version pragma is correct.
2011-01-18 21:54:03 -08:00
Romain Guy
977dd49047 am 4a809367: am 553889a6: Merge "Fix 9patches, again... Bug #3365243" into honeycomb
* commit '4a80936778b1e20f063df89869f089444f46797f':
  Fix 9patches, again... Bug #3365243
2011-01-18 21:53:07 -08:00
Romain Guy
68a60f8913 am a7d666ab: am 713440d2: Merge "Add support for Paint::setTextSkewX in OpenGLRenderer. Bug #3360888" into honeycomb
* commit 'a7d666ab59cab888a07065099226023745486ba2':
  Add support for Paint::setTextSkewX in OpenGLRenderer. Bug #3360888
2011-01-18 21:50:19 -08:00
Stephen Hines
688de88b65 Fix bug in modf library function (plus typos).
Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
2011-01-18 21:04:59 -08:00
Jason Sams
e70b445d2f Merge "Correctly log debugging info as debug." into honeycomb 2011-01-18 18:22:56 -08:00
Jason Sams
bf2afed1f2 Correctly log debugging info as debug.
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
2011-01-18 18:22:19 -08:00
Jason Sams
e6a97e27bc Merge "Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer." into honeycomb 2011-01-18 18:18:06 -08:00
Jason Sams
d1ac981497 Fix race condition between GC thread and
the teardown of RS.  The RS context was going away while
the objects were being deleted within the finializer.

Add more debugging for playCoreCommands.

Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
2011-01-18 18:12:26 -08:00
Stephen Hines
66934423c8 Merge "Provide mechanism to switch between extern/static." into honeycomb 2011-01-18 17:50:19 -08:00
Stephen Hines
793786c258 Provide mechanism to switch between extern/static.
Change-Id: I59b1b45cc335278f92b68581594ca68115b9a590
2011-01-18 16:53:19 -08:00
Mathias Agopian
fc14d42b75 Merge "fix [3361121] hang in glClear() - device unresponsive, OTA fails" into honeycomb 2011-01-18 16:52:33 -08:00
Mathias Agopian
2e102a05ca fix [3361121] hang in glClear() - device unresponsive, OTA fails
Generally we never want to lock a buffer for write access if it is at
the "head" on the surfaceflinger side. The only exception (1) is when
the buffer is not currently in use AND there is at least one queued
buffer -- in which case, SurfaceFlinger will never use said buffer
anymore, because on the next composition around, it will be able to
retire the first queued buffer.

The logic above relies on SurfaceFlinger always retiring
and locking a buffer before composition -- unfortunately this
didn't happen during a screenshot.

This could leave us in a situation where a buffer is locked by the
application for write, and used by SurfaceFlinger for texturing,
causing a hang.

Here, we fix this issue by never assuming the exception (1), it was
intended as an optimization allowing ANativeWindow::lockBuffer() to
return sooner and was justified when most of SF composition was
done in software. The actual buffer locking is now ensured by
gralloc. We could have handled screenshots in a similar way to
a regular composition, but it could have caused glitches on screen,
essentially, taking a screenshot could cause to skip a frame.

Change-Id: I1f226b1ebdf6918439b687c2723955d55b842c55
2011-01-18 15:51:30 -08:00
Stephen Hines
0e5f4e549b Merge "Validate that version pragma is correct." into honeycomb 2011-01-18 14:26:24 -08:00
Stephen Hines
5dd60be169 Validate that version pragma is correct.
Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
2011-01-18 14:10:44 -08:00
Romain Guy
553889a678 Merge "Fix 9patches, again... Bug #3365243" into honeycomb 2011-01-18 14:00:28 -08:00
Romain Guy
eb6a4a17a0 Fix 9patches, again...
Bug #3365243

Change-Id: Id45a1f1fd5e099b1d691e6064401d3de1b0c5c20
2011-01-18 14:02:16 -08:00
Romain Guy
2577db1ec1 Add support for Paint::setTextSkewX in OpenGLRenderer.
Bug #3360888

Change-Id: I42e81a1f10bf7b9ae1c63ca8add1878fd59a1e8a
2011-01-18 13:02:38 -08:00
Romain Guy
713440d2ef Merge "Add support for Paint::setTextSkewX in OpenGLRenderer. Bug #3360888" into honeycomb 2011-01-18 13:00:41 -08:00
Romain Guy
ba7ac24e4d am a2dcab45: am 89108d5c: Merge "Add support for skew()" into honeycomb
* commit 'a2dcab45d8dbbd9fd8d93720a91f789f18ae4d76':
  Add support for skew()
2011-01-18 12:23:54 -08:00
Romain Guy
807daf7df6 Add support for skew()
Change-Id: Ia3a9a867f74fd78b61f75179e3788fdc2f0cacd0
2011-01-18 11:19:19 -08:00
Romain Guy
89108d5c31 Merge "Add support for skew()" into honeycomb 2011-01-18 11:17:20 -08:00
Stephen Hines
a1195f1ac9 am 69c6b78f: am 88c2d705: Merge "Remove erroneous log message." into honeycomb
* commit '69c6b78fb1b7cddd2fa4fbbb5b3f0c5bc4a8373d':
  Remove erroneous log message.
2011-01-18 08:48:28 -08:00
Stephen Hines
5ef3dddd0d Remove erroneous log message.
This change also enables pragmas to be checked for scripts that do not have a
root() function.

Change-Id: I4f41300b623581483970050680ac96c54f99d34a
2011-01-17 17:31:58 -08:00
Stephen Hines
6c4241bdaf am 83382d8e: am 00d0aaf9: Merge "Clean up simple integer operations." into honeycomb
* commit '83382d8e050790d7f73d4c5d3032ea490b573aff':
  Clean up simple integer operations.
2011-01-17 14:47:37 -08:00
Stephen Hines
a8b78174eb Clean up simple integer operations.
Change-Id: I3bd11c54c49602e4f63310d50bd9b20fae234329
2011-01-17 11:26:29 -08:00
Romain Guy
4982d91ca4 am e99d5e6e: am cfe5dd01: Merge "Yet another fix for 9patch rendering. Bug #3362133" into honeycomb
* commit 'e99d5e6eb8facb3e8dabfba68fffe0e0fd556000':
  Yet another fix for 9patch rendering. Bug #3362133
2011-01-17 10:55:42 -08:00
Romain Guy
cfe5dd01f2 Merge "Yet another fix for 9patch rendering. Bug #3362133" into honeycomb 2011-01-17 10:51:32 -08:00
Romain Guy
7444da5126 Yet another fix for 9patch rendering.
Bug #3362133

Change-Id: Ia6521d31a8c208a2ad2506a23b6a01e5e442ad86
2011-01-17 10:53:44 -08:00
Shih-wei Liao
1d91ee3afd am 9dc76d53: am 38f79d01: Merge "Make ImageProcessing work." into honeycomb
* commit '9dc76d53edd32ee64f963b06f7fbb1aa30ee02d0':
  Make ImageProcessing work.
2011-01-17 01:22:25 -08:00
Shih-wei Liao
38f79d01db Merge "Make ImageProcessing work." into honeycomb 2011-01-17 01:18:32 -08:00
Shih-wei Liao
2aad562ab2 Make ImageProcessing work.
Change-Id: Id1ab91657ff4ba70a2391b168958e72b68e8a3e0
2011-01-17 01:17:39 -08:00
Jamie Gennis
8824624a3b am d97ea28b: am cf18c478: Merge "Implement SurfaceTexture frame-available callback." into honeycomb
* commit 'd97ea28b48b49c02cb9c0af015d1f11e8855d47b':
  Implement SurfaceTexture frame-available callback.
2011-01-16 23:07:50 -08:00
Jamie Gennis
dd9b658cb9 am ecd797b1: am 41424ade: Merge "Fix SurfaceTexture transform matrix." into honeycomb
* commit 'ecd797b12fd19a6e3cfe0e92a4a5601d395bb753':
  Fix SurfaceTexture transform matrix.
2011-01-16 23:07:44 -08:00
Jason Sams
f32424315d am 58d10708: am 7f13a850: Merge "Add some error checking." into honeycomb
* commit '58d1070861237cf8f931808cc143c3da090da056':
  Add some error checking.
2011-01-16 23:06:50 -08:00
Shih-wei Liao
f3c209756f am f98f2b6b: am 077fd5f6: Merge "Fix bug in on-device linking." into honeycomb
* commit 'f98f2b6bc6078c63d2e988492d4eb870dd15abfd':
  Fix bug in on-device linking.
2011-01-16 23:03:39 -08:00
Romain Guy
b48e32803f am aa00dd65: am 94677083: Merge "Fix 9patch rendering in ExpandableListView." into honeycomb
* commit 'aa00dd650ca1d9b9499bdb9bcdc7182b35fce0f0':
  Fix 9patch rendering in ExpandableListView.
2011-01-16 23:03:11 -08:00
Jason Sams
6d72af6ab2 am ae566d93: am d7398953: Merge "Implement sub updates for mipmap levels and cubmaps." into honeycomb
* commit 'ae566d937d2f1dbfcca27077f04df049078f72e9':
  Implement sub updates for mipmap levels and cubmaps.
2011-01-16 23:02:31 -08:00
Romain Guy
634be78d38 am 222a2f1d: am 749b9dba: Merge "Don\'t blend transparent pixels when rendering layers." into honeycomb
* commit '222a2f1de1bb069b26eccc06e00d1793c2773a8e':
  Don't blend transparent pixels when rendering layers.
2011-01-16 23:00:00 -08:00
Jamie Gennis
cf18c4788a Merge "Implement SurfaceTexture frame-available callback." into honeycomb 2011-01-16 18:15:36 -08:00
Jamie Gennis
41424adec8 Merge "Fix SurfaceTexture transform matrix." into honeycomb 2011-01-16 18:14:07 -08:00
Mathias Agopian
e0dfee2b70 Merge "Fix the ISurfaceComposer onTransact switch." 2011-01-16 17:31:42 -08:00
Jamie Gennis
376590d668 Implement SurfaceTexture frame-available callback.
This change implements the onFrameAvailable callback for the
SurfaceTexture java class.  It includes the C++ SurfaceTexture code as
well as the JNI and Java code to enable the callback.

Change-Id: Ifd8b8e7ad46ee70cba6da1c2e96dab8045d1ea30
2011-01-16 17:28:39 -08:00