Searched defs:draw (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/external/skia/src/animator/
H A DSkDrawFull.cpp14 bool SkFull::draw(SkAnimateMaker& maker) { function in class:SkFull
H A DSkDrawClip.cpp31 bool SkDrawClip::draw(SkAnimateMaker& maker ) { function in class:SkDrawClip
H A DSkDrawLine.cpp31 bool SkLine::draw(SkAnimateMaker& maker) { function in class:SkLine
H A DSkDrawOval.cpp24 bool SkOval::draw(SkAnimateMaker& maker) { function in class:SkOval
H A DSkTextOnPath.cpp32 bool SkTextOnPath::draw(SkAnimateMaker& maker) { function in class:SkTextOnPath
H A DSkDisplayBounds.cpp27 bool SkDisplayBounds::draw(SkAnimateMaker& maker) { function in class:SkDisplayBounds
31 bool result = INHERITED::draw(maker);
H A DSkDrawTo.cpp35 bool SkDrawTo::draw(SkAnimateMaker& maker) { function in class:SkDrawTo
41 INHERITED::draw(maker);
H A DSkSnapshot.cpp40 bool SkSnapshot::draw(SkAnimateMaker& maker) { function in class:SkSnapshot
H A DSkTextToPath.cpp32 bool SkTextToPath::draw(SkAnimateMaker& maker) { function in class:SkTextToPath
33 path->draw(maker);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_fs.c42 draw_create_fragment_shader(struct draw_context *draw, argument
58 draw_bind_fragment_shader(struct draw_context *draw, argument
61 draw_do_flush(draw, DRAW_FLUSH_STATE_CHANGE);
63 draw->fs.fragment_shader = dfs;
68 draw_delete_fragment_shader(struct draw_context *draw, argument
H A Ddraw_pipe_util.c34 #include "draw/draw_private.h"
35 #include "draw/draw_pipe.h"
112 void draw_reset_vertex_ids(struct draw_context *draw) argument
114 struct draw_stage *stage = draw->pipeline.first;
125 if (draw->pipeline.verts)
128 char *verts = draw->pipeline.verts;
129 unsigned stride = draw->pipeline.vertex_stride;
131 for (i = 0; i < draw->pipeline.vertex_count; i++) {
H A Ddraw_vs_llvm.c43 struct draw_context *draw)
84 draw_create_vs_llvm(struct draw_context *draw, argument
107 vs->base.draw = draw;
42 vs_llvm_prepare(struct draw_vertex_shader *shader, struct draw_context *draw) argument
/external/skia/experimental/fiddle/
H A Ddraw.cpp10 // implementation of the GetDrawOptions() and draw() functions.
18 void draw(SkCanvas* canvas) { function
/external/skia/tools/VisualBench/
H A DVisualStreamTimingModule.cpp67 void VisualStreamTimingModule::draw(SkCanvas* canvas) { function in class:VisualStreamTimingModule
H A DVisualDebugModule.cpp34 benchmark->draw(1, fDebugCanvas);
55 void VisualDebugModule::draw(SkCanvas* canvas) { function in class:VisualDebugModule
/external/chromium-trace/catapult/experimental/heatmap/
H A Ddraw.js1 Heatmap.prototype.draw = function() {
/external/chromium-trace/catapult/third_party/flot/
H A Djquery.flot.errorbars.js46 draw a small cap perpendicular to the error bar. They can also be set to a
197 //draw this error?
268 //draw it
330 function draw(plot, ctx){ function
344 plot.hooks.draw.push(draw);
H A Djquery.flot.pie.js146 plot.hooks.draw.push(function(plot, newCtx) {
149 draw(plot, newCtx);
253 function draw(plot, newCtx) {
280 // To fix this we'll set the flag back to false here in draw, when
328 target.prepend("<div class='error'>Could not draw pie with labels contained inside canvas</div>");
352 return; // shadow would be outside canvas, so don't draw it
389 // draw slices
399 // draw slice outlines
411 // draw donut hole
531 } // end draw functio
[all...]
H A Djquery.flot.errorbars.min.js7 (function($){var options={series:{points:{errorbars:null,xerr:{err:"x",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null},yerr:{err:"y",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null}}}};function processRawData(plot,series,data,datapoints){if(!series.points.errorbars)return;var format=[{x:true,number:true,required:true},{y:true,number:true,required:true}];var errors=series.points.errorbars;if(errors=="x"||errors=="xy"){if(series.points.xerr.asymmetric){format.push({x:true,number:true,required:true});format.push({x:true,number:true,required:true})}else format.push({x:true,number:true,required:true})}if(errors=="y"||errors=="xy"){if(series.points.yerr.asymmetric){format.push({y:true,number:true,required:true});format.push({y:true,number:true,required:true})}else format.push({y:true,number:true,required:true})}datapoints.format=format}function parseErrors(series,i){var points=series.datapoints.points;var exl=null,exu=null,eyl=null,eyu=null;var xerr=series.points.xerr,yerr=series.points.yerr;var eb=series.points.errorbars;if(eb=="x"||eb=="xy"){if(xerr.asymmetric){exl=points[i+2];exu=points[i+3];if(eb=="xy")if(yerr.asymmetric){eyl=points[i+4];eyu=points[i+5]}else eyl=points[i+4]}else{exl=points[i+2];if(eb=="xy")if(yerr.asymmetric){eyl=points[i+3];eyu=points[i+4]}else eyl=points[i+3]}}else if(eb=="y")if(yerr.asymmetric){eyl=points[i+2];eyu=points[i+3]}else eyl=points[i+2];if(exu==null)exu=exl;if(eyu==null)eyu=eyl;var errRanges=[exl,exu,eyl,eyu];if(!xerr.show){errRanges[0]=null;errRanges[1]=null}if(!yerr.show){errRanges[2]=null;errRanges[3]=null}return errRanges}function drawSeriesErrors(plot,ctx,s){var points=s.datapoints.points,ps=s.datapoints.pointsize,ax=[s.xaxis,s.yaxis],radius=s.points.radius,err=[s.points.xerr,s.points.yerr];var invertX=false;if(ax[0].p2c(ax[0].max)<ax[0].p2c(ax[0].min)){invertX=true;var tmp=err[0].lowerCap;err[0].lowerCap=err[0].upperCap;err[0].upperCap=tmp}var invertY=false;if(ax[1].p2c(ax[1].min)<ax[1].p2c(ax[1].max)){invertY=true;var tmp=err[1].lowerCap;err[1].lowerCap=err[1].upperCap;err[1].upperCap=tmp}for(var i=0;i<s.datapoints.points.length;i+=ps){var errRanges=parseErrors(s,i);for(var e=0;e<err.length;e++){var minmax=[ax[e].min,ax[e].max];if(errRanges[e*err.length]){var x=points[i],y=points[i+1];var upper=[x,y][e]+errRanges[e*err.length+1],lower=[x,y][e]-errRanges[e*err.length];if(err[e].err=="x")if(y>ax[1].max||y<ax[1].min||upper<ax[0].min||lower>ax[0].max)continue;if(err[e].err=="y")if(x>ax[0].max||x<ax[0].min||upper<ax[1].min||lower>ax[1].max)continue;var drawUpper=true,drawLower=true;if(upper>minmax[1]){drawUpper=false;upper=minmax[1]}if(lower<minmax[0]){drawLower=false;lower=minmax[0]}if(err[e].err=="x"&&invertX||err[e].err=="y"&&invertY){var tmp=lower;lower=upper;upper=tmp;tmp=drawLower;drawLower=drawUpper;drawUpper=tmp;tmp=minmax[0];minmax[0]=minmax[1];minmax[1]=tmp}x=ax[0].p2c(x),y=ax[1].p2c(y),upper=ax[e].p2c(upper);lower=ax[e].p2c(lower);minmax[0]=ax[e].p2c(minmax[0]);minmax[1]=ax[e].p2c(minmax[1]);var lw=err[e].lineWidth?err[e].lineWidth:s.points.lineWidth,sw=s.points.shadowSize!=null?s.points.shadowSize:s.shadowSize;if(lw>0&&sw>0){var w=sw/2;ctx.lineWidth=w;ctx.strokeStyle="rgba(0,0,0,0.1)";drawError(ctx,err[e],x,y,upper,lower,drawUpper,drawLower,radius,w+w/2,minmax);ctx.strokeStyle="rgba(0,0,0,0.2)";drawError(ctx,err[e],x,y,upper,lower,drawUpper,drawLower,radius,w/2,minmax)}ctx.strokeStyle=err[e].color?err[e].color:s.color;ctx.lineWidth=lw;drawError(ctx,err[e],x,y,upper,lower,drawUpper,drawLower,radius,0,minmax)}}}}function drawError(ctx,err,x,y,upper,lower,drawUpper,drawLower,radius,offset,minmax){y+=offset;upper+=offset;lower+=offset;if(err.err=="x"){if(upper>x+radius)drawPath(ctx,[[upper,y],[Math.max(x+radius,minmax[0]),y]]);else drawUpper=false;if(lower<x-radius)drawPath(ctx,[[Math.min(x-radius,minmax[1]),y],[lower,y]]);else drawLower=false}else{if(upper<y-radius)drawPath(ctx,[[x,upper],[x,Math.min(y-radius,minmax[0])]]);else drawUpper=false;if(lower>y+radius)drawPath(ctx,[[x,Math.max(y+radius,minmax[1])],[x,lower]]);else drawLower=false}radius=err.radius!=null?err.radius:radius;if(drawUpper){if(err.upperCap=="-"){if(err.err=="x")drawPath(ctx,[[upper,y-radius],[upper,y+radius]]);else drawPath(ctx,[[x-radius,upper],[x+radius,upper]])}else if($.isFunction(err.upperCap)){if(err.err=="x")err.upperCap(ctx,upper,y,radius);else err.upperCap(ctx,x,upper,radius)}}if(drawLower){if(err.lowerCap=="-"){if(err.err=="x")drawPath(ctx,[[lower,y-radius],[lower,y+radius]]);else drawPath(ctx,[[x-radius,lower],[x+radius,lower]])}else if($.isFunction(err.lowerCap)){if(err.err=="x")err.lowerCap(ctx,lower,y,radius);else err.lowerCap(ctx,x,lower,radius)}}}function drawPath(ctx,pts){ctx.beginPath();ctx.moveTo(pts[0][0],pts[0][1]);for(var p=1;p<pts.length;p++)ctx.lineTo(pts[p][0],pts[p][1]);ctx.stroke()}function draw(plot,ctx){var plotOffset=plot.getPlotOffset();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);$.each(plot.getData(),function(i,s){if(s.points.errorbars&&(s.points.xerr.show||s.points.yerr.show))drawSeriesErrors(plot,ctx,s)});ctx.restore()}function init(plot){plot.hooks.processRawData.push(processRawData);plot.hooks.draw.push(draw)}$.plot.plugins.push({init:init,options:options,name:"errorbars",version:"1.0"})})(jQuery)
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_draw_arrays.c42 #include "draw/draw_context.h"
50 * the drawing to the 'draw' module.
56 struct draw_context *draw = lp->draw; local
73 draw_set_mapped_vertex_buffer(draw, i, buf);
82 draw_set_indexes(draw,
91 /* draw! */
92 draw_vbo(draw, info);
98 draw_set_mapped_vertex_buffer(draw, i, NULL);
101 draw_set_indexes(draw, NUL
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_draw_arrays.c44 #include "draw/draw_context.h"
63 struct draw_context *draw = sp->draw; local
83 draw_set_mapped_vertex_buffer(draw, i, buf);
92 draw_set_indexes(draw,
103 draw_set_mapped_so_targets(draw, sp->num_so_targets,
106 /* draw! */
107 draw_vbo(draw, info);
109 /* unmap vertex/index buffers - will cause draw module to flush */
111 draw_set_mapped_vertex_buffer(draw,
[all...]
/external/skia/experimental/FileReaderApp/
H A DReaderView.cpp26 void ReaderView::draw(SkCanvas* canvas) { function in class:ReaderView
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_context.c36 #include "draw/draw_context.h"
55 struct draw_context *draw = i915->draw; local
74 draw_set_indexes(draw,
80 draw_set_mapped_constant_buffer(draw, PIPE_SHADER_VERTEX, 0,
85 draw_set_mapped_constant_buffer(draw, PIPE_SHADER_VERTEX, 0, NULL, 0);
93 draw_vbo(i915->draw, info);
96 draw_set_indexes(draw, NULL, 0);
105 draw_flush(i915->draw);
122 draw_destroy(i915->draw);
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_swtnl_draw.c26 #include "draw/draw_context.h"
27 #include "draw/draw_vbuf.h"
45 struct draw_context *draw = svga->swtnl.draw; local
52 assert(draw);
75 draw_set_mapped_vertex_buffer(draw, i, map);
85 draw_set_indexes(draw,
97 draw, PIPE_SHADER_VERTEX, 0,
102 draw_vbo(draw, info);
104 draw_flush(svga->swtnl.draw);
[all...]
/external/mesa3d/src/mesa/vbo/
H A Dvbo_split.c108 vbo_draw_func draw,
138 draw, limits );
146 min_index, max_index, draw, limits );
160 min_index, max_index, draw, limits );
101 vbo_split_prims( struct gl_context *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument

Completed in 9859 milliseconds

1234567891011>>