Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrRenderTargetProxy.cpp24 , fSampleCnt(desc.fSampleCnt) in GrRenderTargetProxy()
28 if (caps.usesMixedSamples() && fSampleCnt > 0) { in GrRenderTargetProxy()
39 , fSampleCnt(fTarget->asRenderTarget()->numStencilSamples()) in GrRenderTargetProxy()
52 if (!this->instantiateImpl(resourceProvider, fSampleCnt, kFlags, in instantiate()
67 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, fSampleCnt, kFlags, in createSurface()
DGrStencilAttachment.h29 int numSamples() const { return fSampleCnt; } in numSamples()
42 , fSampleCnt(sampleCnt) { in GrStencilAttachment()
50 int fSampleCnt; variable
DGrBackendSurface.cpp106 , fSampleCnt(sampleCnt) in GrBackendRenderTarget()
121 , fSampleCnt(sampleCnt) in GrBackendRenderTarget()
131 , fSampleCnt(desc.fSampleCnt) in GrBackendRenderTarget()
DGrRenderTarget.cpp24 , fSampleCnt(desc.fSampleCnt) in GrRenderTarget()
29 SkASSERT(!(fFlags & GrRenderTargetFlags::kMixedSampled) || fSampleCnt > 0); in GrRenderTarget()
DGrSurfaceProxy.cpp52 desc.fSampleCnt = sampleCnt; in createSurfaceImpl()
167 if (willBeRT && !caps->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in MakeDeferred()
172 if (!willBeRT && desc.fSampleCnt > 0) { in MakeDeferred()
188 copyDesc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig); in MakeDeferred()
DGrGpu.cpp104 if (*isRT && !caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in check_texture_creation_params()
109 if (!*isRT && desc.fSampleCnt > 0) { in check_texture_creation_params()
146 desc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig); in createTexture()
148 SkASSERT(desc.fSampleCnt >= 0 && desc.fSampleCnt <= 64); in createTexture()
DGrSurface.cpp27 int colorValuesPerPixel = SkTMax(1, desc.fSampleCnt); in WorstCaseSize()
28 if (desc.fSampleCnt) { in WorstCaseSize()
DGrTexture.cpp112 SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag), desc.fSampleCnt, in ComputeScratchKey()
DGrResourceProvider.cpp62 if (!caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in validate_desc()
66 if (desc.fSampleCnt) { in validate_desc()
DGrYUVProvider.cpp130 desc.fSampleCnt)); in refAsTextureProxy()
/external/skia/include/gpu/
DGrRenderTarget.h33 bool isStencilBufferMultisampled() const { return fSampleCnt > 0; } in isStencilBufferMultisampled()
36 if (!fSampleCnt) { in fsaaType()
47 int numStencilSamples() const { return fSampleCnt; } in numStencilSamples()
53 return GrFSAAType::kMixedSamples == this->fsaaType() ? 0 : fSampleCnt; in numColorSamples()
130 int fSampleCnt; variable
DGrBackendSurface.h102 int sampleCnt() const { return fSampleCnt; } in sampleCnt()
127 int fSampleCnt; variable
DGrTypes.h599 , fSampleCnt(0) in GrSurfaceDesc()
621 int fSampleCnt; member
693 int fSampleCnt; member
724 int fSampleCnt; member
/external/skia/include/private/
DGrRenderTargetProxy.h29 if (!fSampleCnt) { in fsaaType()
41 int numStencilSamples() const { return fSampleCnt; } in numStencilSamples()
47 return GrFSAAType::kMixedSamples == this->fsaaType() ? 0 : fSampleCnt; in numColorSamples()
76 int fSampleCnt; variable
/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.cpp103 if (desc.fSampleCnt) { in Make()
110 msImageDesc.fSamples = desc.fSampleCnt; in Make()
142 if (desc.fSampleCnt) { in Make()
151 if (desc.fSampleCnt) { in Make()
/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/
DBlendTest.cpp96 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()
DProxyTest.cpp134 desc.fSampleCnt = numSamples; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
227 desc.fSampleCnt = supportedNumSamples; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
298 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp31 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
116 desc.fSampleCnt = 0; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
140 desc.fSampleCnt = 4; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DVkClearTests.cpp61 surfDesc.fSampleCnt = 0; in basic_clear_test()
117 surfDesc.fSampleCnt = 0; in sub_clear_test()
DVkUploadPixelsTests.cpp69 surfDesc.fSampleCnt = 0; in basic_texture_test()
/external/skia/debugger/QT/
DSkGLWidget.cpp86 GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_SAMPLES, &desc.fSampleCnt); in getDesc()
/external/skia/src/image/
DSkSurface_Gpu.cpp214 return MakeFromBackendTexture(context, tex, desc.fOrigin, desc.fSampleCnt, colorSpace, props); in MakeFromBackendTexture()
299 return MakeFromBackendTextureAsRenderTarget(context, tex, desc.fOrigin, desc.fSampleCnt, in MakeFromBackendTextureAsRenderTarget()
/external/skia/experimental/SkV8Example/
DSkV8Example.cpp93 desc.fSampleCnt = attachmentInfo.fSampleCount; in windowSizeChanged()

12