summaryrefslogtreecommitdiff
path: root/libs/rs/rsFBOCache.h
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2011-10-18 10:54:29 -0700
committer Alex Sakhartchouk <alexst@google.com> 2011-10-18 10:54:29 -0700
commit5ef2f53a00f64b7e156978d9de2e097394e4036a (patch)
treefdac496264e25719720de129c41304515f0237af /libs/rs/rsFBOCache.h
parenta744ead977b2beda89091abf295bcda860bf88b2 (diff)
Remove ObjBaseRef from the hal struct
Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
Diffstat (limited to 'libs/rs/rsFBOCache.h')
-rw-r--r--libs/rs/rsFBOCache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/rs/rsFBOCache.h b/libs/rs/rsFBOCache.h
index 5d58ba405416..abb84de0c83f 100644
--- a/libs/rs/rsFBOCache.h
+++ b/libs/rs/rsFBOCache.h
@@ -44,15 +44,17 @@ public:
mutable void *drv;
struct State {
- ObjectBaseRef<Allocation> *colorTargets;
+ Allocation **colorTargets;
uint32_t colorTargetsCount;
- ObjectBaseRef<Allocation> depthTarget;
+ Allocation *depthTarget;
};
State state;
};
Hal mHal;
protected:
+ ObjectBaseRef<Allocation> *mColorTargets;
+ ObjectBaseRef<Allocation> mDepthTarget;
bool mDirty;
void checkError(Context *);
void setColorAttachment(Context *rsc);