Lines Matching refs:GrGLenum
60 static const GrGLenum gXfermodeEquation2Blend[] = {
106 static const GrGLenum gXfermodeCoeff2Blend[] = {
185 static GrGLenum filter_to_gl_mag_filter(GrSamplerState::Filter filter) { in filter_to_gl_mag_filter()
195 static GrGLenum filter_to_gl_min_filter(GrSamplerState::Filter filter) { in filter_to_gl_min_filter()
205 static inline GrGLenum wrap_mode_to_gl_wrap(GrSamplerState::WrapMode wrapMode, in wrap_mode_to_gl_wrap()
900 GrGLenum internalFormat; in onTransferPixels()
902 GrGLenum externalFormat; in onTransferPixels()
903 GrGLenum externalType; in onTransferPixels()
945 GrGLenum target, in allocate_and_populate_texture()
946 GrGLenum internalFormat, in allocate_and_populate_texture()
947 GrGLenum internalFormatForTexStorage, in allocate_and_populate_texture()
948 GrGLenum externalFormat, in allocate_and_populate_texture()
949 GrGLenum externalType, in allocate_and_populate_texture()
967 GrGLenum error = CHECK_ALLOC_ERROR(&interface); in allocate_and_populate_texture()
1003 GrGLenum error = CHECK_ALLOC_ERROR(&interface); in allocate_and_populate_texture()
1024 GrGLenum error = CHECK_ALLOC_ERROR(&interface); in allocate_and_populate_texture()
1050 GrGLenum target, GrGLenum internalFormat, in allocate_and_populate_compressed_texture()
1071 GrGLenum error = CHECK_ALLOC_ERROR(&interface); in allocate_and_populate_compressed_texture()
1126 GrGLenum error = CHECK_ALLOC_ERROR(&interface); in allocate_and_populate_compressed_texture()
1163 bool GrGLGpu::uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, in uploadTexData()
1203 GrGLenum internalFormat; in uploadTexData()
1205 GrGLenum externalFormat; in uploadTexData()
1206 GrGLenum externalType; in uploadTexData()
1212 GrGLenum internalFormatForTexStorage = this->glCaps().configSizedInternalFormat(texConfig); in uploadTexData()
1351 GrGLenum target, GrPixelConfig dataConfig, in uploadCompressedTexData()
1360 GrGLenum internalFormat; in uploadCompressedTexData()
1380 GrGLenum format, in renderbuffer_storage_msaa()
1426 GrGLenum status; in createRenderTargetObjects()
1428 GrGLenum colorRenderbufferFormat = 0; // suppress warning in createRenderTargetObjects()
1671 GrGLenum internalFormat; in getCompatibleStencilIndex()
1672 GrGLenum externalFormat; in getCompatibleStencilIndex()
1673 GrGLenum externalType; in getCompatibleStencilIndex()
1733 GrGLenum status; in getCompatibleStencilIndex()
1912 GrGLenum glmode = (Mode::kExclusive == windowState.mode()) ? GR_GL_EXCLUSIVE : GR_GL_INCLUSIVE; in flushWindowRectangles()
2110 GrGLenum GrGLGpu::bindBuffer(GrBufferType type, const GrBuffer* buffer) { in bindBuffer()
2260 auto getIntegerv = [this](GrGLenum query, GrGLint* value) { in readPixelsSupported()
2298 auto getIntegerv = [this](GrGLenum query, GrGLint* value) { in readPixelsSupported()
2330 GrGLenum externalFormat; in onReadPixels()
2331 GrGLenum externalType; in onReadPixels()
2468 GrGLenum status; in flushRenderTargetNoColorWrites()
2590 static GrGLenum gr_primitive_type_to_gl_mode(GrPrimitiveType primitiveType) { in gr_primitive_type_to_gl_mode()
2611 const GrGLenum glPrimType = gr_primitive_type_to_gl_mode(primitiveType); in sendMeshToGpu()
2626 const GrGLenum glPrimType = gr_primitive_type_to_gl_mode(primitiveType); in sendIndexedMeshToGpu()
2645 GrGLenum glPrimType = gr_primitive_type_to_gl_mode(primitiveType); in sendInstancedMeshToGpu()
2662 const GrGLenum glPrimType = gr_primitive_type_to_gl_mode(primitiveType); in sendIndexedInstancedMeshToGpu()
2731 GrGLenum gr_to_gl_stencil_op(GrStencilOp op) { in gr_to_gl_stencil_op()
2732 static const GrGLenum gTable[kGrStencilOpCount] = { in gr_to_gl_stencil_op()
2756 GrGLenum glFace) { in set_gl_stencil()
2757 GrGLenum glFunc = GrToGLStencilFunc(face.fTest); in set_gl_stencil()
2758 GrGLenum glFailOp = gr_to_gl_stencil_op(face.fFailOp); in set_gl_stencil()
2759 GrGLenum glPassOp = gr_to_gl_stencil_op(face.fPassOp); in set_gl_stencil()
2924 static void get_gl_swizzle_values(const GrSwizzle& swizzle, GrGLenum glValues[4]) { in get_gl_swizzle_values()
2958 GrGLenum target = texture->target(); in bindTexture()
3044 GrGLenum glValues[4]; in bindTexture()
3184 void GrGLGpu::bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, in bindSurfaceFBOForPixelOps()
3191 GrGLenum target = texture->target(); in bindSurfaceFBOForPixelOps()
3216 void GrGLGpu::unbindTextureFBOForPixelOps(GrGLenum fboTarget, GrSurface* surface) { in unbindTextureFBOForPixelOps()
3220 GrGLenum textureTarget = static_cast<GrGLTexture*>(surface->asTexture())->target(); in unbindTextureFBOForPixelOps()
3236 void GrGLGpu::bindFramebuffer(GrGLenum target, GrGLuint fboid) { in bindFramebuffer()
3786 GrGLenum target = glTex->target(); in onRegenerateMipMapLevels()
3963 GrGLenum internalFormat; in createTestingOnlyBackendTexture()
3983 GrGLenum internalFormat; in createTestingOnlyBackendTexture()
3984 GrGLenum externalFormat; in createTestingOnlyBackendTexture()
3985 GrGLenum externalType; in createTestingOnlyBackendTexture()
4074 GrGLenum colorBufferFormat; in createTestingOnlyBackendRenderTarget()
4075 GrGLenum externalFormat = 0, externalType = 0; in createTestingOnlyBackendRenderTarget()
4159 GrGLenum status; in createTestingOnlyBackendRenderTarget()
4255 GrGLenum result; in waitFence()