Searched defs:texProxy (Results 1 - 6 of 6) sorted by relevance

/external/skia/tests/
H A DGrMipMappedTest.cpp257 GrTextureProxy* texProxy = device->accessRenderTargetContext()->asTextureProxy(); local
258 REPORTER_ASSERT(reporter, mipMapped == texProxy->mipMapped());
260 texProxy->instantiate(resourceProvider);
261 GrTexture* texture = texProxy->priv().peekTexture();
269 texProxy = as_IB(image)->peekProxy();
270 REPORTER_ASSERT(reporter, mipMapped == texProxy->mipMapped());
272 texProxy->instantiate(resourceProvider);
273 texture = texProxy->priv().peekTexture();
H A DProxyTest.cpp75 GrTextureProxy* texProxy,
77 GrSurfaceProxy::UniqueID idBefore = texProxy->uniqueID();
79 REPORTER_ASSERT(reporter, texProxy->instantiate(provider));
80 GrTexture* tex = texProxy->priv().peekTexture();
82 REPORTER_ASSERT(reporter, texProxy->uniqueID() == idBefore);
84 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() != tex->uniqueID().asUInt());
87 REPORTER_ASSERT(reporter, tex->width() == texProxy->width());
88 REPORTER_ASSERT(reporter, tex->height() == texProxy->height());
90 REPORTER_ASSERT(reporter, tex->width() >= texProxy->width());
91 REPORTER_ASSERT(reporter, tex->height() >= texProxy
73 check_texture(skiatest::Reporter* reporter, GrResourceProvider* provider, GrTextureProxy* texProxy, SkBackingFit fit) argument
[all...]
/external/skqp/tests/
H A DGrMipMappedTest.cpp250 GrTextureProxy* texProxy = device->accessRenderTargetContext()->asTextureProxy(); local
251 REPORTER_ASSERT(reporter, mipMapped == texProxy->mipMapped());
253 texProxy->instantiate(resourceProvider);
254 GrTexture* texture = texProxy->priv().peekTexture();
262 texProxy = as_IB(image)->peekProxy();
263 REPORTER_ASSERT(reporter, mipMapped == texProxy->mipMapped());
265 texProxy->instantiate(resourceProvider);
266 texture = texProxy->priv().peekTexture();
H A DProxyTest.cpp80 GrTextureProxy* texProxy,
83 GrSurfaceProxy::UniqueID idBefore = texProxy->uniqueID();
85 REPORTER_ASSERT(reporter, texProxy->instantiate(provider));
86 GrTexture* tex = texProxy->priv().peekTexture();
88 REPORTER_ASSERT(reporter, texProxy->uniqueID() == idBefore);
91 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() == tex->uniqueID().asUInt());
94 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() != tex->uniqueID().asUInt());
98 REPORTER_ASSERT(reporter, tex->width() == texProxy->width());
99 REPORTER_ASSERT(reporter, tex->height() == texProxy->height());
101 REPORTER_ASSERT(reporter, tex->width() >= texProxy
78 check_texture(skiatest::Reporter* reporter, GrResourceProvider* provider, GrTextureProxy* texProxy, SkBackingFit fit, bool wasWrapped) argument
[all...]
/external/skia/src/gpu/
H A DGrAHardwareBufferImageGenerator.cpp122 sk_sp<GrTextureProxy> texProxy = GrSurfaceProxy::Copy(context, proxy.get(), mipMapped, local
124 if (!makingASubset && texProxy) {
129 SkASSERT(GrMipMapped::kYes == texProxy->mipMapped());
140 texProxy->instantiate(context->contextPriv().resourceProvider());
141 GrTexture* texture = texProxy->priv().peekTexture();
145 return texProxy;
/external/skqp/src/gpu/
H A DGrAHardwareBufferImageGenerator.cpp122 sk_sp<GrTextureProxy> texProxy = GrSurfaceProxy::Copy(context, proxy.get(), mipMapped, local
124 if (!makingASubset && texProxy) {
129 SkASSERT(GrMipMapped::kYes == texProxy->mipMapped());
140 texProxy->instantiate(context->contextPriv().resourceProvider());
141 GrTexture* texture = texProxy->priv().peekTexture();
145 return texProxy;

Completed in 2339 milliseconds