149 Commits

Author SHA1 Message Date
Jeff Brown
64a55af0ac Add plumbing for new surface flinger display API.
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
2012-08-27 14:34:54 -07:00
Jason Sams
6ab97682fd Intrinsics test
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
2012-08-14 12:06:00 -07:00
Jason Sams
3655e44d8b Fix readback lengths
Change-Id: I4c5f29af03ed3babceef741aa3a982244cfc65d1
2012-07-27 14:33:50 -07:00
Stephen Hines
06883b71d0 Fix incorrect Log message.
Change-Id: Ib05813c28a16e1bfe2186b068e1baf13782ae5b9
2012-05-16 18:01:34 -07:00
Stephen Hines
adeb809201 Start passing element/dim information along with FieldPacker.
BUG=6009244

Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
2012-05-01 00:29:52 -07:00
Jason Sams
fb9aa9f3ef Convert from SurfaceTexture to Surface
Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
2012-03-28 15:30:07 -07:00
Alex Sakhartchouk
b43a1e5ddf Moving libRS
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-03-28 14:18:15 -07:00
Jason Sams
fe1d5ffd1b Implement USAGE_IO_INPUT
Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
2012-03-23 11:47:26 -07:00
Mathias Agopian
8335f1cccc fix libgui header location
Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
2012-02-27 13:03:08 -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
e158f203d2 Merge "Rename three header files to free namespace for api." 2012-02-17 12:04:20 -08:00
Jason Sams
1d6983af33 Rename three header files to free namespace for api.
Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
2012-02-16 17:14:06 -08:00
Alex Sakhartchouk
791c0d188a Merge "Piping texture names through shader builder. Fixing uint size_t mismatch." 2012-02-16 09:28:21 -08:00
Alex Sakhartchouk
2123b46ba8 Piping texture names through shader builder.
Fixing uint size_t mismatch.

Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
2012-02-15 16:21:46 -08:00
Jason Sams
163766cbe7 Beging IO stream out from allocation to surface texture.
Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
2012-02-15 12:04:24 -08:00
Jason Sams
eb5b73504d Merge commit 'bdeec118' into manualmerge
Conflicts:
	libs/rs/rsThreadIO.h

Change-Id: I7f448996a86f41188b47ec3dc353c364692e8bf2
2012-02-07 16:40:51 -08:00
Jason Sams
4c2e4c80ce Implement RS VSync on new vsync infrastructure.
Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1

Replace lockless fifo from server to client with sockets.

Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
2012-02-07 15:32:08 -08:00
Stephen Hines
bc19591c1f am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."
* commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a':
  Fix potential bug with reordered size/offset arguments.
2012-01-30 12:23:21 -08:00
Stephen Hines
4cbe25a86b Fix potential bug with reordered size/offset arguments.
This change also cleans up a few uint32_t/size_t issues.

Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
2012-01-20 19:21:35 -08:00
Jason Sams
615e7cee03 Start implementing SurfaceTexture streaming into RS allocations.
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
2012-01-13 14:01:20 -08:00
Steve Block
2e681c1b09 resolved conflicts for merge of 08289f55 to graphics-dev
Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
2012-01-09 23:24:46 +00:00
Steve Block
3762c31172 Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2012-01-08 13:19:13 +00:00
Jason Sams
857d0c7017 Private API to support MFF transition.
Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
2011-11-23 15:02:15 -08:00
Jason Sams
f15ed0124e Path rendering
Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
2011-11-10 15:19:16 -08:00
Steve Block
71f2cf116a Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
2011-10-26 09:57:54 +01:00
Alex Sakhartchouk
7d5f5e7c89 adding getters to Sampler ProgramRaster, ProgramStore, Element.
Element adds ability to get subelement info. Tests for new stuff.

Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
2011-10-18 11:08:31 -07:00
Jason Sams
94aaed3846 Remove unused fields in ProgramRaster
Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
2011-09-23 14:18:53 -07:00
Stephen Hines
4382467a80 Start using bcinfo components within librs.
BUG=4942491

Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Alex Sakhartchouk
835b8544cc Fixing bitmap invalidation bug.
Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
2011-07-20 14:45:54 -07:00
Jeff Brown
bd882b1c87 Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
2011-07-11 22:12:16 -07:00
Jason Sams
faa32b33b5 First cut at RSTextureView.
Change-Id: I920950f33079b6bb7e48bb8970201ab9737bb021
2011-06-20 16:58:04 -07:00
Alex Sakhartchouk
304b1f5497 Allocation copy functions.
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -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
c576537166 Pipe rsa function though the RS api table.
Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
2011-04-28 18:26:48 -07:00
Jason Sams
6e494d3ab6 Add dalvik code for forEach.
Change-Id: I26533fc553315b99b8f177ab62d9735a177b26b0
2011-04-27 16:33:11 -07:00
Jason Sams
65bdaf1c6d Cleanup rs.spec file and code generator.
Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
2011-04-26 14:50:40 -07:00
Alex Sakhartchouk
e7c4a7565c Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
2011-04-25 14:30:27 -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
331bf9b14b Seperate ProgramRaster.
Cleanup ProgramRaster and ProgramStore creation.

Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
2011-04-06 11:23:54 -07:00
Mathias Agopian
696257ccf3 merge libsurfaceflinger_client into libgui
this is the first step in unifying surfacetexture and surface.
for this reason the header files were not moved, as most of them
will eventually go away.

NOTE: currently we keep libsurfaceflinger_client.so as an empty
library to workaround prebuilt binaries wrongly linking against
it.

Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
2011-03-25 18:42:40 -07:00
Jason Sams
e4a06c5fc7 Start seperating out RS compute implementation. Create hal
layer to seperate from runtime.

Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-03-17 16:13:03 -07:00
Alex Sakhartchouk
2c74ad9aae Fix for bug 3434228
Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
2011-03-16 19:28:25 -07:00
Jason Sams
991040c826 Cleanup logs.
Change-Id: I206d45863752adbc71fc91cd14e7cd3a555c8c53
2011-01-18 12:42:32 -08:00
Jason Sams
fb9f82ca4f Implement more of copy2DRange*
Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
2011-01-12 14:53:25 -08:00
Jason Sams
f7086090cf Cleanup bitmap uploads
Implement standalone mipmap generation.

Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
2011-01-12 13:28:37 -08:00