Lines Matching refs:glCaps

227     if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) {  in GrGLGpu()
242 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu()
262 SkDebugf("%s", this->glCaps().dump().c_str()); in GrGLGpu()
360 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in disconnect()
382 if (!this->glCaps().isCoreProfile()) { in onResetContext()
393 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext()
485 if (this->glCaps().unpackRowLengthSupport()) { in onResetContext()
488 if (this->glCaps().packRowLengthSupport()) { in onResetContext()
491 if (this->glCaps().unpackFlipYSupport()) { in onResetContext()
494 if (this->glCaps().packFlipYSupport()) { in onResetContext()
538 if (!this->glCaps().rectangleTextureSupport()) { in onWrapBackendTexture()
694 } else if (this->glCaps().rgba8888PixelsOpsAreSlow() && in onGetWritePixelsInfo()
701 this->glCaps().bgraIsInternalFormat()) { in onGetWritePixelsInfo()
711 if (!this->glCaps().unpackFlipYSupport() && in onGetWritePixelsInfo()
1081 const GrGLCaps& caps = this->glCaps(); in uploadTexData()
1115 if (!this->glCaps().getTexImageFormats(desc.fConfig, dataConfig, &internalFormat, in uploadTexData()
1120 GrGLenum internalFormatForTexStorage = this->glCaps().configSizedInternalFormat(desc.fConfig); in uploadTexData()
1269 const GrGLCaps& caps = this->glCaps(); in uploadCompressedTexData()
1369 SkASSERT((GrGLCaps::kMixedSamples_MSFBOType == this->glCaps().msFBOType()) == in createRenderTargetObjects()
1377 if (desc.fSampleCnt > 0 && GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType()) { in createRenderTargetObjects()
1390 if (desc.fSampleCnt > 0 && this->glCaps().usesMSAARenderBuffers()) { in createRenderTargetObjects()
1397 if (!this->glCaps().getRenderbufferFormat(desc.fConfig, &colorRenderbufferFormat)) { in createRenderTargetObjects()
1422 !this->glCaps().isConfigVerifiedColorAttachment(desc.fConfig)) { in createRenderTargetObjects()
1433 if (this->glCaps().usesImplicitMSAAResolve() && desc.fSampleCnt > 0) { in createRenderTargetObjects()
1445 !this->glCaps().isConfigVerifiedColorAttachment(desc.fConfig)) { in createRenderTargetObjects()
1522 if (GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType() && desc.fSampleCnt) { in onCreateTexture()
1627 if (!this->glCaps().hasStencilFormatBeenDeterminedForConfig(config)) { in getCompatibleStencilIndex()
1651 if (!this->glCaps().getTexImageFormats(config, config, &internalFormat, &externalFormat, in getCompatibleStencilIndex()
1687 int stencilFmtCnt = this->glCaps().stencilFormats().count(); in getCompatibleStencilIndex()
1691 const GrGLCaps::StencilFormat& sFmt = this->glCaps().stencilFormats()[i]; in getCompatibleStencilIndex()
1732 return this->glCaps().getStencilFormatIndexForConfig(config); in getCompatibleStencilIndex()
1749 if (renderTarget && this->glCaps().textureUsageSupport()) { in createTextureImpl()
1789 const GrGLCaps::StencilFormat& sFmt = this->glCaps().stencilFormats()[sIdx]; in createStencilAttachmentForRenderTarget()
2064 this->glCaps().configSizedInternalFormat(buffTex.fTexelConfig), 0)); in notifyBufferReleased()
2204 return this->glCaps().readPixelsSupported(rtConfig, readConfig, getIntegerv, bindRenderTarget, in readPixelsSupported()
2214 if (this->glCaps().isConfigRenderable(rtConfig, false)) { in readPixelsSupported()
2223 } else if (this->glCaps().canConfigBeFBOColorAttachment(rtConfig)) { in readPixelsSupported()
2241 return this->glCaps().readPixelsSupported(rtConfig, readConfig, getIntegerv, bindRenderTarget, in readPixelsSupported()
2274 tempDrawInfo->fTempSurfaceFit = this->glCaps().partialFBOReadIsSlow() ? SkBackingFit::kExact in onGetReadPixelsInfo()
2297 if (this->glCaps().rgba8888PixelsOpsAreSlow() && kRGBA_8888_GrPixelConfig == readConfig && in onGetReadPixelsInfo()
2303 } else if (this->glCaps().rgbaToBgraReadbackConversionsAreSlow() && in onGetReadPixelsInfo()
2315 this->glCaps().canConfigBeFBOColorAttachment(kRGBA_8888_GrPixelConfig) && in onGetReadPixelsInfo()
2325 this->glCaps().canConfigBeFBOColorAttachment(kSRGBA_8888_GrPixelConfig) && in onGetReadPixelsInfo()
2345 if (this->glCaps().canConfigBeFBOColorAttachment(cpuTempConfig)) { in onGetReadPixelsInfo()
2356 } else if (this->glCaps().canConfigBeFBOColorAttachment(readConfig) && in onGetReadPixelsInfo()
2367 if ((srcSurface->asRenderTarget() || this->glCaps().canConfigBeFBOColorAttachment(srcConfig)) && in onGetReadPixelsInfo()
2368 read_pixels_pays_for_y_flip(srcSurface->origin(), this->glCaps(), width, height, readConfig, in onGetReadPixelsInfo()
2385 if (!renderTarget && !this->glCaps().canConfigBeFBOColorAttachment(surface->config())) { in onReadPixels()
2421 if (!this->glCaps().getReadPixelsFormat(surface->config(), config, &externalFormat, in onReadPixels()
2466 if (this->glCaps().packRowLengthSupport() && !(rowBytes % bytesPerPixel)) { in onReadPixels()
2475 if (flipY && this->glCaps().packFlipYSupport()) { in onReadPixels()
2484 SkASSERT(this->glCaps().packRowLengthSupport()); in onReadPixels()
2487 if (flipY && this->glCaps().packFlipYSupport()) { in onReadPixels()
2568 if (this->glCaps().srgbWriteControl()) { in flushRenderTarget()
2656 if (this->glCaps().drawRangeElementsSupport()) { in draw()
2701 if (this->glCaps().usesMSAARenderBuffers()) { in onResolveRenderTarget()
2713 if (GrGLCaps::kES_Apple_MSFBOType == this->glCaps().msFBOType()) { in onResolveRenderTarget()
2723 this->glCaps().blitFramebufferSupportFlags()) { in onResolveRenderTarget()
3039 if (this->glCaps().srgbDecodeDisableSupport() && GrPixelConfigIsSRGB(texture->config())) { in bindTexture()
3064 get_tex_param_swizzle(texture->config(), this->glCaps(), newTexParams.fSwizzleRGBA); in bindTexture()
3075 if (this->glCaps().mipMapLevelAndLodControlSupport()) { in bindTexture()
3095 if (this->glCaps().textureSwizzleSupport() && in bindTexture()
3105 SkASSERT(this->glCaps().canUseConfigWithTexelBuffer(texelConfig)); in bindTexelBuffer()
3129 this->glCaps().configSizedInternalFormat(texelConfig), in bindTexelBuffer()
3135 if (this->glCaps().textureSwizzleSupport() && in bindTexelBuffer()
3136 this->glCaps().configSwizzle(texelConfig) != buffTex.fSwizzle) { in bindTexelBuffer()
3138 get_tex_param_swizzle(texelConfig, this->glCaps(), glSwizzle); in bindTexelBuffer()
3140 buffTex.fSwizzle = this->glCaps().configSwizzle(texelConfig); in bindTexelBuffer()
3164 GrGLenum format = this->glCaps().getImageFormat(texture->config()); in bindImageStorage()
3215 if (this->glCaps().srgbDecodeDisableSupport() && GrPixelConfigIsSRGB(texture->config())) { in generateMipmaps()
3222 if (!this->glCaps().srgbDecodeDisableAffectsMipmaps()) { in generateMipmaps()
3319 auto blitFramebufferFlags = gpu->glCaps().blitFramebufferSupportFlags(); in can_blit_framebuffer_for_copy_surface()
3320 if (!gpu->glCaps().canConfigBeFBOColorAttachment(dst->config()) || in can_blit_framebuffer_for_copy_surface()
3321 !gpu->glCaps().canConfigBeFBOColorAttachment(src->config())) { in can_blit_framebuffer_for_copy_surface()
3382 if (kGLES_GrGLStandard == gpu->glStandard() && gpu->glCaps().bgraIsInternalFormat() && in can_copy_texsubimage()
3410 if (gpu->glCaps().canConfigBeFBOColorAttachment(src->config()) && in can_copy_texsubimage()
4138 if (!this->glCaps().doManualMipmapping()) { in generateMipmap()
4148 if (!this->glCaps().canConfigBeFBOColorAttachment(texture->config())) { in generateMipmap()
4155 if (this->glCaps().srgbWriteControl()) { in generateMipmap()
4172 if (!this->glCaps().getTexImageFormats(texture->config(), texture->config(), in generateMipmap()
4358 if (!this->glCaps().getTexImageFormats(config, config, &internalFormat, &externalFormat, in createTestingOnlyBackendTexture()
4397 if (gpu->glCaps().isCoreProfile()) { in bindInternalVertexArray()
4401 int attrCount = gpu->glCaps().maxVertexAttributes(); in bindInternalVertexArray()
4416 int attrCount = gpu->glCaps().maxVertexAttributes(); in bindInternalVertexArray()