HomeSort by relevance Sort by last modified time
    Searched defs:proxy (Results 151 - 175 of 319) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/skia/tests/
GrPorterDuffTest.cpp 1002 sk_sp<GrTextureProxy> proxy = proxyProvider->wrapBackendTexture( local
    [all...]
LazyProxyTest.cpp 29 // This test verifies that lazy proxy callbacks get invoked during flush, after onFlush callbacks,
30 // but before Ops are executed. It also ensures that lazy proxy callbacks are invoked both for
279 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy( local
284 REPORTER_ASSERT(reporter, proxy.get());
288 proxy->priv().doLazyInstantiation(ctx->priv().resourceProvider());
289 if (LazyInstantiationType::kSingleUse == proxy->priv().lazyInstantiationType()) {
296 proxy.reset();
299 proxy.reset();
373 // Test that when a lazy proxy fails to instantiate during flush that we drop the Op that it was
414 static std::unique_ptr<GrDrawOp> Make(GrContext* context, sk_sp<GrTextureProxy> proxy) {
    [all...]
OpChainTest.cpp 174 auto proxy = context->priv().proxyProvider()->createProxy( local
177 SkASSERT(proxy);
178 proxy->instantiate(context->priv().resourceProvider());
209 proxy->asRenderTargetProxy(),
  /external/skia/tools/gpu/
GrTest.cpp 138 const GrTextureProxy* proxy = fCopyAtlasStack.front().textureProxy(); local
139 return (proxy) ? proxy->peekTexture() : nullptr;
146 const GrTextureProxy* proxy = fRenderedAtlasStack.front().textureProxy(); local
147 return (proxy) ? proxy->peekTexture() : nullptr;
  /external/skqp/src/core/
SkSpecialImage.cpp 107 sk_sp<GrTextureProxy> proxy = GrMakeCachedBitmapProxy(proxyProvider, bmp); local
108 if (!proxy) {
112 const SkIRect rect = SkIRect::MakeWH(proxy->width(), proxy->height());
119 std::move(proxy),
194 if (sk_sp<GrTextureProxy> proxy = as_IB(image)->asTextureProxyRef()) {
199 return MakeDeferredFromGpu(context, subset, image->uniqueID(), std::move(proxy),
365 static sk_sp<SkImage> wrap_proxy_in_image(GrContext* context, sk_sp<GrTextureProxy> proxy,
368 std::move(proxy), std::move(colorSpace));
374 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at
    [all...]
  /external/skqp/src/gpu/
GrDrawOpAtlas.cpp 21 // When proxy allocation is deferred until flush time the proxies acting as atlases require
138 GrTextureProxy* proxy) {
140 SkASSERT(fDirty && fData && proxy && proxy->peekTexture());
155 writePixels(proxy, fOffset.fX + fDirtyRect.fLeft, fOffset.fY + fDirtyRect.fTop,
224 GrTextureProxy* proxy = fProxies[pageIdx].get(); local
225 SkASSERT(proxy->isInstantiated()); // This is occurring at flush time
228 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) {
229 plotsp->uploadToTexture(writePixels, proxy);
356 GrTextureProxy* proxy = fProxies[pageIdx].get() local
    [all...]
GrFragmentProcessor.h 406 * always takes a new ref on the texture proxy as the new fragment processor will not yet be
427 return this->proxy()->underlyingUniqueID() == that.proxy()->underlyingUniqueID() &&
444 GrTextureProxy* proxy() const { return fProxyRef.get(); } function in class:GrFragmentProcessor::GrFragmentProcessor::TextureSampler
GrProxyProvider.cpp 71 // In DDL-mode a proxy provider can still have extant uniquely keyed proxies (since
78 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) {
81 if (this->isAbandoned() || !proxy) {
92 proxy->cacheAccess().setUniqueKey(this, key);
93 SkASSERT(proxy->getUniqueKey() == key);
94 fUniquelyKeyedProxies.add(proxy);
98 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) {
100 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey());
101 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey());
104 fUniquelyKeyedProxies.add(proxy);
236 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local
334 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local
423 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local
    [all...]
GrResourceAllocator.h 32 * to interval to find proxy reuse). When it comes time to allocate the resources it
61 void addInterval(GrSurfaceProxy* proxy
63 this->addInterval(proxy, fNumOps, fNumOps SkDEBUGCODE(, isDirectDstRead));
73 // If any proxy fails to instantiate, the AssignError will be set to kFailedProxyInstantiation.
74 // If this happens, the caller should remove all ops which reference an uninstantiated proxy.
93 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil);
109 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end)
110 : fProxy(proxy)
111 , fProxyID(proxy->uniqueID().asUInt())
115 SkASSERT(proxy);
143 const GrSurfaceProxy* proxy() const { return fProxy; } function in class:GrResourceAllocator::Interval
144 GrSurfaceProxy* proxy() { return fProxy; } function in class:GrResourceAllocator::Interval
    [all...]
GrResourceProvider.cpp 123 sk_sp<GrTextureProxy> proxy = proxyProvider->createWrapped(std::move(tex), local
125 if (!proxy) {
131 std::move(proxy));
GrSoftwarePathRenderer.cpp 148 sk_sp<GrTextureProxy> proxy,
170 std::move(proxy), maskMatrix, GrSamplerState::Filter::kNearest));
187 // MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt to
326 sk_sp<GrTextureProxy> proxy; local
328 proxy = fProxyProvider->findOrCreateProxyByUniqueKey(maskKey, kTopLeft_GrSurfaceOrigin);
330 if (!proxy) {
336 proxy = make_deferred_mask_texture_proxy(args.fContext, fit,
339 if (!proxy) {
360 proxy->texPriv().setDeferredUploader(std::move(uploader));
367 proxy = helper.toTextureProxy(args.fContext, fit)
    [all...]
GrXferProcessor.h 64 DstProxy(sk_sp<GrTextureProxy> proxy, const SkIPoint& offset)
65 : fProxy(std::move(proxy)) {
89 GrTextureProxy* proxy() const { return fProxy.get(); } function in class:GrXferProcessor::DstProxy
91 void setProxy(sk_sp<GrTextureProxy> proxy) {
92 fProxy = std::move(proxy);
SkGpuDevice_drawTexture.cpp 102 sk_sp<GrTextureProxy> proxy, SkAlphaType alphaType,
105 SkRect srcRect = src ? *src : SkRect::MakeWH(proxy->width(), proxy->height());
107 if (src && !SkRect::MakeIWH(proxy->width(), proxy->height()).contains(srcRect)) {
111 SkAssertResult(srcRect.intersect(SkRect::MakeIWH(proxy->width(), proxy->height())));
131 if (GrPixelConfigIsAlphaOnly(proxy->config())) {
138 rtc->drawTexture(clip, std::move(proxy), filter, color, srcRect, dstRect, aaFlags, constraint,
144 void SkGpuDevice::drawPinnedTextureProxy(sk_sp<GrTextureProxy> proxy, uint32_t pinnedUniqueID
171 auto proxy = producer->refTextureProxyForParams(GrSamplerState::ClampNearest(), nullptr); local
    [all...]
SkGr.cpp 168 sk_sp<GrTextureProxy> proxy = local
170 if (!proxy) {
174 // Copy the base layer to our proxy
176 ctx->contextPriv().makeWrappedSurfaceContext(proxy);
180 return proxy;
232 sk_sp<GrTextureProxy> proxy; local
238 proxy = proxyProvider->findOrCreateProxyByUniqueKey(originalKey, kTopLeft_GrSurfaceOrigin);
240 if (!proxy) {
241 proxy = proxyProvider->createTextureProxy(srcImage, kNone_GrSurfaceFlags, 1,
243 if (proxy && originalKey.isValid())
    [all...]
  /external/skqp/src/gpu/effects/
GrGaussianConvolutionFragmentProcessor.cpp 123 GrSurfaceProxy* proxy = conv.textureSampler(0).proxy(); local
124 GrTexture& texture = *proxy->peekTexture();
127 float ySign = proxy->origin() != kTopLeft_GrSurfaceOrigin ? 1.0f : -1.0f;
153 if (proxy->origin() != kTopLeft_GrSurfaceOrigin) {
212 sk_sp<GrTextureProxy> proxy,
219 ModulateForSamplerOptFlags(proxy->config(),
221 , fCoordTransform(proxy.get())
222 , fTextureSampler(std::move(proxy))
279 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx) local
    [all...]
GrTextureDomain.cpp 24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX,
30 if (!proxy) {
35 const SkRect kFullRect = SkRect::MakeIWH(proxy->width(), proxy->height());
182 GrTextureProxy* proxy,
184 GrTexture* tex = proxy->peekTexture();
197 if (proxy->textureType() == GrTextureType::kRectangle) {
222 if (proxy->textureType() == GrTextureType::kRectangle) {
223 SkASSERT(values[0] >= 0.0f && values[0] <= proxy->height());
224 SkASSERT(values[1] >= 0.0f && values[1] <= proxy->height())
335 GrTextureProxy* proxy = tde.textureSampler(0).proxy(); local
360 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local
447 GrTextureProxy* proxy = dstdfp.textureSampler(0).proxy(); local
491 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local
    [all...]
  /external/skqp/src/image/
SkImage_Gpu.cpp 47 sk_sp<GrTextureProxy> proxy, sk_sp<SkColorSpace> colorSpace)
48 : INHERITED(std::move(context), proxy->worstCaseWidth(), proxy->worstCaseHeight(), uniqueID,
50 , fProxy(std::move(proxy)) {}
69 sk_sp<GrTextureProxy> proxy = this->asTextureProxyRef(); local
71 GrBackendFormat format = proxy->backendFormat().makeTexture2D();
86 paint.addColorTextureProcessor(std::move(proxy), SkMatrix::I());
116 sk_sp<GrTextureProxy> proxy = local
119 if (!proxy) {
122 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(ctx), kNeedNewImageUniqueID, at, std::move(proxy),
175 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(std::move(data), desc); local
357 sk_sp<GrTextureProxy> proxy = as_IB(this)->asTextureProxyRef(); local
426 auto proxy = MakePromiseImageLazyProxy(context, width, height, origin, config, backendFormat, local
526 sk_sp<GrTextureProxy> proxy; local
    [all...]
  /external/skqp/tests/
DetermineDomainModeTest.cpp 27 // 2) the proxy's extent, which may or may not match the GrTexture's extent
37 GrTextureProxy* proxy,
43 proxy,
137 static const char* name = "proxy";
340 sk_sp<GrTextureProxy> proxy = create_proxy(context, isPowerOfTwoSized, local
367 proxy.get(),
GrPorterDuffTest.cpp 999 sk_sp<GrTextureProxy> proxy = proxyProvider->wrapBackendTexture( local
    [all...]
LazyProxyTest.cpp 27 // This test verifies that lazy proxy callbacks get invoked during flush, after onFlush callbacks,
28 // but before Ops are executed. It also ensures that lazy proxy callbacks are invoked both for
253 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy( local
265 REPORTER_ASSERT(reporter, proxy.get());
269 proxy->priv().doLazyInstantiation(ctx->contextPriv().resourceProvider());
270 if (LazyInstantiationType::kSingleUse == proxy->priv().lazyInstantiationType()) {
277 proxy.reset();
280 proxy.reset();
356 // Test that when a lazy proxy fails to instantiate during flush that we drop the Op that it was
397 static std::unique_ptr<GrDrawOp> Make(GrContext* context, sk_sp<GrTextureProxy> proxy) {
    [all...]
OpChainTest.cpp 174 auto proxy = context->contextPriv().proxyProvider()->createProxy( local
177 SkASSERT(proxy);
178 proxy->instantiate(context->contextPriv().resourceProvider());
210 proxy->asRenderTargetProxy(),
  /external/v8/src/parsing/
preparser.cc 418 VariableProxy* proxy = nullptr; local
421 proxy = scope()->NewUnresolved(factory()->ast_node_factory(), name.string_,
424 return PreParserExpression::FromIdentifier(name, proxy, zone());
  /external/webrtc/webrtc/base/
httpclient.h 72 void set_proxy(const ProxyInfo& proxy) { proxy_ = proxy; }
73 const ProxyInfo& proxy() const { return proxy_; } function in class:rtc::HttpClient
  /external/webrtc/webrtc/libjingle/xmpp/
xmppclientsettings.h 91 rtc::ProxyType proxy() const { return proxy_; } function in class:buzz::XmppClientSettings
  /art/test/044-proxy/src/
BasicTest.java 23 import java.lang.reflect.Proxy;
33 Object proxy = createProxy(proxyMe); local
35 if (!Proxy.isProxyClass(proxy.getClass()))
36 System.out.println("not a proxy class?");
37 if (Proxy.getInvocationHandler(proxy) == null)
38 System.out.println("ERROR: Proxy.getInvocationHandler is null");
41 Shapes shapes = (Shapes) proxy;
45 Quads quads = (Quads) proxy;
103 Object proxy = null; local
    [all...]

Completed in 1361 milliseconds

1 2 3 4 5 67 8 91011>>