summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Properly refcount SurfaceTexture in the JNI layer.Romain Guy2011-06-151-4/+1
| | | | Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
* Merge "Add View.getResolvedLayoutDirection()"Fabrice Di Meglio2011-06-144-11/+18
|\
| * Add View.getResolvedLayoutDirection()Fabrice Di Meglio2011-06-144-11/+18
| | | | | | | | | | | | | | | | | | - 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
* | Allocation copy functions.Alex Sakhartchouk2011-06-144-8/+132
|/ | | | Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
* Merge "Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing ↵Jamie Gennis2011-06-103-0/+132
|\ | | | | | | via Binder."
| * Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via ↵tedbo2011-06-093-0/+132
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Override equals()/hashCode() for RS BaseObj."Stephen Hines2011-06-091-0/+30
|\ \ | |/ |/|
| * Override equals()/hashCode() for RS BaseObj.Stephen Hines2011-06-091-0/+30
| | | | | | | | | | | | | | | | | | 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
* | Merge "Unhiding render target code for renderscript"Alex Sakhartchouk2011-06-061-1/+0
|\ \ | |/ |/|
| * Unhiding render target code for renderscriptAlex Sakhartchouk2011-06-061-1/+0
| | | | | | | | Change-Id: I32d80e6c49dbda955402f7ddffdb213c70ddbec9
* | Fix the false-alarm bug when we skip to the end, which should be OK.Shih-wei Liao2011-06-051-1/+1
| | | | | | | | | | | | Fix the bug b/4540617. Change-Id: I64a77b8c5d89bcd35f81d196928a671c954e9a28
* | Improve validation in RS FieldPacker.Stephen Hines2011-06-021-1/+14
|/ | | | Change-Id: I9f6a58048129db4978c893c2dc591b0ed825d05f
* Use android.os.Process.THREAD_PRIORITY_* symbolsGlenn Kasten2011-06-011-3/+3
| | | | | | | As part of latency project, searching for and replacing hard-coded thread priorities by symbols. Change-Id: I113c07af95f8808b889b665e884b6b41d3440f8d
* Fixes for AnimationDrawableChet Haase2011-05-311-1/+4
| | | | | | | | 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
* Add support for Gravity BEFORE and AFTERFabrice Di Meglio2011-05-274-3/+27
| | | | | | | | - update layouts - add Callback2 for RTL aware Drawable - add unit tests Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
* Preparing libRS for for compilation on host.Alex Sakhartchouk2011-05-171-3/+3
| | | | Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
* Core to client fifo on sockets.Jason Sams2011-05-172-13/+15
| | | | Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
* Cleanup mesh creation.Alex Sakhartchouk2011-05-123-105/+86
| | | | Change-Id: Iaf5e060711dcb6341ac0f337dfb274528cb68d3e
* Add code for generating fifo command packing.Jason Sams2011-05-061-2/+1
| | | | Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
* Code Cleanup and better Sampler creation methodAlex Sakhartchouk2011-05-043-58/+17
| | | | Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
* Fix error checks on compute context creation.Jason Sams2011-05-031-0/+3
| | | | | | Remove GL init for compute scripts. Change-Id: I1bce8e4112babf4345fa56a30a9bed753734d8d6
* Allows to render with an OpenGL context inside a TextureView.Romain Guy2011-05-021-5/+14
| | | | Change-Id: I59453f7fc3997f0502a1c5d325d37fed376fabc7
* am 1eb31b43: am 718516f3: am 9fd8e057: Merge "Fix memory leak of SkMovie class"Conley Owens2011-05-021-0/+11
|\ | | | | | | | | * commit '1eb31b434fdc325c55b65ecf1783c63b2fdfa669': Fix memory leak of SkMovie class
| * am 718516f3: am 9fd8e057: Merge "Fix memory leak of SkMovie class"Conley Owens2011-04-291-0/+11
| |\ | | | | | | | | | | | | * commit '718516f3b73468c480ef8d2283a1c80a6223658d': Fix memory leak of SkMovie class
| | * Merge "Fix memory leak of SkMovie class"Conley Owens2011-04-291-0/+11
| | |\
| | | * Fix memory leak of SkMovie classKimiyoshi Kusaka2011-03-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Movie class doesn't have finalize method. So memory leak of SkMovie class of native Skia occurs when Movie class is released. I add finalize method to Movie class (Movie.java) and jni destructor method to SkMovie class (Movie.cpp). Change-Id: I4dae9dd95f128cbfade50bef978b219ba99321dd
* | | | am 7dcdfd79: am f26ec38c: am 501f7bca: Merge "Eliminating dead logic - ↵Conley Owens2011-04-291-3/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | bitmap state simply cannot be null here." * commit '7dcdfd7988d1e57c7a705a2d7294e8bfa2b8afc9': Eliminating dead logic - bitmap state simply cannot be null here.
| * | | am f26ec38c: am 501f7bca: Merge "Eliminating dead logic - bitmap state ↵Conley Owens2011-04-291-3/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | simply cannot be null here." * commit 'f26ec38c344af8cf91575b461028a3033b940d49': Eliminating dead logic - bitmap state simply cannot be null here.
| | * | Eliminating dead logic - bitmap state simply cannot be null here.Jozef BABJAK2011-04-191-3/+1
| | |/ | | | | | | | | | Change-Id: I33fdf650b06242efa22ca30b3f7252f6854b42f6
| * | am 697f8b33: am 00df8e23: Merge "Check setName() for null string + fix ↵Stephen Hines2011-04-271-4/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | rsRand()." into honeycomb-mr1 * commit '697f8b331bb339e4db716efbb96e2182aac40255': Check setName() for null string + fix rsRand().
| | * | Check setName() for null string + fix rsRand().Alex Sakhartchouk2011-04-271-4/+10
| | | | | | | | | | | | | | | | Change-Id: I5e0042930209861e2eb9acc91380e9473dac0997
* | | | Pipe rsa function though the RS api table.Jason Sams2011-04-281-4/+4
| | | | | | | | | | | | | | | | Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
* | | | Add dalvik code for forEach.Jason Sams2011-04-273-0/+59
| | | | | | | | | | | | | | | | Change-Id: I26533fc553315b99b8f177ab62d9735a177b26b0
* | | | Merge "Cleanup rs.spec file and code generator."Jason Sams2011-04-271-5/+18
|\ \ \ \
| * | | | Cleanup rs.spec file and code generator.Jason Sams2011-04-261-5/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
* | | | | Merge "Start ICS header cleanup and finish type matrix."Stephen Hines2011-04-2615-0/+206
|\ \ \ \ \
| * | | | | Start ICS header cleanup and finish type matrix.Jason Sams2011-04-2515-0/+206
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
* | | | | | Make setGradientCenter/Radius work.Romain Guy2011-04-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Copy the solid color when mutating a gradient drawable.Romain Guy2011-04-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If3eed36b81f54bb5a56eab7784feda3e3786f8fc
* | | | | | Allow bitmap filtering on NinePatchDrawable.Romain Guy2011-04-261-4/+2
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | There's no reason to not allow it anymore. Change-Id: Id1881784e6abb49f1965af6595a77391b88b426f
* | | | | Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk2011-04-251-10/+26
|/ / / / | | | | | | | | | | | | Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
* | | | Clean getTextRunAdvances() APIsFabrice Di Meglio2011-04-211-113/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove ICU reference in API names - use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU" Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
* | | | Rework display size access.Dianne Hackborn2011-04-214-3/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "TextLayoutCache - add glyphs caching"Fabrice Di Meglio2011-04-081-23/+72
|\ \ \ \
| * | | | TextLayoutCache - add glyphs cachingFabrice Di Meglio2011-04-081-23/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | Merge "Use jniThrowException for exception throwing from native code."Elliott Hughes2011-04-081-11/+5
|\ \ \ \ \
| * | | | | Use jniThrowException for exception throwing from native code.Elliott Hughes2011-04-071-11/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato2011-04-0711-12/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
* | | | Cleanup character limits.Jason Sams2011-04-061-2/+4
| | | | | | | | | | | | | | | | Change-Id: Icb127248d6e3a0b662ed3b13c9a6646f4f81129a
* | | | Seperate ProgramRaster.Jason Sams2011-04-064-154/+32
| | | | | | | | | | | | | | | | | | | | | | | | Cleanup ProgramRaster and ProgramStore creation. Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7