Lines Matching refs:glCaps
148 SkASSERT(this->glCaps().maxVertexAttributes() >= GrDrawState::kMaxVertexAttribCnt);
185 !this->glCaps().readPixelsSupported(this->glInterface(),
212 if (this->glCaps().bgraFormatSupport() &&
213 !this->glCaps().bgraIsInternalFormat() &&
240 if (!this->glCaps().isCoreProfile()) {
251 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) {
304 if (this->glCaps().fixedFunctionSupport()) {
310 for (int i = 0; i < this->glCaps().maxFixedFunctionTextureCoords(); ++i) {
331 if (this->glCaps().unpackRowLengthSupport()) {
334 if (this->glCaps().packRowLengthSupport()) {
337 if (this->glCaps().unpackFlipYSupport()) {
340 if (this->glCaps().packFlipYSupport()) {
562 this->glCaps().texStorageSupport();
600 if (this->glCaps().unpackFlipYSupport()) {
606 if (this->glCaps().unpackRowLengthSupport() && !swFlipY) {
702 SkASSERT(this->glCaps().unpackRowLengthSupport());
769 if (desc->fSampleCnt > 0 && GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType()) {
783 if (desc->fSampleCnt > 0 && this->glCaps().usesMSAARenderBuffers()) {
818 !this->glCaps().isConfigVerifiedColorAttachment(desc->fConfig)) {
828 if (this->glCaps().usesImplicitMSAAResolve() && desc->fSampleCnt > 0) {
840 !this->glCaps().isConfigVerifiedColorAttachment(desc->fConfig)) {
885 if (GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType() && desc.fSampleCnt) {
911 if (GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType() &&
938 if (renderTarget && this->glCaps().textureUsageSupport()) {
1040 int stencilFmtCnt = this->glCaps().stencilFormats().count();
1048 this->glCaps().stencilFormats()[sIdx];
1128 if (!this->glCaps().isColorConfigAndStencilFormatVerified(rt->config(), glsb->format())) {
1158 if (this->glCaps().useNonVBOVertexAndIndexDynamicData() && desc.fDynamic) {
1191 if (this->glCaps().useNonVBOVertexAndIndexDynamicData() && desc.fDynamic) {
1268 if (canIgnoreRect && this->glCaps().fullClearIsFree()) {
1377 if (this->glCaps().packFlipYSupport()) {
1383 if (this->glCaps().packRowLengthSupport()) {
1454 if (this->glCaps().packRowLengthSupport()) {
1464 if (flipY && this->glCaps().packFlipYSupport()) {
1471 SkASSERT(this->glCaps().packRowLengthSupport());
1474 if (flipY && this->glCaps().packFlipYSupport()) {
1710 if (this->glCaps().usesMSAARenderBuffers()) {
1724 if (GrGLCaps::kES_Apple_MSFBOType == this->glCaps().msFBOType()) {
1732 if (GrGLCaps::kDesktop_EXT_MSFBOType == this->glCaps().msFBOType()) {
2044 GrGLShaderBuilder::GetTexParamSwizzle(texture->config(), this->glCaps()),
2070 if (this->glCaps
2095 SkASSERT(this->glCaps().fixedFunctionSupport());
2116 SkASSERT(this->glCaps().fixedFunctionSupport());
2118 SkASSERT(this->glCaps().maxFixedFunctionTextureCoords() >= unitIdx);
2165 SkASSERT(this->glCaps().fixedFunctionSupport());
2188 SkASSERT(this->glCaps().fixedFunctionSupport());
2189 SkASSERT(this->glCaps().maxFixedFunctionTextureCoords() >= numUsedTexCoordSets);
2311 if (!this->glCaps().bgraFormatSupport()) {
2314 if (this->glCaps().bgraIsInternalFormat()) {
2368 if (this->glCaps().textureRedSupport()) {
2420 if (gpu->glCaps().isConfigRenderable(dst->config(), dst->desc().fSampleCnt > 0) &&
2421 gpu->glCaps().isConfigRenderable(src->config(), src->desc().fSampleCnt > 0) &&
2422 gpu->glCaps().usesMSAARenderBuffers()) {
2425 if (GrGLCaps::kES_3_0_MSFBOType == gpu->glCaps().msFBOType() &&
2445 if (kES_GrGLBinding == gpu->glBinding() && gpu->glCaps().bgraIsInternalFormat() &&
2461 if (gpu->glCaps().isConfigRenderable(src->config(), src->desc().fSampleCnt > 0) &&
2508 if (kES_GrGLBinding == this->glBinding() && this->glCaps().bgraIsInternalFormat() &&
2606 if (GrGLCaps::kDesktop_EXT_MSFBOType == this->glCaps().msFBOType()) {
2680 if (gpu->glCaps().isCoreProfile() && !vbuffer->isCPUBacked()) {
2685 int attrCount = gpu->glCaps().maxVertexAttributes();
2695 int attrCount = gpu->glCaps().maxVertexAttributes();