Home
last modified time | relevance | path

Searched refs:peekTexture (Results 1 – 25 of 83) sorted by relevance

1234

/external/skqp/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.cpp22 combined.postIDiv(coordTransform.peekTexture()->width(), in GetTransformMatrix()
23 coordTransform.peekTexture()->height()); in GetTransformMatrix()
39 SkScalar h = coordTransform.peekTexture()->height(); in GetTransformMatrix()
DGrGLSLProgramBuilder.cpp109 const GrTexture* texture = primProcProxies[i]->peekTexture(); in emitAndInstallPrimProc()
194 texSamplers.emplace_back(this->emitSampler(sampler.peekTexture(), in emitAndInstallFragProc()
/external/skqp/tests/
DGrMipMappedTest.cpp77 GrTexture* texture = proxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
168 GrTexture* genTexture = genProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
262 GrTexture* texture = texProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 texture = texProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DEGLImageTest.cpp171 REPORTER_ASSERT(reporter, proxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
175 proxy->peekTexture()->texturePriv().textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
177 REPORTER_ASSERT(reporter, proxy->peekTexture()->texturePriv().hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp148 SkASSERT(rectProxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
151 SkASSERT(rectProxy->peekTexture()->texturePriv().textureType() == in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
154 SkASSERT(rectProxy->peekTexture()->texturePriv().hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp304 proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888, write.addr32(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
318 proxy->peekTexture(), kTopLeft_GrSurfaceOrigin, copySrc->peekTexture(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
330 proxy->peekTexture()->texturePriv().markMipMapsDirty(); // avoids assert in GrGpu. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
332 context->contextPriv().getGpu()->regenerateMipMapLevels(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/
DGrCoordTransform.h101 GrTexture* peekTexture() const { return fProxy->peekTexture(); } in peekTexture() function
DGrTextureOpList.cpp76 SkASSERT(fTarget.get()->peekTexture()); in onPrepare()
101 SkASSERT(fTarget.get()->peekTexture()); in onExecute()
104 flushState->gpu()->getCommandBuffer(fTarget.get()->peekTexture(), in onExecute()
DGrFragmentProcessor.h439 GrTexture* peekTexture() const { in peekTexture() function
440 SkASSERT(fProxyRef.get()->peekTexture()); in peekTexture()
441 return fProxyRef.get()->peekTexture(); in peekTexture()
DGrPipeline.cpp92 if (fDstTextureProxy.get() && fDstTextureProxy.get()->peekTexture() == texture) { in xferBarrierType()
/external/skia/tests/
DEGLImageTest.cpp178 REPORTER_ASSERT(reporter, proxy->peekTexture()->mipmapped() == GrMipmapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
181 REPORTER_ASSERT(reporter, proxy->peekTexture()->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
183 REPORTER_ASSERT(reporter, proxy->peekTexture()->hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp166 SkASSERT(rectProxy->peekTexture()->mipmapped() == GrMipmapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
169 SkASSERT(rectProxy->peekTexture()->textureType() == GrTextureType::kRectangle); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
171 SkASSERT(rectProxy->peekTexture()->hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrMipMappedTest.cpp102 GrTexture* texture = proxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 GrTexture* genTexture = genProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
318 GrTexture* texture = texProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
328 texture = texProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp392 proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
426 proxy->peekTexture()->markMipmapsDirty(); // avoids assert in GrGpu. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
428 dContext->priv().getGpu()->regenerateMipMapLevels(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/gl/
DGrGLProgram.cpp112 auto* tex = static_cast<GrGLTexture*>(proxies[i]->peekTexture()); in updatePrimitiveProcessorTextureBindings()
127 static_cast<GrGLTexture*>(sampler.peekTexture())); in setFragmentData()
/external/skia/src/gpu/
DGrDirectContextPriv.cpp30 SkASSERT(!(P) || !((P)->peekTexture()) || (P)->peekTexture()->getContext() == fContext)
DGrTextureProxy.cpp114 SkASSERT(this->peekTexture()); in instantiate()
149 return this->peekTexture()->mipmapped(); in mipmapped()
DGrTextureResolveRenderTask.cpp82 GrTexture* texture = this->target(i)->peekTexture(); in onExecute()
DGrThreadSafeCache.cpp348 SkASSERT(!trampoline->fProxy->peekTexture()->getUniqueKey().isValid()); in CreateLazyView()
350 sk_ref_sp(trampoline->fProxy->peekTexture())); in CreateLazyView()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp189 assign_atlas_textures(retiredAtlas->textureProxy()->peekTexture(), nextPathToAssign, in preFlush()
197 assign_atlas_textures(atlas->textureProxy()->peekTexture(), nextPathToAssign, end); in preFlush()
/external/skqp/src/gpu/vk/
DGrVkPipelineState.cpp215 auto texture = static_cast<GrVkTexture*>(primProcTextures[i]->peekTexture()); in setAndBindTextures()
227 {sampler.samplerState(), static_cast<GrVkTexture*>(sampler.peekTexture())}; in setAndBindTextures()
237 static_cast<GrVkTexture*>(dstTextureProxy->peekTexture())}; in setAndBindTextures()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineState.mm76 auto texture = static_cast<GrMtlTexture*>(primProcTextures[i]->peekTexture());
88 fSamplerBindings.emplace_back(sampler.samplerState(), sampler.peekTexture(), fGpu);
104 dstTextureProxy->peekTexture(),
/external/skqp/src/gpu/ccpr/
DGrCCClipPath.cpp44 return sk_ref_sp(textureProxy->peekTexture()); in init()
/external/skia/src/gpu/effects/
DGrTextureEffect.h102 GrTexture* texture() const { return fView.asTextureProxy()->peekTexture(); } in texture()
/external/skia/src/gpu/mtl/
DGrMtlPipelineState.mm94 auto texture = static_cast<GrMtlTexture*>(geomProcTextures[i]->peekTexture());
104 GrSamplerState::Filter::kNearest, dstTextureProxy->peekTexture(), fGpu);

1234