Home
last modified time | relevance | path

Searched refs:fSampleCnt (Results 1 – 25 of 62) sorted by relevance

123

/external/skqp/src/gpu/
DGrRenderTargetProxy.cpp27 , fSampleCnt(desc.fSampleCnt) in GrRenderTargetProxy()
32 if (caps.usesMixedSamples() && fSampleCnt > 1) { in GrRenderTargetProxy()
45 , fSampleCnt(desc.fSampleCnt) in GrRenderTargetProxy()
55 , fSampleCnt(fTarget->asRenderTarget()->numStencilSamples()) in GrRenderTargetProxy()
70 if (!this->instantiateImpl(resourceProvider, fSampleCnt, fNeedsStencil, kDescFlags, in instantiate()
82 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, fSampleCnt, fNeedsStencil, in createSurface()
DGrStencilAttachment.h27 int numSamples() const { return fSampleCnt; } in numSamples()
43 , fSampleCnt(sampleCnt) in GrStencilAttachment()
53 int fSampleCnt; variable
DGrRenderTarget.cpp24 , fSampleCnt(desc.fSampleCnt) in GrRenderTarget()
27 SkASSERT(!this->hasMixedSamples() || fSampleCnt > 1); in GrRenderTarget()
DGrBackendSurface.cpp448 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
463 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
477 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
493 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
522 fSampleCnt = that.fSampleCnt; in operator =()
613 r0.fSampleCnt != r1.fSampleCnt || in TestingOnly_Equals()
DGrSurface.cpp32 SkASSERT(desc.fSampleCnt >= 1); in WorstCaseSize()
33 int colorValuesPerPixel = desc.fSampleCnt; in WorstCaseSize()
34 if (desc.fSampleCnt > 1) { in WorstCaseSize()
DGrGpu.cpp117 desc.fSampleCnt = this->caps()->getRenderTargetSampleCount(desc.fSampleCnt, desc.fConfig); in createTexture()
120 SkASSERT(desc.fSampleCnt > 0 && desc.fSampleCnt <= 64); in createTexture()
128 SkASSERT(!GrPixelConfigIsCompressed(desc.fConfig) || 1 == desc.fSampleCnt); in createTexture()
/external/skqp/include/gpu/
DGrRenderTarget.h36 bool isStencilBufferMultisampled() const { return fSampleCnt > 1; } in isStencilBufferMultisampled()
39 SkASSERT(fSampleCnt >= 1); in fsaaType()
40 if (fSampleCnt <= 1) { in fsaaType()
50 int numStencilSamples() const { return fSampleCnt; } in numStencilSamples()
56 return GrFSAAType::kMixedSamples == this->fsaaType() ? 1 : fSampleCnt; in numColorSamples()
128 int fSampleCnt; variable
/external/skia/src/core/
DSkSurfaceCharacterization.cpp23 SkASSERT(fSampleCnt && caps->isFormatAsColorTypeRenderable(grCT, fBackendFormat, fSampleCnt)); in validate()
55 fSampleCnt == other.fSampleCnt && in operator ==()
77 fSampleCnt, fIsTextureable, fIsMipMapped, fUsesGLFBO0, in createResized()
91 fOrigin, fSampleCnt, fIsTextureable, fIsMipMapped, fUsesGLFBO0, in createColorSpace()
106 fOrigin, fSampleCnt, fIsTextureable, fIsMipMapped, fUsesGLFBO0, in createBackendFormat()
125 fOrigin, fSampleCnt, fIsTextureable, fIsMipMapped, in createFBO0()
/external/skqp/include/private/
DGrRenderTargetProxy.h30 if (fSampleCnt <= 1) { in fsaaType()
46 int numStencilSamples() const { return fSampleCnt; } in numStencilSamples()
52 return GrFSAAType::kMixedSamples == this->fsaaType() ? 1 : fSampleCnt; in numColorSamples()
120 int fSampleCnt;
/external/skia/src/gpu/
DGrRenderTargetProxy.cpp37 , fSampleCnt(sampleCount) in GrRenderTargetProxy()
53 , fSampleCnt(sampleCount) in GrRenderTargetProxy()
61 , fSampleCnt(fTarget->asRenderTarget()->numSamples()) in GrRenderTargetProxy()
82 if (!this->instantiateImpl(resourceProvider, fSampleCnt, GrRenderable::kYes, GrMipmapped::kNo, in instantiate()
120 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, fSampleCnt, in createSurface()
DGrAttachment.h38 int numSamples() const { return fSampleCnt; } in numSamples()
75 , fSampleCnt(sampleCnt) in GrAttachment()
93 int fSampleCnt; variable
DGrRenderTarget.h40 int numSamples() const { return fSampleCnt; } in numSamples()
89 int fSampleCnt; variable
DGrBackendSurface.cpp872 , fSampleCnt(sampleCnt) in GrBackendRenderTarget()
911 , fSampleCnt(std::max(1U, vkInfo.fSampleCount)) in GrBackendRenderTarget()
924 , fSampleCnt(std::max(1, GrMtlTextureInfoSampleCount(mtlInfo))) in GrBackendRenderTarget()
950 , fSampleCnt(std::max(1U, d3dInfo.fSampleCount)) in GrBackendRenderTarget()
963 , fSampleCnt(std::max(1, sampleCnt)) in GrBackendRenderTarget()
979 , fSampleCnt(std::max(1, sampleCnt)) in GrBackendRenderTarget()
1015 fSampleCnt = that.fSampleCnt; in operator =()
1205 r0.fSampleCnt != r1.fSampleCnt || in TestingOnly_Equals()
DGrRenderTargetProxy.h72 int numSamples() const { return fSampleCnt; } in numSamples()
177 int8_t fSampleCnt; variable
/external/skqp/src/gpu/vk/
DGrVkRenderTarget.cpp43 SkASSERT(desc.fSampleCnt > 1); in GrVkRenderTarget()
69 SkASSERT(desc.fSampleCnt > 1); in GrVkRenderTarget()
88 SkASSERT(1 == desc.fSampleCnt); in GrVkRenderTarget()
109 SkASSERT(1 == desc.fSampleCnt); in GrVkRenderTarget()
146 if (desc.fSampleCnt > 1) { in MakeWrappedRenderTarget()
153 msImageDesc.fSamples = desc.fSampleCnt; in MakeWrappedRenderTarget()
186 if (desc.fSampleCnt > 1) { in MakeWrappedRenderTarget()
194 if (desc.fSampleCnt > 1) { in MakeWrappedRenderTarget()
DGrVkTextureRenderTarget.cpp121 if (desc.fSampleCnt > 1) { in create_views()
128 msImageDesc.fSamples = desc.fSampleCnt; in create_views()
161 if (desc.fSampleCnt > 1) { in create_views()
191 if (desc.fSampleCnt > 1) { in MakeNewTextureRenderTarget()
222 if (desc.fSampleCnt > 1) { in MakeWrappedTextureRenderTarget()
/external/skia/include/core/
DSkSurfaceCharacterization.h47 , fSampleCnt(0) in SkSurfaceCharacterization()
102 int sampleCount() const { return fSampleCnt; } in sampleCount()
147 , fSampleCnt(sampleCnt) in SkSurfaceCharacterization()
177 fSampleCnt = sampleCnt; in set()
195 int fSampleCnt; variable
/external/skia/src/image/
DSkSurface_GpuMtl.mm61 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture);
64 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture,
67 if (surface && desc.fSampleCnt > 1) {
132 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture);
135 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture,
138 if (surface && desc.fSampleCnt > 1) {
/external/skqp/src/utils/win/
DSkWGL_win.cpp109 int fSampleCnt; member
114 if (a.fSampleCnt < b.fSampleCnt) { in pf_less()
116 } else if (b.fSampleCnt < a.fSampleCnt) { in pf_less()
150 rankedFormats[i].fSampleCnt = SkTMax(1, numSamples); in selectFormat()
164 if (desiredSampleCount == 1 && rankedFormats[idx].fSampleCnt != 1) { in selectFormat()
/external/skia/src/utils/win/
DSkWGL_win.cpp109 int fSampleCnt; member
114 if (a.fSampleCnt < b.fSampleCnt) { in pf_less()
116 } else if (b.fSampleCnt < a.fSampleCnt) { in pf_less()
150 rankedFormats[i].fSampleCnt = std::max(1, numSamples); in selectFormat()
162 if (desiredSampleCount == 1 && rankedFormats[idx].fSampleCnt != 1) { in selectFormat()
/external/skqp/tests/
DResourceAllocatorTest.cpp29 int fSampleCnt; member
44 desc.fSampleCnt = p.fSampleCnt; in make_deferred()
300 desc.fSampleCnt = p.fSampleCnt; in make_lazy()
331 texParams.fSampleCnt = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBlendTest.cpp98 backingDesc.fSampleCnt = sampleCnt; in create_gpu_surface_backend_texture_as_render_target()
139 int fSampleCnt; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() member
156 int sampleCnt = testCase.fSampleCnt; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/src/gpu/mtl/
DGrMtlTextureRenderTarget.mm42 if (desc.fSampleCnt > 1) {
59 if (desc.fSampleCnt > 1) {
DGrMtlRenderTarget.mm22 SkASSERT(1 == desc.fSampleCnt);
34 SkASSERT(1 == desc.fSampleCnt);
DGrMtlTexture.mm57 if (desc.fSampleCnt > 1) {
72 if (desc.fSampleCnt > 1) {

123