Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
DFramebufferAttachment.cpp52 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()
[all …]
DFramebufferAttachment.h194 FramebufferAttachmentObject *mResource; variable
244 ASSERT(mResource); in getSize()
245 return mResource->getAttachmentSize(mTarget.textureIndex()); in getSize()
250 ASSERT(mResource); in getFormat()
251 return mResource->getAttachmentFormat(mTarget.binding(), mTarget.textureIndex()); in getFormat()
262 ASSERT(mResource); in getResourceSamples()
263 return mResource->getAttachmentSamples(mTarget.textureIndex()); in getResourceSamples()
271 ASSERT(mResource); in getRenderTargetImpl()
272 return mResource->getAttachmentRenderTarget(context, mTarget.binding(), mTarget.textureIndex(), in getRenderTargetImpl()
278 ASSERT(mResource); in isRenderable()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.h226 constexpr LazyResource() : mResource() {} in LazyResource()
230 void reset() { mResource.reset(); } in reset()
233 ASSERT(mResource.valid()); in get()
234 return mResource.get(); in get()
237 const Resource11<GetD3D11Type<ResourceT>> &getObj() const { return mResource; } in getObj()
240 LazyResource(LazyResource &&other) : mResource(std::move(other.mResource)) {} in LazyResource()
249 Resource11<GetD3D11Type<ResourceT>> mResource; variable
Drenderer11_utils.cpp2320 if (!mResource.valid()) in resolveImpl()
2322 ANGLE_TRY(renderer->allocateResource(context, desc, initData, &mResource)); in resolveImpl()
2323 mResource.setDebugName(name); in resolveImpl()