Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/
DGrRenderTargetProxy.cpp27 , fSampleCnt(desc.fSampleCnt) in GrRenderTargetProxy()
32 if (caps.usesMixedSamples() && fSampleCnt > 1) { in GrRenderTargetProxy()
46 , fSampleCnt(desc.fSampleCnt) in GrRenderTargetProxy()
56 , fSampleCnt(fTarget->asRenderTarget()->numStencilSamples()) in GrRenderTargetProxy()
71 if (!this->instantiateImpl(resourceProvider, fSampleCnt, fNeedsStencil, kDescFlags, in instantiate()
83 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, fSampleCnt, fNeedsStencil, in createSurface()
DGrRenderTarget.cpp25 , fSampleCnt(desc.fSampleCnt) in GrRenderTarget()
29 SkASSERT(!this->hasMixedSamples() || fSampleCnt > 1); in GrRenderTarget()
95 SkASSERT(fRenderTarget->fSampleCnt > 1); in getSamplePatternKey()
DGrStencilAttachment.h27 int numSamples() const { return fSampleCnt; } in numSamples()
43 , fSampleCnt(sampleCnt) in GrStencilAttachment()
53 int fSampleCnt; variable
DGrBackendSurface.cpp458 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
473 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
487 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
503 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget()
532 fSampleCnt = that.fSampleCnt; in operator =()
623 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()
/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/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/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/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()
122 int fSampleCnt;
/external/skia/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/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/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/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/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/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()

1234