Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/gl/
DGrGLGpu.cpp226 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) { in GrGLGpu()
244 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu()
355 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()
530 if (!check_backend_texture(backendTex, this->glCaps(), &idDesc)) { in onWrapBackendTexture()
[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()
88 fbi.fFormat = this->getGLGpu()->glCaps().configSizedInternalFormat(this->config()); in getBackendRenderTarget()
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.cpp20 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
DGrGLBuffer.h48 const GrGLCaps& glCaps() const;
DGrGLGpu.h50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function
53 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering()
515 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
DGrGLProgramDataManager.cpp40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager()
237 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
DGrGLTexture.cpp25 SkASSERT(gpu->glCaps().rectangleTextureSupport()); in sampler_type()
DGrGLProgram.cpp155 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp226 if (GrGLCaps::kChromium_TransferBufferType == this->glCaps().transferBufferType()) { in GrGLGpu()
244 if (this->glCaps().shaderCaps()->pathRenderingSupport()) { in GrGLGpu()
355 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()
530 if (!check_backend_texture(backendTex, this->glCaps(), &idDesc)) { in onWrapBackendTexture()
[all …]
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()
178 if (this->glCaps().useBufferDataNullHint() || fGLSizeInBytes != this->sizeInBytes()) { in onMap()
227 switch (this->glCaps().mapBufferType()) { in onUnmap()
260 if (this->glCaps().useBufferDataNullHint()) { in onUpdateData()
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()
88 fbi.fFormat = this->getGLGpu()->glCaps().configSizedInternalFormat(this->config()); in getBackendRenderTarget()
DGrGLVaryingHandler.cpp20 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
DGrGLBuffer.h48 const GrGLCaps& glCaps() const;
DGrGLGpu.h50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); } in glCaps() function
53 SkASSERT(glCaps().shaderCaps()->pathRenderingSupport()); in glPathRendering()
502 if (!gpu->glCaps().vertexArrayObjectSupport()) { in setVertexArrayID()
DGrGLProgramDataManager.cpp40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager()
237 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
DGrGLTexture.cpp24 SkASSERT(gpu->glCaps().rectangleTextureSupport()); in sampler_type()
DGrGLProgram.cpp155 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
DGrGLPathRendering.cpp244 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport()); in setProjectionMatrix()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp49 if (gpu->getContext()->getPersistentCache() && gpu->glCaps().programBinarySupport()) { in CreateProgram()
143 if (this->gpu()->glCaps().programBinarySupport() && in finalize()
153 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize()
160 bool cached = fGpu->glCaps().programBinarySupport() && nullptr != fCached.get(); in finalize()
281 fGpu->glCaps().programBinarySupport()) { in finalize()
306 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations()
308 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations()
319 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations()
356 fUniformHandler.getUniformLocations(programID, fGpu->glCaps()); in resolveProgramResourceLocations()
359 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in resolveProgramResourceLocations()
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp49 if (gpu->getContext()->getPersistentCache() && gpu->glCaps().programBinarySupport()) { in CreateProgram()
143 if (this->gpu()->glCaps().programBinarySupport() && in finalize()
153 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize()
272 fGpu->glCaps().programBinarySupport()) { in finalize()
297 fUniformHandler.bindUniformLocations(programID, fGpu->glCaps()); in bindProgramResourceLocations()
299 const GrGLCaps& caps = this->gpu()->glCaps(); in bindProgramResourceLocations()
310 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations()
347 fUniformHandler.getUniformLocations(programID, fGpu->glCaps()); in resolveProgramResourceLocations()
350 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in resolveProgramResourceLocations()
/external/skia/tests/
DSRGBMipMapTest.cpp173 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
174 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp57 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DSRGBMipMapTest.cpp173 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
174 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp57 if (!gpu0->glCaps().shaderCaps()->externalTextureSupport()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()

12