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

/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...]
/external/skia/src/gpu/gl/
H A DGrGLBuffer.h48 const GrGLCaps& glCaps() const;
H A DGrGLVaryingHandler.cpp21 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() &&
H A DGrGLGpu.cpp237 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) {
252 if (this->glCaps().shaderCaps()->pathRenderingSupport()) {
275 SkDebugf("%s", this->glCaps().dump().c_str());
373 if (this->glCaps().shaderCaps()->pathRenderingSupport()) {
400 if (!this->glCaps().isCoreProfile()) {
411 if (this->glCaps().imagingSupport() && !this->glCaps().isCoreProfile()) {
507 if (this->glCaps().unpackRowLengthSupport()) {
510 if (this->glCaps().packRowLengthSupport()) {
513 if (this->glCaps()
[all...]
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 DGrGLTexture.cpp24 SkASSERT(gpu->glCaps().rectangleTextureSupport());
H A DGrGLProgramDataManager.cpp40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport());
246 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport());
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()) {
H A DGrGLProgram.cpp159 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport());
H A DGrGLPathRendering.cpp245 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport());
/external/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp115 settings.fCaps = this->gpu()->glCaps().shaderCaps();
189 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps());
191 const GrGLCaps& caps = this->gpu()->glCaps();
202 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() ||
239 fUniformHandler.getUniformLocations(programID, fGpu->glCaps());
242 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() ||
/external/skia/tests/
H A DSRGBMipMapTest.cpp171 if (glGpu->glCaps().srgbDecodeDisableSupport() &&
172 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) {
H A DEGLImageTest.cpp57 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) {

Completed in 140 milliseconds