/third_party/skia/src/gpu/gl/ |
H A D | GrGLOpsRenderPass.cpp | 35 if (fGpu->glCaps().framebufferResolvesMustBeFullSize()) { in dmsaaLoadStoreBounds() 53 if (fGpu->glCaps().canResolveSingleToMSAA()) { in onBegin() 126 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onBindBuffers() 135 if ((indexBuffer && fGpu->glCaps().baseVertexBaseInstanceSupport()) || in onBindBuffers() 136 (!indexBuffer && !fGpu->glCaps().drawArraysBaseVertexIsBroken())) { in onBindBuffers() 182 SkASSERT(fDidBindVertexBuffer || fGpu->glCaps().drawArraysBaseVertexIsBroken()); in onDraw() 184 if (fGpu->glCaps().drawArraysBaseVertexIsBroken()) { in onDraw() 194 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onDrawIndexed() 195 SkASSERT(fGpu->glCaps().drawInstancedSupport()); in onDrawIndexed() 207 if (fGpu->glCaps() in onDrawIndexed() [all...] |
H A D | GrGLGpu.cpp | 51 if (this->glCaps().skipErrorChecks()) { \ 226 fNumTextureUnits = fGpu->glCaps().shaderCaps()->maxFragmentSamplers(); in SamplerObjectCache() 256 GrGLenum wrapX = wrap_mode_to_gl_wrap(state.wrapModeX(), fGpu->glCaps()); in bindSampler() 257 GrGLenum wrapY = wrap_mode_to_gl_wrap(state.wrapModeY(), fGpu->glCaps()); in bindSampler() 362 if (GrGLCaps::TransferBufferType::kChromium == this->glCaps().transferBufferType()) { in GrGLGpu() 376 if (this->glCaps().useSamplerObjects()) { in GrGLGpu() 510 if (!this->glCaps().isCoreProfile()) { in onResetContext() 521 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext() 535 this->glCaps() in onResetContext() 2001 use_tiled_rendering(const GrGLCaps& glCaps, const GrOpsRenderPass::StencilLoadAndStoreInfo& stencilLoadStore) use_tiled_rendering() argument 2908 rt_has_msaa_render_buffer(const GrGLRenderTarget* rt, const GrGLCaps& glCaps) rt_has_msaa_render_buffer() argument [all...] |
H A D | GrGLBuffer.cpp | 21 if (this->glGpu()->glCaps().skipErrorChecks()) { \ 39 if (gpu->glCaps().transferBufferType() == GrGLCaps::TransferBufferType::kNone && in Make() 111 , fUsage(gr_to_gl_access_pattern(intendedType, accessPattern, gpu->glCaps())) in GrGLBuffer() 137 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps() function in GrGLBuffer 138 return this->glGpu()->glCaps(); in glCaps() 177 switch (this->glCaps().mapBufferType()) { in onMap() 184 if (this->glCaps().useBufferDataNullHint() || fGLSizeInBytes != this->size()) { in onMap() 244 switch (this->glCaps().mapBufferType()) { in onUnmap() 277 if (this->glCaps().useBufferDataNullHint()) { in onUpdateData()
|
H A D | GrGLRenderTarget.cpp | 34 this->setFlags(gpu->glCaps(), ids); in GrGLRenderTarget() 46 this->setFlags(gpu->glCaps(), ids); in GrGLRenderTarget() 49 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDs& idDesc) { in setFlags() argument 192 if (this->getGLGpu()->glCaps().bindTexture0WhenChangingTextureFBOMultisampleCount()) { in bindInternal() 250 if (!this->getGLGpu()->glCaps().skipErrorChecks() && in bindInternal() 251 !this->getGLGpu()->glCaps().rebindColorAttachmentAfterCheckFramebufferStatus()) { in bindInternal() 278 SkASSERT(this->getGLGpu()->glCaps().canResolveSingleToMSAA()); in bindForResolve()
|
H A D | GrGLAttachment.cpp | 17 if (gpu->glCaps().skipErrorChecks()) { \ 32 SkASSERT(GrGLCaps::kNone_MSFBOType != gpu->glCaps().msFBOType()); in renderbuffer_storage_msaa() 34 switch (gpu->glCaps().msFBOType()) { in renderbuffer_storage_msaa() 103 GrGLenum glFmt = gpu->glCaps().getRenderbufferInternalFormat(format); in MakeMSAA()
|
H A D | GrGLBuffer.h | 49 const GrGLCaps& glCaps() const;
|
H A D | GrGLGpu.h | 50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function in final 109 // If glCaps.framebufferResolvesMustBeFullSize() is true, resolveRect must be equal the render 111 // If blitting single to MSAA, glCaps.canResolveSingleToMSAA() must be true. 115 // For loading a dynamic MSAA framebuffer when glCaps.canResolveSingleToMSAA() is false. 116 // NOTE: If glCaps.framebufferResolvesMustBeFullSize() is also true, the drawBounds should be 292 return GrBackendFormat::MakeGL(GrGLFormatToEnum(this->glCaps().stencilFormats()[idx]), 643 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
|
H A D | GrGLCaps.cpp | 3468 static bool has_msaa_render_buffer(const GrSurfaceProxy* surf, const GrGLCaps& glCaps) { in has_msaa_render_buffer() argument 3478 glCaps.usesMSAARenderBuffers() && in has_msaa_render_buffer()
|
/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 167 if (fGpu->glCaps().programBinarySupport()) { in storeShaderInCache() 247 if (this->gpu()->glCaps().programBinarySupport() && in finalize() 248 this->gpu()->glCaps().programParameterSupport() && in finalize() 267 bool checkLinked = !fGpu->glCaps().skipErrorChecks(); in finalize() 292 if (!fGpu->glCaps().programBinarySupport()) { in finalize() 486 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations() 488 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations() 531 fUniformHandler.getUniformLocations(programID, fGpu->glCaps(), force); in resolveProgramResourceLocations() 616 const GrGLCaps& caps = glGpu->glCaps(); in PrecompileProgram()
|
/third_party/skia/tests/ |
H A D | TextureBindingsResetTest.cpp | 32 if ((supportExternal = glGpu->glCaps().shaderCaps()->externalTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 36 if ((supportRectangle = glGpu->glCaps().rectangleTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
H A D | BackendAllocationTest.cpp | 752 const GrGLCaps* glCaps = static_cast<const GrGLCaps*>(context->priv().caps()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local 806 if (!glCaps->isFormatTexturable(format, textureType)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 822 (!glCaps->mipmapSupport() || target == GR_GL_TEXTURE_RECTANGLE)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 828 if (!glCaps->isFormatAsColorTypeRenderable(combo.fColorType, format)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
|
H A D | EGLImageTest.cpp | 56 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
H A D | mtl_glslang_mtl_utils.h | 46 const gl::Caps &glCaps,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationEGL.cpp | 4254 const gl::Caps &glCaps = context->getCaps(); in ValidateStreamConsumerGLTextureExternalAttribsNV() local 4297 value >= static_cast<EGLAttrib>(glCaps.maxCombinedTextureImageUnits)) && in ValidateStreamConsumerGLTextureExternalAttribsNV()
|