3284 Commits

Author SHA1 Message Date
Jason Sams
36f873c765 Merge "Cleanup rs.spec file and code generator." 2011-04-27 13:20:39 -07:00
Mathias Agopian
faee9c397d Merge "Report errors when eglCreateImageKHR fails" 2011-04-26 18:05:23 -07:00
Jamie Gennis
8f9f2fd43b libgui: enable tests in the 'tests' build.
This change makes the libgui makefile recurse into the tests directory
so that the tests get built by a top-level make when
TARGET_BUILD_VARIANT=tests.

Change-Id: I6f623cc4b86dfeb00b9d21823316dbd9def23110
2011-04-26 17:26:37 -07:00
Romain Guy
2d039219ad Merge "Apply shaders/filters to text drop shadows. Bug #4318323" 2011-04-26 15:35:27 -07:00
Romain Guy
740bf2bb2e Apply shaders/filters to text drop shadows.
Bug #4318323

This change also fixes the fact that shaders were not modulated
by the paint's color when drawing paths.

Change-Id: Id88804143aea06c895d4cbcdbe106d660230aa5a
2011-04-26 15:33:10 -07:00
Mathias Agopian
6fad64c747 Report errors when eglCreateImageKHR fails
Change-Id: Ica39b72ac2505675e619ef4994bd67b98bf6e7da
2011-04-26 15:03:27 -07:00
Jason Sams
65bdaf1c6d Cleanup rs.spec file and code generator.
Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
2011-04-26 14:50:40 -07:00
Stephen Hines
64e00980a3 Merge "Start ICS header cleanup and finish type matrix." 2011-04-26 13:45:51 -07:00
Kenny Root
87dfce4307 am fbb0e9f9: am bb93dad9: am bb10986c: am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
* commit 'fbb0e9f9846e185ba8ded63d754c4e61b1499b90':
  libutils: Fix an improper const-cast in RefBase
2011-04-26 12:46:04 -07:00
Kenny Root
fbb0e9f984 am bb93dad9: am bb10986c: am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
* commit 'bb93dad9250c0ee8330ab37bbdcd2eb8bfc0f930':
  libutils: Fix an improper const-cast in RefBase
2011-04-26 11:45:46 -07:00
Kenny Root
bb10986c3d am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
* commit '13ce221e4316f7956ba072e774a7b97646e5d99b':
  libutils: Fix an improper const-cast in RefBase
2011-04-26 11:32:22 -07:00
Jamie Gennis
84baa7f639 Merge "EGL: Allow creating a SurfaceTexture EGLSurface." 2011-04-25 17:00:19 -07:00
Mathias Agopian
9e797784d5 Merge "libgui: Fix the tests so they build." 2011-04-25 16:58:01 -07:00
Jamie Gennis
7868c64fff EGL: Allow creating a SurfaceTexture EGLSurface.
This change removes the check that disallowed the creation of an
EGLSurface that would send frames to a SurfaceTexture.

Change-Id: I44c6d5df503cc676a88144d72d39b414692ce4c9
2011-04-25 16:41:11 -07:00
Jamie Gennis
5dbf2ed575 libgui: Fix the tests so they build.
Change-Id: I7205b0819e5801ac549109ff562c3ab1b113d176
2011-04-25 16:40:05 -07:00
Jason Sams
6cc888e77e Start ICS header cleanup and finish type matrix.
Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
2011-04-25 16:09:48 -07:00
Chet Haase
1a2210ced1 Merge "Minor cleanup in GLrenderer code" 2011-04-25 14:51:48 -07:00
Chet Haase
6fca9884b3 Minor cleanup in GLrenderer code
Changed the way we use bitcodes for one of the rendering
options to make the code cleaner.

Change-Id: Ifaa965f228dbdad297a40da93bfbe63373986e35
2011-04-25 14:50:04 -07:00
Alex Sakhartchouk
e7c4a7565c Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
2011-04-25 14:30:27 -07:00
Chet Haase
cc5a7d2328 Merge "Fix bitfield bug with vertex shader selection" 2011-04-25 12:56:34 -07:00
Chet Haase
6cfdf45380 Fix bitfield bug with vertex shader selection
Change-Id: I8bd3005f363afb52e6624806efb3e04c4a56ee18
2011-04-22 16:42:10 -07:00
Jason Sams
21cd43cbba Add matrix logging.
Change-Id: I42fb61747cf1ddf9b367faf6ce9109429d34e9cf
2011-04-22 14:25:07 -07:00
Jason Sams
e2b3304e40 Fix rsRand(float, float)
Change-Id: I553d83e1e962ad34aacbe6572d47ff25c3d50060
2011-04-22 14:25:07 -07:00
Josh Stone
c4fbbe06a5 libutils: Fix an improper const-cast in RefBase
Under Fedora 15 Beta, gcc 4.6.0 warns:

  frameworks/base/libs/utils/RefBase.cpp: In member function
    ‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
  frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing
    ‘const android::RefBase::weakref_impl’ as ‘this’ argument of
    ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’
    discards qualifiers [-fpermissive]

trackMe is not a const function, so don't use const in the static_cast
to a weakref_impl pointer.

