summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jason Sams <jsams@google.com> 2012-01-10 15:42:54 -0800
committer Jason Sams <jsams@google.com> 2012-01-10 15:45:04 -0800
commitaa9565b1b24656cf194fc52a4a992c926b520997 (patch)
treea1f2440184601e8cf37c8d7db875d27cfa202ab0
parentf0b668cf7fc2061aefd62f68aba71b4d2f378ebb (diff)
Fix LOGE.
Change-Id: I533bedf0827edb27e0aead78e2bb3389be85acd8
-rw-r--r--libs/rs/driver/rsdPath.cpp10
-rw-r--r--libs/rs/rsPath.cpp4
2 files changed, 7 insertions, 7 deletions
diff --git a/libs/rs/driver/rsdPath.cpp b/libs/rs/driver/rsdPath.cpp
index d475beb55eb3..e04bc0258ed1 100644
--- a/libs/rs/driver/rsdPath.cpp
+++ b/libs/rs/driver/rsdPath.cpp
@@ -75,7 +75,7 @@ bool rsdPathInitStatic(const Context *rsc, const Path *m,
cleanup(rsc, m);
DrvPathStatic *dps = new DrvPathStatic(vtx, loops);
- LOGE("init path m %p, %p", m, dps);
+ //LOGE("init path m %p, %p", m, dps);
m->mHal.drv = dps;
return dps != NULL;
}
@@ -86,11 +86,11 @@ bool rsdPathInitDynamic(const Context *rsc, const Path *m) {
void rsdPathDraw(const Context *rsc, const Path *m) {
- LOGE("render m=%p", m);
+ //LOGE("render m=%p", m);
DrvPath *drv = (DrvPath *)m->mHal.drv;
if(drv) {
- LOGE("render 2 drv=%p", drv);
+ //LOGE("render 2 drv=%p", drv);
drv->draw((Context *)rsc);
}
}
@@ -138,7 +138,7 @@ void DrvPathStatic::draw(Context *rsc) {
1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f};
float vtx[12];
- LOGE("draw");
+ //LOGE("draw");
if (!rsc->setupCheck()) {
return;
}
@@ -154,7 +154,7 @@ void DrvPathStatic::draw(Context *rsc) {
RsdVertexArray va(attribs, 2);
va.setup(rsc);
- LOGE("mSegmentCount %i", mSegmentCount);
+ //LOGE("mSegmentCount %i", mSegmentCount);
for (uint32_t ct=0; ct < mSegmentCount; ct++) {
segment_t *s = &mSegments[ct];
diff --git a/libs/rs/rsPath.cpp b/libs/rs/rsPath.cpp
index 89a07707c0ac..c4f49789bfdc 100644
--- a/libs/rs/rsPath.cpp
+++ b/libs/rs/rsPath.cpp
@@ -31,10 +31,10 @@ Path::Path(Context *rsc, RsPathPrimitive pp, bool isStatic,
mHal.state.quality = quality;
mHal.state.primitive = pp;
- LOGE("i1");
+ //LOGE("i1");
rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops);
- LOGE("i2");
+ //LOGE("i2");
}
Path::Path(Context *rsc, uint32_t vertexBuffersCount, uint32_t primitivesCount)