Lines Matching refs:GrGLenum

45 static const GrGLenum gXfermodeEquation2Blend[] = {
88 static const GrGLenum gXfermodeCoeff2Blend[] = {
900 static inline GrGLenum check_alloc_error(const GrSurfaceDesc& desc, in check_alloc_error()
910 GrGLenum target, in uploadTexData()
935 GrGLenum internalFormat; in uploadTexData()
937 GrGLenum externalFormat; in uploadTexData()
938 GrGLenum externalType; in uploadTexData()
1015 GrGLenum error = check_alloc_error(desc, this->glInterface()); in uploadTexData()
1048 GrGLenum target, in uploadCompressedTexData()
1082 GrGLenum internalFormat; in uploadCompressedTexData()
1097 GrGLenum error = check_alloc_error(desc, this->glInterface()); in uploadCompressedTexData()
1120 GrGLenum format, in renderbuffer_storage_msaa()
1169 GrGLenum status; in createRenderTargetObjects()
1171 GrGLenum colorRenderbufferFormat = 0; // suppress warning in createRenderTargetObjects()
1427 GrGLenum internalFormat; in getCompatibleStencilIndex()
1428 GrGLenum externalFormat; in getCompatibleStencilIndex()
1429 GrGLenum externalType; in getCompatibleStencilIndex()
1488 GrGLenum status; in getCompatibleStencilIndex()
1732 GrGLenum target; in onCreateTransferBuffer()
1894 void GrGLGpu::bindBuffer(GrGLuint id, GrGLenum type) { in bindBuffer()
1905 void GrGLGpu::releaseBuffer(GrGLuint id, GrGLenum type) { in releaseBuffer()
1915 static GrGLenum get_gl_usage(GrGLBufferImpl::Usage usage) { in get_gl_usage()
1916 static const GrGLenum grToGL[] = { in get_gl_usage()
1927 void* GrGLGpu::mapBuffer(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, in mapBuffer()
1930 GrGLenum glUsage = get_gl_usage(usage); in mapBuffer()
1975 void GrGLGpu::bufferData(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, in bufferData()
1980 GrGLenum glUsage = get_gl_usage(usage); in bufferData()
2004 void GrGLGpu::unmapBuffer(GrGLuint id, GrGLenum type, void* mapPtr) { in unmapBuffer()
2075 static const GrGLenum attachments[] = { GR_GL_COLOR }; in discard()
2079 static const GrGLenum attachments[] = { GR_GL_COLOR_ATTACHMENT0 }; in discard()
2089 static const GrGLenum attachments[] = { GR_GL_COLOR }; in discard()
2093 static const GrGLenum attachments[] = { GR_GL_COLOR_ATTACHMENT0 }; in discard()
2187 auto getIntegerv = [this](GrGLenum query, GrGLint* value) { in readPixelsSupported()
2208 auto getIntegerv = [this](GrGLenum query, GrGLint* value) { in readPixelsSupported()
2377 GrGLenum externalFormat; in onReadPixels()
2378 GrGLenum externalType; in onReadPixels()
2521 GrGLenum status; in flushRenderTarget()
2564 GrGLenum gPrimitiveType2GLMode[] = {
2753 GrGLenum gr_to_gl_stencil_op(GrStencilOp op) { in gr_to_gl_stencil_op()
2754 static const GrGLenum gTable[] = { in gr_to_gl_stencil_op()
2779 GrGLenum glFace, in set_gl_stencil()
2781 GrGLenum glFunc = GrToGLStencilFunc(settings.func(grFace)); in set_gl_stencil()
2782 GrGLenum glFailOp = gr_to_gl_stencil_op(settings.failOp(grFace)); in set_gl_stencil()
2783 GrGLenum glPassOp = gr_to_gl_stencil_op(settings.passOp(grFace)); in set_gl_stencil()
2945 static inline GrGLenum tile_to_gl_wrap(SkShader::TileMode tm) { in tile_to_gl_wrap()
2946 static const GrGLenum gWrapModes[] = { in tile_to_gl_wrap()
2958 static GrGLenum get_component_enum_from_char(char component) { in get_component_enum_from_char()
2978 GrGLenum* glSwizzle) { in get_tex_param_swizzle()
3009 GrGLenum target = texture->target(); in bindTexture()
3021 static GrGLenum glMinFilterModes[] = { in bindTexture()
3026 static GrGLenum glMagFilterModes[] = { in bindTexture()
3074 const GrGLenum* swizzle = newTexParams.fSwizzleRGBA; in bindTexture()
3229 void GrGLGpu::bindSurfaceFBOForCopy(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, in bindSurfaceFBOForCopy()
3235 GrGLenum target = static_cast<GrGLTexture*>(surface->asTexture())->target(); in bindSurfaceFBOForCopy()
3261 void GrGLGpu::unbindTextureFBOForCopy(GrGLenum fboTarget, GrSurface* surface) { in unbindTextureFBOForCopy()
3265 GrGLenum textureTarget = static_cast<GrGLTexture*>(surface->asTexture())->target(); in unbindTextureFBOForCopy()
3713 GrGLenum srcTarget = srcTex->target(); in copySurfaceAsDraw()
3885 GrGLenum internalFormat; in createTestingOnlyBackendTexture()
3886 GrGLenum externalFormat; in createTestingOnlyBackendTexture()
3887 GrGLenum externalType; in createTestingOnlyBackendTexture()