Searched defs:glCaps (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/gpu/gl/
H A DGrGLBuffer.cpp34 if (gpu->glCaps().transferBufferType() == GrGLCaps::kNone_TransferBufferType &&
130 inline const GrGLCaps& GrGLBuffer::glCaps() const { function in class:GrGLBuffer
131 return this->glGpu()->glCaps();
172 switch (this->glCaps().mapBufferType()) {
227 switch (this->glCaps().mapBufferType()) {
H A DGrGLRenderTarget.cpp27 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc), stencil) {
35 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc)) {
39 inline GrRenderTargetFlags GrGLRenderTarget::ComputeFlags(const GrGLCaps& glCaps, argument
43 SkASSERT(glCaps.usesMixedSamples() && idDesc.fRTFBOID); // FBO 0 can't be mixed sampled.
46 if (glCaps.maxWindowRectangles() > 0 && idDesc.fRTFBOID) {
H A DGrGLGpu.h52 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } function in class:final
55 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport());
501 if (!gpu->glCaps().vertexArrayObjectSupport()) {
/external/skia/src/gpu/instanced/
H A DGLInstancedRendering.cpp36 GrCaps::InstancedSupport GLInstancedRendering::CheckSupport(const GrGLCaps& glCaps) { argument
38 SkASSERT(GrCaps::InstancedSupport::kNone == glCaps.instancedSupport());
39 if (!glCaps.vertexArrayObjectSupport() ||
40 (!glCaps.drawIndirectSupport() && !glCaps.drawInstancedSupport())) {
43 return InstanceProcessor::CheckSupport(*glCaps.shaderCaps(), glCaps);
124 if (this->glGpu()->glCaps().drawIndirectSupport()) {
146 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport();
217 const GrGLCaps& glCaps local
[all...]

Completed in 368 milliseconds