HomeSort by relevance Sort by last modified time
    Searched refs:fContext (Results 26 - 50 of 103) sorted by null

12 3 4 5

  /external/skia/src/gpu/
GrContext.cpp 39 SkASSERT(!(P) || !((P)->priv().peekTexture()) || (P)->priv().peekTexture()->getContext() == fContext)
45 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(&fContext->fSingleOwner);)
47 #define RETURN_IF_ABANDONED_PRIV if (fContext->fDrawingManager->wasAbandoned()) { return; }
49 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fContext->fDrawingManager->wasAbandoned()) { return false; }
273 fContext->fDrawingManager->flush(proxy);
329 GR_CREATE_TRACE_MARKER_CONTEXT("GrContextPriv", "writeSurfacePixels", fContext);
331 if (!dst->asSurfaceProxy()->instantiate(fContext->resourceProvider())) {
353 (!useConfigConversionEffect || fContext->validPMUPMConversionExists());
366 if (!fContext->fGpu->getWritePixelsInfo(dstSurface, width, height, srcConfig,
377 tempProxy = GrSurfaceProxy::MakeDeferred(fContext->resourceProvider()
    [all...]
GrTextureStripAtlas.h 32 GrContext* fContext;
76 GrContext* getContext() const { return fDesc.fContext; }
GrTextureAdjuster.cpp 21 , fContext(context)
49 sk_sp<GrTextureProxy> cachedCopy = fContext->resourceProvider()->findProxyByUniqueKey(key);
58 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), contentArea, copyParams);
61 fContext->resourceProvider()->assignUniqueKeyToProxy(key, copy.get());
76 if (!fContext) {
87 } else if (!fContext->getGpu()->isACopyNeededForTextureParams(proxy.get(), params, &copyParams,
SkGpuDevice.cpp 56 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fContext->debugSingleOwner());)
141 , fContext(SkRef(context))
241 GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "clearAll", fContext.get());
281 GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawPaint", fContext.get());
302 GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawPoints", fContext.get());
375 GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawRect", fContext.get());
384 GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(),
405 GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawRRect", fContext.get());
453 GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(),
469 GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawDRRect", fContext.get())
    [all...]
GrRenderTargetContext.cpp 136 fRenderTargetProxy->validate(fContext);
178 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawText", fContext);
181 atlasTextContext->drawText(fContext, this, clip, skPaint, viewMatrix, fSurfaceProps, text,
193 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawPosText", fContext);
196 atlasTextContext->drawPosText(fContext, this, clip, paint, viewMatrix, fSurfaceProps, text,
207 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawTextBlob", fContext);
210 atlasTextContext->drawTextBlob(fContext, this, clip, paint, viewMatrix, fSurfaceProps, blob, x,
218 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "discard", fContext);
239 GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "clear", fContext);
250 fRenderTargetContext->fContext);
    [all...]
GrProcessorUnitTest.h 55 , fContext(context) {
63 GrContext* context() { return fContext; }
69 GrContext* fContext;
GrTextureAdjuster.h 57 GrContext* fContext;
GrTextureContext.cpp 35 fTextureProxy->validate(fContext);
  /external/skia/src/sksl/
SkSLCPPCodeGenerator.cpp 137 if (type == *fContext.fFloat_Type) {
140 } else if (type == *fContext.fInt_Type) {
143 } else if (type == *fContext.fBool_Type) {
146 } else if (type == *fContext.fVec2_Type) {
198 if (ref.fVariable.fType == *fContext.fColorSpaceXform_Type) {
337 if (var.fType == *fContext.fFloat_Type) {
339 } else if (var.fType == *fContext.fVec2_Type) {
341 } else if (var.fType == *fContext.fVec4_Type) {
343 } else if (var.fType == *fContext.fMat4x4_Type ||
344 var.fType == *fContext.fColorSpaceXform_Type)
    [all...]
SkSLIRGenerator.cpp 106 : fContext(*context)
233 auto size = this->coerce(this->convertExpression(*rawSize), *fContext.fInt_Type);
313 *fContext.fBool_Type);
357 test = this->coerce(this->convertExpression(*f.fTest), *fContext.fBool_Type);
382 *fContext.fBool_Type);
397 *fContext.fBool_Type);
415 if (value->fType != *fContext.fUInt_Type) {
416 value = this->coerce(std::move(value), *fContext.fInt_Type);
431 if (caseValue->fType != *fContext.fUInt_Type) {
432 caseValue = this->coerce(std::move(caseValue), *fContext.fInt_Type)
    [all...]
SkSLSPIRVCodeGenerator.cpp     [all...]
SkSLGLSLCodeGenerator.h 80 , fContext(*context) {}
180 const Context& fContext;
SkSLCompiler.cpp 62 fIRGenerator = new IRGenerator(&fContext, symbols, *this);
64 #define ADD_TYPE(t) types->addWithoutOwnership(fContext.f ## t ## _Type->fName, \
65 fContext.f ## t ## _Type.get())
88 types->addWithoutOwnership(String("mat2x2"), fContext.fMat2x2_Type.get());
93 types->addWithoutOwnership(String("mat3x3"), fContext.fMat3x3_Type.get());
98 types->addWithoutOwnership(String("mat4x4"), fContext.fMat4x4_Type.get());
161 *fContext.fSkCaps_Type, Variable::kGlobal_Storage);
166 *fContext.fSkArgs_Type, Variable::kGlobal_Storage);
199 (std::unique_ptr<Expression>*) &fContext.fDefined_Expression,
205 (std::unique_ptr<Expression>*) &fContext.fDefined_Expression
    [all...]
  /external/skia/src/sksl/ir/
SkSLVariableReference.h 87 irGenerator.fContext,
92 irGenerator.fContext,
96 return std::unique_ptr<Expression>(new BoolLiteral(irGenerator.fContext,
SkSLProgram.h 115 , fContext(context)
124 Context* fContext;
SkSLConstructor.h 36 if (fType == *irGenerator.fContext.fFloat_Type) {
39 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext,
42 } else if (fType == *irGenerator.fContext.fUInt_Type) {
45 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext,
SkSLPrefixExpression.h 40 irGenerator.fContext,
  /external/mesa3d/src/gallium/targets/haiku-softpipe/
GalliumContext.h 51 struct hgl_context* fContext[CONTEXT_MAX];
  /external/skia/example/
HelloWorld.h 65 GrContext* fContext;
  /external/skia/experimental/iOSSampleApp/
SkSampleUIView.h 20 EAGLContext* fContext;
SkSampleUIView.mm 273 fGL.fContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
275 fGL.fContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
278 if (!fGL.fContext || ![EAGLContext setCurrentContext:fGL.fContext])
353 [fGL.fContext release];
362 [fGL.fContext renderbufferStorage:GL_RENDERBUFFER fromDrawable:fGLLayer];
408 [EAGLContext setCurrentContext:fGL.fContext];
438 [fGL.fContext presentRenderbuffer:GL_RENDERBUFFER];
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wtypes.h 227 LONG fContext;
238 LONG fContext;
246 LONG fContext;
257 LONG fContext;
273 LONG fContext;
282 LONG fContext;
302 LONG fContext;
311 LONG fContext;
320 LONG fContext;
  /external/skia/src/core/
SkSpecialImage.cpp 353 , fContext(context)
389 GrContext* onGetContext() const override { return fContext; }
412 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext(
433 if (!fContext) {
439 fContext, size.width(), size.height(),
444 return SkSpecialImage::MakeDeferredFromGpu(fContext,
463 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace);
466 sk_sp<GrTextureProxy> subsetProxy(GrSurfaceProxy::Copy(fContext, fTextureProxy.get(),
475 return wrap_proxy_in_image(fContext, std::move(subsetProxy), fAlphaType, fColorSpace);
480 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace)
    [all...]
  /external/skia/src/gpu/effects/
GrTextureStripAtlas.cpp 65 desc.fContext->addCleanUp(CleanUp, entry);
125 fDesc.fContext->contextPriv().flush(nullptr); // tighten this up?
208 sk_sp<GrTextureProxy> proxy = fDesc.fContext->resourceProvider()->findProxyByUniqueKey(key);
210 proxy = GrSurfaceProxy::MakeDeferred(fDesc.fContext->resourceProvider(),
218 fDesc.fContext->resourceProvider()->assignUniqueKeyToProxy(key, proxy.get());
224 fTexContext = fDesc.fContext->contextPriv().makeWrappedSurfaceContext(std::move(proxy),
  /external/skia/src/image/
SkImage_Gpu.cpp 44 , fContext(context)
94 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext(
117 if (context != fContext) {
126 GrTextureAdjuster adjuster(fContext, fProxy, this->alphaType(), this->bounds(),
156 if (!fProxy->instantiate(fContext->resourceProvider())) {
164 fContext->contextPriv().prepareSurfaceForExternalIO(fProxy.get());
180 if (!proxy->instantiate(fContext->resourceProvider())) {
206 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext(
238 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext(
251 return sk_make_sp<SkImage_Gpu>(fContext, kNeedNewImageUniqueID
    [all...]

Completed in 783 milliseconds

12 3 4 5