summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsProgramVertex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-6/+2
| | | | | | Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
* Allocation API update.Jason Sams2010-12-081-1/+1
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* More error checksJason Sams2010-11-221-22/+22
| | | | Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
* Support for cubemaps.Alex Sakhartchouk2010-11-181-4/+2
| | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-54/+33
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-4/+4
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Begin adding async allocation creation.Jason Sams2010-10-261-4/+1
| | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-3/+0
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* changing vec4 to vec2 for perf reasons.Alex Sakhartchouk2010-10-061-2/+3
| | | | Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
* fixing bugs 3053960, 3044804, 3044798Alex Sakhartchouk2010-10-011-9/+3
| | | | | | shader cleanup and removing unnecessary state setup. Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
* More robust attribute bindingAlex Sakhartchouk2010-09-291-3/+2
| | | | | | | Adding attribute and uniform debug logging. Checking to see if aniso filtering is available. Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
* Error checking for MVP matrix computation.Alex Sakhartchouk2010-09-271-0/+5
| | | | | | Fixing more padding bugs. Change-Id: Ic5d4260027b7dc86a50fdab7221c7296c7d3ea0d
* Adding support for all allowed textures.Alex Sakhartchouk2010-09-231-38/+36
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams2010-09-161-5/+0
| | | | | | Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
* Shader changes to allow for more flexible constant binding.Alex Sakhartchouk2010-09-141-63/+79
| | | | Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
* Remove ACC and other legacy bits from RS.Jason Sams2010-09-011-46/+1
| | | | Change-Id: I12a3b0477f3201ec7ca63564ae2b387ecc89dedf
* SubElementData data upload functions.Jason Sams2010-08-311-2/+2
| | | | Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
* Fixing uniform binding for fragment shader.Alex Sakhartchouk2010-08-311-114/+2
| | | | | | Updating the glsl fragment shader to color the lights. Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
* Fixing renderscript uniform binding bugs.Alex Sakhartchouk2010-08-271-33/+57
| | | | | | Working on custom shaders. Change-Id: I0d51e879e1c2b46ef5ab696b35162898f4196fc8
* Added frustum plane extraction and sphere culling code.Alex Sakhartchouk2010-08-161-0/+6
| | | | Change-Id: I9d55baecddc962f8973f0269f2f9977f1d4ce008
* Support constant and varying colors in ProgramFragment.Jason Sams2010-08-051-6/+0
| | | | Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
* Remove points from fixed function.Jason Sams2010-07-091-5/+1
| | | | | | Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
* Re-enable optimization for detecting nop state changes in fragmentJason Sams2010-06-221-1/+1
| | | | | | and vertex programs. Change-Id: Ic5b9ecf564d121d7a00a1eed92afb4c4783ce8bc
* Move ImageProcessing and ModelViewer to reflected files.Jason Sams2010-06-211-1/+6
| | | | | | Implement boolean support. Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
* Remove legacy drawing functions.Jason Sams2010-06-171-1/+6
| | | | | | Skip element names starting with '#' Change-Id: I6b0967ed1dc47c072c3bed7c0219e2215a7068a6
* Remove RS_KIND from vertex arrays types.Jason Sams2010-06-011-10/+10
| | | | | | | | 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
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-2/+26
| | | | | | | | | | | | | | | | | 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
* Change RS to use the passed surface size rather than EGL size.Jason Sams2010-05-141-4/+4
| | | | | | | | | | | | 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
* Implement type collapsing for Elements and Types. Now if a user creates two ↵Jason Sams2010-02-171-1/+1
| | | | or more identical objects we simply reuse the existing object rather than create a new one.
* Fix some minor bugs with GL state setup that were exposed by Droids driver.Jason Sams2010-01-271-0/+2
|
* Cleanup seperation of Legacy and user attribs. All user programs now use ↵Jason Sams2010-01-251-19/+13
| | | | the new names. Legacy vertex attribs are given default names.
* Remove excessive logging, fix error in GLSL uniform generation.Jason Sams2010-01-131-2/+1
|
* Implement type generation for user uniforms in vertex shader.Jason Sams2010-01-121-25/+106
|
* Change user attribs to look for empty slot rather than using them in order. ↵Jason Sams2010-01-071-4/+4
| | | | Prevents conflict with numbered legacy slots.
* More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-061-14/+36
| | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-041-6/+26
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-3/+1
| | | | | | 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.
* Fix emulated glColor in es2 mode.Jason Sams2009-12-161-0/+7
|
* Place shader logging behind prop to declutter logs.Jason Sams2009-12-151-2/+2
|
* Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-151-34/+26
| | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* Beging GL2 user shaders. Switch master to using GL2 by default.Jason Sams2009-11-301-11/+21
|
* Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 ↵Jason Sams2009-11-251-1/+86
| | | | can be enabled and will render most tests correctly.
* Make default vertex program correctly track surface size.Jason Sams2009-11-121-2/+7
|
* Implement screen aligned bitmap drawing support.Jason Sams2009-09-301-1/+8
|
* Improved object lifecycle tracking and fix leaks.Jason Sams2009-09-251-2/+14
|
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-4/+4
| | | | force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
* Removed last bits of predefined element types from native code. Predefined ↵Jason Sams2009-09-241-2/+9
| | | | types are now constructed at the java layer from standard building blocks.
* Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams2009-08-271-3/+3
| | | | which replaces TriangleMesh. Update Film to use new builder.
* Add support for selecting the color bit depth and if the application used a ↵Jason Sams2009-08-251-1/+1
| | | | depth buffer.
* Add lighting to animated water ripples.Romain Guy2009-08-061-1/+1
|