2595 Commits

Author SHA1 Message Date
Alex Sakhartchouk
42429d3598 am 941f8659: am 27d11608: Merge "Adding ability to load cubemaps from individual faces." into honeycomb
* commit '941f86590cb4e26f070aa5a72a5e215d6555d7bc':
  Adding ability to load cubemaps from individual faces.
2011-01-12 11:57:48 -08:00
Alex Sakhartchouk
27d116085e Merge "Adding ability to load cubemaps from individual faces." into honeycomb 2011-01-12 11:53:42 -08:00
Stephen Hines
1c6cbd551f am 445fc566: am 78dd1ef3: Merge "Clean up RS math headers." into honeycomb
* commit '445fc56682a55a3c0ba8e63970631f48adced7cf':
  Clean up RS math headers.
2011-01-11 19:14:35 -08:00
Stephen Hines
78dd1ef3f7 Merge "Clean up RS math headers." into honeycomb 2011-01-11 19:09:47 -08:00
Romain Guy
eb5405762f am a22bcfb6: am 6ed4a2f7: Merge "Disable the region compositing pipeline for layers." into honeycomb
* commit 'a22bcfb6a471946969a33c1637f4460897f5576f':
  Disable the region compositing pipeline for layers.
2011-01-11 18:03:04 -08:00
Romain Guy
acd5366fb9 am a82444ad: am 5f6e583c: Merge "Don\'t break the build!" into honeycomb
* commit 'a82444ad3aa87cc8ce8a585a6e1937ac6cd9ee18':
  Don't break the build!
2011-01-11 18:00:47 -08:00
Romain Guy
35f24545e5 Disable the region compositing pipeline for layers.
This composition mode is affecting Gmail in a bad way. Disabling until
I can figure out the problem.

Change-Id: I00e657ea2d05fc7b4a606242d19dc84dd88c1e35
2011-01-11 18:01:25 -08:00
Romain Guy
a9d0711392 Don't break the build!
Change-Id: I42f68c7b023c03adeedc4e979e5f4705188ee9f4
2011-01-11 17:59:10 -08:00
Romain Guy
b0af4188fd am 65028473: am d139a0ca: Merge "Better backend for hardware layers." into honeycomb
* commit '650284739ea5812b25d0c735b3342447d91759af':
  Better backend for hardware layers.
2011-01-11 17:56:25 -08:00
Romain Guy
6c319ca127 Better backend for hardware layers.
With this new backend, a hardware layer is only recreated when
its associated view is udpated. This offers fast composition
in GL and fast update of the layer in GL as well.

Change-Id: I97c43a612f5955c6bf1c192c8ca4af10fdf1d076
2011-01-11 17:53:19 -08:00
Stephen Hines
682c4a860b Clean up RS math headers.
Fix types for ilogb and remquo.

Change-Id: I54f8634b1fe8b6cfb136d3bdf6aab5a5961e6827
2011-01-11 17:00:29 -08:00
Romain Guy
14cb46ba21 am b497fa65: am b7968896: Merge "Solve translucency issue when drawing paths." into honeycomb
* commit 'b497fa65a84f22591766c451920ef716a0c16cec':
  Solve translucency issue when drawing paths.
2011-01-11 15:25:22 -08:00
Romain Guy
32228288a9 Solve translucency issue when drawing paths.
Change-Id: I68ae0e2ccddaca2f76b5b2dd3e3cf1277fddaad6
2011-01-11 15:02:21 -08:00
Alex Sakhartchouk
dcc231955d Adding ability to load cubemaps from individual faces.
Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
2011-01-11 14:47:44 -08:00
Romain Guy
b5cfc44f05 am 8c78c8f9: am 91bfb813: Merge "Composite layers as regions." into honeycomb
* commit '8c78c8f9feda59ae0c159c7d08c8add2e664f0aa':
  Composite layers as regions.
2011-01-10 22:28:59 -08:00
Romain Guy
7230a74e9a Composite layers as regions.
This change detects what area of a layer was drawn into and generates a mesh
to match this area exactly. This can be used to avoid blending empty pixels
when the layer is composited.
This change also adds proper layers support to lines rendering and implements
layers composition in a more readable way.

Change-Id: I4a5588b98b19bd66891ebdc39631b193c5e31999
2011-01-10 22:26:16 -08:00
Romain Guy
f0cc430829 am 87e55cdc: am 89254c98: Merge "Better logging of out of memory errors in OpenGLRenderer." into honeycomb
* commit '87e55cdcf537a9c2e04176039b4c57c3521c68a2':
  Better logging of out of memory errors in OpenGLRenderer.
