Home
last modified time | relevance | path

Searched refs:GrRenderTarget (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/gpu/
DGrRenderTarget.cpp16 bool GrRenderTarget::readPixels(int left, int top, int width, int height, in readPixels()
30 void GrRenderTarget::writePixels(int left, int top, int width, int height, in writePixels()
44 void GrRenderTarget::resolve() { in resolve()
53 size_t GrRenderTarget::sizeInBytes() const { in sizeInBytes()
67 void GrRenderTarget::flagAsNeedingResolve(const GrIRect* rect) { in flagAsNeedingResolve()
80 void GrRenderTarget::overrideResolveRect(const GrIRect rect) { in overrideResolveRect()
91 void GrRenderTarget::setStencilBuffer(GrStencilBuffer* stencilBuffer) { in setStencilBuffer()
DGrGpu.h132 GrRenderTarget* createPlatformRenderTarget(const GrPlatformRenderTargetDesc& desc);
177 void resolveRenderTarget(GrRenderTarget* target);
230 virtual bool readPixelsWillPayForYFlip(GrRenderTarget* renderTarget,
265 bool readPixels(GrRenderTarget* renderTarget,
410 … virtual GrRenderTarget* onCreatePlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) = 0;
435 virtual bool onReadPixels(GrRenderTarget* target,
449 virtual void onResolveRenderTarget(GrRenderTarget* target) = 0;
462 virtual bool createStencilBufferForRenderTarget(GrRenderTarget* rt,
468 GrRenderTarget* rt) = 0;
521 bool attachStencilBufferToRenderTarget(GrRenderTarget* target);
DGrStencilBuffer.h16 class GrRenderTarget; variable
60 void wasAttachedToRenderTarget(const GrRenderTarget* rt) { in wasAttachedToRenderTarget()
64 void wasDetachedFromRenderTarget(const GrRenderTarget* rt);
DGrDrawState.h19 class GrRenderTarget; variable
449 void setRenderTarget(GrRenderTarget* target) { fRenderTarget = target; } in setRenderTarget()
456 const GrRenderTarget* getRenderTarget() const { return fRenderTarget; } in getRenderTarget()
457 GrRenderTarget* getRenderTarget() { return fRenderTarget; } in getRenderTarget()
462 AutoRenderTargetRestore(GrDrawState* ds, GrRenderTarget* newTarget) { in AutoRenderTargetRestore()
467 void set(GrDrawState* ds, GrRenderTarget* newTarget) { in set()
479 GrRenderTarget* fSavedTarget;
783 GrRenderTarget* fRenderTarget;
DGrGpu.cpp161 bool GrGpu::attachStencilBufferToRenderTarget(GrRenderTarget* rt) { in attachStencilBufferToRenderTarget()
203 GrRenderTarget* tgt = tex->asRenderTarget(); in createPlatformTexture()
213 GrRenderTarget* GrGpu::createPlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) { in createPlatformRenderTarget()
241 bool GrGpu::readPixels(GrRenderTarget* target, in readPixels()
263 void GrGpu::resolveRenderTarget(GrRenderTarget* target) { in resolveRenderTarget()
546 const GrRenderTarget* rt = drawState->getRenderTarget(); in setupClipAndFlushState()
DSkGpuCanvas.cpp18 SkGpuCanvas::SkGpuCanvas(GrContext* context, GrRenderTarget* renderTarget) { in SkGpuCanvas()
DGrStencilBuffer.cpp14 void GrStencilBuffer::wasDetachedFromRenderTarget(const GrRenderTarget* rt) { in wasDetachedFromRenderTarget()
DGrContext.cpp540 GrRenderTarget* GrContext::createPlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) { in createPlatformRenderTarget()
1218 const GrRenderTarget* rt = target->getDrawState().getRenderTarget(); in get_path_and_clip_bounds()
1500 GrRenderTarget* target = texture->asRenderTarget(); 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()
1896 void GrContext::setRenderTarget(GrRenderTarget* target) { in setRenderTarget()
1902 GrRenderTarget* GrContext::getRenderTarget() { in getRenderTarget()
1906 const GrRenderTarget* GrContext::getRenderTarget() const { in getRenderTarget()
[all …]
DSkGrTexturePixelRef.cpp126 SkGrRenderTargetPixelRef::SkGrRenderTargetPixelRef(GrRenderTarget* rt) { in SkGrRenderTargetPixelRef()
DSkGpuDevice.cpp131 static SkBitmap make_bitmap(GrContext* context, GrRenderTarget* renderTarget) { in make_bitmap()
147 SkGpuDevice::SkGpuDevice(GrContext* context, GrRenderTarget* renderTarget) in SkGpuDevice()
153 GrRenderTarget* renderTarget) { in initFromRenderTarget()
706 GrRenderTarget* oldRenderTarget = context->getRenderTarget(); in applyMorphology()
780 GrRenderTarget* oldRenderTarget = context->getRenderTarget(); in gaussianBlur()
948 GrRenderTarget* oldRenderTarget = context->getRenderTarget(); in drawWithGPUMaskFilter()
/external/skia/include/gpu/
DGrContext.h266 void setRenderTarget(GrRenderTarget* target);
272 const GrRenderTarget* getRenderTarget() const;
273 GrRenderTarget* getRenderTarget();
300 GrRenderTarget* createPlatformRenderTarget(
484 bool readRenderTargetPixels(GrRenderTarget* target, in readRenderTargetPixels()
508 void writeRenderTargetPixels(GrRenderTarget* target, in writeRenderTargetPixels()
564 void copyTexture(GrTexture* src, GrRenderTarget* dst);
577 void resolveRenderTarget(GrRenderTarget* target);
612 AutoRenderTarget(GrContext* context, GrRenderTarget* target) { in AutoRenderTarget()
627 GrRenderTarget* fPrevTarget;
[all …]
DGrTexture.h16 class GrRenderTarget; variable
96 GrRenderTarget* asRenderTarget() { return fRenderTarget; } in asRenderTarget()
120 GrRenderTarget* fRenderTarget; // texture refs its rt representation
DSkGpuCanvas.h17 class GrRenderTarget; variable
33 explicit SkGpuCanvas(GrContext*, GrRenderTarget*);
DSkGrTexturePixelRef.h68 SkGrRenderTargetPixelRef(GrRenderTarget* rt);
82 GrRenderTarget* fRenderTarget;
DGrRenderTarget.h34 class GrRenderTarget : public GrResource {
175 GrRenderTarget(GrGpu* gpu, in GrRenderTarget() function
DSkGpuDevice.h44 SkGpuDevice(GrContext*, GrRenderTarget*);
162 GrRenderTarget* fRenderTarget;
167 void initFromRenderTarget(GrContext*, GrRenderTarget*);
/external/skia/src/gpu/gl/
DGrGpuGL.h42 GrRenderTarget* renderTarget,
109 …virtual GrRenderTarget* onCreatePlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) SK_OV…
110 virtual bool createStencilBufferForRenderTarget(GrRenderTarget* rt,
113 GrRenderTarget* rt);
119 virtual bool onReadPixels(GrRenderTarget* target,
132 virtual void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE;
209 void notifyRenderTargetDelete(GrRenderTarget* renderTarget);
DGrGLRenderTarget.h21 class GrGLRenderTarget : public GrRenderTarget {
107 typedef GrRenderTarget INHERITED;
DGrGpuGL.cpp329 GrRenderTarget* rt = dstTex.get()->asRenderTarget(); in canPreserveReadWriteUnpremulPixels()
523 GrRenderTarget* GrGpuGL::onCreatePlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) { in onCreatePlatformRenderTarget()
537 GrRenderTarget* tgt = new GrGLRenderTarget(this, glDesc, viewport); in onCreatePlatformRenderTarget()
1031 bool GrGpuGL::createStencilBufferForRenderTarget(GrRenderTarget* rt, in createStencilBufferForRenderTarget()
1097 GrRenderTarget* rt) { in attachStencilBufferToRenderTarget()
1253 const GrRenderTarget* rt = drawState.getRenderTarget(); in onClear()
1307 const GrRenderTarget* rt = drawState.getRenderTarget(); in clearStencilClip()
1343 bool GrGpuGL::readPixelsWillPayForYFlip(GrRenderTarget* renderTarget, in readPixelsWillPayForYFlip()
1369 bool GrGpuGL::onReadPixels(GrRenderTarget* target, in onReadPixels()
1614 void GrGpuGL::onResolveRenderTarget(GrRenderTarget* target) { in onResolveRenderTarget()
[all …]
/external/skia/gm/
Dtexdata.cpp36 GrRenderTarget* target = (GrRenderTarget*) device->accessRenderTarget(); in onDraw()
Dgmmain.cpp275 GrRenderTarget* rt, in generate_image()
504 GrRenderTarget* rt, in test_drawing()
535 GrRenderTarget* rt) { in test_deferred_drawing()
794 SkAutoTUnref<GrRenderTarget> rt; in main()
/external/skia/bench/
Dbenchmain.cpp183 GrRenderTarget* rt; in init()
219 GrRenderTarget* renderTarget() { in renderTarget()
229 SkAutoTUnref<GrRenderTarget> fRenderTarget;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DGaneshContext.cpp161 GrRenderTarget* renderTarget = grContext->createPlatformRenderTarget(renderTargetDesc); in getDeviceForTile()
/external/skia/samplecode/
DSampleApp.h24 class GrRenderTarget; variable
/external/skia/gyp/
Dgpu.gyp171 '../include/gpu/GrRenderTarget.h',
226 '../src/gpu/GrRenderTarget.cpp',

12