summaryrefslogtreecommitdiffstats
path: root/rsProgramVertex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove useless slot from ProgramVertex. Optimize GL state setup.Jason Sams2009-08-051-24/+19
|
* Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the ↵Jason Sams2009-07-281-2/+19
| | | | smallest larger pow texture. The added space is filled black.
* Enable light sources and update film test app.Jason Sams2009-07-211-2/+36
|
* Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams2009-06-231-5/+5
|
* Cleanup includes so Log.h can use the tag. rsUtils.h is the file that ↵Jason Sams2009-06-221-0/+3
| | | | should be included everywhere and contain rs global defines.
* Implement default programs and implement defaults and parents for imports.Jason Sams2009-06-171-0/+17
|
* Switch fountain to use ProgramVertex rather than hard coded camers in ↵Jason Sams2009-06-161-27/+13
| | | | scripts. Remove camera code from scripts.
* Bug fixes. TriangleMesh now ref-counts, implement missing element formats, ↵Jason Sams2009-06-151-2/+6
| | | | add missing modes for program vertex. Add matrix support classes. Add test app rollo
* Add named objects and implement support for ProgramFragmentStore and ↵Jason Sams2009-06-101-1/+0
| | | | ProgramFragment to be used by name in scripts.
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+133
This library can be used to create animated 3D User Interfaces. This library is currently under heavy development, so it's not part of the build by default. In order to build this library, you must define BUILD_RENDERSCRIPT=true in your build environment. You will also have to manually edit build/core/prelink-linux-arm.map And add libRS and libRS_jni at the end like this (exact address may change.) libRS.so 0x9A100000 libRS_jni.so 0x9A000000