Lines Matching refs:mResource
52 mResource(nullptr), in FramebufferAttachment()
65 : mResource(nullptr) in FramebufferAttachment()
81 std::swap(mResource, other.mResource); in operator =()
97 if (mResource != nullptr) in detach()
99 mResource->onDetach(context, framebufferSerial); in detach()
100 mResource = nullptr; in detach()
135 if (mResource != nullptr) in attach()
137 mResource->onDetach(context, framebufferSerial); in attach()
140 mResource = resource; in attach()
185 return mResource->getId(); in id()
227 return rx::GetAs<Texture>(mResource); in getTexture()
232 return rx::GetAs<Renderbuffer>(mResource); in getRenderbuffer()
237 return rx::GetAs<egl::Surface>(mResource); in getSurface()
242 return mResource; in getResource()
247 if (mResource != other.mResource || mType != other.mType || mNumViews != other.mNumViews || in operator ==()
269 return mResource ? mResource->initState(mTarget.textureIndex()) : InitState::Initialized; in initState()
274 ASSERT(mResource); in initializeContents()
275 ANGLE_TRY(mResource->initializeContents(context, mTarget.textureIndex())); in initializeContents()
282 ASSERT(mResource); in setInitState()
283 mResource->setInitState(mTarget.textureIndex(), initState); in setInitState()