/external/skia/src/gpu/ |
D | GrSurface.h | 69 GrInternalSurfaceFlags flags() const { return fSurfaceFlags; } in flags() 78 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly() 81 return fSurfaceFlags & GrInternalSurfaceFlags::kFramebufferOnly; in framebufferOnly() 89 fSurfaceFlags |= GrInternalSurfaceFlags::kFramebufferOnly; in setFramebufferOnly() 97 fSurfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in setGLRTFBOIDIs0() 100 return fSurfaceFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0; in glRTFBOIDis0() 106 fSurfaceFlags |= GrInternalSurfaceFlags::kRequiresManualMSAAResolve; in setRequiresManualMSAAResolve() 109 return fSurfaceFlags & GrInternalSurfaceFlags::kRequiresManualMSAAResolve; in requiresManualMSAAResolve() 114 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly() 119 fSurfaceFlags |= GrInternalSurfaceFlags::kVkRTSupportsInputAttachment; in setVkRTSupportsInputAttachment() [all …]
|
D | GrRenderTargetProxy.cpp | 34 GrInternalSurfaceFlags surfaceFlags, in GrRenderTargetProxy() 48 GrInternalSurfaceFlags surfaceFlags, in GrRenderTargetProxy() 176 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface() 177 GrInternalSurfaceFlags surfaceFlags = surface->flags(); in onValidateSurface() 178 if (proxyFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0 && this->numSamples() == 1) { in onValidateSurface() 183 surfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in onValidateSurface() 191 if (proxyFlags & GrInternalSurfaceFlags::kVkRTSupportsInputAttachment) { in onValidateSurface() 192 SkASSERT(surfaceFlags & GrInternalSurfaceFlags::kVkRTSupportsInputAttachment); in onValidateSurface()
|
D | GrTextureRenderTargetProxy.cpp | 34 GrInternalSurfaceFlags surfaceFlags, in GrTextureRenderTargetProxy() 57 GrInternalSurfaceFlags surfaceFlags, in GrTextureRenderTargetProxy() 101 fSurfaceFlags |= GrInternalSurfaceFlags::kRequiresManualMSAAResolve; in initSurfaceFlags() 187 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface() 188 GrInternalSurfaceFlags surfaceFlags = surface->flags(); in onValidateSurface() 191 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface() 192 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface() 200 if (proxyFlags & GrInternalSurfaceFlags::kVkRTSupportsInputAttachment) { in onValidateSurface() 201 SkASSERT(surfaceFlags & GrInternalSurfaceFlags::kVkRTSupportsInputAttachment); in onValidateSurface()
|
D | GrTextureProxy.cpp | 26 GrInternalSurfaceFlags surfaceFlags, in GrTextureProxy() 36 SkASSERT(!(fSurfaceFlags & GrInternalSurfaceFlags::kFramebufferOnly)); in GrTextureProxy() 38 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrTextureProxy() 51 GrInternalSurfaceFlags surfaceFlags, in GrTextureProxy() 62 SkASSERT(!(fSurfaceFlags & GrInternalSurfaceFlags::kFramebufferOnly)); in GrTextureProxy() 64 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrTextureProxy() 84 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrTextureProxy() 222 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface() 223 GrInternalSurfaceFlags surfaceFlags = surface->flags(); in onValidateSurface()
|
D | GrRenderTargetProxy.h | 76 bool glRTFBOIDIs0() const { return fSurfaceFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0; } in glRTFBOIDIs0() 81 return fSurfaceFlags & GrInternalSurfaceFlags::kVkRTSupportsInputAttachment; in supportsVkInputAttachment() 131 GrInternalSurfaceFlags, 153 GrInternalSurfaceFlags,
|
D | GrSurfaceProxy.h | 268 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly() 270 return fSurfaceFlags & GrInternalSurfaceFlags::kFramebufferOnly; in framebufferOnly() 280 return fSurfaceFlags & GrInternalSurfaceFlags::kRequiresManualMSAAResolve; in requiresManualMSAAResolve() 336 GrInternalSurfaceFlags testingOnly_getFlags() const; 365 GrInternalSurfaceFlags, 374 GrInternalSurfaceFlags, 422 GrInternalSurfaceFlags fSurfaceFlags;
|
D | GrProxyProvider.h | 93 GrInternalSurfaceFlags = GrInternalSurfaceFlags::kNone, 178 GrInternalSurfaceFlags, 189 GrInternalSurfaceFlags,
|
D | GrTextureRenderTargetProxy.h | 40 GrInternalSurfaceFlags, 55 GrInternalSurfaceFlags,
|
D | GrProxyProvider.cpp | 334 GrInternalSurfaceFlags::kNone, fit, budgeted, GrProtected::kNo, UseAllocator::kYes); in createNonMippedProxyFromBitmap() 381 format, dims, GrMipmapped::kYes, GrMipmapStatus::kValid, GrInternalSurfaceFlags::kNone, in createMippedProxyFromBitmap() 401 GrInternalSurfaceFlags surfaceFlags, in createProxy() 433 GrInternalSurfaceFlags extraFlags = caps->getExtraSurfaceFlagsForDeferredRT(); in createProxy() 470 format, dimensions, mipMapped, mipmapStatus,GrInternalSurfaceFlags::kReadOnly, in createCompressedTextureProxy() 700 GrInternalSurfaceFlags::kReadOnly, in CreatePromiseProxy() 712 GrInternalSurfaceFlags surfaceFlags, in createLazyProxy() 751 GrInternalSurfaceFlags surfaceFlags, in createLazyRenderTargetProxy() 805 GrInternalSurfaceFlags surfaceFlags = caps.getExtraSurfaceFlagsForDeferredRT(); in MakeFullyLazyProxy()
|
D | GrTextureProxy.h | 118 GrInternalSurfaceFlags, 140 GrInternalSurfaceFlags,
|
/external/skqp/include/gpu/ |
D | GrSurface.h | 72 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly() 77 fSurfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in setHasMixedSamples() 79 bool hasMixedSamples() const { return fSurfaceFlags & GrInternalSurfaceFlags::kMixedSampled; } in hasMixedSamples() 83 fSurfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in setGLRTFBOIDIs0() 86 return fSurfaceFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0; in glRTFBOIDis0() 91 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly() 107 , fSurfaceFlags(GrInternalSurfaceFlags::kNone) { in GrSurface() 121 GrInternalSurfaceFlags fSurfaceFlags;
|
/external/skqp/src/gpu/ |
D | GrTextureRenderTargetProxy.cpp | 28 GrInternalSurfaceFlags surfaceFlags) in GrTextureRenderTargetProxy() 43 GrInternalSurfaceFlags surfaceFlags) in GrTextureRenderTargetProxy() 129 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface() 130 GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); in onValidateSurface() 133 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface() 134 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface() 136 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kRenderTargetMask) == in onValidateSurface() 137 (surfaceFlags & GrInternalSurfaceFlags::kRenderTargetMask)); in onValidateSurface() 138 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kTextureMask) == in onValidateSurface() 139 (surfaceFlags & GrInternalSurfaceFlags::kTextureMask)); in onValidateSurface()
|
D | GrProxyProvider.h | 70 GrInternalSurfaceFlags = GrInternalSurfaceFlags::kNone); 92 GrInternalSurfaceFlags); 97 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone) { 166 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted, 171 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted); 182 GrInternalSurfaceFlags,
|
D | GrRenderTargetProxy.cpp | 25 GrInternalSurfaceFlags surfaceFlags) in GrRenderTargetProxy() 42 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags) in GrRenderTargetProxy() 121 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface() 122 GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); in onValidateSurface() 123 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kRenderTargetMask) == in onValidateSurface() 124 (surfaceFlags & GrInternalSurfaceFlags::kRenderTargetMask)); in onValidateSurface()
|
D | GrTextureProxy.cpp | 22 GrInternalSurfaceFlags surfaceFlags) in GrTextureProxy() 34 GrInternalSurfaceFlags surfaceFlags) in GrTextureProxy() 44 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags) in GrTextureProxy() 180 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface() 181 GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); in onValidateSurface() 182 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kTextureMask) == in onValidateSurface() 183 (surfaceFlags & GrInternalSurfaceFlags::kTextureMask)); in onValidateSurface()
|
D | GrProxyProvider.cpp | 185 GrInternalSurfaceFlags surfaceFlags) { in createTextureProxy() 225 surfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in createTextureProxy() 248 if (surfaceFlags & GrInternalSurfaceFlags::kNoPendingIO) { in createTextureProxy() 284 budgeted, GrInternalSurfaceFlags::kNone); in createMipMapProxy() 385 GrInternalSurfaceFlags surfaceFlags) { in createProxy() 602 GrInternalSurfaceFlags::kNone, fit, budgeted); in createLazyProxy() 610 GrInternalSurfaceFlags surfaceFlags, in createLazyProxy() 625 GrInternalSurfaceFlags surfaceFlags, in createLazyProxy() 639 if (SkToBool(surfaceFlags & GrInternalSurfaceFlags::kMixedSampled)) { in createLazyProxy() 655 const GrSurfaceDesc& desc, GrSurfaceOrigin origin, GrInternalSurfaceFlags surfaceFlags, in createLazyRenderTargetProxy() [all …]
|
D | GrSurfaceProxy.cpp | 54 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags) in GrSurfaceProxy() 78 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrSurfaceProxy() 147 if ((fSurfaceFlags & GrInternalSurfaceFlags::kNoPendingIO) || in createSurfaceImpl() 489 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags & ~GrInternalSurfaceFlags::kNoPendingIO; in validateSurface() 490 GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); in validateSurface() 491 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kSurfaceMask) == in validateSurface() 492 (surfaceFlags & GrInternalSurfaceFlags::kSurfaceMask)); in validateSurface()
|
D | GrTextureRenderTargetProxy.h | 33 GrInternalSurfaceFlags); 38 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
|
D | GrSWMaskHelper.cpp | 110 auto surfaceFlags = GrInternalSurfaceFlags::kNone; in toTextureProxy() 114 surfaceFlags |= GrInternalSurfaceFlags::kNoPendingIO; in toTextureProxy()
|
/external/skqp/include/private/ |
D | GrRenderTargetProxy.h | 72 GrSurfaceOrigin, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); 86 SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); 97 fSurfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in setHasMixedSamples() 99 bool hasMixedSamples() const { return fSurfaceFlags & GrInternalSurfaceFlags::kMixedSampled; } in hasMixedSamples() 102 fSurfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in setGLRTFBOIDIs0() 105 return fSurfaceFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0; in glRTFBOIDIs0()
|
D | GrTextureProxy.h | 92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags); 96 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); 110 SkBudgeted, GrInternalSurfaceFlags);
|
D | GrSurfaceProxy.h | 370 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly() 418 GrInternalSurfaceFlags testingOnly_getFlags() const; 424 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags) in GrSurfaceProxy() 435 SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); 474 GrInternalSurfaceFlags fSurfaceFlags;
|
/external/skia/src/core/ |
D | SkDeferredDisplayListRecorder.cpp | 140 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone; in init() 142 surfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in init() 145 surfaceFlags |= GrInternalSurfaceFlags::kRequiresManualMSAAResolve; in init() 149 surfaceFlags |= GrInternalSurfaceFlags::kVkRTSupportsInputAttachment; in init()
|
/external/skqp/src/core/ |
D | SkDeferredDisplayListRecorder.cpp | 133 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone; in init() 136 surfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in init() 139 surfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in init()
|
/external/skia/src/image/ |
D | SkSurface_GpuMtl.mm | 77 sampleCnt > 1 ? GrInternalSurfaceFlags::kRequiresManualMSAAResolve 78 : GrInternalSurfaceFlags::kNone, 147 sampleCnt > 1 ? GrInternalSurfaceFlags::kRequiresManualMSAAResolve 148 : GrInternalSurfaceFlags::kNone,
|