Home
last modified time | relevance | path

Searched refs:requestedCount (Results 1 – 14 of 14) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkCaps.cpp419 int GrVkCaps::getSampleCount(int requestedCount, GrPixelConfig config) const { in getSampleCount() argument
420 requestedCount = SkTMax(1, requestedCount); in getSampleCount()
423 if (!count || !this->isConfigRenderable(config, requestedCount > 1)) { in getSampleCount()
427 if (1 == requestedCount) { in getSampleCount()
434 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getSampleCount()
DGrVkCaps.h32 int getSampleCount(int requestedCount, GrPixelConfig config) const override;
/external/skia/include/gpu/
DGrCaps.h183 virtual int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const = 0;
185 int getSampleCount(int requestedCount, GrPixelConfig config) const { in getSampleCount() argument
186 return this->getRenderTargetSampleCount(requestedCount, config); in getSampleCount()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp410 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { in getRenderTargetSampleCount() argument
411 requestedCount = SkTMax(1, requestedCount); in getRenderTargetSampleCount()
418 if (1 == requestedCount) { in getRenderTargetSampleCount()
425 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
DGrVkCaps.h40 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override;
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm178 int GrMtlCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const {
179 requestedCount = SkTMax(requestedCount, 1);
183 if (fSampleCounts[i] >= requestedCount) {
188 return 1 == requestedCount ? 1 : 0;
DGrMtlCaps.h31 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const override;
/external/skqp/src/gpu/mtl/
DGrMtlCaps.h27 int getSampleCount(int requestedCount, GrPixelConfig config) const override;
DGrMtlCaps.mm167 int GrMtlCaps::getSampleCount(int requestedCount, GrPixelConfig config) const {
175 if (fSampleCounts[i] >= requestedCount) {
/external/skqp/include/gpu/
DGrCaps.h141 virtual int getSampleCount(int requestedCount, GrPixelConfig config) const = 0;
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp2479 int GrGLCaps::getSampleCount(int requestedCount, GrPixelConfig config) const { in getSampleCount() argument
2480 requestedCount = SkTMax(1, requestedCount); in getSampleCount()
2482 if (!count || !this->isConfigRenderable(config, requestedCount > 1)) { in getSampleCount()
2486 if (1 == requestedCount) { in getSampleCount()
2491 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getSampleCount()
DGrGLCaps.h115 int getSampleCount(int requestedCount, GrPixelConfig config) const override;
/external/skia/src/gpu/gl/
DGrGLCaps.cpp2466 int GrGLCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { in getRenderTargetSampleCount() argument
2467 requestedCount = SkTMax(1, requestedCount); in getRenderTargetSampleCount()
2473 if (1 == requestedCount) { in getRenderTargetSampleCount()
2478 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
DGrGLCaps.h119 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override;