Change-Id: I3c9ba73eb127985f5f54197ffecf2939c50f632c
2011-04-22 11:13:35 -07:00
Mathias Agopian
5db1314192 Merge "Get rid of the "pid" parameter from createSurface" 2011-04-21 17:14:18 -07:00
Jason Sams
b86a6ea41d Merge "Move TLS behind hal." 2011-04-21 15:12:25 -07:00
Chet Haase
bf96c356c0 Merge "Enable anti-aliasing for hw-accelerated lines" 2011-04-21 11:52:59 -07:00
Chet Haase
5b0200bd47 Enable anti-aliasing for hw-accelerated lines
Draw anti-aliased lines with OpenGL by constructing a quad with
a border that fades out (to mimic fragment coverage).

Change-Id: Ib81a3e62d663acdf1b46b401ac4aa7ee9855cc7e
2011-04-21 11:47:05 -07:00
Jason Sams
be8ac6ace9 Move TLS behind hal.
Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
2011-04-21 11:46:50 -07:00
Evgeniy Stepanov
594f3eec38 Make sure binder ioctl structs don't contain uninitialized values.
Change-Id: I8a678f91262417bb120e65e32c244ce1512b46c2
2011-04-21 14:37:15 +04:00
Stephen Hines
118782298b Merge "Reduce verbosity of Renderscript logging." 2011-04-20 17:22:36 -07:00
Jason Sams
4698ef3e01 Merge "Remove accidental logging." 2011-04-20 17:15:05 -07:00
Jason Sams
0ec8c6f9a8 Remove accidental logging.
Change-Id: I59073a620c312485a0631069856fbd7ca40b4cbd
2011-04-20 17:14:26 -07:00
Stephen Hines
9c35d790e9 Reduce verbosity of Renderscript logging.
Change-Id: I0e20274e01b4068f90ef6ddd6ed7837d42f35813
2011-04-20 17:08:14 -07:00
Jason Sams
ff0f67d8df Merge "Create runtime stubs for compute driver." 2011-04-20 15:13:46 -07:00
Jason Sams
fcf7231249 Create runtime stubs for compute driver.
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-20 15:09:01 -07:00
Mathias Agopian
9638e5c167 Get rid of the "pid" parameter from createSurface
Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
2011-04-20 14:26:11 -07:00
Jeff Brown
3f14891fc9 Merge "Initial checkin of spot presentation for touchpad gestures." 2011-04-19 15:37:32 -07:00
Jeff Brown
2352b978a3 Initial checkin of spot presentation for touchpad gestures.
Added a new PointerIcon API (hidden for now) for loading
pointer icons.

Fixed a starvation problem in the native Looper's sendMessage
implementation which caused new messages to be posted ahead
of old messages sent with sendMessageDelayed.

Redesigned the touch pad gestures to be defined in terms of
more fluid finger / spot movements.  The objective is to reinforce
the natural mapping between fingers and spots which means there
must not be any discontinuities in spot motion relative to
the fingers.

Removed the SpotController stub and folded its responsibilities
into PointerController.

Change-Id: I5126b1e69d95252fda7f2a684c9287e239a57163
2011-04-19 15:35:51 -07:00
Mathias Agopian
578492e999 Merge "changes to SurfaceTexture needed for unification with SF" 2011-04-18 19:51:26 -07:00
Stephen Hines
a1e99532b4 Merge "Fix broken assert (if input allocation is NULL)." 2011-04-18 10:25:57 -07:00
Andreas Huber
b0dfade955 Merge "Parcel::appendFrom({const } Parcel *parcel, size_t, size_t)" 2011-04-18 08:12:36 -07:00
Mathias Agopian
644c4f1862 Merge "Fix a GraphicBuffer leak in SurfaceTexture" 2011-04-15 18:15:13 -07:00
Dianne Hackborn
0ffc988a7f Rewrite battery history storage.
We now write battery history directly into a buffer, instead of
creating objects.  This allows for more efficient storage; later
it can be even better because we can only write deltas.

The old code is still there temporarily for validation.

Change-Id: I9707d4d8ff30855be8ebdc93bc078911040d8e0b
2011-04-14 10:57:22 -07:00
Andreas Huber
0a47f4f711 Parcel::appendFrom({const } Parcel *parcel, size_t, size_t)
As far as I can tell "parcel" isn't actually modified by the implementation.

Change-Id: Ib806eefdc13c97b932773e1dc9ca3a4aad4422b2
2011-04-13 10:21:56 -07:00
Wu-cheng Li
fda06c0cd9 Merge "Add camera metering area API." 2011-04-13 01:14:42 -07:00
Wu-cheng Li
e98e4c8063 Add camera metering area API.
The API are still hidden.

bug:3475893
Change-Id: Id4147528def5e0fe067e1a3ed315fa34c14a0640
2011-04-13 16:06:47 +08:00
Kenny Root
461fa8b05d resolved conflicts for merge of 18490fb9 to master
Change-Id: I6c68e6fb0f9c1182a955689bbffc161a8f30bd37
2011-04-12 12:51:08 -07:00
Kenny Root
18490fb93e resolved conflicts for merge of 87b3c0dc to honeycomb-plus-aosp
Change-Id: Ia1a0024aabf531438203eb9fea3a10dd15eabe53
2011-04-12 10:27:15 -07:00
Mathias Agopian
27cd07ca80 changes to SurfaceTexture needed for unification with SF
- implement connect/disconnect
- implement missing query
- handle texture_2d in addition to texture_external_oes

Change-Id: I971a70821f00f22b01f5337de4a7d451177fec4d
2011-04-11 21:19:55 -07:00