531 Commits

Author SHA1 Message Date
Jason Sams
e519b37f5a Fix an uninitialized pointer.
Change-Id: If66a502b6b23d00c4a2dd02fb46912f6dee2866b
2010-06-30 12:07:50 -07:00
Jason Sams
2afa22003d Merge "Update fountain to use boolean rather than ints for true/false." 2010-06-25 15:12:29 -07:00
Jason Sams
61d10a4e43 Update fountain to use boolean rather than ints for true/false.
Change-Id: I5e8334f53239c869caeaff45e611309cea5ba284
2010-06-25 15:09:45 -07:00
Jason Sams
3d54108d98 Merge "Add support for non-VBO drawing in Meshes." 2010-06-25 12:46:35 -07:00
Jason Sams
eeeaccc899 Add support for non-VBO drawing in Meshes.
Change-Id: Ic4dd88cbe591091ebe740babe30213c15ad60cb3
2010-06-25 12:45:41 -07:00
Alex Sakhartchouk
5b7e333cf2 Merge "Adding freetype font rendering to renderscript." 2010-06-25 09:24:19 -07:00
Jason Sams
6495128049 Fix return values for rsClamp.
Change-Id: Ic9980a2304797a74392c729d6b8ec9f477a906d6
2010-06-24 17:56:34 -07:00
Alex Sakhartchouk
9b949fce39 Adding freetype font rendering to renderscript.
Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
2010-06-24 17:15:34 -07:00
Jason Sams
fae3f6b415 Add matrix ops to RSH headers.
Change-Id: I7e2843983a12e0155114b4a18813799e4341d26f
2010-06-24 13:54:11 -07:00
Jason Sams
0ebd5690b8 Fix 32&24 ->16 bit bitmap uploads.
Change-Id: If8c52dd8ff34393c2908516e702a2d5daeb7bbb3
2010-06-22 17:45:34 -07:00
Jason Sams
7c1f4c38a2 Re-enable optimization for detecting nop state changes in fragment
and vertex programs.

Change-Id: Ic5b9ecf564d121d7a00a1eed92afb4c4783ce8bc
2010-06-22 17:22:13 -07:00
Jason Sams
f110d4b787 Move ImageProcessing and ModelViewer to reflected files.
Implement boolean support.

Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
2010-06-21 17:42:41 -07:00
Jason Sams
3ac8da87bb Remove the obsolete film example.
Change-Id: Ifb6b991276a3a7e95f75d783141b397080631e63
2010-06-21 15:11:15 -07:00
Jason Sams
94d0759987 Fountain example cleanup.
Remove compatability versions of rsg functions that took old 'i' types.

Change-Id: Icea268a37df5e212237299e094ba26c6f76468d7
2010-06-18 15:52:30 -07:00
Jason Sams
6d1cf4148c Remove legacy drawing functions.
Skip element names starting with '#'

Change-Id: I6b0967ed1dc47c072c3bed7c0219e2215a7068a6
2010-06-17 18:05:38 -07:00
Jason Sams
020bb7b5ac Add skip to field packer.
remove hsb functions from env headers.
add RS_PACKED define for packed structures.

Change-Id: Idc661edff85c0047baa201f43e0839ac82c74593
2010-06-17 15:55:00 -07:00
Jason Sams
cb8e982754 Merge "Remove InvokeData and add ContextFinish to generate a sync point." 2010-06-15 17:12:51 -07:00
Jason Sams
afcc0f8874 Merge "update image processing." 2010-06-15 14:55:02 -07:00
Jason Sams
96ed4cfa62 Remove InvokeData and add ContextFinish to generate a sync point.
Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
2010-06-15 12:15:57 -07:00
Shih-wei Liao
4e094c1428 Merge "Comment out rsqrt for now. Long-term: Need to figur out why rsqrt caused slang to abort." 2010-06-14 21:16:26 -07:00
Shih-wei Liao
722a5d7104 Comment out rsqrt for now. Long-term: Need to figur out why rsqrt caused slang to abort.
Change-Id: I635eecead3ef71690124e51f29afa163373e2329
2010-06-14 17:34:25 -07:00
Jason Sams
56985cea77 update image processing.
Change-Id: I5899f88f05b9fb2ac2d7cdcb725b97d3a48d536b
2010-06-14 14:01:33 -07:00
Shih-wei Liao
cac4d6d965 To enable the reflection of rs_mesh etc. Side benefit: Better type checking.
Double-checked with Nick that the extra "struct" is enabling reflection and
type checking without incurring overhead.

Change-Id: I624efd9547a8f847d9525906ab3a49278055c9e9
2010-06-09 18:03:56 -07:00
Jason Sams
96d719c917 Remove float8/16 from RS type list.
We will not have time to work through ABI issues for these types
on arm for our ship date.  Can be re-added later.

