/third_party/skia/src/gpu/gl/ |
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().drawRangeElementsSupport()) { in onDrawIndexed() [all …]
|
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().fbFetchRequiresEnablePerSample()) { in onResetContext() 549 if (this->glCaps().clientCanDisableMultisample()) { in onResetContext() [all …]
|
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()
|
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()
|
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()
|
D | GrGLBuffer.h | 49 const GrGLCaps& glCaps() const;
|
D | GrGLGpu.h | 50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function 285 return GrBackendFormat::MakeGL(GrGLFormatToEnum(this->glCaps().stencilFormats()[idx]), in getPreferredStencilFormat() 636 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 266 fNumTextureUnits = fGpu->glCaps().shaderCaps()->maxFragmentSamplers(); in SamplerObjectCache() 297 auto wrapX = wrap_mode_to_gl_wrap(state.wrapModeX(), fGpu->glCaps()); in bindSampler() 298 auto wrapY = wrap_mode_to_gl_wrap(state.wrapModeY(), fGpu->glCaps()); in bindSampler() 395 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) { in GrGLGpu() 409 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu() 413 if (this->glCaps().samplerObjectSupport()) { in GrGLGpu() 513 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in disconnect() 538 if (!this->glCaps().isCoreProfile()) { in onResetContext() 549 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext() 567 this->glCaps().fbFetchRequiresEnablePerSample()) { in onResetContext() [all …]
|
D | GrGLBuffer.cpp | 34 if (gpu->glCaps().transferBufferType() == GrGLCaps::kNone_TransferBufferType && in Make() 129 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps() function in GrGLBuffer 130 return this->glGpu()->glCaps(); in glCaps() 169 switch (this->glCaps().mapBufferType()) { in onMap() 176 if (this->glCaps().useBufferDataNullHint() || fGLSizeInBytes != this->size()) { in onMap() 226 switch (this->glCaps().mapBufferType()) { in onUnmap() 259 if (this->glCaps().useBufferDataNullHint()) { in onUpdateData()
|
D | GrGLRenderTarget.cpp | 31 this->setFlags(gpu->glCaps(), ids); in GrGLRenderTarget() 44 this->setFlags(gpu->glCaps(), ids); in GrGLRenderTarget() 48 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDs& idDesc) { in setFlags() argument
|
D | GrGLVaryingHandler.cpp | 20 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
|
D | GrGLBuffer.h | 49 const GrGLCaps& glCaps() const;
|
D | GrGLGpu.h | 52 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function 55 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering() 546 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
|
D | GrGLProgramDataManager.cpp | 40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager() 304 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
|
D | GrGLProgram.cpp | 163 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
|
/third_party/flutter/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 156 if (fGpu->glCaps().programBinarySupport()) { in storeShaderInCache() 191 if (this->gpu()->glCaps().programBinarySupport() && in finalize() 192 this->gpu()->glCaps().programParameterSupport() && in finalize() 203 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize() 228 if (fGpu->glCaps().programBinarySupport()) { in finalize() 274 if (!cached || !fGpu->glCaps().programBinarySupport()) { in finalize() 385 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations() 387 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations() 398 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations() 446 fUniformHandler.getUniformLocations(programID, fGpu->glCaps(), force); in resolveProgramResourceLocations() [all …]
|
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 167 if (fGpu->glCaps().programBinarySupport()) { in storeShaderInCache() 222 if (this->gpu()->glCaps().programBinarySupport() && in finalize() 223 this->gpu()->glCaps().programParameterSupport() && in finalize() 242 bool checkLinked = !fGpu->glCaps().skipErrorChecks(); in finalize() 267 if (!fGpu->glCaps().programBinarySupport()) { in finalize() 454 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations() 456 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations() 499 fUniformHandler.getUniformLocations(programID, fGpu->glCaps(), force); in resolveProgramResourceLocations() 584 const GrGLCaps& caps = glGpu->glCaps(); in PrecompileProgram()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | GlslangWrapper.h | 30 const gl::Caps &glCaps, 38 const gl::Caps &glCaps,
|
D | GlslangWrapper.cpp | 937 const gl::Caps &glCaps, in GetShaderCode() argument 959 return GetShaderCodeImpl(context, glCaps, enableSubgroupOps, patchedSources, shaderCodeOut); in GetShaderCode() 963 return GetShaderCodeImpl(context, glCaps, enableSubgroupOps, shaderSources, shaderCodeOut); in GetShaderCode() 969 const gl::Caps &glCaps, in GetShaderCodeImpl() argument 978 GetBuiltInResourcesFromCaps(glCaps, &builtInResources); in GetShaderCodeImpl()
|
/third_party/skia/tests/ |
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()
|
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()
|
/third_party/flutter/skia/tests/ |
D | TextureBindingsResetTest.cpp | 29 if ((supportExternal = glGpu->glCaps().shaderCaps()->externalTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 33 if ((supportRectangle = glGpu->glCaps().rectangleTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | BackendAllocationTest.cpp | 540 const GrGLCaps* glCaps = static_cast<const GrGLCaps*>(context->priv().caps()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local 592 if (!glCaps->isFormatTexturable(format)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 606 if (GrMipMapped::kYes == mipMapped && !glCaps->mipMapSupport()) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 613 if (!glCaps->isFormatAsColorTypeRenderable(combo.fColorType, format)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
|
D | EGLImageTest.cpp | 58 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_glslang_mtl_utils.h | 46 const gl::Caps &glCaps,
|