Lines Matching refs:caps
189 fCaps.reset(SkRef(ctx->caps()));
455 if (this->caps()->usesMixedSamples()) {
456 if (0 != this->caps()->maxRasterSamples()) {
500 if (this->caps()->shaderCaps()->pathRenderingSupport()) {
599 surfDesc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount());
649 desc.fSampleCnt = SkTMin(wrapDesc.fSampleCnt, this->caps()->maxSampleCount());
700 surfDesc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount());
761 if (!this->caps()->isConfigTexturable(srcConfig)) {
922 SkASSERT(this->caps()->isConfigTexturable(desc.fConfig));
1052 SkASSERT(this->caps()->isConfigTexturable(desc.fConfig));
1123 SkASSERT(GrGLCaps::kNone_MSFBOType != ctx.caps()->msFBOType());
1124 switch (ctx.caps()->msFBOType()) {
1223 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig);
1246 fGLContext->caps()->markConfigAsValidColorAttachment(desc.fConfig);
1405 SkASSERT(this->caps()->isConfigRenderable(config, false));
1509 fGLContext->caps()->setStencilFormatIndexForConfig(config, firstWorkingStencilFormatIndex);
1717 GrGLCaps::TransferBufferType xferBufferType = this->ctxInfo().caps()->transferBufferType();
1797 GrCapsDebugf(this->caps(), "Failed to create program!\n");
2056 if (!this->caps()->discardRenderTargetSupport()) {
2156 static bool read_pixels_pays_for_y_flip(GrRenderTarget* renderTarget, const GrGLCaps& caps,
2171 if (caps.packFlipYSupport()) {
2179 return caps.packRowLengthSupport() || GrBytesPerPixel(config) * width == rowBytes;
2310 if (this->caps()->isConfigRenderable(cpuTempConfig, false)) {
2817 if (this->caps()->twoSidedStencilSupport()) {
2856 if (0 != this->caps()->maxRasterSamples()) {
2865 SkASSERT(rt->numStencilSamples() <= this->caps()->maxRasterSamples());
2897 SkASSERT(this->caps()->advancedBlendEquationSupport());
2920 SkASSERT(this->caps()->advancedBlendEquationSupport());
2977 const GrGLCaps& caps,
2979 const GrSwizzle& swizzle = caps.configSwizzle(config);
2989 if (!this->caps()->npotTextureTileSupport()) {
3034 if (!this->caps()->mipMapSupport() || GrPixelConfigIsCompressed(texture->config())) {
3277 if (src->asTexture() && this->caps()->isConfigRenderable(src->config(), false)) {
3300 if (this->caps()->isConfigRenderable(kBGRA_8888_GrPixelConfig, false)) {
3316 if (this->caps()->isConfigRenderable(src->config(), false)) {
3854 SkASSERT(this->caps()->textureBarrierSupport());
3860 this->caps()->blendEquationSupport());
3869 if (!this->caps()->isConfigTexturable(config)) {