Home
last modified time | relevance | path

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

/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp35 GrCaps::InstancedSupport GLInstancedRendering::CheckSupport(const GrGLCaps& glCaps) { in CheckSupport() argument
37 SkASSERT(GrCaps::InstancedSupport::kNone == glCaps.instancedSupport()); in CheckSupport()
38 if (!glCaps.vertexArrayObjectSupport() || in CheckSupport()
39 (!glCaps.drawIndirectSupport() && !glCaps.drawInstancedSupport())) { in CheckSupport()
42 return InstanceProcessor::CheckSupport(*glCaps.shaderCaps(), glCaps); in CheckSupport()
123 if (this->glGpu()->glCaps().drawIndirectSupport()) { in onBeginFlush()
145 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush()
216 const GrGLCaps& glCaps = this->glGpu()->glCaps(); in onDraw() local
230 SkASSERT(SkToBool(fGLDrawCmdsInfo) == !glCaps.baseInstanceSupport()); in onDraw()
233 if (numCommands > 1 && glCaps.multiDrawIndirectSupport() && glCaps.baseInstanceSupport()) { in onDraw()
[all …]
/external/skia/src/gpu/gl/
DGrGLGpu.cpp227 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) { in GrGLGpu()
242 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu()
262 SkDebugf("%s", this->glCaps().dump().c_str()); in GrGLGpu()
360 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in disconnect()
382 if (!this->glCaps().isCoreProfile()) { in onResetContext()
393 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) { in onResetContext()
485 if (this->glCaps().unpackRowLengthSupport()) { in onResetContext()
488 if (this->glCaps().packRowLengthSupport()) { in onResetContext()
491 if (this->glCaps().unpackFlipYSupport()) { in onResetContext()
494 if (this->glCaps().packFlipYSupport()) { in onResetContext()
[all …]
DGrGLRenderTarget.cpp26 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc), stencil) { in GrGLRenderTarget()
34 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc)) { in GrGLRenderTarget()
38 inline GrRenderTarget::Flags GrGLRenderTarget::ComputeFlags(const GrGLCaps& glCaps, in ComputeFlags() argument
42 SkASSERT(glCaps.usesMixedSamples() && idDesc.fRTFBOID); // FBO 0 can't be mixed sampled. in ComputeFlags()
45 if (glCaps.maxWindowRectangles() > 0 && idDesc.fRTFBOID) { in ComputeFlags()
DGrGLBuffer.cpp120 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps() function in GrGLBuffer
121 return this->glGpu()->glCaps(); in glCaps()
161 switch (this->glCaps().mapBufferType()) { in onMap()
215 switch (this->glCaps().mapBufferType()) { in onUnmap()
DGrGLVaryingHandler.cpp21 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
DGrGLBuffer.h48 const GrGLCaps& glCaps() const;
DGrGLGpu.h53 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function
56 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering()
492 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
DGrGLProgramDataManager.cpp40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager()
245 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
DGrGLTexture.cpp27 SkASSERT(gpu->glCaps().rectangleTextureSupport()); in sampler_type()
DGrGLProgram.cpp137 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
DGrGLPathRendering.cpp246 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport()); in setProjectionMatrix()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp117 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize()
174 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations()
176 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations()
187 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations()
224 fUniformHandler.getUniformLocations(programID, fGpu->glCaps()); in resolveProgramResourceLocations()
227 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in resolveProgramResourceLocations()
/external/skia/tests/
DSRGBMipMapTest.cpp162 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp56 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()