Lines Matching refs:GrGLGpu
126 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { in BlendCoeffReferencesConstant()
178 sk_sp<GrGpu> GrGLGpu::Make(GrBackendContext backendContext, const GrContextOptions& options, in Make()
184 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
204 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), context)); in Make()
207 GrGLGpu::GrGLGpu(std::unique_ptr<GrGLContext> ctx, GrContext* context) in GrGLGpu() function in GrGLGpu
251 GrGLGpu::~GrGLGpu() { in ~GrGLGpu()
298 void GrGLGpu::disconnect(DisconnectType type) { in disconnect()
362 void GrGLGpu::onResetContext(uint32_t resetBits) { in onResetContext()
527 sk_sp<GrTexture> GrGLGpu::onWrapBackendTexture(const GrBackendTexture& backendTex, in onWrapBackendTexture()
556 sk_sp<GrTexture> GrGLGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex, in onWrapRenderableBackendTexture()
603 sk_sp<GrRenderTarget> GrGLGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in onWrapBackendRenderTarget()
627 sk_sp<GrRenderTarget> GrGLGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget()
662 bool GrGLGpu::onGetWritePixelsInfo(GrSurface* dstSurface, GrSurfaceOrigin dstOrigin, in onGetWritePixelsInfo()
764 bool GrGLGpu::onWritePixels(GrSurface* surface, GrSurfaceOrigin origin, in onWritePixels()
814 bool GrGLGpu::onTransferPixels(GrTexture* texture, in onTransferPixels()
1014 void GrGLGpu::unbindCpuToGpuXferBuffer() { in unbindCpuToGpuXferBuffer()
1023 bool GrGLGpu::uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, in uploadTexData()
1274 bool GrGLGpu::createRenderTargetObjects(const GrSurfaceDesc& desc, in createRenderTargetObjects()
1416 sk_sp<GrTexture> GrGLGpu::onCreateTexture(const GrSurfaceDesc& desc, in onCreateTexture()
1528 int GrGLGpu::getCompatibleStencilIndex(GrPixelConfig config) { in getCompatibleStencilIndex()
1641 bool GrGLGpu::createTextureImpl(const GrSurfaceDesc& desc, GrGLTextureInfo* info, in createTextureImpl()
1676 GrStencilAttachment* GrGLGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt, in createStencilAttachmentForRenderTarget()
1731 GrBuffer* GrGLGpu::onCreateBuffer(size_t size, GrBufferType intendedType, in onCreateBuffer()
1736 void GrGLGpu::flushScissor(const GrScissorState& scissorState, in flushScissor()
1761 void GrGLGpu::flushWindowRectangles(const GrWindowRectsState& windowState, in flushWindowRectangles()
1791 void GrGLGpu::disableWindowRectangles() { in disableWindowRectangles()
1801 void GrGLGpu::flushMinSampleShading(float minSampleShading) { in flushMinSampleShading()
1814 bool GrGLGpu::flushGLState(const GrPipeline& pipeline, const GrPrimitiveProcessor& primProc, in flushGLState()
1865 void GrGLGpu::setupGeometry(const GrPrimitiveProcessor& primProc, in setupGeometry()
1914 GrGLenum GrGLGpu::bindBuffer(GrBufferType type, const GrBuffer* buffer) { in bindBuffer()
1941 void GrGLGpu::notifyBufferReleased(const GrGLBuffer* buffer) { in notifyBufferReleased()
1966 void GrGLGpu::disableScissor() { in disableScissor()
1974 void GrGLGpu::clear(const GrFixedClip& clip, GrColor color, in clear()
2013 void GrGLGpu::clearStencil(GrRenderTarget* target, int clearValue) { in clearStencil()
2038 void GrGLGpu::clearStencilClip(const GrFixedClip& clip, in clearStencilClip()
2109 bool GrGLGpu::readPixelsSupported(GrRenderTarget* target, GrPixelConfig readConfig) { in readPixelsSupported()
2133 bool GrGLGpu::readPixelsSupported(GrPixelConfig rtConfig, GrPixelConfig readConfig) { in readPixelsSupported()
2172 bool GrGLGpu::readPixelsSupported(GrSurface* surfaceForConfig, GrPixelConfig readConfig) { in readPixelsSupported()
2190 bool GrGLGpu::onGetReadPixelsInfo(GrSurface* srcSurface, GrSurfaceOrigin srcOrigin, in onGetReadPixelsInfo()
2308 bool GrGLGpu::onReadPixels(GrSurface* surface, GrSurfaceOrigin origin, in onReadPixels()
2493 GrGpuRTCommandBuffer* GrGLGpu::createCommandBuffer( in createCommandBuffer()
2500 GrGpuTextureCommandBuffer* GrGLGpu::createCommandBuffer(GrTexture* texture, in createCommandBuffer()
2505 void GrGLGpu::flushRenderTarget(GrGLRenderTarget* target, const SkIRect* bounds, bool disableSRGB) { in flushRenderTarget()
2536 void GrGLGpu::flushFramebufferSRGB(bool enable) { in flushFramebufferSRGB()
2546 void GrGLGpu::flushViewport(const GrGLIRect& viewport) { in flushViewport()
2575 void GrGLGpu::draw(const GrPipeline& pipeline, in draw()
2650 void GrGLGpu::sendMeshToGpu(const GrPrimitiveProcessor& primProc, GrPrimitiveType primitiveType, in sendMeshToGpu()
2663 void GrGLGpu::sendIndexedMeshToGpu(const GrPrimitiveProcessor& primProc, in sendIndexedMeshToGpu()
2683 void GrGLGpu::sendInstancedMeshToGpu(const GrPrimitiveProcessor& primProc, GrPrimitiveType in sendInstancedMeshToGpu()
2698 void GrGLGpu::sendIndexedInstancedMeshToGpu(const GrPrimitiveProcessor& primProc, in sendIndexedInstancedMeshToGpu()
2714 void GrGLGpu::onResolveRenderTarget(GrRenderTarget* target, GrSurfaceOrigin origin) { in onResolveRenderTarget()
2817 void GrGLGpu::flushStencil(const GrStencilSettings& stencilSettings) { in flushStencil()
2842 void GrGLGpu::disableStencil() { in disableStencil()
2851 void GrGLGpu::flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool stencilEnabled) { in flushHWAAState()
2894 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlend()
3026 void GrGLGpu::bindTexture(int unitIdx, const GrSamplerState& samplerState, bool allowSRGBInputs, in bindTexture()
3137 void GrGLGpu::bindTexelBuffer(int unitIdx, GrPixelConfig texelConfig, GrGLBuffer* buffer) { in bindTexelBuffer()
3181 void GrGLGpu::generateMipmaps(const GrSamplerState& params, bool allowSRGBInputs, in generateMipmaps()
3254 void GrGLGpu::setTextureSwizzle(int unitIdx, GrGLenum target, const GrGLenum swizzle[]) { in setTextureSwizzle()
3269 void GrGLGpu::flushColorWrite(bool writeColor) { in flushColorWrite()
3284 void GrGLGpu::setTextureUnit(int unit) { in setTextureUnit()
3292 void GrGLGpu::setScratchTextureUnit() { in setScratchTextureUnit()
3310 const GrGLGpu* gpu) { in can_blit_framebuffer_for_copy_surface()
3387 const GrGLGpu* gpu) { in can_copy_texsubimage()
3430 void GrGLGpu::bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, in bindSurfaceFBOForPixelOps()
3464 void GrGLGpu::unbindTextureFBOForPixelOps(GrGLenum fboTarget, GrSurface* surface) { in unbindTextureFBOForPixelOps()
3477 bool GrGLGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, in onCopySurface()
3515 bool GrGLGpu::createCopyProgram(GrTexture* srcTex) { in createCopyProgram()
3639 bool GrGLGpu::createMipmapProgram(int progIdx) { in createMipmapProgram()
3796 bool GrGLGpu::createStencilClipClearProgram() { in createStencilClipClearProgram()
3866 void GrGLGpu::clearStencilClipAsDraw(const GrFixedClip& clip, bool insideStencilMask, in clearStencilClipAsDraw()
3908 bool GrGLGpu::createClearColorProgram() { in createClearColorProgram()
3981 void GrGLGpu::clearColorAsDraw(const GrFixedClip& clip, GrGLfloat r, GrGLfloat g, GrGLfloat b, in clearColorAsDraw()
4026 bool GrGLGpu::copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsDraw()
4114 void GrGLGpu::copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsCopyTexSubImage()
4146 bool GrGLGpu::copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsBlitFramebuffer()
4203 bool GrGLGpu::generateMipmap(GrGLTexture* texture, GrSurfaceOrigin textureOrigin, in generateMipmap()
4350 void GrGLGpu::onQueryMultisampleSpecs(GrRenderTarget* rt, GrSurfaceOrigin rtOrigin, in onQueryMultisampleSpecs()
4382 void GrGLGpu::xferBarrier(GrRenderTarget* rt, GrXferBarrierType type) { in xferBarrier()
4407 GrBackendTexture GrGLGpu::createTestingOnlyBackendTexture(void* pixels, int w, int h, in createTestingOnlyBackendTexture()
4472 bool GrGLGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture()
4486 void GrGLGpu::deleteTestingOnlyBackendTexture(GrBackendTexture* tex, bool abandonTexture) { in deleteTestingOnlyBackendTexture()
4497 void GrGLGpu::resetShaderCacheForTesting() const { in resetShaderCacheForTesting()
4501 void GrGLGpu::testingOnly_flushGpuAndSync() { in testingOnly_flushGpuAndSync()
4507 GrGLAttribArrayState* GrGLGpu::HWVertexArrayState::bindInternalVertexArray(GrGLGpu* gpu, in bindInternalVertexArray()
4539 bool GrGLGpu::onIsACopyNeededForTextureParams(GrTextureProxy* proxy, in onIsACopyNeededForTextureParams()
4563 void GrGLGpu::onFinishFlush(bool insertedSemaphore) { in onFinishFlush()
4570 GrFence SK_WARN_UNUSED_RESULT GrGLGpu::insertFence() { in insertFence()
4578 bool GrGLGpu::waitFence(GrFence fence, uint64_t timeout) { in waitFence()
4584 void GrGLGpu::deleteFence(GrFence fence) const { in deleteFence()
4588 sk_sp<GrSemaphore> SK_WARN_UNUSED_RESULT GrGLGpu::makeSemaphore(bool isOwned) { in makeSemaphore()
4593 sk_sp<GrSemaphore> GrGLGpu::wrapBackendSemaphore(const GrBackendSemaphore& semaphore, in wrapBackendSemaphore()
4600 void GrGLGpu::insertSemaphore(sk_sp<GrSemaphore> semaphore, bool flush) { in insertSemaphore()
4612 void GrGLGpu::waitSemaphore(sk_sp<GrSemaphore> semaphore) { in waitSemaphore()
4618 void GrGLGpu::deleteSync(GrGLsync sync) const { in deleteSync()
4622 void GrGLGpu::insertEventMarker(const char* msg) { in insertEventMarker()
4626 sk_sp<GrSemaphore> GrGLGpu::prepareTextureForCrossContextUsage(GrTexture* texture) { in prepareTextureForCrossContextUsage()
4634 int GrGLGpu::TextureToCopyProgramIdx(GrTexture* texture) { in TextureToCopyProgramIdx()
4650 void GrGLGpu::onDumpJSON(SkJSONWriter* writer) const { in onDumpJSON()