• Home
  • Raw
  • Download

Lines Matching refs:GrGLGpu

132 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) {  in BlendCoeffReferencesConstant()
222 class GrGLGpu::SamplerObjectCache {
224 SamplerObjectCache(GrGLGpu* gpu) : fGpu(gpu) { in SamplerObjectCache()
300 GrGLGpu* fGpu;
309 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
329 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), context)); in Make()
332 GrGLGpu::GrGLGpu(std::unique_ptr<GrGLContext> ctx, GrContext* context) in GrGLGpu() function in GrGLGpu
373 GrGLGpu::~GrGLGpu() { in ~GrGLGpu()
413 void GrGLGpu::disconnect(DisconnectType type) { in disconnect()
475 void GrGLGpu::onResetContext(uint32_t resetBits) { in onResetContext()
639 sk_sp<GrTexture> GrGLGpu::onWrapBackendTexture(const GrBackendTexture& backendTex, in onWrapBackendTexture()
672 sk_sp<GrTexture> GrGLGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex, in onWrapRenderableBackendTexture()
721 sk_sp<GrRenderTarget> GrGLGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in onWrapBackendRenderTarget()
745 sk_sp<GrRenderTarget> GrGLGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget()
787 bool GrGLGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height, in onWritePixels()
848 bool GrGLGpu::onTransferPixels(GrTexture* texture, int left, int top, int width, int height, in onTransferPixels()
1152 void GrGLGpu::unbindCpuToGpuXferBuffer() { in unbindCpuToGpuXferBuffer()
1163 bool GrGLGpu::uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, in uploadTexData()
1350 bool GrGLGpu::uploadCompressedTexData(GrPixelConfig texConfig, int texWidth, int texHeight, in uploadCompressedTexData()
1415 bool GrGLGpu::createRenderTargetObjects(const GrSurfaceDesc& desc, in createRenderTargetObjects()
1538 sk_sp<GrTexture> GrGLGpu::onCreateTexture(const GrSurfaceDesc& desc, in onCreateTexture()
1646 int GrGLGpu::getCompatibleStencilIndex(GrPixelConfig config) { in getCompatibleStencilIndex()
1759 bool GrGLGpu::createTextureImpl(const GrSurfaceDesc& desc, GrGLTextureInfo* info, bool renderTarget, in createTextureImpl()
1804 GrStencilAttachment* GrGLGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt, in createStencilAttachmentForRenderTarget()
1859 sk_sp<GrBuffer> GrGLGpu::onCreateBuffer(size_t size, GrBufferType intendedType, in onCreateBuffer()
1864 void GrGLGpu::flushScissor(const GrScissorState& scissorState, in flushScissor()
1889 void GrGLGpu::flushWindowRectangles(const GrWindowRectsState& windowState, in flushWindowRectangles()
1919 void GrGLGpu::disableWindowRectangles() { in disableWindowRectangles()
1929 void GrGLGpu::resolveAndGenerateMipMapsForProcessorTextures( in resolveAndGenerateMipMapsForProcessorTextures()
1965 bool GrGLGpu::flushGLState(GrRenderTarget* renderTarget, in flushGLState()
2037 void GrGLGpu::flushProgram(sk_sp<GrGLProgram> program) { in flushProgram()
2054 void GrGLGpu::flushProgram(GrGLuint id) { in flushProgram()
2065 void GrGLGpu::setupGeometry(const GrBuffer* indexBuffer, in setupGeometry()
2110 GrGLenum GrGLGpu::bindBuffer(GrBufferType type, const GrBuffer* buffer) { in bindBuffer()
2136 void GrGLGpu::disableScissor() { in disableScissor()
2144 void GrGLGpu::clear(const GrFixedClip& clip, const SkPMColor4f& color, in clear()
2176 void GrGLGpu::clearStencil(GrRenderTarget* target, int clearValue) { in clearStencil()
2203 void GrGLGpu::clearStencilClip(const GrFixedClip& clip, in clearStencilClip()
2244 bool GrGLGpu::readPixelsSupported(GrRenderTarget* target, GrPixelConfig readConfig) { in readPixelsSupported()
2268 bool GrGLGpu::readPixelsSupported(GrPixelConfig rtConfig, GrPixelConfig readConfig) { in readPixelsSupported()
2305 bool GrGLGpu::readPixelsSupported(GrSurface* surfaceForConfig, GrPixelConfig readConfig) { in readPixelsSupported()
2314 bool GrGLGpu::onReadPixels(GrSurface* surface, int left, int top, int width, int height, in onReadPixels()
2425 GrGpuRTCommandBuffer* GrGLGpu::getCommandBuffer( in getCommandBuffer()
2437 GrGpuTextureCommandBuffer* GrGLGpu::getCommandBuffer(GrTexture* texture, GrSurfaceOrigin origin) { in getCommandBuffer()
2446 void GrGLGpu::flushRenderTarget(GrGLRenderTarget* target, GrSurfaceOrigin origin, in flushRenderTarget()
2452 void GrGLGpu::flushRenderTarget(GrGLRenderTarget* target) { in flushRenderTarget()
2457 void GrGLGpu::flushRenderTargetNoColorWrites(GrGLRenderTarget* target) { in flushRenderTargetNoColorWrites()
2484 void GrGLGpu::flushFramebufferSRGB(bool enable) { in flushFramebufferSRGB()
2494 void GrGLGpu::flushViewport(const GrGLIRect& viewport) { in flushViewport()
2523 void GrGLGpu::draw(GrRenderTarget* renderTarget, GrSurfaceOrigin origin, in draw()
2609 void GrGLGpu::sendMeshToGpu(GrPrimitiveType primitiveType, const GrBuffer* vertexBuffer, in sendMeshToGpu()
2622 void GrGLGpu::sendIndexedMeshToGpu(GrPrimitiveType primitiveType, const GrBuffer* indexBuffer, in sendIndexedMeshToGpu()
2641 void GrGLGpu::sendInstancedMeshToGpu(GrPrimitiveType primitiveType, const GrBuffer* vertexBuffer, in sendInstancedMeshToGpu()
2656 void GrGLGpu::sendIndexedInstancedMeshToGpu(GrPrimitiveType primitiveType, in sendIndexedInstancedMeshToGpu()
2675 void GrGLGpu::onResolveRenderTarget(GrRenderTarget* target) { in onResolveRenderTarget()
2779 void GrGLGpu::flushStencil(const GrStencilSettings& stencilSettings) { in flushStencil()
2804 void GrGLGpu::disableStencil() { in disableStencil()
2813 void GrGLGpu::flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool stencilEnabled) { in flushHWAAState()
2859 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlend()
2936 void GrGLGpu::bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture) { in bindTexture()
3078 void GrGLGpu::flushColorWrite(bool writeColor) { in flushColorWrite()
3093 void GrGLGpu::flushClearColor(GrGLfloat r, GrGLfloat g, GrGLfloat b, GrGLfloat a) { in flushClearColor()
3104 void GrGLGpu::setTextureUnit(int unit) { in setTextureUnit()
3112 void GrGLGpu::setScratchTextureUnit() { in setScratchTextureUnit()
3184 void GrGLGpu::bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, in bindSurfaceFBOForPixelOps()
3216 void GrGLGpu::unbindTextureFBOForPixelOps(GrGLenum fboTarget, GrSurface* surface) { in unbindTextureFBOForPixelOps()
3229 void GrGLGpu::onFBOChanged() { in onFBOChanged()
3236 void GrGLGpu::bindFramebuffer(GrGLenum target, GrGLuint fboid) { in bindFramebuffer()
3253 void GrGLGpu::deleteFramebuffer(GrGLuint fboid) { in deleteFramebuffer()
3276 bool GrGLGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, in onCopySurface()
3315 bool GrGLGpu::createCopyProgram(GrTexture* srcTex) { in createCopyProgram()
3436 bool GrGLGpu::createMipmapProgram(int progIdx) { in createMipmapProgram()
3593 bool GrGLGpu::copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsDraw()
3686 void GrGLGpu::copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsCopyTexSubImage()
3718 bool GrGLGpu::copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsBlitFramebuffer()
3772 bool GrGLGpu::onRegenerateMipMapLevels(GrTexture* texture) { in onRegenerateMipMapLevels()
3896 void GrGLGpu::xferBarrier(GrRenderTarget* rt, GrXferBarrierType type) { in xferBarrier()
3922 GrBackendTexture GrGLGpu::createTestingOnlyBackendTexture(const void* pixels, int w, int h, in createTestingOnlyBackendTexture()
4040 bool GrGLGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture()
4054 void GrGLGpu::deleteTestingOnlyBackendTexture(const GrBackendTexture& tex) { in deleteTestingOnlyBackendTexture()
4063 GrBackendRenderTarget GrGLGpu::createTestingOnlyBackendRenderTarget(int w, int h, in createTestingOnlyBackendRenderTarget()
4180 void GrGLGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in deleteTestingOnlyBackendRenderTarget()
4190 void GrGLGpu::testingOnly_flushGpuAndSync() { in testingOnly_flushGpuAndSync()
4197 GrGLAttribArrayState* GrGLGpu::HWVertexArrayState::bindInternalVertexArray(GrGLGpu* gpu, in bindInternalVertexArray()
4229 void GrGLGpu::onFinishFlush(bool insertedSemaphore) { in onFinishFlush()
4236 void GrGLGpu::submit(GrGpuCommandBuffer* buffer) { in submit()
4246 GrFence SK_WARN_UNUSED_RESULT GrGLGpu::insertFence() { in insertFence()
4254 bool GrGLGpu::waitFence(GrFence fence, uint64_t timeout) { in waitFence()
4260 void GrGLGpu::deleteFence(GrFence fence) const { in deleteFence()
4264 sk_sp<GrSemaphore> SK_WARN_UNUSED_RESULT GrGLGpu::makeSemaphore(bool isOwned) { in makeSemaphore()
4269 sk_sp<GrSemaphore> GrGLGpu::wrapBackendSemaphore(const GrBackendSemaphore& semaphore, in wrapBackendSemaphore()
4276 void GrGLGpu::insertSemaphore(sk_sp<GrSemaphore> semaphore) { in insertSemaphore()
4284 void GrGLGpu::waitSemaphore(sk_sp<GrSemaphore> semaphore) { in waitSemaphore()
4290 void GrGLGpu::deleteSync(GrGLsync sync) const { in deleteSync()
4294 void GrGLGpu::insertEventMarker(const char* msg) { in insertEventMarker()
4298 sk_sp<GrSemaphore> GrGLGpu::prepareTextureForCrossContextUsage(GrTexture* texture) { in prepareTextureForCrossContextUsage()
4308 int GrGLGpu::TextureToCopyProgramIdx(GrTexture* texture) { in TextureToCopyProgramIdx()
4324 void GrGLGpu::onDumpJSON(SkJSONWriter* writer) const { in onDumpJSON()