Home
last modified time | relevance | path

Searched refs:formatCaps (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRenderbufferD3D.cpp70 const gl::TextureCaps &formatCaps = mRenderer->getNativeTextureCaps().get(creationFormat); in setStorageMultisample() local
72 static_cast<uint32_t>(samples) <= formatCaps.getMaxSamples()); in setStorageMultisample()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DRenderbuffer.cpp163 const TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in setStorageMultisample() local
164 GLsizei samples = formatCaps.getNearestSamples(samplesIn); in setStorageMultisample()
DContext.cpp3941 TextureCaps formatCaps = mImplementation->getNativeTextureCaps().get(sizedInternalFormat); in updateCaps() local
3947 formatCaps.texturable = formatCaps.texturable && in updateCaps()
3949 formatCaps.filterable = formatCaps.filterable && in updateCaps()
3951 formatCaps.textureAttachment = in updateCaps()
3952 formatCaps.textureAttachment && in updateCaps()
3954 formatCaps.renderbuffer = in updateCaps()
3955 formatCaps.renderbuffer && in updateCaps()
3957 formatCaps.blendable = in updateCaps()
3958 formatCaps.blendable && formatInfo.blendSupport(getClientVersion(), mState.mExtensions); in updateCaps()
3962 if (!formatCaps.renderbuffer || in updateCaps()
[all …]
DFramebuffer.cpp218 const TextureCaps &formatCaps = context->getTextureCaps().get(sizedInternalFormat); in CheckAttachmentSampleCompleteness() local
219 if (static_cast<GLuint>(attachment.getSamples()) > formatCaps.getMaxSamples()) in CheckAttachmentSampleCompleteness()
1813 const TextureCaps &formatCaps = context->getTextureCaps().get(sizedInternalFormat); in setAttachment() local
1814 samples = formatCaps.getNearestSamples(samples); in setAttachment()
DvalidationES.cpp1433 const TextureCaps &formatCaps = context->getTextureCaps().get(convertedInternalFormat); in ValidateRenderbufferStorageParametersBase() local
1434 if (!formatCaps.renderbuffer) in ValidateRenderbufferStorageParametersBase()
7878 const TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in ValidateGetInternalFormativBase() local
7879 if (!formatCaps.renderbuffer) in ValidateGetInternalFormativBase()
7926 maxWriteParams = static_cast<GLsizei>(formatCaps.sampleCounts.size()); in ValidateGetInternalFormativBase()
7991 const TextureCaps &formatCaps = context->getTextureCaps().get(internalFormat); in ValidateTexStorageMultisample() local
7992 if (!formatCaps.textureAttachment) in ValidateTexStorageMultisample()
8007 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateTexStorageMultisample()
DvalidationES2.cpp4005 const TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in ValidateRenderbufferStorageMultisampleANGLE() local
4006 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateRenderbufferStorageMultisampleANGLE()
6314 const TextureCaps &formatCaps = context->getTextureCaps().get(sizedInternalFormat); in ValidateFramebufferTexture2DMultisampleEXT() local
6315 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateFramebufferTexture2DMultisampleEXT()
6373 const TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in ValidateRenderbufferStorageMultisampleEXT() local
6374 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateRenderbufferStorageMultisampleEXT()
DTexture.cpp1640 const TextureCaps &formatCaps = context->getTextureCaps().get(internalFormat); in setStorageMultisample() local
1641 GLsizei samples = formatCaps.getNearestSamples(samplesIn); in setStorageMultisample()
DvalidationES3.cpp3538 const TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in ValidateRenderbufferStorageMultisample() local
3539 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateRenderbufferStorageMultisample()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_format_utils.mm140 const FormatCaps &formatCaps = mtlFormat.getCaps();
157 if (formatCaps.multisample)