Change-Id: I957758be7e900a1c55eff9cb5aeb16fa636bd9a0
2010-06-09 14:26:16 -07:00
Jason Sams
e29f3e74f7 Begin using reflected files.
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-06-08 15:40:48 -07:00
Alex Sakhartchouk
422ce6b4db Removing debug output.
Change-Id: I05bd821607e3312180ed910313c88722a7c13f22
2010-06-04 16:10:12 -07:00
Alex Sakhartchouk
aae74ad614 Creating the jni and java layer to integrate a3d
Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
2010-06-04 10:06:50 -07:00
Jason Sams
ab67fb9a80 Disabble vertex logging.
bug 2734616


Change-Id: Ibad63dfbf0f2ea3c7e475c7cf0689fd487d12be4
2010-06-02 12:40:19 -07:00
Jason Sams
8cb39de03a Remove RS_KIND from vertex arrays types.
Legacy vertex programs now bind by name just like the user programs.
This removes the need for two different ways of declairing the same
information.

Change-Id: I0178c0962842a1bbffb6726984ae1b8f5bb7529c
2010-06-01 15:47:01 -07:00
Jason Sams
c9d0a87d50 types update.
Change-Id: I3bd43e163c919be4c3a38e0dd228cee220c62b76
2010-05-28 19:13:20 -07:00
Jason Sams
3678f1989e Merge "Rough implemetation of ForEach. Remove launchID from root graphics script." 2010-05-28 18:24:49 -07:00
Jason Sams
f17bccc905 Rough implemetation of ForEach.
Remove launchID from root graphics script.

Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
2010-05-28 18:23:22 -07:00
Jason Sams
96d3749e4e Fountain update. Update field names to match legacy expectations.
Cleanup java code.

Change-Id: I1ad9ae462e46166a7b6ff2b399417dbfe50a5542
2010-05-28 18:14:41 -07:00
Alex Sakhartchouk
aa7d2884cb Removed unnecessary change based on comments.
Now using android utils lib.
collada_to_a3d seems to work with android util libs.
Integrating old changelist
Changing assert to rsAssrt in VertexArray
making context compile.
Change-Id: I33890defa777f09253bfab630d97782359ec49d7

Added serialization code to rsLib
Integrated old changelist
Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311

Added serialization code to rsLib

Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
2010-05-21 14:00:10 -07:00
Jason Sams
1001a5b97b Remove noise functions and update images processing to use new rs namespace names.
Change-Id: I2dc9b5ec7877acd630bea1a011ecc4a6d43a31eb
2010-05-20 17:56:05 -07:00
Jason Sams
d79b2e9f8b Begin naming cleanup for renderscript runtime.
Prefix functions with "rs" or "rsg".

Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-19 17:23:08 -07:00
Alex Sakhartchouk
d52498a64f Merge "Added benchmark mode. Added some image processing operations." 2010-05-19 16:44:26 -07:00
Alex Sakhartchouk
814326b3b9 Added benchmark mode.
Added some image processing operations.

Change-Id: Ic7ba45fbf57eff6fc7d20377c148d0ba7ac862f7
2010-05-19 16:28:27 -07:00
Jason Sams
536923df75 Split ScriptC Lib into CL, GL, and basic.
Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
2010-05-18 13:35:45 -07:00
Jason Sams
c378dab087 Remove excess logging.
Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
2010-05-17 17:28:12 -07:00
Jason Sams
1de0b87168 Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-17 14:55:34 -07:00
Jason Sams
a250f20b02 Merge "Delete legacy setDefine API." 2010-05-14 16:53:05 -07:00
Jason Sams
ec67275e5f Delete legacy setDefine API.
Change-Id: I1bae13533ab9efea3d3b0ebb6a3711343e922f8a
2010-05-14 16:51:22 -07:00
Jason Sams
c3ae11271d Merge "Delete old createFromClass methods. It no longer makes sense to create type info from Java since this cannot be exported to scripts. The new flow is in the opposite direction." 2010-05-14 16:30:50 -07:00
Jason Sams
b42315d37a Delete old createFromClass methods.
It no longer makes sense to create type info from Java since this
cannot be exported to scripts.  The new flow is in the opposite direction.

Change-Id: I9b46e3f57abf84c01326bd9b9b834f3ff0f7c504
2010-05-14 16:29:20 -07:00
Nick Kralevich
71491ab245 Merge "resolved conflicts for merge of cbf26fd3 to master" 2010-05-14 16:11:43 -07:00
Nick Kralevich
963b0cdbaf resolved conflicts for merge of cbf26fd3 to master
Change-Id: I1feb7266c1d5cdebbfb8b8fa0d87d986953a20b6
2010-05-14 15:49:42 -07:00
Jason Sams
f603d21255 Change RS to use the passed surface size rather than EGL size.
Its possible that during a resize the EGL information could be stale so
caching this is bad.  The surface size should always be correct.

Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685

Conflicts:

	libs/rs/rsProgramStore.cpp
	libs/rs/rsProgramStore.h
2010-05-14 15:30:29 -07:00
Jason Sams
54db59c359 Rename ProgramFragmentStore to ProgramStore.
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-13 18:35:01 -07:00
Nick Kralevich
ce2cbe4c96 Get rid of warnings when compiled with -Wformat-security
Change-Id: I63c3bf786bbe7a0276624e71a4ba80c4a9aaa4bb
2010-05-13 14:46:27 -07:00