/external/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.cpp | 111 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onBindBuffers() 120 if ((indexBuffer && fGpu->glCaps().baseVertexBaseInstanceSupport()) || in onBindBuffers() 121 (!indexBuffer && !fGpu->glCaps().drawArraysBaseVertexIsBroken())) { in onBindBuffers() 167 SkASSERT(fDidBindVertexBuffer || fGpu->glCaps().drawArraysBaseVertexIsBroken()); in onDraw() 169 if (fGpu->glCaps().drawArraysBaseVertexIsBroken()) { in onDraw() 179 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onDrawIndexed() 180 SkASSERT(fGpu->glCaps().drawInstancedSupport()); in onDrawIndexed() 192 if (fGpu->glCaps().drawRangeElementsSupport()) { in onDrawIndexed() 203 SkASSERT(fDidBindVertexBuffer || fGpu->glCaps().drawArraysBaseVertexIsBroken()); in onDrawInstanced() 204 if (fGpu->glCaps().drawArraysBaseVertexIsBroken()) { in onDrawInstanced() [all …]
|
D | GrGLGpu.cpp | 50 if (this->glCaps().skipErrorChecks()) { \ 225 fNumTextureUnits = fGpu->glCaps().shaderCaps()->maxFragmentSamplers(); in SamplerObjectCache() 255 GrGLenum wrapX = wrap_mode_to_gl_wrap(state.wrapModeX(), fGpu->glCaps()); in bindSampler() 256 GrGLenum wrapY = wrap_mode_to_gl_wrap(state.wrapModeY(), fGpu->glCaps()); in bindSampler() 361 if (GrGLCaps::TransferBufferType::kChromium == this->glCaps().transferBufferType()) { in GrGLGpu() 375 if (this->glCaps().useSamplerObjects()) { in GrGLGpu() 509 if (!this->glCaps().isCoreProfile()) { in onResetContext() 520 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext() 534 this->glCaps().fbFetchRequiresEnablePerSample()) { in onResetContext() 599 if (this->glCaps().readPixelsRowBytesSupport()) { in onResetContext() [all …]
|
D | GrGLBuffer.cpp | 19 if (this->glGpu()->glCaps().skipErrorChecks()) { \ 37 if (gpu->glCaps().transferBufferType() == GrGLCaps::TransferBufferType::kNone && in Make() 109 , fUsage(gr_to_gl_access_pattern(intendedType, accessPattern, gpu->glCaps())) in GrGLBuffer() 135 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps() function in GrGLBuffer 136 return this->glGpu()->glCaps(); in glCaps() 175 switch (this->glCaps().mapBufferType()) { in onMap() 182 if (this->glCaps().useBufferDataNullHint() || fGLSizeInBytes != this->size()) { in onMap() 242 switch (this->glCaps().mapBufferType()) { in onUnmap() 275 if (this->glCaps().useBufferDataNullHint()) { in onUpdateData()
|
D | GrGLRenderTarget.cpp | 32 this->setFlags(gpu->glCaps(), ids); in GrGLRenderTarget() 44 this->setFlags(gpu->glCaps(), ids); in GrGLRenderTarget() 47 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDs& idDesc) { in setFlags() argument 166 if (!gpu->glCaps().skipErrorChecks()) { in completeStencilAttachment()
|
D | GrGLBuffer.h | 49 const GrGLCaps& glCaps() const;
|
D | GrGLGpu.h | 50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function 275 return GrBackendFormat::MakeGL(GrGLFormatToEnum(this->glCaps().stencilFormats()[idx]), in getPreferredStencilFormat() 612 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 225 fNumTextureUnits = fGpu->glCaps().shaderCaps()->maxFragmentSamplers(); in SamplerObjectCache() 250 auto wrapX = wrap_mode_to_gl_wrap(state.wrapModeX(), fGpu->glCaps()); in bindSampler() 251 auto wrapY = wrap_mode_to_gl_wrap(state.wrapModeY(), fGpu->glCaps()); in bindSampler() 350 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) { in GrGLGpu() 364 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu() 368 if (this->glCaps().samplerObjectSupport()) { in GrGLGpu() 468 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in disconnect() 495 if (!this->glCaps().isCoreProfile()) { in onResetContext() 506 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext() 524 this->glCaps().fbFetchRequiresEnablePerSample()) { in onResetContext() [all …]
|
D | GrGLBuffer.cpp | 34 if (gpu->glCaps().transferBufferType() == GrGLCaps::kNone_TransferBufferType && in Make() 130 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps() function in GrGLBuffer 131 return this->glGpu()->glCaps(); in glCaps() 171 switch (this->glCaps().mapBufferType()) { in onMap() 177 if (this->glCaps().useBufferDataNullHint() || fGLSizeInBytes != this->sizeInBytes()) { in onMap() 226 switch (this->glCaps().mapBufferType()) { in onUnmap() 259 if (this->glCaps().useBufferDataNullHint()) { in onUpdateData()
|
D | GrGLRenderTarget.cpp | 29 this->setFlags(gpu->glCaps(), idDesc); in GrGLRenderTarget() 38 this->setFlags(gpu->glCaps(), idDesc); in GrGLRenderTarget() 42 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDDesc& idDesc) { in setFlags() argument 44 SkASSERT(glCaps.usesMixedSamples() && idDesc.fRTFBOID); // FBO 0 can't be mixed sampled. in setFlags() 91 fbi.fFormat = this->getGLGpu()->glCaps().configSizedInternalFormat(this->config()); in getBackendRenderTarget()
|
D | GrGLVaryingHandler.cpp | 20 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
|
D | GrGLBuffer.h | 48 const GrGLCaps& glCaps() const;
|
D | GrGLGpu.h | 51 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function 54 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering() 515 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
|
D | GrGLProgram.cpp | 161 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
|
D | GrGLProgramDataManager.cpp | 40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager() 304 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
|
D | GrGLPathRendering.cpp | 176 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport()); in setProjectionMatrix()
|
D | GrGLCaps.cpp | 2230 static bool has_msaa_render_buffer(const GrSurfaceProxy* surf, const GrGLCaps& glCaps) { in has_msaa_render_buffer() argument 2240 glCaps.usesMSAARenderBuffers() && in has_msaa_render_buffer()
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 180 if (fGpu->glCaps().programBinarySupport()) { in storeShaderInCache() 222 if (this->gpu()->glCaps().programBinarySupport() && in finalize() 232 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize() 251 if (fGpu->glCaps().programBinarySupport()) { in finalize() 276 if (!cached || !fGpu->glCaps().programBinarySupport()) { in finalize() 386 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations() 388 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations() 399 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations() 434 fUniformHandler.getUniformLocations(programID, fGpu->glCaps()); in resolveProgramResourceLocations() 437 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in resolveProgramResourceLocations()
|
/external/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() 243 bool checkLinked = !fGpu->glCaps().skipErrorChecks(); in finalize() 269 if (!fGpu->glCaps().programBinarySupport()) { in finalize() 477 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations() 479 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations() 526 fUniformHandler.getUniformLocations(programID, fGpu->glCaps(), force); in resolveProgramResourceLocations() 615 const GrGLCaps& caps = glGpu->glCaps(); in PrecompileProgram()
|
/external/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 | 758 const GrGLCaps* glCaps = static_cast<const GrGLCaps*>(context->priv().caps()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local 811 if (!glCaps->isFormatTexturable(format)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 827 (!glCaps->mipmapSupport() || target == GR_GL_TEXTURE_RECTANGLE)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 833 if (!glCaps->isFormatAsColorTypeRenderable(combo.fColorType, format)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
|
D | EGLImageTest.cpp | 56 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_glslang_mtl_utils.h | 45 const gl::Caps &glCaps,
|
D | mtl_glslang_mtl_utils.mm | 353 const gl::Caps &glCaps,
|
/external/skqp/tests/ |
D | EGLImageTest.cpp | 59 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | DeferredDisplayListTest.cpp | 58 const GrGLCaps* glCaps = static_cast<const GrGLCaps*>(caps); in create_backend_format() local 59 GrGLStandard standard = glCaps->standard(); in create_backend_format()
|