2011-01-10 21:15:00 -08:00
Romain Guy
a07105b7d2 Better logging of out of memory errors in OpenGLRenderer.
Change-Id: I6b72a084340d8d4b6e0b0a100ed4314d09d441ef
2011-01-10 21:14:18 -08:00
Alex Sakhartchouk
7b88b2e620 am 20cbfc42: am fe852e21: Updating cubemap loading code.
* commit '20cbfc42744e5f91d34acb50057180d70e91ff61':
  Updating cubemap loading code.
2011-01-10 17:11:33 -08:00
Alex Sakhartchouk
fe852e216f Updating cubemap loading code.
Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
2011-01-10 15:57:57 -08:00
Stephen Hines
15f4b2b30e am bf11e226: am d94988bb: Merge "Split time functions into rs_time.rsh header." into honeycomb
* commit 'bf11e22684d9384cde9339886d307ba9316f5e3d':
  Split time functions into rs_time.rsh header.
2011-01-10 14:18:25 -08:00
Stephen Hines
d94988bb0c Merge "Split time functions into rs_time.rsh header." into honeycomb 2011-01-10 14:14:35 -08:00
Jamie Gennis
808bd7b7b5 am 164cb00d: am fbab3b67: Merge "Fix a bug in SurfaceTexture::setBufferCount." into honeycomb
* commit '164cb00d9611d49ed5740cd2c6f17f062cf3dbf9':
  Fix a bug in SurfaceTexture::setBufferCount.
2011-01-10 12:49:28 -08:00
Jamie Gennis
bced7e65de am 61e2ef07: am ffe3f1cb: Merge "Add method logging to the SurfaceTexture C++ class." into honeycomb
* commit '61e2ef0721e19b1699e7544e1ffbddcb90c8a1c1':
  Add method logging to the SurfaceTexture C++ class.
2011-01-10 12:49:25 -08:00
Jamie Gennis
ee40cf0801 am 3d25b74a: am c936c5ce: Merge "Initialize the SurfaceTexture buffer slots." into honeycomb
* commit '3d25b74a87404cacb7c6b0f949ff007395cabd6a':
  Initialize the SurfaceTexture buffer slots.
2011-01-10 12:49:19 -08:00
Jamie Gennis
fbab3b67af Merge "Fix a bug in SurfaceTexture::setBufferCount." into honeycomb 2011-01-10 12:30:33 -08:00
Jamie Gennis
ffe3f1cb16 Merge "Add method logging to the SurfaceTexture C++ class." into honeycomb 2011-01-10 12:30:14 -08:00
Jamie Gennis
c936c5cec6 Merge "Initialize the SurfaceTexture buffer slots." into honeycomb 2011-01-10 12:29:51 -08:00
Stephen Hines
1ac9da6717 Split time functions into rs_time.rsh header.
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
2011-01-09 17:04:18 -08:00
Jason Sams
73d7779e2e am f7c60a05: am e06c3a59: Merge "Fix cleanup race condition where objects might may not be cleaned up correctly." into honeycomb
* commit 'f7c60a05bf610ad9cb6914a296dfebb72f1ad2c5':
  Fix cleanup race condition where objects might may not be cleaned up correctly.
2011-01-09 16:50:15 -08:00
Jamie Gennis
d369dc4250 Fix a bug in SurfaceTexture::setBufferCount.
We need to reset mCurrentTexture and mLastQueued in setBufferCount
because it frees all of the buffers associated with the buffer slots.

Change-Id: Ie2f834ec1c07ce7a4ab9b2b5fc5fe8c294010c60
2011-01-09 16:40:06 -08:00
Jamie Gennis
7dc00d5eb2 Add method logging to the SurfaceTexture C++ class.
Change-Id: Ic05b05428d34c04634ce9fc3f924ff3322bb2da2
2011-01-09 16:40:06 -08:00
Jamie Gennis
fd804f31a3 Initialize the SurfaceTexture buffer slots.
Change-Id: I81a562ad897173f33cd6a2127737718a7db610eb
2011-01-09 16:40:06 -08:00
Jason Sams
84035ff6f5 Fix cleanup race condition where objects might may not
be cleaned up correctly.

