Lines Matching refs:GrContext
46 GrContext* GrContext::Create(GrEngine engine, in Create()
48 GrContext* ctx = NULL; in Create()
51 ctx = new GrContext(fGpu); in Create()
57 GrContext::~GrContext() { in ~GrContext()
71 void GrContext::contextLost() { in contextLost()
76 void GrContext::contextDestroyed() { in contextDestroyed()
102 void GrContext::resetContext() { in resetContext()
106 void GrContext::freeGpuResources() { in freeGpuResources()
114 size_t GrContext::getGpuTextureCacheBytes() const { in getGpuTextureCacheBytes()
120 int GrContext::PaintStageVertexLayoutBits( in PaintStageVertexLayoutBits()
151 GrTexture* GrContext::TextureCacheEntry::texture() const { in texture()
163 GrContext::TextureKey clientKey, in gen_texture_key_values()
169 GR_STATIC_ASSERT(sizeof(GrContext::TextureKey) == sizeof(uint64_t)); in gen_texture_key_values()
223 GrContext::TextureCacheEntry GrContext::findAndLockTexture( in findAndLockTexture()
235 bool GrContext::isTextureInCache(TextureKey key, in isTextureInCache()
245 GrResourceEntry* GrContext::addAndLockStencilBuffer(GrStencilBuffer* sb) { in addAndLockStencilBuffer()
253 GrStencilBuffer* GrContext::findStencilBuffer(int width, int height, in findStencilBuffer()
268 void GrContext::unlockStencilBuffer(GrResourceEntry* sbEntry) { in unlockStencilBuffer()
300 GrContext::TextureCacheEntry GrContext::createAndLockTexture( in createAndLockTexture()
420 GrContext::TextureKey descKey = (desc.fFlags << 8) | in gen_scratch_tex_key_values()
429 GrContext::TextureCacheEntry GrContext::lockScratchTexture( in lockScratchTexture()
499 void GrContext::unlockTexture(TextureCacheEntry entry) { in unlockTexture()
511 GrTexture* GrContext::createUncachedTexture(const GrTextureDesc& desc, in createUncachedTexture()
517 void GrContext::getTextureCacheLimits(int* maxTextures, in getTextureCacheLimits()
522 void GrContext::setTextureCacheLimits(int maxTextures, size_t maxTextureBytes) { in setTextureCacheLimits()
526 int GrContext::getMaxTextureSize() const { in getMaxTextureSize()
530 int GrContext::getMaxRenderTargetSize() const { in getMaxRenderTargetSize()
536 GrTexture* GrContext::createPlatformTexture(const GrPlatformTextureDesc& desc) { in createPlatformTexture()
540 GrRenderTarget* GrContext::createPlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) { in createPlatformRenderTarget()
546 bool GrContext::supportsIndex8PixelConfig(const GrSamplerState* sampler, in supportsIndex8PixelConfig()
568 const GrClip& GrContext::getClip() const { return fGpu->getClip(); } in getClip()
570 void GrContext::setClip(const GrClip& clip) { in setClip()
575 void GrContext::setClip(const GrIRect& rect) { in setClip()
583 void GrContext::clear(const GrIRect* rect, const GrColor color) { in clear()
588 void GrContext::drawPaint(const GrPaint& paint) { in drawPaint()
679 int GrContext::aaFillRectIndexCount() const { in aaFillRectIndexCount()
683 GrIndexBuffer* GrContext::aaFillRectIndexBuffer() { in aaFillRectIndexBuffer()
716 int GrContext::aaStrokeRectIndexCount() const { in aaStrokeRectIndexCount()
720 GrIndexBuffer* GrContext::aaStrokeRectIndexBuffer() { in aaStrokeRectIndexBuffer()
752 void GrContext::fillAARect(GrDrawTarget* target, in fillAARect()
801 void GrContext::strokeAARect(GrDrawTarget* target, in strokeAARect()
943 void GrContext::drawRect(const GrPaint& paint, in drawRect()
1050 void GrContext::drawRectToRect(const GrPaint& paint, in drawRectToRect()
1121 void GrContext::drawVertices(const GrPaint& paint, in drawVertices()
1259 GrContext* context, in sw_draw_path_to_mask_texture()
1356 void GrContext::drawPath(const GrPaint& paint, const GrPath& path, in drawPath()
1440 void GrContext::flush(int flagsBitfield) { in flush()
1451 void GrContext::flushText() { in flushText()
1457 void GrContext::flushDrawBuffer() { in flushDrawBuffer()
1466 void GrContext::internalWriteTexturePixels(GrTexture* texture, in internalWriteTexturePixels()
1489 bool GrContext::internalReadTexturePixels(GrTexture* texture, in internalReadTexturePixels()
1540 bool GrContext::internalReadRenderTargetPixels(GrRenderTarget* target, in internalReadRenderTargetPixels()
1668 void GrContext::resolveRenderTarget(GrRenderTarget* target) { in resolveRenderTarget()
1678 void GrContext::copyTexture(GrTexture* src, GrRenderTarget* dst) { in copyTexture()
1698 void GrContext::internalWriteRenderTargetPixels(GrRenderTarget* target, in internalWriteRenderTargetPixels()
1805 void GrContext::setPaint(const GrPaint& paint, GrDrawTarget* target) { in setPaint()
1855 GrDrawTarget* GrContext::prepareToDraw(const GrPaint& paint, in prepareToDraw()
1883 GrPathRenderer* GrContext::getPathRenderer(const GrPath& path, in getPathRenderer()
1896 void GrContext::setRenderTarget(GrRenderTarget* target) { in setRenderTarget()
1902 GrRenderTarget* GrContext::getRenderTarget() { in getRenderTarget()
1906 const GrRenderTarget* GrContext::getRenderTarget() const { in getRenderTarget()
1910 const GrMatrix& GrContext::getMatrix() const { in getMatrix()
1914 void GrContext::setMatrix(const GrMatrix& m) { in setMatrix()
1918 void GrContext::concatMatrix(const GrMatrix& m) const { in concatMatrix()
1932 void GrContext::resetStats() { in resetStats()
1936 const GrGpuStats& GrContext::getStats() const { in getStats()
1940 void GrContext::printStats() const { in printStats()
1944 GrContext::GrContext(GrGpu* gpu) { in GrContext() function in GrContext
1967 void GrContext::setupDrawBuffer() { in setupDrawBuffer()
1993 GrDrawTarget* GrContext::getTextTarget(const GrPaint& paint) { in getTextTarget()
2004 const GrIndexBuffer* GrContext::getQuadIndexBuffer() const { in getQuadIndexBuffer()
2008 void GrContext::convolve(GrTexture* texture, in convolve()
2031 void GrContext::applyMorphology(GrTexture* texture, in applyMorphology()