Home
last modified time | relevance | path

Searched refs:maxSampleCnt (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/tests/
H A DSurfaceTest.cpp192 int maxSampleCnt = context->maxSurfaceSampleCountForColorType(colorType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
193 if (!maxSampleCnt) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
202 context, info, kTopLeft_GrSurfaceOrigin, maxSampleCnt); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
209 REPORTER_ASSERT(reporter, sampleCnt == maxSampleCnt, "Exected: %d, actual: %d", in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
210 maxSampleCnt, sampleCnt); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/gl/
H A DGrGLCaps.cpp3306 int maxSampleCnt = 1; in setupSampleCounts() local
3308 GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES_IMG, &maxSampleCnt); in setupSampleCounts()
3310 GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES, &maxSampleCnt); in setupSampleCounts()
3313 maxSampleCnt = std::max(1, maxSampleCnt); in setupSampleCounts()
3318 if (kDefaultSamples[count - 1] <= maxSampleCnt) { in setupSampleCounts()

Completed in 11 milliseconds