HomeSort by relevance Sort by last modified time
    Searched full:drawcontext (Results 1 - 25 of 43) sorted by null

1 2

  /external/skia/tests/
ClearTest.cpp 64 dc->reset(context->drawContext(rt));
73 SkAutoTUnref<GrDrawContext> drawContext;
98 if (!reset_dc(&drawContext, &rtKeepAlive, context, kW, kH)) {
103 drawContext->clear(&fullRect, kColor1, false);
104 if (!check_rect(drawContext, fullRect, kColor1, &actualValue, &failX, &failY)) {
109 if (!reset_dc(&drawContext, &rtKeepAlive, context, kW, kH)) {
114 drawContext->clear(&fullRect, kColor1, false);
115 drawContext->clear(&fullRect, kColor1, false);
116 if (!check_rect(drawContext, fullRect, kColor1, &actualValue, &failX, &failY)) {
121 if (!reset_dc(&drawContext, &rtKeepAlive, context, kW, kH))
    [all...]
GLProgramsTest.cpp 358 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
359 if (!drawContext) {
360 SkDebugf("Could not allocate drawContext");
364 drawContext->internal_drawBatch(pipelineBuilder, batch);
395 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
396 if (!drawContext) {
397 SkDebugf("Could not allocate a drawcontext");
401 drawContext->internal_drawBatch(builder, batch)
    [all...]
  /external/skia/src/gpu/
GrRenderTarget.cpp 33 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(this));
34 if (!drawContext) {
38 drawContext->discard();
GrBlurUtils.cpp 28 static bool draw_mask(GrDrawContext* drawContext,
45 drawContext->fillRectWithLocalMatrix(clip, *grp, SkMatrix::I(), maskRect, inverse);
49 static bool sw_draw_with_mask_filter(GrDrawContext* drawContext,
92 return draw_mask(drawContext, clipData, viewMatrix, maskRect, grp, texture);
127 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(mask->asRenderTarget()));
128 if (!drawContext) {
132 drawContext->clear(nullptr, 0x0, true);
145 drawContext->drawPath(clip, tempPaint, translate, devPath, strokeInfo);
150 GrDrawContext* drawContext,
    [all...]
GrBlurUtils.h 33 GrDrawContext* drawContext,
GrContext.cpp 338 SkAutoTUnref<GrDrawContext> drawContext(this->drawContext(renderTarget));
339 if (!drawContext) {
346 drawContext->drawRect(GrClip::WideOpen(), paint, matrix, rect, nullptr);
456 SkAutoTUnref<GrDrawContext> drawContext(this->drawContext(temp->asRenderTarget()));
457 drawContext->drawRect(GrClip::WideOpen(), paint, SkMatrix::I(), rect, nullptr);
541 SkAutoTUnref<GrDrawContext> drawContext(this->drawContext(dst->asRenderTarget()));
542 if (!drawContext) {
    [all...]
GrYUVProvider.cpp 135 SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(renderTarget));
136 if (!drawContext) {
140 drawContext->drawRect(GrClip::WideOpen(), paint, SkMatrix::I(), r);
GrTextureToYUVPlanes.cpp 120 SkAutoTUnref<GrDrawContext> dc(context->drawContext(yuvTex->asRenderTarget()));
131 SkAutoTUnref<GrDrawContext> dc(context->drawContext(yTex->asRenderTarget()));
140 dc.reset(context->drawContext(uvTex->asRenderTarget()));
150 dc.reset(context->drawContext(uTex->asRenderTarget()));
158 dc.reset(context->drawContext(vTex->asRenderTarget()));
GrDrawingManager.h 34 GrDrawContext* drawContext(GrRenderTarget* rt, const SkSurfaceProps*);
  /external/skia/src/effects/
SkGpuBlurUtils.cpp 48 static void convolve_gaussian_1d(GrDrawContext* drawContext,
64 drawContext->fillRectWithLocalMatrix(clip, paint, SkMatrix::I(), dstRect, localMatrix);
67 static void convolve_gaussian_2d(GrDrawContext* drawContext,
94 drawContext->fillRectWithLocalMatrix(clip, paint, SkMatrix::I(), dstRect, localMatrix);
97 static void convolve_gaussian(GrDrawContext* drawContext,
109 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture,
143 drawContext->clear(&topRect, 0, false);
147 drawContext->clear(&bottomRect, 0, false);
151 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture,
155 convolve_gaussian_1d(drawContext, clip, leftRect, srcOffset, texture
    [all...]
SkXfermodeImageFilter.cpp 234 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(dst->asRenderTarget()));
235 if (!drawContext) {
241 drawContext->drawRect(GrClip::WideOpen(), paint, matrix, SkRect::Make(bounds));
SkAlphaThresholdFilter.cpp 309 SkAutoTUnref<GrDrawContext> drawContext(
310 context->drawContext(maskTexture->asRenderTarget()));
311 if (drawContext) {
315 drawContext->clear(nullptr, 0x0, true);
320 drawContext->drawRect(clip, grPaint, inMatrix, rect);
SkMorphologyImageFilter.cpp 451 void apply_morphology_rect(GrDrawContext* drawContext,
467 drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
471 void apply_morphology_rect_no_bounds(GrDrawContext* drawContext,
485 drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
489 void apply_morphology_pass(GrDrawContext* drawContext,
522 apply_morphology_rect(drawContext, clip, texture, srcRect, dstRect, radius,
526 apply_morphology_rect(drawContext, clip, texture, lowerSrcRect, lowerDstRect, radius,
528 apply_morphology_rect(drawContext, clip, texture, upperSrcRect, upperDstRect, radius,
530 apply_morphology_rect_no_bounds(drawContext, clip, texture, middleSrcRect, middleDstRect,
562 context->drawContext(scratch->asRenderTarget()))
    [all...]
SkBlurMaskFilter.cpp 54 GrDrawContext* drawContext,
61 GrDrawContext* drawContext,
    [all...]
  /external/skia/gm/
texdata.cpp 25 SkAutoTUnref<GrDrawContext> drawContext(ctx ? ctx->drawContext(target) : nullptr);
26 if (drawContext && target) {
99 drawContext->drawRect(clip, paint, vm, SkRect::MakeWH(2*S, 2*S));
113 drawContext->drawRect(clip, paint, vm, SkRect::MakeWH(2*S, 2*S));
bigrrectaaeffect.cpp 60 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
61 if (!drawContext) {
102 drawContext->internal_drawBatch(pipelineBuilder, batch);
yuvtorgbeffect.cpp 83 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
84 if (!drawContext) {
135 drawContext->internal_drawBatch(pipelineBuilder, batch);
beziereffects.cpp 133 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
134 if (!drawContext) {
229 drawContext->internal_drawBatch(pipelineBuilder, batch);
276 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
277 if (!drawContext) {
370 drawContext->internal_drawBatch(pipelineBuilder, batch);
515 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt))
    [all...]
constcolorprocessor.cpp 61 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
62 if (!drawContext) {
121 drawContext->internal_drawBatch(pipelineBuilder, batch);
texturedomaineffect.cpp 84 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
85 if (!drawContext) {
138 drawContext->internal_drawBatch(pipelineBuilder, batch);
convexpolyeffect.cpp 166 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt));
167 if (!drawContext) {
208 drawContext->internal_drawBatch(pipelineBuilder, batch);
255 drawContext->internal_drawBatch(pipelineBuilder, batch);
rrects.cpp 70 SkAutoTUnref<GrDrawContext> drawContext;
77 drawContext.reset(context->drawContext(rt));
78 if (!drawContext) {
140 drawContext->internal_drawBatch(pipelineBuilder, batch);
  /external/skia/src/image/
SkImage_Gpu.cpp 271 SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(dst->asRenderTarget()));
272 if (!drawContext) {
276 drawContext->drawRect(GrClip::WideOpen(), paint, SkMatrix::I(), rect);
  /external/skia/src/gpu/effects/
GrConfigConversionEffect.cpp 228 context->drawContext(readTex->asRenderTarget()));
246 context->drawContext(tempTex->asRenderTarget()));
260 readDrawContext.reset(context->drawContext(readTex->asRenderTarget()));
  /external/deqp/framework/referencerenderer/
rrRenderer.cpp 91 struct DrawContext
95 DrawContext (void)
930 void generatePrimitiveIDs (ContainerType& list, DrawContext& drawContext)
933 generatePrimitiveIDs(*it, drawContext.primitiveID++);
    [all...]

Completed in 462 milliseconds

1 2