summaryrefslogtreecommitdiff
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2009-10-26 15:19:28 -0700
committer Jason Sams <rjsams@android.com> 2009-10-26 15:20:43 -0700
commit83f1c63c56ed73e0dfcc4de67bc58a4df5b3fe69 (patch)
tree3295906c8047a0eab55cfeed2765cf7bacb2ee46 /libs/rs/rsContext.cpp
parent52c931b7dd0c5f82f409dea85a62c1e6c9e17c35 (diff)
Fix dirty state tracking of allocation attached to ProgramVertex objects when being updated while not attached.
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index cc39dacc72a7..463f63f07e5d 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -424,13 +424,6 @@ void Context::setRaster(ProgramRaster *pr)
}
}
-void Context::allocationCheck(const Allocation *a)
-{
- mVertex->checkUpdatedAllocation(a);
- mFragment->checkUpdatedAllocation(a);
- mFragmentStore->checkUpdatedAllocation(a);
-}
-
void Context::setVertex(ProgramVertex *pv)
{
if (pv == NULL) {
@@ -438,7 +431,6 @@ void Context::setVertex(ProgramVertex *pv)
} else {
mVertex.set(pv);
}
- mVertex->forceDirty();
}
void Context::assignName(ObjectBase *obj, const char *name, uint32_t len)