Change-Id: Ia48e06c3d050b6b39b39f8fdc9f0eb89b92fe1bf
2011-01-09 16:09:51 -08:00
Shih-wei Liao
41b03e8c71 am 4d46ecb0: Merge "For caching, didn\'t do CompileBC. Rename bccCompileBC as bccPrepareExecutable." into honeycomb
* commit '4d46ecb0759d5adfdb4015a27e2a596115180286':
  For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.
2011-01-08 13:14:06 -08:00
Shih-wei Liao
a0c0ca981d am 3ba2bf42: Merge "1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.) 2. Prepare on-device linking. 3. Clean up code." into honeycomb
* commit '3ba2bf42c50dfa05bf672124eb3d2ef8c02f183e':
  1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.) 2. Prepare on-device linking. 3. Clean up code.
2011-01-08 04:40:36 -08:00
Shih-wei Liao
8845fbbc8e For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.
Change-Id: Ie63cd87bf377e2daf0c81d81c0bf86a6195edf46
2011-01-07 19:24:41 -08:00
Shih-wei Liao
9d4024d540 1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)
2. Prepare on-device linking.
3. Clean up code.

Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
2011-01-07 18:28:02 -08:00
Alex Sakhartchouk
a12ab63934 am 660733d3: Merge "Additional loading methods for fonts and a3d files. Cleaned up error messages." into honeycomb
* commit '660733d3e457482104d8a6e5b0a1fe2182de5150':
  Additional loading methods for fonts and a3d files. Cleaned up error messages.
2011-01-07 13:08:54 -08:00
Alex Sakhartchouk
b0253ea696 Additional loading methods for fonts and a3d files.
Cleaned up error messages.

Change-Id: Id33b7149671df23c37cc11375d844a7837dac750

Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
2011-01-07 11:16:08 -08:00
Jason parks
d633255276 Add a method enable encryption.
This is for testing and needs to be cleaned up.

Change-Id: I71cd5412f7096dc13d9ab61229ee9846c6f0006a
2011-01-07 09:01:56 -06:00
Romain Guy
171c592f0b New layers API for Views.
This API can be used to back a view and its children with either a
software layer (bitmap) or hardware layer (FBO). Layers have
various usages, including color filtering and performance
improvements during animations.

Change-Id: Ifc3bea847918042730fc5a8c2d4206dd6c9420a3
2011-01-06 18:34:30 -08:00
Chet Haase
de69817b3c Merge "Reuse of native display list objects" into honeycomb 2011-01-06 15:02:51 -08:00
Jamie Gennis
ff2dc46c12 Add camera service support for SurfaceTexture.
This change enables the use of a SurfaceTexture in place of a Surface as
the destination of camera preview frames.

Change-Id: Ic70d404c8fe261e9d5da6f1de93d6babb5b191cb
2011-01-06 13:31:53 -08:00
Jamie Gennis
68e4a7ac84 Add the SurfaceTexture C++ implementation.
This change adds the C++ implementation of SurfaceTexture and related
classes. The goal of this is for a SurfaceTexture to be passed to
camera service or Stagefright in place of a Surface to allow camera
preview or decoded video frames to be streamed to an OpenGL ES texture
that an application can use.

Change-Id: I55c83a7017f1ecb81c9c9e3252cbd118b914296c
2011-01-06 13:20:47 -08:00
Jamie Gennis
0a53d5c81b Add the ISurfaceComposer::createGraphicBuffer IPC.
This change adds a new binder method to the ISurfaceComposer interface.
This IPC is intended to allow SurfaceFlinger clients to allocate gralloc
buffers using SurfaceFlinger as a proxy to gralloc.

Change-Id: Ide9fc283aec5da6268ba62cfed0c3319a50b640d
2011-01-06 13:12:35 -08:00
Chet Haase
5977baa1fa Reuse of native display list objects
Change-Id: Ia4553e23930ad20e56c11faa7809be788a1ad4bb
2011-01-06 12:50:30 -08:00
Romain Guy
325a0f969c The font cache should respect the fake bold flag.
Change-Id: Ie4edc9ba46610edde831b55e769944e9a19bdcb5
2011-01-05 15:33:37 -08:00
Jason parks
ac1325bcd3 Merge "Add decryption support to MountService." 2011-01-05 11:56:42 -08:00
Jason parks
5af0b916f8 Add decryption support to MountService.
* Implement the decryptStorage() method on the Mount Service.
  This method makes the calls into vold to decrypt the encrypted
  volumes and mount them.

Change-Id: I4f6e07a111cf0b36611d590debf9f6579c5ac5f7
2011-01-05 12:32:49 -06:00