Home
last modified time | relevance | path

Searched refs:glCaps (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp36 GrCaps::InstancedSupport GLInstancedRendering::CheckSupport(const GrGLCaps& glCaps) { in CheckSupport() argument
38 SkASSERT(GrCaps::InstancedSupport::kNone == glCaps.instancedSupport()); in CheckSupport()
39 if (!glCaps.vertexArrayObjectSupport() || in CheckSupport()
40 (!glCaps.drawIndirectSupport() && !glCaps.drawInstancedSupport())) { in CheckSupport()
43 return InstanceProcessor::CheckSupport(*glCaps.shaderCaps(), glCaps); in CheckSupport()
124 if (this->glGpu()->glCaps().drawIndirectSupport()) { in onBeginFlush()
146 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush()
217 const GrGLCaps& glCaps = this->glGpu()->glCaps(); in onDraw() local
231 SkASSERT(SkToBool(fGLDrawCmdsInfo) == !glCaps.baseInstanceSupport()); in onDraw()
234 if (numCommands > 1 && glCaps.multiDrawIndirectSupport() && glCaps.baseInstanceSupport()) { in onDraw()
[all …]
/external/skia/src/gpu/gl/
DGrGLGpu.cpp237 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) { in GrGLGpu()
252 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu()
275 SkDebugf("%s", this->glCaps().dump().c_str()); in GrGLGpu()
373 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in disconnect()
400 if (!this->glCaps().isCoreProfile()) { in onResetContext()
411 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext()
507 if (this->glCaps().unpackRowLengthSupport()) { in onResetContext()
510 if (this->glCaps().packRowLengthSupport()) { in onResetContext()
513 if (this->glCaps().unpackFlipYSupport()) { in onResetContext()
516 if (this->glCaps().packFlipYSupport()) { in onResetContext()
[all …]
DGrGLRenderTarget.cpp27 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc), stencil) { in GrGLRenderTarget()
35 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc)) { in GrGLRenderTarget()
39 inline GrRenderTargetFlags GrGLRenderTarget::ComputeFlags(const GrGLCaps& glCaps, in ComputeFlags() argument
43 SkASSERT(glCaps.usesMixedSamples() && idDesc.fRTFBOID); // FBO 0 can't be mixed sampled. in ComputeFlags()
46 if (glCaps.maxWindowRectangles() > 0 && idDesc.fRTFBOID) { in ComputeFlags()
DGrGLBuffer.cpp34 if (gpu->glCaps().transferBufferType() == GrGLCaps::kNone_TransferBufferType && in Create()
130 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps() function in GrGLBuffer
131 return this->glGpu()->glCaps(); in glCaps()
172 switch (this->glCaps().mapBufferType()) { in onMap()
227 switch (this->glCaps().mapBufferType()) { in onUnmap()
DGrGLVaryingHandler.cpp21 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
DGrGLBuffer.h48 const GrGLCaps& glCaps() const;
DGrGLGpu.h52 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function
55 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering()
501 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
DGrGLProgramDataManager.cpp40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager()
246 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
DGrGLTexture.cpp24 SkASSERT(gpu->glCaps().rectangleTextureSupport()); in sampler_type()
DGrGLProgram.cpp159 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
DGrGLPathRendering.cpp245 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport()); in setProjectionMatrix()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp115 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize()
189 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations()
191 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations()
202 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations()
239 fUniformHandler.getUniformLocations(programID, fGpu->glCaps()); in resolveProgramResourceLocations()
242 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in resolveProgramResourceLocations()
/external/skia/tests/
DSRGBMipMapTest.cpp171 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
172 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp57 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()