248 Commits

Author SHA1 Message Date
Jason Sams
704ff64b09 Preview seperating RenderScript into RenderScript and RenderScriptGL 2010-02-09 16:05:07 -08:00
Jason Sams
5bec3aa2c6 Fix fountain and put the demos back in the optional build. 2010-02-08 16:32:29 -08:00
Jason Sams
5dbfe93b3f Fix some minor bugs with GL state setup that were exposed by Droids driver. 2010-01-27 14:41:43 -08:00
Jason Sams
a1d302e867 Turn the debugging back on. 2010-01-26 11:34:09 -08:00
Jason Sams
df48b57114 Cleanup seperation of Legacy and user attribs. All user programs now use the new names. Legacy vertex attribs are given default names. 2010-01-25 12:41:19 -08:00
Joe Onorato
af07b591bb am b3699b14: am 836e1666: Merge "add drawSpriteScreenspaceCropped to renderscript" into eclair
Merge commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be'

* commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be':
  add drawSpriteScreenspaceCropped to renderscript
2010-01-20 14:35:52 -08:00
Jason Sams
e20e3b41db Fix RS mipmap generation for 8 bit alpha textures. 2010-01-19 17:53:54 -08:00
Joe Onorato
6656c1be2b add drawSpriteScreenspaceCropped to renderscript 2010-01-14 16:00:04 -05:00
Jason Sams
22550a1943 Merge "Remove excessive logging, fix error in GLSL uniform generation." 2010-01-13 14:54:20 -08:00
Jason Sams
e17e365b71 Remove excessive logging, fix error in GLSL uniform generation. 2010-01-13 14:52:46 -08:00
Jason Sams
b9c56e3968 Merge "Implement type generation for user uniforms in vertex shader." 2010-01-12 15:39:57 -08:00
Jason Sams
ea87e96959 Implement type generation for user uniforms in vertex shader. 2010-01-12 12:12:28 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Joe Onorato
f5d95cbc1a less log spew 2010-01-08 15:46:24 -05:00
Jason Sams
917cd4fcda Fix npot but where mipmap level sizes were rounding in the wrong direction. Should always be floor. 2010-01-07 16:26:42 -08:00
Jason Sams
6286953ece Change user attribs to look for empty slot rather than using them in order. Prevents conflict with numbered legacy slots. 2010-01-07 16:26:42 -08:00
Jason Sams
74e02ef200 Support npot on es 2.0 HW. 2010-01-06 15:10:29 -08:00
Jason Sams
a09a6e145b More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity. 2010-01-06 12:01:51 -08:00
Jean-Baptiste Queru
ca328e70ed explicit set an "optional" tag 2010-01-05 11:40:22 -08:00
Jason Sams
e17964e150 Add RS support for generic attribs as input to vertex programs. 2010-01-04 16:52:27 -08:00
Jason Sams
7d46f612a2 Disable excessive RS logging. 2009-12-23 14:56:19 -08:00
Jason Sams
718cd1f322 Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
Jason Sams
68afd01ec9 Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode. 2009-12-17 16:55:08 -08:00
Jason Sams
7b7f29a35c Fix live wallpaper many. Z coordinate was being ignored for draw quad call. 2009-12-16 14:24:17 -08:00
Jason Sams
ce9adcce02 Fix emulated glColor in es2 mode. 2009-12-16 14:13:06 -08:00
Jason Sams
5dad8b4d1f Place shader logging behind prop to declutter logs. 2009-12-15 19:10:11 -08:00
Jason Sams
7e5ab3b177 Continue es2 shader dev
Conflicts:

	graphics/java/android/renderscript/Program.java
	graphics/java/android/renderscript/ProgramVertex.java
2009-12-15 13:27:04 -08:00
Jason Sams
0011bcf57f Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info. 2009-12-15 12:58:36 -08:00
Jason Sams
3b7d39bb51 Implement RS tracked defered texture and buffer object uploads. 2009-12-14 12:59:49 -08:00
Jason Sams
aad442ec27 am b62954b6: am 8f31c230: am 57ce0888: Merge change Id22c0137 into eclair
Merge commit 'b62954b66542e3e2654d97a81123c51805bceca7'

