Home
last modified time | relevance | path

Searched refs:colorTargets (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/driver/
DrsdFrameBuffer.cpp52 if (fb->mHal.state.colorTargets[i] != nullptr) { in setColorAttachment()
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; in setColorAttachment()
56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i], in setColorAttachment()
82 if (fb->mHal.state.colorTargets[0]) { in rsdFrameBufferSetActive()
83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(), in rsdFrameBufferSetActive()
84 fb->mHal.state.colorTargets[0]->getType()->getDimY()); in rsdFrameBufferSetActive()
/frameworks/rs/
DrsFBOCache.cpp28 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount]; in FBOCache()
34 delete[] mHal.state.colorTargets; in ~FBOCache()
58 mHal.state.colorTargets[slot] = a; in bindColorTarget()
77 mHal.state.colorTargets[i] = nullptr; in resetAll()
DrsFBOCache.h47 Allocation **colorTargets; member
DrsContext.cpp590 if (mFBOCache.mHal.state.colorTargets[i] != nullptr) { in getCurrentSurfaceWidth()
591 return mFBOCache.mHal.state.colorTargets[i]->getType()->getDimX(); in getCurrentSurfaceWidth()
602 if (mFBOCache.mHal.state.colorTargets[i] != nullptr) { in getCurrentSurfaceHeight()
603 return mFBOCache.mHal.state.colorTargets[i]->getType()->getDimY(); in getCurrentSurfaceHeight()