Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrResourceCache.h68 class ResourceAccess; variable
69 ResourceAccess resourceAccess();
392 class GrResourceCache::ResourceAccess {
394 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
395 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
396 ResourceAccess& operator=(const ResourceAccess&); // unimpl
461 const ResourceAccess* operator&() const;
462 ResourceAccess* operator&();
470 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
471 return ResourceAccess(this); in resourceAccess()
DGrGpuResource.cpp176 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero()
188 uint32_t flags = GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
190 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
DGrResourceCache.cpp430 if (SkToBool(ResourceAccess::kRefCntReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()
456 if (!SkToBool(ResourceAccess::kAllCntsReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()
/third_party/skia/src/gpu/
DGrResourceCache.h70 class ResourceAccess; variable
71 ResourceAccess resourceAccess();
392 class GrResourceCache::ResourceAccess {
394 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
395 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
396 ResourceAccess& operator=(const ResourceAccess&) = delete;
458 const ResourceAccess* operator&() const;
459 ResourceAccess* operator&();
467 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
468 return ResourceAccess(this); in resourceAccess()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp96 ResourceAccess type;
129 ResourceAccess::ReadOnly,
144 ResourceAccess::Write,
159 ResourceAccess::Write,
174 ResourceAccess::Write,
190 ResourceAccess::Write,
205 ResourceAccess::Write,
221 ResourceAccess::ReadOnly,
236 ResourceAccess::ReadOnly,
251 ResourceAccess::ReadOnly,
[all …]
Dvk_helpers.h1187 void onDepthAccess(ResourceAccess access);
1188 void onStencilAccess(ResourceAccess access);
1196 return mDepthAccess == ResourceAccess::Write || mStencilAccess == ResourceAccess::Write || in hasDepthStencilWriteOrClear()
1225 bool onDepthStencilAccess(ResourceAccess access,
1242 ResourceAccess access,
1295 ResourceAccess mDepthAccess;
1297 ResourceAccess mStencilAccess;
Dvk_cache_utils.h89 enum ResourceAccess enum
96 inline void UpdateAccess(ResourceAccess *oldAccess, ResourceAccess newAccess) in UpdateAccess()
147 void updateDepthStencilAccess(ResourceAccess access);
DContextVk.cpp285 vk::ResourceAccess GetDepthAccess(const gl::DepthStencilState &dsState) in GetDepthAccess()
289 return vk::ResourceAccess::Unused; in GetDepthAccess()
291 return dsState.isDepthMaskedOut() ? vk::ResourceAccess::ReadOnly : vk::ResourceAccess::Write; in GetDepthAccess()
294 vk::ResourceAccess GetStencilAccess(const gl::DepthStencilState &dsState) in GetStencilAccess()
298 return vk::ResourceAccess::Unused; in GetStencilAccess()
301 return dsState.isStencilNoOp() && dsState.isStencilBackNoOp() ? vk::ResourceAccess::ReadOnly in GetStencilAccess()
302 : vk::ResourceAccess::Write; in GetStencilAccess()
5886 vk::ResourceAccess depthAccess = GetDepthAccess(dsState); in startRenderPass()
5887 vk::ResourceAccess stencilAccess = GetStencilAccess(dsState); in startRenderPass()
6415 vk::ResourceAccess depthAccess = GetDepthAccess(dsState); in updateRenderPassDepthStencilAccess()
[all …]
DUtilsVk.cpp1993 renderpassCommands->onDepthAccess(vk::ResourceAccess::Write); in clearFramebuffer()
1997 renderpassCommands->onStencilAccess(vk::ResourceAccess::Write); in clearFramebuffer()
2422 renderPassCommands->onDepthAccess(vk::ResourceAccess::Write); in blitResolveImpl()
2427 renderPassCommands->onStencilAccess(vk::ResourceAccess::Write); in blitResolveImpl()
DFramebufferVk.cpp2376 renderpassCommands->onDepthAccess(vk::ResourceAccess::Write); in clearWithCommand()
2384 renderpassCommands->onStencilAccess(vk::ResourceAccess::Write); in clearWithCommand()