Home
last modified time | relevance | path

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

12

/external/skia/include/private/
DGrRenderTargetProxy.h29 bool isStencilBufferMultisampled() const { return fDesc.fSampleCnt > 0; } in isStencilBufferMultisampled()
40 bool isUnifiedMultisampled() const { return fDesc.fSampleCnt > 0 && !this->isMixedSampled(); } in isUnifiedMultisampled()
45 int numStencilSamples() const { return fDesc.fSampleCnt; } in numStencilSamples()
50 int numColorSamples() const { return this->isMixedSampled() ? 0 : fDesc.fSampleCnt; } in numColorSamples()
/external/skia/include/gpu/
DGrRenderTarget.h33 bool isStencilBufferMultisampled() const { return fDesc.fSampleCnt > 0; } in isStencilBufferMultisampled()
44 bool isUnifiedMultisampled() const { return fDesc.fSampleCnt > 0 && !this->isMixedSampled(); } in isUnifiedMultisampled()
49 int numStencilSamples() const { return fDesc.fSampleCnt; } in numStencilSamples()
54 int numColorSamples() const { return this->isMixedSampled() ? 0 : fDesc.fSampleCnt; } in numColorSamples()
DGrTypes.h632 , fSampleCnt(0) in GrSurfaceDesc()
654 int fSampleCnt; member
729 int fSampleCnt; member
760 int fSampleCnt; member
/external/skia/src/gpu/
DGrGpu.cpp117 if (*isRT && !caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in check_texture_creation_params()
122 if (!*isRT && desc.fSampleCnt > 0) { in check_texture_creation_params()
157 desc.fSampleCnt = SkTMin(desc.fSampleCnt, caps->maxSampleCount()); in createTexture()
159 SkASSERT(desc.fSampleCnt >= 0 && desc.fSampleCnt <= 64); in createTexture()
168 SkASSERT(0 == desc.fSampleCnt); in createTexture()
210 !this->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in wrapBackendTexture()
230 if (!this->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in wrapBackendRenderTarget()
242 if (!this->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in wrapBackendTextureAsRenderTarget()
490 SkASSERT(rt->desc().fSampleCnt > 1); in queryMultisampleSpecs()
503 SkASSERT(effectiveSampleCnt >= rt->desc().fSampleCnt); in queryMultisampleSpecs()
DGrTexture.cpp46 SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numColorSamples()); in validateDesc()
49 SkASSERT(0 == fDesc.fSampleCnt); in validateDesc()
103 SkASSERT(desc.fSampleCnt < (1 << 8)); in ComputeScratchKey()
110 builder[2] = desc.fConfig | (desc.fIsMipMapped << 5) | (desc.fSampleCnt << 6) | (flags << 14) in ComputeScratchKey()
DGrStencilAttachment.h29 int numSamples() const { return fSampleCnt; } in numSamples()
42 , fSampleCnt(sampleCnt) { in GrStencilAttachment()
50 int fSampleCnt; variable
DGrRenderTargetProxy.cpp26 if (caps.usesMixedSamples() && fDesc.fSampleCnt > 0) { in GrRenderTargetProxy()
66 return GrSurface::ComputeSize(fDesc, fDesc.fSampleCnt+1, false, SkBackingFit::kApprox == fFit); in onGpuMemorySize()
DGrSurfaceProxy.cpp180 if (willBeRT && !caps->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in MakeDeferred()
185 if (!willBeRT && desc.fSampleCnt > 0) { in MakeDeferred()
201 copyDesc.fSampleCnt = SkTMin(desc.fSampleCnt, caps->maxSampleCount()); in MakeDeferred()
DGrSurface.cpp36 int colorValuesPerPixel = SkTMax(1, desc.fSampleCnt); in WorstCaseSize()
37 if (desc.fSampleCnt) { in WorstCaseSize()
DGrTextureRenderTargetProxy.cpp41 return GrSurface::ComputeSize(fDesc, fDesc.fSampleCnt+1, true, SkBackingFit::kApprox == fFit); in onGpuMemorySize()
DGrRenderTarget.cpp26 SkASSERT(!(fFlags & Flags::kMixedSampled) || fDesc.fSampleCnt > 0); in GrRenderTarget()
/external/skia/src/gpu/vk/
DGrVkRenderTarget.cpp41 SkASSERT(desc.fSampleCnt); in GrVkRenderTarget()
64 SkASSERT(desc.fSampleCnt); in GrVkRenderTarget()
84 SkASSERT(!desc.fSampleCnt); in GrVkRenderTarget()
104 SkASSERT(!desc.fSampleCnt); in GrVkRenderTarget()
123 if (desc.fSampleCnt) { in Create()
130 msImageDesc.fSamples = desc.fSampleCnt; in Create()
160 if (desc.fSampleCnt) { in Create()
168 if (desc.fSampleCnt) { in Create()
DGrVkTextureRenderTarget.cpp43 if (desc.fSampleCnt) { in Create()
50 msImageDesc.fSamples = desc.fSampleCnt; in Create()
82 if (desc.fSampleCnt) { in Create()
91 if (desc.fSampleCnt) { in Create()
157 if (fDesc.fSampleCnt) { in updateForMipmap()
DGrVkRenderTarget.h103 return GrSurface::ComputeSize(fDesc, fDesc.fSampleCnt+1, false); in onGpuMemorySize()
DGrVkGpu.cpp290 tempDrawInfo->fTempSurfaceDesc.fSampleCnt = 0; in onGetWritePixelsInfo()
788 surfDesc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount()); in onWrapBackendTexture()
814 desc.fSampleCnt = SkTMin(wrapDesc.fSampleCnt, this->caps()->maxSampleCount()); in onWrapBackendRenderTarget()
1603 *effectiveSampleCnt = rt->desc().fSampleCnt; in onQueryMultisampleSpecs()
1613 tempDrawInfo->fTempSurfaceDesc.fSampleCnt = 0; in onGetReadPixelsInfo()
1631 if (this->vkCaps().isConfigRenderable(readConfig, srcSurface->desc().fSampleCnt > 1)) { in onGetReadPixelsInfo()
/external/skia/src/utils/win/
DSkWGL_win.cpp108 int fSampleCnt; member
113 if (a.fSampleCnt < b.fSampleCnt) { in pf_less()
115 } else if (b.fSampleCnt < a.fSampleCnt) { in pf_less()
148 rankedFormats[i].fSampleCnt = numSamples; in selectFormat()
/external/skia/tests/
DGrSurfaceTest.cpp29 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
56 backendDesc.fSampleCnt = 0; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
DProxyTest.cpp133 desc.fSampleCnt = numSamples; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
223 desc.fSampleCnt = numSamples; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
232 backendDesc.fSampleCnt = numSamples; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DEGLImageTest.cpp161 externalDesc.fSampleCnt = 4; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
167 externalDesc.fSampleCnt = 0; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DProxyConversionTest.cpp26 backendDesc.fSampleCnt = desc.fSampleCnt; in make_wrapped_FBO0()
DVkClearTests.cpp61 surfDesc.fSampleCnt = 0; in basic_clear_test()
117 surfDesc.fSampleCnt = 0; in sub_clear_test()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp79 desc.fSampleCnt, format); in MakeWrapped()
211 return SkTMax(1, fDesc.fSampleCnt); in msaaSamples()
DGrGLGpu.cpp547 if (desc.fSampleCnt && !renderTarget) { in onWrapBackendTexture()
562 surfDesc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount()); in onWrapBackendTexture()
601 desc.fSampleCnt = SkTMin(wrapDesc.fSampleCnt, this->caps()->maxSampleCount()); in onWrapBackendRenderTarget()
629 surfDesc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount()); in onWrapBackendTextureAsRenderTarget()
683 tempDrawInfo->fTempSurfaceDesc.fSampleCnt = 0; in onGetWritePixelsInfo()
1371 idDesc->fIsMixedSampled = desc.fSampleCnt > 0 && this->caps()->usesMixedSamples(); in createRenderTargetObjects()
1377 if (desc.fSampleCnt > 0 && GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType()) { in createRenderTargetObjects()
1390 if (desc.fSampleCnt > 0 && this->glCaps().usesMSAARenderBuffers()) { in createRenderTargetObjects()
1407 SkASSERT(desc.fSampleCnt > 0); in createRenderTargetObjects()
1410 desc.fSampleCnt, in createRenderTargetObjects()
[all …]
/external/skia/tools/viewer/sk_app/
DGLWindowContext.cpp81 desc.fSampleCnt = fSampleCount; in getBackbufferSurface()
/external/skia/debugger/QT/
DSkGLWidget.cpp86 GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_SAMPLES, &desc.fSampleCnt); in getDesc()

12