* commit 'b62954b66542e3e2654d97a81123c51805bceca7':
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
2009-12-10 17:15:13 -08:00
Jason Sams
8f31c23021 am 57ce0888: Merge change Id22c0137 into eclair
Merge commit '57ce0888fcb1376b385c3dab5e4262793acaaf16' into eclair-mr2

* commit '57ce0888fcb1376b385c3dab5e4262793acaaf16':
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
2009-12-10 16:45:22 -08:00
Jason Sams
b9d5c574ff Throttle low priority RS threads by sleeping once per frame to avoid starving other apps. 2009-12-09 11:05:45 -08:00
Jason Sams
c73ec39bd0 DO NOT MERGE. Implement WAR which should prevent the white square bug from appearing on user devices. If we see a 0 texture id during bind for rendering, attempt to re-upload. If this fails log debug info and restart the app. 2009-12-03 15:43:18 -08:00
Jason Sams
54c0ec14e0 Beging GL2 user shaders. Switch master to using GL2 by default. 2009-11-30 15:34:03 -08:00
Jason Sams
7efde12a03 Fix film 2009-11-25 15:14:50 -08:00
Jason Sams
bb51c40d89 Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly. 2009-11-25 13:22:07 -08:00
Jason Sams
0a2e7a3963 am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where white square bug in all apps is likely to occur.
Merge commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2'

* commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2':
  Force a crash under conditions where white square bug in all apps is likely to occur.
2009-11-24 12:57:57 -08:00
Jason Sams
9dab667e03 Force a crash under conditions where white square bug in all apps is likely to occur. 2009-11-24 12:26:35 -08:00
Jason Sams
79e2646504 am 9f96a37a: am 6a2500a3: am 39dbb099: Merge change I36176536 into eclair
Merge commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0'

* commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0':
  Fix ref counting bug that could cause memory leak in allApps.
2009-11-23 16:29:46 -08:00
Jason Sams
361765361a Fix ref counting bug that could cause memory leak in allApps. 2009-11-23 15:28:55 -08:00
Jason Sams
857d2b1565 am 93f409b5: am d581b1a8: am ddac83a5: Fix extended logging for object dumping.
Merge commit '93f409b5f7992767594107b7f468143e4a89a8c1'

* commit '93f409b5f7992767594107b7f468143e4a89a8c1':
  Fix extended logging for object dumping.
2009-11-19 17:43:24 -08:00
Jason Sams
ddac83a516 Fix extended logging for object dumping. 2009-11-19 13:08:17 -08:00
Android (Google) Code Review
f5fac58f50 Merge change Id10824da
* changes:
  Fix film init
2009-11-17 18:53:07 -08:00
Jason Sams
d10824dadc Fix film init 2009-11-17 18:51:58 -08:00
Android (Google) Code Review
9390931b6e Merge change I948415fd
* changes:
  Delete the old rollo sample which is obsolete.
2009-11-17 18:51:25 -08:00
Jason Sams
948415fdd9 Delete the old rollo sample which is obsolete. 2009-11-17 18:50:09 -08:00
Jason Sams
644a0e320d resolved conflicts for merge of f6309041 to master 2009-11-17 18:07:54 -08:00
Jason Sams
715333b832 Add support for dumping RS objects to aid in debugging of white blocks bug. 2009-11-17 17:26:46 -08:00
Jason Sams
41301259fb am 234e509a: am 22186a2c: am ec8178eb: Merge change I9c1bad53 into eclair
Merge commit '234e509a67eb32606f3051d21eb3ea25b272d80d'

* commit '234e509a67eb32606f3051d21eb3ea25b272d80d':
  Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-17 07:31:07 -08:00
Jason Sams
7d787b4722 Add setPriority to allow wallpapers to run at lower cpu priority than default. 2009-11-15 12:14:26 -08:00