4199 Commits

Author SHA1 Message Date
Mathias Agopian
3169e4bd15 Merge "move CursorWindow from libbinder to libandroidfw" 2012-02-27 19:48:21 -08:00
Mathias Agopian
49d2b1864c move CursorWindow from libbinder to libandroidfw
Change-Id: I3b304e4f74e0d0ec8b20c57296c62449c9a0f792
2012-02-27 18:11:20 -08:00
Jamie Gennis
a85ca37c84 Add tracing to various graphics components.
This change adds ATRACE call tracing to BufferQueue,
SurfaceTextureClient, SurfaceTexture, SurfaceFlinger, Layer, and EGL.

Change-Id: I9d75ed26f5a3f0d1af635da38289520134cfbbb7
2012-02-27 17:50:35 -08:00
Jamie Gennis
6835237f6f Merge "Removed dependecies between BufferQueue and SurfaceTexture" 2012-02-27 17:06:53 -08:00
Daniel Lam
6f15cc959e Removed dependecies between BufferQueue and SurfaceTexture
Refactored SurfaceTexture and BufferQueue such that share
no protected members.  Created an consumer facing interface
for BufferQueue in preparation of connecting SurfaceTexture
and BufferQueue through a binder.

Change-Id: I938e63e085128148c58d0e26c7213b30145c109f
2012-02-27 16:40:48 -08:00
Alex Sakhartchouk
a65fb113dd Merge "Removing GL calls from librs" 2012-02-27 15:08:07 -08:00
Jamie Gennis
f6b53db704 Merge "libutils: add a system-wide tracing utility" 2012-02-27 13:35:30 -08:00
Jamie Gennis
c7d47ec622 Merge "Revert "Removed dependecies between BufferQueue and SurfaceTexture"" 2012-02-27 13:23:51 -08:00
Mathias Agopian
8335f1cccc fix libgui header location
Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
2012-02-27 13:03:08 -08:00
Mathias Agopian
12aba767c7 remove dummy libsurfaceflinger_client
Change-Id: Idd67a3f936deae7ba5d1cd5000d191fad271381e
2012-02-27 13:03:03 -08:00
Daniel Lam
05221052c5 Revert "Removed dependecies between BufferQueue and SurfaceTexture"
This reverts commit a631399f71dbc7659d2f241968f85d337726ae61
2012-02-27 11:32:06 -08:00
Jamie Gennis
c108613fb8 Merge "Removed dependecies between BufferQueue and SurfaceTexture" 2012-02-26 17:06:42 -08:00
Jamie Gennis
f217df6819 libutils: add a system-wide tracing utility
This change adds some utility functionality for doing userland tracing
into the kernel trace log.

Change-Id: Id0a8cee9ea515b1d8765afd1cecf472a88b4b9e8
2012-02-26 16:06:53 -08:00
Mathias Agopian
018549e4bf Merge "remove dependency on android_native{s_priv|buffer}.h" 2012-02-24 19:08:12 -08:00
Mathias Agopian
af01feafc3 remove dependency on android_native{s_priv|buffer}.h
Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
2012-02-24 18:26:01 -08:00
Romain Guy
2abb138152 Merge "More infrastructure for Canvas.drawTextOnPath" 2012-02-24 18:01:47 -08:00
Romain Guy
778f67f7c0 Merge "Add hooks to implement Canvas.drawTextOnPath() in GL" 2012-02-24 18:01:22 -08:00
Romain Guy
03d58520c3 More infrastructure for Canvas.drawTextOnPath
Change-Id: Iff42b24e342650d06fa4e2fa9db6c28da820ff01
2012-02-24 17:54:07 -08:00
Jason Sams
3d408e5010 Merge "test runs but I do not check results yet." 2012-02-24 17:21:02 -08:00
Romain Guy
325740fb44 Add hooks to implement Canvas.drawTextOnPath() in GL
Change-Id: I165c9e05facf5365aa6850605688e538640c7fcc
2012-02-24 16:48:34 -08:00
Mathias Agopian
cc0eaa6582 remove libui dependency on libEGL
Change-Id: I1194f04085637d5c384e134967249430cc43b6ee
2012-02-24 16:42:46 -08:00
Mathias Agopian
e9d4c71f47 deprecate L_8, LA_88 and RGB_332 in sdk
re-add support for pixelformats L_8, LA_88 and RGB_332 in libui
for backward compatibility.

This may or may not fix 6058926

Bug: 6049685
Change-Id: Ic1b8b4cc994522f7fe664da64c0ef76b98bc6d53
2012-02-24 14:58:36 -08:00
Jason Sams
9733f26093 test runs but I do not check results yet.
Change-Id: I427581a301bb1a9710554187accad2d6f9d9b10c
2012-02-24 14:24:56 -08:00
Alex Sakhartchouk
20c9c92ec6 Removing GL calls from librs
Change-Id: Ida22199a33f0f9fd534dcc5951d12937967a187b
2012-02-24 14:22:34 -08:00
Jason Sams
4344b72484 Merge "More RS cpp binding work. All classes for compute should be partially implemented at this time." 2012-02-23 18:20:00 -08:00
Jason Sams
170dc848ae More RS cpp binding work. All classes for
compute should be partially implemented at this time.

