Home
last modified time | relevance | path

Searched refs:peekTexture (Results 1 – 25 of 94) 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()
/external/skia/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()
/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()
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()
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()
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/skia/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()
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()
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()
DGrSurfaceTest.cpp306 proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888, write.addr32(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
320 proxy->peekTexture(), kTopLeft_GrSurfaceOrigin, copySrc->peekTexture(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
332 proxy->peekTexture()->texturePriv().markMipMapsDirty(); // avoids assert in GrGpu. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
334 context->priv().getGpu()->regenerateMipMapLevels(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrCoordTransform.h101 GrTexture* peekTexture() const { return fProxy->peekTexture(); } in peekTexture() function
DGrTextureOpList.cpp78 SkASSERT(fTarget.get()->peekTexture()); in onPrepare()
103 SkASSERT(fTarget.get()->peekTexture()); in onExecute()
106 flushState->gpu()->getCommandBuffer(fTarget.get()->peekTexture(), in onExecute()
DGrFragmentProcessor.h445 GrTexture* peekTexture() const { in peekTexture() function
446 SkASSERT(fProxyRef.get()->peekTexture()); in peekTexture()
447 return fProxyRef.get()->peekTexture(); in peekTexture()
DGrContext.cpp37 SkASSERT(!(P) || !((P)->peekTexture()) || (P)->peekTexture()->getContext() == this)
/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()
/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/gl/
DGrGLProgram.cpp112 auto* tex = static_cast<GrGLTexture*>(proxies[i]->peekTexture()); in updatePrimitiveProcessorTextureBindings()
127 static_cast<GrGLTexture*>(sampler.peekTexture())); in setFragmentData()
/external/skia/tools/gpu/
DGrTest.cpp139 return (proxy) ? proxy->peekTexture() : nullptr; in testingOnly_frontCopyAtlasTexture()
147 return (proxy) ? proxy->peekTexture() : nullptr; in testingOnly_frontRenderedAtlasTexture()
/external/skia/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/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/skia/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/mtl/
DGrMtlPipelineState.mm76 auto texture = static_cast<GrMtlTexture*>(primProcTextures[i]->peekTexture());
88 fSamplerBindings.emplace_back(sampler.samplerState(), sampler.peekTexture(), fGpu);
104 dstTextureProxy->peekTexture(),
/external/skia/src/image/
DSkImage_GpuBase.cpp247 GrTexture* texture = proxy->peekTexture(); in onGetBackendTexture()
263 return proxy->peekTexture(); in onGetTexture()
279 return proxyRef->peekTexture(); in onGetTexture()

1234