/external/skia/tests/ |
D | GrSurfaceTest.cpp | 31 REPORTER_ASSERT(reporter, texRT1 == texRT1->asRenderTarget()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 33 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == in DEF_GPUTEST_FOR_NULL_CONTEXT() 35 REPORTER_ASSERT(reporter, texRT1->asRenderTarget() == in DEF_GPUTEST_FOR_NULL_CONTEXT() 37 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == in DEF_GPUTEST_FOR_NULL_CONTEXT() 42 REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 58 REPORTER_ASSERT(reporter, texRT2 == texRT2->asRenderTarget()); in DEF_GPUTEST_FOR_NULL_CONTEXT() 60 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == in DEF_GPUTEST_FOR_NULL_CONTEXT() 62 REPORTER_ASSERT(reporter, texRT2->asRenderTarget() == in DEF_GPUTEST_FOR_NULL_CONTEXT() 64 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
D | VkClearTests.cpp | 63 SkASSERT(tex->asRenderTarget()); in basic_clear_test() 66 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); in basic_clear_test() 76 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in basic_clear_test() 88 gpu->clear(rect, myColor, tex->asRenderTarget()); in basic_clear_test() 118 SkASSERT(tex->asRenderTarget()); in sub_clear_test() 121 gpu->clear(fullRect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); in sub_clear_test() 132 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test() 134 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test() 136 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test() 147 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test() [all …]
|
D | ResourceCacheTest.cpp | 95 if (smallRT0 && smallRT0->asRenderTarget()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 96 resourceProvider->attachStencilAttachment(smallRT0->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 100 if (smallRT1 && smallRT1->asRenderTarget()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 101 resourceProvider->attachStencilAttachment(smallRT1->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 106 smallRT0->asRenderTarget() && smallRT1->asRenderTarget() && in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 107 resourceProvider->attachStencilAttachment(smallRT0->asRenderTarget()) == in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 108 resourceProvider->attachStencilAttachment(smallRT1->asRenderTarget())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 112 if (smallRT2 && smallRT2->asRenderTarget()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 113 resourceProvider->attachStencilAttachment(smallRT2->asRenderTarget()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 117 smallRT0->asRenderTarget() && smallRT2->asRenderTarget() && in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ReadWriteAlphaTest.cpp | 89 if (texture->asRenderTarget()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 92 texture->asRenderTarget(), &props, SkGpuDevice::kUninit_InitContents)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrTextureMipMapInvalidationTest.cpp | 44 SkSurface* surface = SkSurface::NewRenderTargetDirect(texRT2->asRenderTarget()); in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
D | RectangleTextureTest.cpp | 91 if (rectangleTexture->asRenderTarget()) { in test_clear() 92 SkAutoTUnref<GrDrawContext> dc(context->drawContext(rectangleTexture->asRenderTarget())); in test_clear()
|
D | GLProgramsTest.cpp | 178 return texture ? texture->asRenderTarget() : nullptr; in random_render_target() 376 context->textureProvider()->createTexture(rtDesc, SkBudgeted::kNo)->asRenderTarget()); in ProgramUnitTest()
|
/external/skia/src/gpu/ |
D | GrTextureToYUVPlanes.cpp | 120 SkAutoTUnref<GrDrawContext> dc(context->drawContext(yuvTex->asRenderTarget())); in GrTextureToYUVPlanes() 131 SkAutoTUnref<GrDrawContext> dc(context->drawContext(yTex->asRenderTarget())); in GrTextureToYUVPlanes() 140 dc.reset(context->drawContext(uvTex->asRenderTarget())); in GrTextureToYUVPlanes() 150 dc.reset(context->drawContext(uTex->asRenderTarget())); in GrTextureToYUVPlanes() 158 dc.reset(context->drawContext(vTex->asRenderTarget())); in GrTextureToYUVPlanes()
|
D | GrSurface.cpp | 173 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingRead() 185 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingWrite() 197 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingIO()
|
D | GrTexture.cpp | 55 if (this->asRenderTarget()) { in validateDesc() 58 SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numColorSamples()); in validateDesc()
|
D | GrContext.cpp | 315 GrRenderTarget* renderTarget = surface->asRenderTarget(); in writeSurfacePixels() 456 SkAutoTUnref<GrDrawContext> drawContext(this->drawContext(temp->asRenderTarget())); in readSurfacePixels() 508 GrRenderTarget* rt = surface->asRenderTarget(); in prepareSurfaceForExternalIO() 526 if (!dst->asRenderTarget()) { in copySurface() 541 SkAutoTUnref<GrDrawContext> drawContext(this->drawContext(dst->asRenderTarget())); in copySurface()
|
D | GrGpu.cpp | 179 GrRenderTarget* tgt = tex->asRenderTarget(); in wrapBackendTexture() 304 if (SkToBool(dstSurface->asRenderTarget())) { in getWritePixelsInfo() 319 if (!dstSurface->asRenderTarget() || in getWritePixelsInfo()
|
D | GrDrawTarget.cpp | 86 if (dependedOn->asRenderTarget() && dependedOn->asRenderTarget()->getLastDrawTarget()) { in addDependency() 90 GrDrawTarget* dt = dependedOn->asRenderTarget()->getLastDrawTarget(); in addDependency()
|
D | GrClipMaskManager.cpp | 132 texture->asRenderTarget(), in GetPathRenderer() 508 GrRenderTarget* rt = target->asRenderTarget(); in drawElement() 643 texture->asRenderTarget()); in createAlphaClipMask() 672 pipelineBuilder.setRenderTarget(texture->asRenderTarget()); in createAlphaClipMask() 695 backgroundPipelineBuilder.setRenderTarget(texture->asRenderTarget()); in createAlphaClipMask()
|
D | GrLayerHoister.cpp | 235 atlased[0].fLayer->texture()->asRenderTarget(), &props)); in DrawLayersToAtlas() 335 layer->texture()->asRenderTarget(), &props)); in DrawLayers()
|
D | GrTest.cpp | 82 SkASSERT(nullptr != texture->asRenderTarget()); in getTestTarget() 83 rt = texture->asRenderTarget(); in getTestTarget()
|
D | GrYUVProvider.cpp | 121 GrRenderTarget* renderTarget = result->asRenderTarget(); in refAsTexture()
|
D | GrTextureProvider.cpp | 111 GrRenderTarget* rt = surface->asRenderTarget(); in refScratchTexture()
|
/external/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 256 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur() 278 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur() 298 srcDrawContext.reset(context->drawContext(srcTexture->asRenderTarget())); in GaussianBlur() 312 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur() 331 srcDrawContext.reset(context->drawContext(srcTexture->asRenderTarget())); in GaussianBlur() 345 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur() 385 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur()
|
/external/skia/src/core/ |
D | SkSpecialSurface.cpp | 127 SkASSERT(fTexture->asRenderTarget()); in SkSpecialSurface_Gpu() 129 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(fTexture->asRenderTarget(), props, in SkSpecialSurface_Gpu() 155 if (!texture->asRenderTarget()) { in NewFromTexture()
|
/external/skia/include/gpu/ |
D | GrRenderTarget.h | 28 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function 29 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
|
D | GrSurface.h | 66 virtual GrRenderTarget* asRenderTarget() { return NULL; } in asRenderTarget() function 67 virtual const GrRenderTarget* asRenderTarget() const { return NULL; } in asRenderTarget() function
|
D | GrGpuResourceRef.h | 140 return surface->asRenderTarget(); in get()
|
/external/skia/src/gpu/batches/ |
D | GrCopySurfaceBatch.h | 36 GrRenderTarget* rt = fDst.get()->asRenderTarget(); in renderTargetUniqueID() 39 GrRenderTarget* renderTarget() const override { return fDst.get()->asRenderTarget(); } in renderTarget()
|
/external/skia/src/gpu/effects/ |
D | GrConfigConversionEffect.cpp | 228 context->drawContext(readTex->asRenderTarget())); in TestForPreservingPMConversions() 246 context->drawContext(tempTex->asRenderTarget())); in TestForPreservingPMConversions() 260 readDrawContext.reset(context->drawContext(readTex->asRenderTarget())); in TestForPreservingPMConversions()
|