/external/skia/include/private/ |
D | GrRenderTargetProxy.h | 29 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/ |
D | GrRenderTarget.h | 33 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()
|
D | GrTypes.h | 632 , fSampleCnt(0) in GrSurfaceDesc() 654 int fSampleCnt; member 729 int fSampleCnt; member 760 int fSampleCnt; member
|
/external/skia/src/gpu/ |
D | GrGpu.cpp | 117 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()
|
D | GrTexture.cpp | 46 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()
|
D | GrStencilAttachment.h | 29 int numSamples() const { return fSampleCnt; } in numSamples() 42 , fSampleCnt(sampleCnt) { in GrStencilAttachment() 50 int fSampleCnt; variable
|
D | GrRenderTargetProxy.cpp | 26 if (caps.usesMixedSamples() && fDesc.fSampleCnt > 0) { in GrRenderTargetProxy() 66 return GrSurface::ComputeSize(fDesc, fDesc.fSampleCnt+1, false, SkBackingFit::kApprox == fFit); in onGpuMemorySize()
|
D | GrSurfaceProxy.cpp | 180 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()
|
D | GrSurface.cpp | 36 int colorValuesPerPixel = SkTMax(1, desc.fSampleCnt); in WorstCaseSize() 37 if (desc.fSampleCnt) { in WorstCaseSize()
|
D | GrTextureRenderTargetProxy.cpp | 41 return GrSurface::ComputeSize(fDesc, fDesc.fSampleCnt+1, true, SkBackingFit::kApprox == fFit); in onGpuMemorySize()
|
D | GrRenderTarget.cpp | 26 SkASSERT(!(fFlags & Flags::kMixedSampled) || fDesc.fSampleCnt > 0); in GrRenderTarget()
|
/external/skia/src/gpu/vk/ |
D | GrVkRenderTarget.cpp | 41 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()
|
D | GrVkTextureRenderTarget.cpp | 43 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()
|
D | GrVkRenderTarget.h | 103 return GrSurface::ComputeSize(fDesc, fDesc.fSampleCnt+1, false); in onGpuMemorySize()
|
D | GrVkGpu.cpp | 290 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/ |
D | SkWGL_win.cpp | 108 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/ |
D | GrSurfaceTest.cpp | 29 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 56 backendDesc.fSampleCnt = 0; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
|
D | ProxyTest.cpp | 133 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()
|
D | EGLImageTest.cpp | 161 externalDesc.fSampleCnt = 4; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 167 externalDesc.fSampleCnt = 0; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | ProxyConversionTest.cpp | 26 backendDesc.fSampleCnt = desc.fSampleCnt; in make_wrapped_FBO0()
|
D | VkClearTests.cpp | 61 surfDesc.fSampleCnt = 0; in basic_clear_test() 117 surfDesc.fSampleCnt = 0; in sub_clear_test()
|
/external/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 79 desc.fSampleCnt, format); in MakeWrapped() 211 return SkTMax(1, fDesc.fSampleCnt); in msaaSamples()
|
D | GrGLGpu.cpp | 547 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/ |
D | GLWindowContext.cpp | 81 desc.fSampleCnt = fSampleCount; in getBackbufferSurface()
|
/external/skia/debugger/QT/ |
D | SkGLWidget.cpp | 86 GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_SAMPLES, &desc.fSampleCnt); in getDesc()
|