Searched refs:glCaps (Results 1 – 14 of 14) sorted by relevance
/external/skia/src/gpu/instanced/ |
D | GLInstancedRendering.cpp | 35 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/ |
D | GrGLGpu.cpp | 227 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 …]
|
D | GrGLRenderTarget.cpp | 26 , 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()
|
D | GrGLBuffer.cpp | 120 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()
|
D | GrGLVaryingHandler.cpp | 21 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
|
D | GrGLBuffer.h | 48 const GrGLCaps& glCaps() const;
|
D | GrGLGpu.h | 53 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function 56 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering() 492 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
|
D | GrGLProgramDataManager.cpp | 40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager() 245 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
|
D | GrGLTexture.cpp | 27 SkASSERT(gpu->glCaps().rectangleTextureSupport()); in sampler_type()
|
D | GrGLProgram.cpp | 137 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
|
D | GrGLPathRendering.cpp | 246 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport()); in setProjectionMatrix()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 117 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/ |
D | SRGBMipMapTest.cpp | 162 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 163 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | EGLImageTest.cpp | 56 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|