summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramRaster.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2010-07-09 15:34:32 -0700
committer Jason Sams <rjsams@android.com> 2010-07-09 15:34:32 -0700
commit53a93d5e917038504ba4422e4ad346ae37131365 (patch)
tree87e761cec60c13650f753382148ce10e64d18321 /libs/rs/rsProgramRaster.cpp
parent82164ad543b4eb6c11937b2a81891443317709cc (diff)
Remove points from fixed function.
Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
Diffstat (limited to 'libs/rs/rsProgramRaster.cpp')
-rw-r--r--libs/rs/rsProgramRaster.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/libs/rs/rsProgramRaster.cpp b/libs/rs/rsProgramRaster.cpp
index 66f6ef83a255..76638409aa09 100644
--- a/libs/rs/rsProgramRaster.cpp
+++ b/libs/rs/rsProgramRaster.cpp
@@ -41,8 +41,6 @@ ProgramRaster::ProgramRaster(Context *rsc,
mPointSmooth = pointSmooth;
mLineSmooth = lineSmooth;
mPointSprite = pointSprite;
-
- mPointSize = 1.0f;
mLineWidth = 1.0f;
}
@@ -55,11 +53,6 @@ void ProgramRaster::setLineWidth(float s)
mLineWidth = s;
}
-void ProgramRaster::setPointSize(float s)
-{
- mPointSize = s;
-}
-
void ProgramRaster::setupGL(const Context *rsc, ProgramRasterState *state)
{
if (state->mLast.get() == this) {
@@ -67,7 +60,6 @@ void ProgramRaster::setupGL(const Context *rsc, ProgramRasterState *state)
}
state->mLast.set(this);
- glPointSize(mPointSize);
if (mPointSmooth) {
glEnable(GL_POINT_SMOOTH);
} else {
@@ -102,7 +94,7 @@ void ProgramRaster::setupGL2(const Context *rsc, ProgramRasterState *state)
void ProgramRaster::serialize(OStream *stream) const
{
-
+
}
ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream)
@@ -147,12 +139,6 @@ RsProgramRaster rsi_ProgramRasterCreate(Context * rsc, RsElement in, RsElement o
return pr;
}
-void rsi_ProgramRasterSetPointSize(Context * rsc, RsProgramRaster vpr, float s)
-{
- ProgramRaster *pr = static_cast<ProgramRaster *>(vpr);
- pr->setPointSize(s);
-}
-
void rsi_ProgramRasterSetLineWidth(Context * rsc, RsProgramRaster vpr, float s)
{
ProgramRaster *pr = static_cast<ProgramRaster *>(vpr);