Home
last modified time | relevance | path

Searched refs:GrInternalSurfaceFlags (Results 1 – 25 of 60) sorted by relevance

123

/external/skqp/include/gpu/
DGrSurface.h72 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/
DGrTextureRenderTargetProxy.cpp28 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()
DGrProxyProvider.h70 GrInternalSurfaceFlags = GrInternalSurfaceFlags::kNone);
92 GrInternalSurfaceFlags);
97 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone) {
166 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted,
171 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted);
182 GrInternalSurfaceFlags,
DGrRenderTargetProxy.cpp25 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()
DGrTextureProxy.cpp22 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()
DGrProxyProvider.cpp185 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 …]
DGrSurfaceProxy.cpp54 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()
DGrTextureRenderTargetProxy.h33 GrInternalSurfaceFlags);
38 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
DGrSWMaskHelper.cpp110 auto surfaceFlags = GrInternalSurfaceFlags::kNone; in toTextureProxy()
114 surfaceFlags |= GrInternalSurfaceFlags::kNoPendingIO; in toTextureProxy()
/external/skia/src/gpu/
DGrTextureRenderTargetProxy.cpp28 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()
DGrProxyProvider.h66 GrInternalSurfaceFlags = GrInternalSurfaceFlags::kNone);
88 GrInternalSurfaceFlags);
93 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone) {
164 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted,
169 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted);
180 GrInternalSurfaceFlags,
DGrRenderTargetProxy.cpp25 GrInternalSurfaceFlags surfaceFlags) in GrRenderTargetProxy()
42 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags, in GrRenderTargetProxy()
122 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags; in onValidateSurface()
123 GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); in onValidateSurface()
124 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kRenderTargetMask) == in onValidateSurface()
125 (surfaceFlags & GrInternalSurfaceFlags::kRenderTargetMask)); in onValidateSurface()
DGrTextureProxy.cpp22 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()
DGrProxyProvider.cpp197 GrInternalSurfaceFlags surfaceFlags) { in createTextureProxy()
237 surfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in createTextureProxy()
255 if (surfaceFlags & GrInternalSurfaceFlags::kNoPendingIO) { in createTextureProxy()
294 budgeted, GrInternalSurfaceFlags::kNone); in createMipMapProxy()
400 GrInternalSurfaceFlags surfaceFlags) { in createProxy()
639 GrInternalSurfaceFlags::kNone, fit, budgeted); in createLazyProxy()
647 GrInternalSurfaceFlags surfaceFlags, in createLazyProxy()
662 GrInternalSurfaceFlags surfaceFlags, in createLazyProxy()
677 if (SkToBool(surfaceFlags & GrInternalSurfaceFlags::kMixedSampled)) { in createLazyProxy()
693 const GrSurfaceDesc& desc, GrSurfaceOrigin origin, GrInternalSurfaceFlags surfaceFlags, in createLazyRenderTargetProxy()
[all …]
DGrSurfaceProxy.cpp56 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags) in GrSurfaceProxy()
80 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrSurfaceProxy()
144 if ((fSurfaceFlags & GrInternalSurfaceFlags::kNoPendingIO) || in createSurfaceImpl()
486 GrInternalSurfaceFlags proxyFlags = fSurfaceFlags & ~GrInternalSurfaceFlags::kNoPendingIO; in validateSurface()
487 GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); in validateSurface()
488 SkASSERT((proxyFlags & GrInternalSurfaceFlags::kSurfaceMask) == in validateSurface()
489 (surfaceFlags & GrInternalSurfaceFlags::kSurfaceMask)); in validateSurface()
DGrTextureRenderTargetProxy.h33 GrInternalSurfaceFlags);
38 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
/external/skia/include/gpu/
DGrSurface.h86 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
91 fSurfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in setHasMixedSamples()
93 bool hasMixedSamples() const { return fSurfaceFlags & GrInternalSurfaceFlags::kMixedSampled; } in hasMixedSamples()
97 fSurfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in setGLRTFBOIDIs0()
100 return fSurfaceFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0; in glRTFBOIDis0()
105 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly()
121 , fSurfaceFlags(GrInternalSurfaceFlags::kNone) { in GrSurface()
148 GrInternalSurfaceFlags fSurfaceFlags;
/external/skqp/include/private/
DGrRenderTargetProxy.h72 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()
DGrTextureProxy.h92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
96 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
110 SkBudgeted, GrInternalSurfaceFlags);
DGrSurfaceProxy.h370 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/include/private/
DGrRenderTargetProxy.h72 GrSurfaceOrigin, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
88 SkBackingFit, SkBudgeted, GrInternalSurfaceFlags,
99 fSurfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in setHasMixedSamples()
101 bool hasMixedSamples() const { return fSurfaceFlags & GrInternalSurfaceFlags::kMixedSampled; } in hasMixedSamples()
104 fSurfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in setGLRTFBOIDIs0()
107 return fSurfaceFlags & GrInternalSurfaceFlags::kGLRTFBOIDIs0; in glRTFBOIDIs0()
DGrTextureProxy.h92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
96 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
110 SkBudgeted, GrInternalSurfaceFlags);
DGrSurfaceProxy.h372 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
421 GrInternalSurfaceFlags testingOnly_getFlags() const;
427 SkBudgeted budgeted, GrInternalSurfaceFlags surfaceFlags) in GrSurfaceProxy()
438 SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
477 GrInternalSurfaceFlags fSurfaceFlags;
/external/skia/src/core/
DSkDeferredDisplayListRecorder.cpp143 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone; in init()
146 surfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in init()
149 surfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in init()
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp133 GrInternalSurfaceFlags surfaceFlags = GrInternalSurfaceFlags::kNone; in init()
136 surfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; in init()
139 surfaceFlags |= GrInternalSurfaceFlags::kGLRTFBOIDIs0; in init()

123