Change-Id: Iddf9405cc69513b708975d20783395f0be04c680
2012-02-23 17:14:39 -08:00
Romain Guy
34c55d3085 Merge "Only recreate path textures when necessary" 2012-02-23 17:11:49 -08:00
Romain Guy
4bcb7467a1 Only recreate path textures when necessary
When a drawPath command is recorded in a display list, a copy of the
source path is made to preserve against possible modifications of the
said source path. Copies are discarded when a display list is cleared,
which usually happens on invalidate(). This means that even if a path
is never modified, the texture generated to draw it on screen is
destroyed every time an invalidate() is issued. This change fixes this
problem by introducing a reference to the source path in the copy.
If both the copy and the source path have the same genID, they are
the same path and can share the same texture.

Change-Id: I34849311c183e06336a1391d2d1568a087f973f6
2012-02-23 17:08:38 -08:00
Jason Sams
a23c4ebe04 Merge "start new headers" 2012-02-23 14:19:43 -08:00
Stephen Hines
a16c98c155 Merge "Support running ForEach on non-root functions." 2012-02-23 09:58:56 -08:00
Daniel Lam
a631399f71 Removed dependecies between BufferQueue and SurfaceTexture
Refactored SurfaceTexture and BufferQueue such that share
no protected members.  Created an consumer facing interface
for BufferQueue in preparation of connecting SurfaceTexture
and BufferQueue through a binder.

Change-Id: Iff55e740e36a7f70c9f7a17ee7a5af38e3d21f0f
2012-02-22 20:12:27 -08:00
Dima Zavin
77d9ee4df6 Merge "libui: add ability to force a framebuffer format for EGL's use" 2012-02-22 16:00:49 -08:00
Dima Zavin
180600dec8 libui: add ability to force a framebuffer format for EGL's use
This does not actually change the framebuffer format. It merely
fakes this format to surfaceflinger so that when it creates
framebuffer surfaces it will use this format. It's really a giant
HACK to allow interworking with buggy gralloc+GPU driver
implementations. You should *NEVER* need to set this for shipping
devices.

Change-Id: I03eeb5b4d72838ef219df386ecc489fc20ab9cc7
Signed-off-by: Dima Zavin <dima@android.com>
2012-02-22 15:44:46 -08:00
Stephen Hines
473a2048d3 Support running ForEach on non-root functions.
BUG=6000538

Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
2012-02-22 15:24:29 -08:00
Jason Sams
f70b0fc880 start new headers
Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf

cpp
2012-02-22 15:22:41 -08:00
Romain Guy
1eec6804d2 Merge "Reduce logs" 2012-02-22 14:36:28 -08:00
Romain Guy
9c10ab03cd Reduce logs
Change-Id: I2768972ec62f4d3ad800a4d7a4c44307a2fa0105
2012-02-22 14:34:58 -08:00
Mathias Agopian
df6f5cd624 Merge "remove libui's dependency on libpixelflinger" 2012-02-21 18:58:32 -08:00
Mathias Agopian
3e3681151a remove libui's dependency on libpixelflinger
this also remove support for unused pixelformats.

Change-Id: I2c759a6d2daa740f3786ed62095def8047ae933d
2012-02-21 18:56:08 -08:00
Romain Guy
f541e4395a Merge "Only copy paths, paints and shaders when we need to." 2012-02-21 18:33:58 -08:00
Romain Guy
96ebc6b509 Only copy paths, paints and shaders when we need to.
Change-Id: Iba7a9c92c865f698821b6ff7bc4f502659642ac1
2012-02-21 18:32:32 -08:00
Mathias Agopian
027692b640 attempt to fix sdk build
Change-Id: I94f32a9a7abccb52487bb9ff5e286faa4acfceff
2012-02-21 16:55:25 -08:00
Mathias Agopian
cbc69718cb another attempt at fixing the linux build
Change-Id: Iac20439fd6eea4682859112e72f051294bc87ef6
2012-02-21 14:34:47 -08:00
Mathias Agopian
30167542cb another attempt to fix the linux build
Change-Id: Ifd4714de7281ffc8a8c90fb25fb34719a19a9b6f
2012-02-21 14:06:21 -08:00
Mathias Agopian
30c46ad519 attempt to fix linux builds
Change-Id: I46d6f914fdc32dc26cc71bed3399e202f00eeb2a
2012-02-21 13:27:59 -08:00
Mathias Agopian
83c64e6b62 frameworks/base refactoring
create the new libandroidfw from parts of libui and libutils

Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
2012-02-20 22:38:43 -08:00
Mathias Agopian
b13b9bdad2 frameworks/base refactoring.
step 2: move libutils headers to their new home: androidfw

Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
2012-02-17 19:01:26 -08:00
Jason Sams
6db0608dff Merge "Work around VSync signal while screen is off." 2012-02-17 17:20:27 -08:00
Jason Sams
f7795e0c2f Work around VSync signal while screen is off.
Change-Id: I0a9637170ee658ff84a363e91c558892dce5cfaf
2012-02-17 17:00:37 -08:00
Jeff Brown
4a7571bc0b Merge "frameworks/base refactoring." 2012-02-17 16:28:20 -08:00