Home
last modified time | relevance | path

Searched refs:ResourceAccess (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/gpu/
DGrResourceCache.h67 class ResourceAccess; variable
68 ResourceAccess resourceAccess();
368 class GrResourceCache::ResourceAccess {
370 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
371 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
372 ResourceAccess& operator=(const ResourceAccess&); // unimpl
431 const ResourceAccess* operator&() const;
432 ResourceAccess* operator&();
440 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
441 return ResourceAccess(this); in resourceAccess()
DGrGpuResource.cpp171 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero()
182 uint32_t flags = GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
184 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
DGrResourceCache.cpp395 if (SkToBool(ResourceAccess::kRefCntReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()
408 if (!SkToBool(ResourceAccess::kAllCntsReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()
/external/skia/src/gpu/
DGrResourceCache.h70 class ResourceAccess; variable
71 ResourceAccess resourceAccess();
393 class GrResourceCache::ResourceAccess {
395 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
396 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
397 ResourceAccess& operator=(const ResourceAccess&) = delete;
459 const ResourceAccess* operator&() const;
460 ResourceAccess* operator&();
468 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
469 return ResourceAccess(this); in resourceAccess()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp95 ResourceAccess type;
128 ResourceAccess::ReadOnly,
143 ResourceAccess::Write,
158 ResourceAccess::Write,
173 ResourceAccess::Write,
189 ResourceAccess::Write,
204 ResourceAccess::Write,
220 ResourceAccess::ReadOnly,
235 ResourceAccess::ReadOnly,
250 ResourceAccess::ReadOnly,
[all …]
Dvk_helpers.h1184 void onDepthAccess(ResourceAccess access);
1185 void onStencilAccess(ResourceAccess access);
1193 return mDepthAccess == ResourceAccess::Write || mStencilAccess == ResourceAccess::Write || in hasDepthStencilWriteOrClear()
1220 bool onDepthStencilAccess(ResourceAccess access,
1283 ResourceAccess mDepthAccess;
1285 ResourceAccess mStencilAccess;
Dvk_cache_utils.h90 enum ResourceAccess enum
97 inline void UpdateAccess(ResourceAccess *oldAccess, ResourceAccess newAccess) in UpdateAccess()
150 void updateDepthStencilAccess(ResourceAccess access);
DContextVk.cpp267 vk::ResourceAccess GetDepthAccess(const gl::DepthStencilState &dsState) in GetDepthAccess()
271 return vk::ResourceAccess::Unused; in GetDepthAccess()
273 return dsState.isDepthMaskedOut() ? vk::ResourceAccess::ReadOnly : vk::ResourceAccess::Write; in GetDepthAccess()
276 vk::ResourceAccess GetStencilAccess(const gl::DepthStencilState &dsState) in GetStencilAccess()
280 return vk::ResourceAccess::Unused; in GetStencilAccess()
283 return dsState.isStencilNoOp() && dsState.isStencilBackNoOp() ? vk::ResourceAccess::ReadOnly in GetStencilAccess()
284 : vk::ResourceAccess::Write; in GetStencilAccess()
5571 vk::ResourceAccess depthAccess = GetDepthAccess(dsState); in startRenderPass()
5572 vk::ResourceAccess stencilAccess = GetStencilAccess(dsState); in startRenderPass()
6071 vk::ResourceAccess depthAccess = GetDepthAccess(dsState); in updateRenderPassDepthStencilAccess()
[all …]
DUtilsVk.cpp2005 renderpassCommands->onDepthAccess(vk::ResourceAccess::Write); in clearFramebuffer()
2009 renderpassCommands->onStencilAccess(vk::ResourceAccess::Write); in clearFramebuffer()
2325 renderPassCommands->onDepthAccess(vk::ResourceAccess::Write); in blitResolveImpl()
2330 renderPassCommands->onStencilAccess(vk::ResourceAccess::Write); in blitResolveImpl()
DFramebufferVk.cpp2352 renderpassCommands->onDepthAccess(vk::ResourceAccess::Write); in clearWithCommand()
2360 renderpassCommands->onStencilAccess(vk::ResourceAccess::Write); in clearWithCommand()