summaryrefslogtreecommitdiffstats
path: root/graphics/jni
Commit message (Collapse)AuthorAgeFilesLines
* am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"Narayan Kamath2014-01-281-6/+6
|\ | | | | | | | | * commit '6e09eb4c6753f8e5cbd04f9b0c7b65046d27afdb': AArch64: Make graphics classes 64-bit compatible
| * AArch64: Make graphics classes 64-bit compatibleAshok Bhat2014-01-281-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in this patch include [x] Long is used to store native pointers as they can be 64-bit. [x] Some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) [x] AssetAtlasManager is not completely 64-bit compatible yet. Specifically mAtlasMap member has to be converted to hold native pointer using long. Added a TODO to AssetAtlasManager.java to indicate the change required. Change-Id: I940433f601c6db998c1a8ffff338f5361200d5ed Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
| * DO NOT MERGE - Fix improper declaration/use of pointer.Stephen Hines2013-12-181-1/+1
|/ | | | | | | | | https://code.google.com/p/android/issues/detail?id=61547 This variable is shadowing the outer "ptr" declaration, resulting in a potential NULL pointer being passed to the message API. Change-Id: If96bfae8d5e874e12597182678a180ba137b78da
* Add flags word to initialization.Tim Murray2013-09-091-1/+1
| | | | | | bug 10427951 Change-Id: I1356b9b96315ead44aa3898de5604d75f9bb8be5
* Changes needed to support Skia at r10377.Derek Sollenberger2013-08-011-1/+0
| | | | Change-Id: Id1e1c8c5938ee1a33c6fa3caabd2c28e89243eb4
* Add support for synchronous get().Tim Murray2013-04-111-0/+51
| | | | | | bug 8599910 Change-Id: I0e7c52350cc1abb14a5ed59bb92e8e0346209d53
* Merge "Add liblog" into jb-mr2-devYing Wang2013-04-101-0/+1
|\
| * Add liblogYing Wang2013-04-091-0/+1
| | | | | | | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* | Cleanup Allocation and add 3D copies.Jason Sams2013-04-091-8/+71
|/ | | | | | bug 8567058 Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85
* add support for debug and profile contexts.Jason Sams2013-02-221-3/+3
| | | | Change-Id: I759e54e365a344a93d725eb4fa70a2c4c98bf05a
* Implement USAGE_IO_INPUTJason Sams2013-02-221-31/+9
| | | | Change-Id: Id5b9e3d0a17e4df15eec36d542fde6dc626138b2
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-2/+2
| | | | Change-Id: I5a218ca11abeeec05e3a4c3cfc581bcc788814ea
* Add rsnScriptForEachClipped() implementation with no param array.Stephen Hines2013-02-131-2/+23
| | | | | | | | JNI doesn't let us pass down a NULL parameter array (from the usrData part of our reflection). In this case, we simply clone our existing function, but remove the offending array parameter. Change-Id: Ib1d6e202f2a55ba8922eec3da5a93d8daa882250
* Add API entry points for clipped kernels.Tim Murray2013-02-071-2/+25
| | | | Change-Id: Idf474a5ac391c41e9215cd2f03e7f8c4bfb875fa
* Implement rs.sendMessage()Jason Sams2013-02-051-0/+18
| | | | Change-Id: Ib4f4bb7bb4f697d0b5405ad55721394ed2456c65
* Add YUV allocation creation.Jason Sams2013-01-081-5/+5
| | | | Change-Id: I0d1ff72f60481eb9c28cf058eab72e689494d14b
* Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-4/+4
| | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I08e677faf2ebb418ef131d0a8008e01037db0e50
* stop using a deprecated SurfaceTextureClient ctorJamie Gennis2012-12-111-1/+1
| | | | Change-Id: Ie6196ba4896c0ab37b9aed3d1a4ffd04c99c5f80
* Add support for Bitmap-backed Allocations in Java.Tim Murray2012-12-041-0/+17
| | | | | Change-Id: Iab38a275aa6cdac91c76fa0d134fbc1e8f387913 Bug: 7256604
* Update JNI for strided 2D copies.Tim Murray2012-11-271-5/+5
| | | | Change-Id: I2453af41a3b974bb0b3c6b1c5a506093f2019e70
* Add Kernel, Method, and field IDsJason Sams2012-09-181-0/+75
| | | | | | bug 7182873 Change-Id: I066a359bb04027e9376dac088560f042c496b10e
* Make librs_jni depend on libRSDriver to remove circular dependencyYing Wang2012-09-161-1/+1
| | | | Change-Id: Ia607f732f2f22968fd6f1793c2f252f08300357d
* Add plumbing for new surface flinger display API.Jeff Brown2012-08-271-2/+2
| | | | | | | | | | | | | | Cleaned up the implementation of Surface and SurfaceSession to use more consistent naming and structure. Added JNI for all of the new surface flinger display API calls. Enforced the requirement that all Surfaces created by the window manager be named. Updated the display manager service to use the new methods. Change-Id: I2a658f1bfd0437e1c6f9d22df8d4ffcce7284ca2
* Intrinsics testJason Sams2012-08-141-0/+8
| | | | Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
* Fix readback lengthsJason Sams2012-07-271-4/+4
| | | | Change-Id: I4c5f29af03ed3babceef741aa3a982244cfc65d1
* Fix incorrect Log message.Stephen Hines2012-05-161-1/+1
| | | | Change-Id: Ib05813c28a16e1bfe2186b068e1baf13782ae5b9
* Start passing element/dim information along with FieldPacker.Stephen Hines2012-05-011-0/+15
| | | | | | BUG=6009244 Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
* Convert from SurfaceTexture to SurfaceJason Sams2012-03-281-7/+6
| | | | Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
* Moving libRSAlex Sakhartchouk2012-03-281-1/+1
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* Implement USAGE_IO_INPUTJason Sams2012-03-231-1/+11
| | | | Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
* fix libgui header locationMathias Agopian2012-02-271-2/+0
| | | | Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
* frameworks/base refactoringMathias Agopian2012-02-201-0/+1
| | | | | | create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
* frameworks/base refactoring.Mathias Agopian2012-02-171-3/+3
| | | | | | step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
* Merge "Rename three header files to free namespace for api."Jason Sams2012-02-171-2/+2
|\
| * Rename three header files to free namespace for api.Jason Sams2012-02-161-2/+2
| | | | | | | | Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
* | Merge "Piping texture names through shader builder. Fixing uint size_t ↵Alex Sakhartchouk2012-02-161-24/+70
|\ \ | |/ |/| | | mismatch."
| * Piping texture names through shader builder.Alex Sakhartchouk2012-02-151-24/+70
| | | | | | | | | | | | Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
* | Beging IO stream out from allocation to surface texture.Jason Sams2012-02-151-0/+34
|/ | | | Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
* Merge commit 'bdeec118' into manualmergeJason Sams2012-02-071-1/+1
|\ | | | | | | | | | | | | Conflicts: libs/rs/rsThreadIO.h Change-Id: I7f448996a86f41188b47ec3dc353c364692e8bf2
| * Implement RS VSync on new vsync infrastructure.Jason Sams2012-02-071-1/+1
| | | | | | | | | | | | | | | | Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1 Replace lockless fifo from server to client with sockets. Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
* | am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."Stephen Hines2012-01-301-2/+2
|\ \ | |/ | | | | | | * commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a': Fix potential bug with reordered size/offset arguments.
| * Fix potential bug with reordered size/offset arguments.Stephen Hines2012-01-201-2/+2
| | | | | | | | | | | | This change also cleans up a few uint32_t/size_t issues. Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
* | Start implementing SurfaceTexture streaming into RS allocations.Jason Sams2012-01-131-0/+8
| | | | | | | | Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
* | resolved conflicts for merge of 08289f55 to graphics-devSteve Block2012-01-091-3/+3
|\ \ | |/ | | | | Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
| * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Private API to support MFF transition.Jason Sams2011-11-231-4/+4
| | | | | | | | Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
* | Path renderingJason Sams2011-11-101-0/+12
|/ | | | Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-5/+5
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* adding getters to Sampler ProgramRaster, ProgramStore, Element.Alex Sakhartchouk2011-10-181-3/+9
| | | | | | Element adds ability to get subelement info. Tests for new stuff. Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
* Remove unused fields in ProgramRasterJason Sams2011-09-231-6/+4
| | | | Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb