Searched defs:context (Results 76 - 100 of 3832) sorted by last modified time

1234567891011>>

/external/skia/src/effects/gradients/
H A DSkLinearGradient.cpp516 GrContext* context,
533 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
554 bool SkLinearGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
557 SkASSERT(NULL != context);
573 *grEffect = GrLinearGradient::Create(context, *this, matrix, fTileMode);
580 bool SkLinearGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
515 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
H A DSkRadialGradient.cpp527 GrContext* context,
544 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
566 bool SkRadialGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
569 SkASSERT(NULL != context);
585 *grEffect = GrRadialGradient::Create(context, *this, matrix, fTileMode);
592 bool SkRadialGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
526 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
H A DSkSweepGradient.cpp238 GrContext* context,
253 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
286 bool SkSweepGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
303 *grEffect = GrSweepGradient::Create(context, *this, matrix);
311 bool SkSweepGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
237 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
H A DSkTwoPointConicalGradient.cpp384 bool SkTwoPointConicalGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
387 SkASSERT(NULL != context);
390 *grEffect = Gr2PtConicalGradientEffect::Create(context, *this, fTileMode, localMatrix);
397 bool SkTwoPointConicalGradient::asNewEffect(GrContext* context, const SkPaint& paint, argument
H A DSkTwoPointConicalGradient_gpu.cpp177 GrContext* context,
208 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
454 GrContext* context,
482 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
664 GrContext* context,
694 shader->asNewEffect(context, paint, NULL, &grColor, &grEffect);
910 GrContext* context,
939 shader->asNewEffect(context, paint, NULL, &grColor, &grEffect);
1140 GrContext* context,
1170 shader->asNewEffect(context, pain
176 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
453 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
663 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
909 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
1139 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture**) argument
[all...]
/external/skia/src/gpu/
H A DGrAAHairLinePathRenderer.cpp148 GrPathRenderer* GrAAHairLinePathRenderer::Create(GrContext* context) { argument
149 GrGpu* gpu = context->getGpu();
161 (context, lIdxBuf, qIdxBuf));
165 const GrContext* context,
164 GrAAHairLinePathRenderer( const GrContext* context, const GrIndexBuffer* linesIndexBuffer, const GrIndexBuffer* quadsIndexBuffer) argument
H A DGrAARectRenderer.cpp117 GrContext* context,
252 GrContext* context,
116 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture* textures[]) argument
251 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture* textures[]) argument
H A DGrAtlas.cpp93 GrContext* context = fTexture->getContext(); local
95 context->writeTexturePixels(fTexture,
117 GrContext* context = fTexture->getContext(); local
125 context->writeTexturePixels(fTexture,
H A DGrBitmapTextContext.cpp52 GrBitmapTextContext::GrBitmapTextContext(GrContext* context, argument
54 : GrTextContext(context, properties) {
H A DGrClipMaskCache.h174 void setContext(GrContext* context) { argument
175 fContext = context;
199 void acquireMask(GrContext* context, argument
206 fLastMask.set(context, desc);
H A DGrClipMaskManager.cpp63 bool path_needs_SW_renderer(GrContext* context, argument
78 return NULL == context->getPathRenderer(*path, stroke, gpu, false, type);
H A DGrContext.cpp73 AutoCheckFlush(GrContext* context) : fContext(context) { SkASSERT(NULL != context); } argument
86 GrContext* context = SkNEW(GrContext); local
87 if (context->init(backend, backendContext)) {
88 return context;
90 context->unref();
570 GrContext* context = reinterpret_cast<GrContext*>(data); local
573 context->fFlushToReduceCacheSize = true;
H A DGrDistanceFieldTextContext.cpp39 GrDistanceFieldTextContext::GrDistanceFieldTextContext(GrContext* context, argument
42 : GrTextContext(context, properties) {
396 static void setup_gamma_texture(GrContext* context, const SkGlyphCache* cache, argument
424 *gammaTexture = context->getGpu()->createTexture(desc, NULL, 0);
429 context->writeTexturePixels(*gammaTexture,
H A DGrDrawTarget.cpp89 GrDrawTarget::GrDrawTarget(GrContext* context) argument
91 , fContext(context)
93 SkASSERT(NULL != context);
H A DGrGpu.cpp30 GrGpu::GrGpu(GrContext* context) argument
31 : GrDrawTarget(context)
H A DGrGpuFactory.cpp17 GrGpu* GrGpu::Create(GrBackend backend, GrBackendContext backendContext, GrContext* context) { argument
39 return SkNEW_ARGS(GrGpuGL, (ctx, context));
H A DGrOvalRenderer.cpp157 GrContext* context,
288 GrContext* context,
444 GrContext* context,
456 bool GrOvalRenderer::drawOval(GrDrawTarget* target, const GrContext* context, bool useAA, argument
467 const SkMatrix& vm = context->getMatrix();
886 bool GrOvalRenderer::drawDRRect(GrDrawTarget* target, GrContext* context, bool useAA, argument
894 if (!context->getMatrix().isIdentity()) {
895 if (!origInner.transform(context->getMatrix(), inner.writable())) {
910 if (this->drawRRect(target, context, useAA, origOuter, fillRec)) {
916 if (!context
156 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture* textures[]) argument
287 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture* textures[]) argument
443 TestCreate(SkRandom* random, GrContext* context, const GrDrawTargetCaps&, GrTexture* textures[]) argument
943 drawRRect(GrDrawTarget* target, GrContext* context, bool useAA, const SkRRect& rrect, const SkStrokeRec& stroke) argument
[all...]
H A DGrPathRendererChain.cpp17 GrPathRendererChain::GrPathRendererChain(GrContext* context) argument
19 , fOwner(context) {
H A DGrRenderTarget.cpp21 // go through context so that all necessary flushing occurs
22 GrContext* context = this->getContext(); local
23 if (NULL == context) {
26 return context->readRenderTargetPixels(this,
37 // go through context so that all necessary flushing occurs
38 GrContext* context = this->getContext(); local
39 if (NULL == context) {
42 context->writeRenderTargetPixels(this,
49 // go through context so that all necessary flushing occurs
50 GrContext* context local
59 GrContext* context = this->getContext(); local
[all...]
H A DGrSWMaskHelper.cpp185 * Software rasterizes path to A8 mask (possibly using the context's matrix)
189 GrTexture* GrSWMaskHelper::DrawPathMaskToTexture(GrContext* context, argument
195 GrSWMaskHelper helper(context);
H A DGrSWMaskHelper.h31 * GrSWMaskHelper helper(context);
43 GrSWMaskHelper(GrContext* context) argument
44 : fContext(context) {
75 static GrTexture* DrawPathMaskToTexture(GrContext* context,
H A DGrSoftwarePathRenderer.h23 GrSoftwarePathRenderer(GrContext* context) argument
24 : fContext(context) {
H A DGrStencilAndCoverPathRenderer.cpp17 GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrContext* context) { argument
18 SkASSERT(NULL != context);
19 SkASSERT(NULL != context->getGpu());
20 if (context->getGpu()->caps()->pathRenderingSupport()) {
21 return SkNEW_ARGS(GrStencilAndCoverPathRenderer, (context->getGpu()));
H A DGrTextContext.cpp15 GrTextContext::GrTextContext(GrContext* context, const SkDeviceProperties& properties) : argument
16 fContext(context), fDeviceProperties(properties), fDrawTarget(NULL) {
H A DGrTexture.cpp95 // go through context so that all necessary flushing occurs
96 GrContext* context = this->getContext(); local
97 if (NULL == context) {
100 return context->readTexturePixels(this,
109 // go through context so that all necessary flushing occurs
110 GrContext* context = this->getContext(); local
111 if (NULL == context) {
114 context->writeTexturePixels(this,

Completed in 1671 milliseconds

1234567891011>>