Home | History | Annotate | Download | only in gl

Lines Matching refs:glCaps

191     fHWBoundTextureUniqueIDs.reset(this->glCaps().maxFragmentTextureUnits());
209 SkDebugf("%s", this->glCaps().dump().c_str());
214 SkASSERT(this->glCaps().maxVertexAttributes() >= GrGeometryProcessor::kMaxVertexAttribs);
221 if (this->glCaps().shaderCaps()->pathRenderingSupport()) {
227 if (this->glCaps().shaderCaps()->plsPathRenderingSupport()) {
288 const GrGLSLCaps* glslCaps = this->glCaps().glslCaps();
399 if (this->glCaps().shaderCaps()->pathRenderingSupport()) {
416 if (!this->glCaps().isCoreProfile()) {
427 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) {
507 if (this->glCaps().unpackRowLengthSupport()) {
510 if (this->glCaps().packRowLengthSupport()) {
513 if (this->glCaps().unpackFlipYSupport()) {
516 if (this->glCaps().packFlipYSupport()) {
569 if (!this->glCaps().externalTextureSupport()) {
573 if (!this->glCaps().rectangleTextureSupport()) {
766 } else if (this->glCaps().rgba8888PixelsOpsAreSlow() &&
773 this->glCaps().bgraIsInternalFormat()) {
783 if (!this->glCaps().unpackFlipYSupport() &&
939 if (!this->glCaps().getTexImageFormats(desc.fConfig, dataConfig, &internalFormat,
954 if (this->glCaps().unpackFlipYSupport()) {
960 if (this->glCaps().unpackRowLengthSupport() && !swFlipY) {
1033 SkASSERT(this->glCaps().unpackRowLengthSupport());
1083 if (!this->glCaps().getCompressedTexImageFormats(desc.fConfig, &internalFormat)) {
1165 idDesc->fSampleConfig = (GrGLCaps::kMixedSamples_MSFBOType == this->glCaps().msFBOType() &&
1173 if (desc.fSampleCnt > 0 && GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType()) {
1186 if (desc.fSampleCnt > 0 && this->glCaps().usesMSAARenderBuffers()) {
1193 if (!this->glCaps().getRenderbufferFormat(desc.fConfig, &colorRenderbufferFormat)) {
1218 !this->glCaps().isConfigVerifiedColorAttachment(desc.fConfig)) {
1229 if (this->glCaps().usesImplicitMSAAResolve() && desc.fSampleCnt > 0) {
1241 !this->glCaps().isConfigVerifiedColorAttachment(desc.fConfig)) {
1280 if (GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType() && desc.fSampleCnt) {
1406 if (!this->glCaps().hasStencilFormatBeenDeterminedForConfig(config)) {
1430 if (!this->glCaps().getTexImageFormats(config, config, &internalFormat, &externalFormat,
1466 int stencilFmtCnt = this->glCaps().stencilFormats().count();
1470 const GrGLCaps::StencilFormat& sFmt = this->glCaps().stencilFormats()[i];
1511 return this->glCaps().getStencilFormatIndexForConfig(config);
1543 if (renderTarget && this->glCaps().textureUsageSupport()) {
1615 const GrGLCaps::StencilFormat& sFmt = this->glCaps().stencilFormats()[sIdx];
1655 if (this->glCaps().useNonVBOVertexAndIndexDynamicData() && dynamic) {
1688 if (this->glCaps().useNonVBOVertexAndIndexDynamicData() && dynamic) {
1809 const GrSwizzle& swizzle = this->glCaps().glslCaps()->configOutputSwizzle(
1889 if (!GrGLProgramDescBuilder::Build(desc, primProc, pipeline, *this->glCaps().glslCaps())) {
1934 switch (this->glCaps().mapBufferType()) {
2006 switch (this->glCaps().mapBufferType()) {
2066 switch (this->glCaps().invalidateFBType()) {
2191 return this->glCaps().readPixelsSupported(rtConfig, readConfig, getIntegerv, bindRenderTarget);
2211 return this->glCaps().readPixelsSupported(rtConfig, readConfig, getIntegerv, bindRenderTarget);
2243 tempDrawInfo->fUseExactScratch = this->glCaps().partialFBOReadIsSlow();
2272 if (this->glCaps().rgba8888PixelsOpsAreSlow() && kRGBA_8888_GrPixelConfig == readConfig &&
2290 this->glCaps().isConfigRenderable(kRGBA_8888_GrPixelConfig, false) &&
2327 read_pixels_pays_for_y_flip(srcAsRT, this->glCaps(), width, height, readConfig, rowBytes)) {
2379 if (!this->glCaps().getReadPixelsFormat(renderTarget->config(), config, &externalFormat,
2418 if (this->glCaps().packRowLengthSupport() && !(rowBytes % bytesPerPixel)) {
2427 if (flipY && this->glCaps().packFlipYSupport()) {
2436 SkASSERT(this->glCaps().packRowLengthSupport());
2439 if (flipY && this->glCaps().packFlipYSupport()) {
2530 if (this->glCaps().srgbWriteControl()) {
2713 if (this->glCaps().usesMSAARenderBuffers()) {
2725 if (GrGLCaps::kES_Apple_MSFBOType == this->glCaps().msFBOType()) {
2842 if (this->glCaps().multisampleDisableSupport()) {
3050 get_tex_param_swizzle(texture->config(), this->glCaps(), newTexParams.fSwizzleRGBA);
3067 if (this->glCaps().textureSwizzleSupport() &&
3148 if (gpu->glCaps().isConfigRenderable(dst->config(), dst->desc().fSampleCnt > 0) &&
3149 gpu->glCaps().isConfigRenderable(src->config(), src->desc().fSampleCnt > 0)) {
3150 switch (gpu->glCaps().blitFramebufferSupport()) {
3164 if (GrGLCaps::kES_3_0_MSFBOType == gpu->glCaps().msFBOType() &&
3188 if (kGLES_GrGLStandard == gpu->glStandard() && gpu->glCaps().bgraIsInternalFormat() &&
3216 if (gpu->glCaps().isConfigRenderable(src->config(), src->desc().fSampleCnt > 0) &&
3296 if (kGLES_GrGLStandard == this->glStandard() && this->glCaps().bgraIsInternalFormat() &&
3338 if (this->glCaps().glslCaps()->configOutputSwizzle(src->config()) !=
3339 this->glCaps().glslCaps()->configOutputSwizzle(dst->config())) {
3370 const GrGLSLCaps* glslCaps = this->glCaps().glslCaps();
3377 !this->glCaps().externalTextureSupport()) {
3381 !this->glCaps().rectangleTextureSupport()) {
3507 const char* version = this->glCaps().glslCaps()->versionDeclString();
3513 aVertex.appendDecl(this->glCaps().glslCaps(), &vshaderTxt);
3515 uRect.appendDecl(this->glCaps().glslCaps(), &vshaderTxt);
3530 *this->glCaps().glslCaps(),
3532 uColor.appendDecl(this->glCaps().glslCaps(), &fshaderTxt);
3535 if (this->glCaps().glslCaps()->mustDeclareFragmentShaderOutput()) {
3536 oFragColor.appendDecl(this->glCaps().glslCaps(), &fshaderTxt);
3889 if (!this->glCaps().getTexImageFormats(config, config, &internalFormat, &externalFormat,
3977 if (gpu->glCaps().isCoreProfile() && 0 != vbufferID) {
3981 int attrCount = gpu->glCaps().maxVertexAttributes();
3995 int attrCount = gpu->glCaps().maxVertexAttributes();