Romain Guy
e5e0c50f7d
Properly refcount SurfaceTexture in the JNI layer.
...
Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
2011-06-15 16:14:26 -07:00
Fabrice Di Meglio
e460e6d718
Merge "Add View.getResolvedLayoutDirection()"
2011-06-14 16:23:06 -07:00
Fabrice Di Meglio
c0053223be
Add View.getResolvedLayoutDirection()
...
- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout
Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
2011-06-14 16:16:39 -07:00
Alex Sakhartchouk
304b1f5497
Allocation copy functions.
...
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -07:00
Jamie Gennis
4532c5e49c
Merge "Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder."
2011-06-10 10:05:04 -07:00
Stephen Hines
d54f3f41c4
Merge "Override equals()/hashCode() for RS BaseObj."
2011-06-09 15:06:36 -07:00
tedbo
050316184b
Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder.
...
This adds a new ParcelSurfaceTexture.java class that can be instantiated with
a SurfaceTexture and used to send the corresponding ISurfaceTexture interface
to another process via Binder. The ParcelSurfaceTexture java object can then
be used to create an ANativeWindow based on the SurfaceTextureClient interface.
Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817
2011-06-09 11:59:23 -07:00
Stephen Hines
705d2ea63a
Override equals()/hashCode() for RS BaseObj.
...
This will be used by slang reflection to type-check parameters to functions
that are of Allocation types (such as what happens with forEach).
BUG=4203264
Change-Id: I2ba94531bbf53becf7695b253e1faa3dff099894
2011-06-09 11:16:59 -07:00
Alex Sakhartchouk
aece2ccccb
Merge "Unhiding render target code for renderscript"
2011-06-06 10:54:26 -07:00
Alex Sakhartchouk
85dae045a2
Unhiding render target code for renderscript
...
Change-Id: I32d80e6c49dbda955402f7ddffdb213c70ddbec9
2011-06-06 09:25:17 -07:00
Shih-wei Liao
6e66725e1c
Fix the false-alarm bug when we skip to the end, which should be OK.
...
Fix the bug b/4540617.
Change-Id: I64a77b8c5d89bcd35f81d196928a671c954e9a28
2011-06-05 00:56:22 -07:00
Stephen Hines
e27832acc0
Improve validation in RS FieldPacker.
...
Change-Id: I9f6a58048129db4978c893c2dc591b0ed825d05f
2011-06-02 19:36:41 -07:00
Glenn Kasten
260c77a4f7
Use android.os.Process.THREAD_PRIORITY_* symbols
...
As part of latency project, searching for and replacing
hard-coded thread priorities by symbols.
Change-Id: I113c07af95f8808b889b665e884b6b41d3440f8d
2011-06-01 18:03:21 -07:00
Chet Haase
f5534a0785
Fixes for AnimationDrawable
...
Set up AnimationDrawable with an initial frame when it is
constructed from code (via addFrame()). This is equivalent to
what is done when it is constructed via xml resources.
Change-Id: I86784a241268aa2d03af8edecbc80a7cc3548e19
2011-05-31 07:22:51 -07:00
Fabrice Di Meglio
6a03640539
Add support for Gravity BEFORE and AFTER
...
- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests
Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
2011-05-27 11:23:15 -07:00
Alex Sakhartchouk
6c72eec06e
Preparing libRS for for compilation on host.
...
Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
2011-05-17 16:42:24 -07:00
Jason Sams
edbfabdb98
Core to client fifo on sockets.
...
Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
2011-05-17 15:01:29 -07:00
Alex Sakhartchouk
25999a08a6
Cleanup mesh creation.
...
Change-Id: Iaf5e060711dcb6341ac0f337dfb274528cb68d3e
2011-05-12 10:49:39 -07:00
Jason Sams
7a22e107d1
Add code for generating fifo command packing.
...
Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
2011-05-06 14:30:52 -07:00
Alex Sakhartchouk
a89094aa3b
Code Cleanup and better Sampler creation method
...
Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
2011-05-04 17:45:36 -07:00
Jason Sams
2698536b3f
Fix error checks on compute context creation.
...
Remove GL init for compute scripts.
Change-Id: I1bce8e4112babf4345fa56a30a9bed753734d8d6
2011-05-03 17:27:26 -07:00
Romain Guy
8f0095cd33
Allows to render with an OpenGL context inside a TextureView.
...
Change-Id: I59453f7fc3997f0502a1c5d325d37fed376fabc7
2011-05-02 18:32:29 -07:00
Conley Owens
e7cb25916c
am 1eb31b43: am 718516f3: am 9fd8e057: Merge "Fix memory leak of SkMovie class"
...
* commit '1eb31b434fdc325c55b65ecf1783c63b2fdfa669':
Fix memory leak of SkMovie class
2011-05-02 10:11:52 -07:00
Conley Owens
1eb31b434f
am 718516f3: am 9fd8e057: Merge "Fix memory leak of SkMovie class"
...
* commit '718516f3b73468c480ef8d2283a1c80a6223658d':
Fix memory leak of SkMovie class
2011-04-29 17:15:09 -07:00
Conley Owens
17f83df960
am 7dcdfd79: am f26ec38c: am 501f7bca: Merge "Eliminating dead logic - bitmap state simply cannot be null here."
...
* commit '7dcdfd7988d1e57c7a705a2d7294e8bfa2b8afc9':
Eliminating dead logic - bitmap state simply cannot be null here.
2011-04-29 15:11:45 -07:00
Conley Owens
7dcdfd7988
am f26ec38c: am 501f7bca: Merge "Eliminating dead logic - bitmap state simply cannot be null here."
...
* commit 'f26ec38c344af8cf91575b461028a3033b940d49':
Eliminating dead logic - bitmap state simply cannot be null here.
2011-04-29 14:57:18 -07:00
Conley Owens
9fd8e0579f
Merge "Fix memory leak of SkMovie class"
2011-04-29 10:00:00 -07:00
Jason Sams
c576537166
Pipe rsa function though the RS api table.
...
Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
2011-04-28 18:26:48 -07:00
Stephen Hines
5ac02e73c3
am 697f8b33: am 00df8e23: Merge "Check setName() for null string + fix rsRand()." into honeycomb-mr1
...
* commit '697f8b331bb339e4db716efbb96e2182aac40255':
Check setName() for null string + fix rsRand().
2011-04-27 17:38:53 -07:00
Jason Sams
6e494d3ab6
Add dalvik code for forEach.
...
Change-Id: I26533fc553315b99b8f177ab62d9735a177b26b0
2011-04-27 16:33:11 -07:00
Alex Sakhartchouk
4658d779e3
Check setName() for null string + fix rsRand().
...
Change-Id: I5e0042930209861e2eb9acc91380e9473dac0997
2011-04-27 13:30:43 -07:00
Jason Sams
36f873c765
Merge "Cleanup rs.spec file and code generator."
2011-04-27 13:20:39 -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
Romain Guy
e1c6ff4b91
Make setGradientCenter/Radius work.
...
The previous implementation would not rebuild the gradient shader
when programmatically changing the shader's properties. Also fixes
the documentation since the gradient center does affect linear
gradients.
Change-Id: I5387188484b862f6835b0da9042b25032e55e792
2011-04-26 11:50:17 -07:00
Romain Guy
ee6d5cfdff
Copy the solid color when mutating a gradient drawable.
...
Change-Id: If3eed36b81f54bb5a56eab7784feda3e3786f8fc
2011-04-26 11:40:14 -07:00
Romain Guy
4a123c4d69
Allow bitmap filtering on NinePatchDrawable.
...
There's no reason to not allow it anymore.
Change-Id: Id1881784e6abb49f1965af6595a77391b88b426f
2011-04-26 11:23:08 -07:00
Jason Sams
6cc888e77e
Start ICS header cleanup and finish type matrix.
...
Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
2011-04-25 16:09:48 -07:00
Alex Sakhartchouk
e7c4a7565c
Modifying libRS internal communication to handle network rendering.
...
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
2011-04-25 14:30:27 -07:00
Fabrice Di Meglio
0a1413e4bf
Clean getTextRunAdvances() APIs
...
- remove ICU reference in API names
- use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU"
Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
2011-04-21 17:36:26 -07:00
Dianne Hackborn
44bc17c6b5
Rework display size access.
...
Applications now get the display size from the window manager. No
behavior should be changed yet, this is just prep for some real
changes.
Change-Id: I2958a6660895c1cba2b670509600014e55ee9273
2011-04-21 15:17:52 -07:00
Jozef BABJAK
e42143aa57
Eliminating dead logic - bitmap state simply cannot be null here.
...
Change-Id: I33fdf650b06242efa22ca30b3f7252f6854b42f6
2011-04-19 13:24:37 +02:00
Fabrice Di Meglio
0343a7eb6d
Merge "TextLayoutCache - add glyphs caching"
2011-04-08 14:51:08 -07:00
Fabrice Di Meglio
fcf2be1846
TextLayoutCache - add glyphs caching
...
- cache glyphs after Harfbuzz shaping
- use "m" prefix for member variables
- add temporary API for drawing text with glyphs
- update BiDiTest app
Change-Id: I619b3f313b15f010018daad21b3e5e486619b4e4
2011-04-08 14:37:18 -07:00
Elliott Hughes
fbb0788463
Merge "Use jniThrowException for exception throwing from native code."
2011-04-08 10:08:19 -07:00
Joe Onorato
43a17654cf
Remove the deprecated things from Config.java. These haven't been working since before 1.0.
...
Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
2011-04-07 19:23:05 -07:00
Elliott Hughes
8451b25a44
Use jniThrowException for exception throwing from native code.
...
I'll do media and the generated gl stuff separately. Otherwise, this
cleans up all direct calls of ThrowNew/Throw except the one in the
binder that needs to remain.
Change-Id: I8f95a5f020f53b25926ad31ac0c9477ddf85d04b
2011-04-07 19:17:57 -07:00
Jason Sams
bd184c5585
Cleanup character limits.
...
Change-Id: Icb127248d6e3a0b662ed3b13c9a6646f4f81129a
2011-04-06 11:44:47 -07:00
Jason Sams
331bf9b14b
Seperate ProgramRaster.
...
Cleanup ProgramRaster and ProgramStore creation.
Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
2011-04-06 11:23:54 -07:00
Alex Sakhartchouk
78a9f6a822
Merge "First draft of fbo in renderscript. Updating samples and benchmark"
2011-04-04 14:33:19 -07:00