Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrCaps.h186 virtual int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const = 0;
188 int getSampleCount(int requestedCount, GrPixelConfig config) const { in getSampleCount() argument
189 return this->getRenderTargetSampleCount(requestedCount, config); in getSampleCount()
/external/skia/src/gpu/d3d/
DGrD3DCaps.h43 int getRenderTargetSampleCount(int requestedCount, const GrBackendFormat&) const override;
44 int getRenderTargetSampleCount(int requestedCount, DXGI_FORMAT) const;
DGrD3DCaps.cpp827 int GrD3DCaps::getRenderTargetSampleCount(int requestedCount, in getRenderTargetSampleCount() argument
834 return this->getRenderTargetSampleCount(requestedCount, dxgiFormat); in getRenderTargetSampleCount()
837 int GrD3DCaps::getRenderTargetSampleCount(int requestedCount, DXGI_FORMAT format) const { in getRenderTargetSampleCount() argument
838 requestedCount = std::max(1, requestedCount); in getRenderTargetSampleCount()
848 if (1 == requestedCount) { in getRenderTargetSampleCount()
854 if (info.fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp719 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { in getRenderTargetSampleCount() argument
720 requestedCount = SkTMax(1, requestedCount); in getRenderTargetSampleCount()
727 if (1 == requestedCount) { in getRenderTargetSampleCount()
734 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
DGrVkCaps.h43 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override;
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm280 int GrMtlCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const {
281 requestedCount = SkTMax(requestedCount, 1);
285 if (fSampleCounts[i] >= requestedCount) {
290 return 1 == requestedCount ? 1 : 0;
DGrMtlCaps.h33 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const override;
/external/skia/src/gpu/mtl/
DGrMtlCaps.h39 int getRenderTargetSampleCount(int requestedCount, const GrBackendFormat&) const override;
40 int getRenderTargetSampleCount(int requestedCount, MTLPixelFormat) const;
DGrMtlCaps.mm420 int GrMtlCaps::getRenderTargetSampleCount(int requestedCount,
424 return this->getRenderTargetSampleCount(requestedCount, mtlFormat);
427 int GrMtlCaps::getRenderTargetSampleCount(int requestedCount, MTLPixelFormat format) const {
428 requestedCount = std::max(requestedCount, 1);
436 if (fSampleCounts[i] >= requestedCount) {
441 return 1 == requestedCount ? 1 : 0;
/external/skia/src/gpu/gl/
DGrGLCaps.h133 int getRenderTargetSampleCount(int requestedCount, in getRenderTargetSampleCount() argument
135 return this->getRenderTargetSampleCount(requestedCount, format.asGLFormat()); in getRenderTargetSampleCount()
137 int getRenderTargetSampleCount(int requestedCount, GrGLFormat) const;
DGrGLCaps.cpp4324 int GrGLCaps::getRenderTargetSampleCount(int requestedCount, GrGLFormat format) const { in getRenderTargetSampleCount() argument
4332 requestedCount = std::max(1, requestedCount); in getRenderTargetSampleCount()
4333 if (1 == requestedCount) { in getRenderTargetSampleCount()
4338 if (info.fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
/external/skia/src/gpu/dawn/
DGrDawnCaps.h40 int getRenderTargetSampleCount(int requestedCount,
DGrDawnCaps.cpp99 int GrDawnCaps::getRenderTargetSampleCount(int requestedCount, in getRenderTargetSampleCount() argument
/external/skia/src/gpu/vk/
DGrVkCaps.h50 int getRenderTargetSampleCount(int requestedCount, const GrBackendFormat&) const override;
51 int getRenderTargetSampleCount(int requestedCount, VkFormat) const;
DGrVkCaps.cpp1459 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, in getRenderTargetSampleCount() argument
1466 return this->getRenderTargetSampleCount(requestedCount, vkFormat); in getRenderTargetSampleCount()
1469 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, VkFormat format) const { in getRenderTargetSampleCount() argument
1470 requestedCount = std::max(1, requestedCount); in getRenderTargetSampleCount()
1480 if (1 == requestedCount) { in getRenderTargetSampleCount()
1486 if (info.fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
/external/skia/src/gpu/
DGrCaps.h242 virtual int getRenderTargetSampleCount(int requestedCount, const GrBackendFormat&) const = 0;
/external/skqp/src/gpu/gl/
DGrGLCaps.h117 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override;
DGrGLCaps.cpp2876 int GrGLCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { in getRenderTargetSampleCount() argument
2877 requestedCount = SkTMax(1, requestedCount); in getRenderTargetSampleCount()
2883 if (1 == requestedCount) { in getRenderTargetSampleCount()
2888 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp1470 GLuint GetSampleCount(VkSampleCountFlags supportedCounts, GLuint requestedCount) in GetSampleCount() argument
1475 if (sampleCount >= requestedCount) in GetSampleCount()
Dvk_utils.h1011 GLuint GetSampleCount(VkSampleCountFlags supportedCounts, GLuint requestedCount);