Home
last modified time | relevance | path

Searched refs:renderer (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/mesa3d/src/gallium/state_trackers/vega/
Drenderer.c76 struct renderer { struct
135 static VGboolean renderer_can_support(struct renderer *renderer, in renderer_can_support() argument
139 struct pipe_screen *screen = renderer->pipe->screen; in renderer_can_support()
148 static void renderer_set_mvp(struct renderer *renderer, in renderer_set_mvp() argument
151 struct matrix *cur = &renderer->mvp; in renderer_set_mvp()
158 mvp = &renderer->projection; in renderer_set_mvp()
172 cbuf = renderer->vs_cbuf; in renderer_set_mvp()
174 cbuf = pipe_buffer_create(renderer->pipe->screen, in renderer_set_mvp()
179 pipe_buffer_write(renderer->pipe, cbuf, in renderer_set_mvp()
182 pipe_set_constant_buffer(renderer->pipe, in renderer_set_mvp()
[all …]
Drenderer.h33 struct renderer;
46 struct renderer *renderer_create(struct vg_context *owner);
47 void renderer_destroy(struct renderer *);
49 void renderer_validate(struct renderer *renderer,
54 void renderer_validate_for_shader(struct renderer *renderer,
63 void renderer_validate_for_mask_rendering(struct renderer *renderer,
67 VGboolean renderer_copy_begin(struct renderer *renderer,
72 void renderer_copy(struct renderer *renderer,
76 void renderer_copy_end(struct renderer *renderer);
78 VGboolean renderer_drawtex_begin(struct renderer *renderer,
[all …]
Dpolygon.c293 renderer_polygon_stencil_begin(ctx->renderer, in polygon_fill()
295 renderer_polygon_stencil(ctx->renderer, &vbuffer, in polygon_fill()
297 renderer_polygon_stencil_end(ctx->renderer); in polygon_fill()
299 renderer_polygon_fill_begin(ctx->renderer, VG_FALSE); in polygon_fill()
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_fill()
301 renderer_polygon_fill_end(ctx->renderer); in polygon_fill()
334 renderer_polygon_stencil_begin(ctx->renderer, in polygon_array_fill()
342 renderer_polygon_stencil(ctx->renderer, &vbuffer, in polygon_array_fill()
345 renderer_polygon_stencil_end(ctx->renderer); in polygon_array_fill()
348 renderer_polygon_fill_begin(ctx->renderer, VG_FALSE); in polygon_array_fill()
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlStreamRendererTest.java43 private final HtmlStreamRenderer renderer = HtmlStreamRenderer.create( field in HtmlStreamRendererTest
99 renderer.openDocument(); in testIllegalElementName()
100 renderer.openTag(":svg", ImmutableList.<String>of()); in testIllegalElementName()
101 renderer.openTag("svg:", ImmutableList.<String>of()); in testIllegalElementName()
102 renderer.openTag("-1", ImmutableList.<String>of()); in testIllegalElementName()
103 renderer.openTag("svg::svg", ImmutableList.<String>of()); in testIllegalElementName()
104 renderer.openTag("a@b", ImmutableList.<String>of()); in testIllegalElementName()
105 renderer.closeDocument(); in testIllegalElementName()
122 renderer.openDocument(); in testIllegalAttributeName()
123 renderer.openTag("div", ImmutableList.of(":svg", "x")); in testIllegalAttributeName()
[all …]
DBenchmark.java135 final HtmlStreamRenderer renderer = HtmlStreamRenderer.create( in sanitize() local
146 renderer.openDocument(); in sanitize()
150 renderer.closeDocument(); in sanitize()
154 renderer.text(textChunk); in sanitize()
169 renderer.openTag(elementName, attrs); in sanitize()
175 renderer.closeTag(elementName); in sanitize()
195 HtmlStreamRenderer renderer = HtmlStreamRenderer.create( in sanitizeUsingPolicyBuilder() local
202 HtmlSanitizer.sanitize(html, policyBuilder.build(renderer)); in sanitizeUsingPolicyBuilder()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c475 vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, in vl_mc_init() argument
482 assert(renderer); in vl_mc_init()
485 memset(renderer, 0, sizeof(struct vl_mc)); in vl_mc_init()
487 renderer->pipe = pipe; in vl_mc_init()
488 renderer->buffer_width = buffer_width; in vl_mc_init()
489 renderer->buffer_height = buffer_height; in vl_mc_init()
490 renderer->macroblock_size = macroblock_size; in vl_mc_init()
492 if (!init_pipe_state(renderer)) in vl_mc_init()
495 renderer->vs_ref = create_ref_vert_shader(renderer); in vl_mc_init()
496 if (!renderer->vs_ref) in vl_mc_init()
[all …]
Dvl_mc.h78 bool vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe,
85 void vl_mc_cleanup(struct vl_mc *renderer);
87 bool vl_mc_init_buffer(struct vl_mc *renderer, struct vl_mc_buffer *buffer);
93 void vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pipe_sampler_view…
95 void vl_mc_render_ycbcr(struct vl_mc *renderer, struct vl_mc_buffer *buffer, unsigned component, un…
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlChangeReporter.java59 HtmlStreamEventReceiver renderer, in HtmlChangeReporter() argument
61 this.output = new OutputChannel(renderer); in HtmlChangeReporter()
139 private final HtmlStreamEventReceiver renderer; field in HtmlChangeReporter.OutputChannel
143 OutputChannel(HtmlStreamEventReceiver renderer) { in OutputChannel() argument
144 this.renderer = renderer; in OutputChannel()
148 renderer.openDocument(); in openDocument()
152 renderer.closeDocument(); in closeDocument()
162 renderer.openTag(elementName, attrs); in openTag()
166 renderer.closeTag(elementName); in closeTag()
170 renderer.text(text); in text()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DVideoTrack.java41 public void addRenderer(VideoRenderer renderer) { in addRenderer() argument
42 renderers.add(renderer); in addRenderer()
43 nativeAddRenderer(nativeTrack, renderer.nativeVideoRenderer); in addRenderer()
46 public void removeRenderer(VideoRenderer renderer) { in removeRenderer() argument
47 if (!renderers.remove(renderer)) { in removeRenderer()
50 nativeRemoveRenderer(nativeTrack, renderer.nativeVideoRenderer); in removeRenderer()
51 renderer.dispose(); in removeRenderer()
/external/webrtc/talk/app/webrtc/
Dvideotrackrenderers.cc39 void VideoTrackRenderers::AddRenderer(VideoRendererInterface* renderer) { in AddRenderer() argument
40 if (!renderer) { in AddRenderer()
44 renderers_.insert(renderer); in AddRenderer()
47 void VideoTrackRenderers::RemoveRenderer(VideoRendererInterface* renderer) { in RemoveRenderer() argument
49 renderers_.erase(renderer); in RemoveRenderer()
62 for (VideoRendererInterface* renderer : renderers_) { in RenderFrame()
63 renderer->RenderFrame(frame); in RenderFrame()
Dvideotrack.cc53 void VideoTrack::AddRenderer(VideoRendererInterface* renderer) { in AddRenderer() argument
54 renderers_.AddRenderer(renderer); in AddRenderer()
57 void VideoTrack::RemoveRenderer(VideoRendererInterface* renderer) { in RemoveRenderer() argument
58 renderers_.RemoveRenderer(renderer); in RemoveRenderer()
/external/skia/bench/
DnanobenchAndroid.cpp15 this->renderer.fence(); in setup()
19 SkCanvas* targetCanvas = this->renderer.prepareToDraw(); in beginTiming()
31 this->renderer.finishDrawing(); in endTiming()
35 this->renderer.fence(); in fence()
45 this->renderer.initialize(bench->getSize().x(), bench->getSize().y()); in init()
50 return this->renderer.capturePixels(bmp); in capturePixels()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DTable.java58 final IColumnRenderer renderer, final boolean defaultSorting) { in add() argument
59 columns.add(new Column(columns.size(), header, style, renderer, in add()
66 this.defaultComparator = renderer.getComparator(); in add()
145 private final IColumnRenderer renderer; field in Table.Column
152 final IColumnRenderer renderer, final boolean defaultSorting) { in Column() argument
155 this.renderer = renderer; in Column()
156 index = new SortIndex<ITableItem>(renderer.getComparator()); in Column()
164 visible = renderer.init(items, total); in init()
178 renderer.footer(tr.td(style), total, resources, base); in footer()
188 renderer.item(td, item, resources, base); in body()
/external/skia/dm/
DDMSrcSinkAndroid.cpp22 android::uirenderer::TestWindowContext renderer; in draw() local
23 renderer.initialize(src.size().width(), src.size().height()); in draw()
24 SkCanvas* canvas = renderer.prepareToDraw(); in draw()
29 renderer.finishDrawing(); in draw()
30 renderer.fence(); in draw()
31 renderer.capturePixels(dst); in draw()
/external/skia/samplecode/
DSamplePdfFileViewer.cpp40 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local
41 if (nullptr == renderer.get()) { in LoadPdf()
46 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf()
47 (int) renderer->MediaBox(0).height()); in LoadPdf()
48 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Drendering_stats_unittest.py282 renderer = timeline.GetOrCreateProcess(pid=2)
303 renderer.FinalizeImport()
308 renderer, browser, surface_flinger, timeline_ranges)
321 renderer = timeline.GetOrCreateProcess(pid=2)
342 renderer.FinalizeImport()
347 renderer, browser, None, timeline_ranges)
358 renderer = timeline.GetOrCreateProcess(pid=2)
359 renderer_main = renderer.GetOrCreateThread(tid=21)
360 renderer_compositor = renderer.GetOrCreateThread(tid=22)
382 renderer.FinalizeImport()
[all …]
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_composite.c229 cso_set_blend(exa->renderer->cso, &blend); in bind_blend_state()
345 shader = xorg_shaders_get(exa->renderer->shaders, vs_traits, fs_traits); in bind_shaders()
346 cso_set_vertex_shader_handle(exa->renderer->cso, shader.vs); in bind_shaders()
347 cso_set_fragment_shader_handle(exa->renderer->cso, shader.fs); in bind_shaders()
421 cso_set_samplers(exa->renderer->cso, PIPE_SHADER_FRAGMENT, in bind_samplers()
424 cso_set_sampler_views(exa->renderer->cso, PIPE_SHADER_FRAGMENT, in bind_samplers()
480 renderer_bind_destination(exa->renderer, dst_surf, in xorg_composite_bind_state()
492 renderer_begin_solid(exa->renderer); in xorg_composite_bind_state()
494 renderer_begin_textures(exa->renderer, in xorg_composite_bind_state()
509 renderer_solid(exa->renderer, in xorg_composite()
[all …]
/external/webrtc/talk/media/devices/
Dvideorendererfactory.h52 CarbonVideoRenderer* renderer = new CarbonVideoRenderer(x, y); in CreateGuiVideoRenderer()
54 if (renderer->Initialize()) { in CreateGuiVideoRenderer()
55 return renderer; in CreateGuiVideoRenderer()
57 delete renderer; in CreateGuiVideoRenderer()
/external/freetype/include/
Dftrender.h88 (*FT_Renderer_RenderFunc)( FT_Renderer renderer,
94 (*FT_Renderer_TransformFunc)( FT_Renderer renderer,
101 (*FT_Renderer_GetCBoxFunc)( FT_Renderer renderer,
107 (*FT_Renderer_SetModeFunc)( FT_Renderer renderer,
220 FT_Renderer renderer,
/external/pdfium/third_party/freetype/include/freetype/
Dftrender.h88 (*FT_Renderer_RenderFunc)( FT_Renderer renderer,
94 (*FT_Renderer_TransformFunc)( FT_Renderer renderer,
101 (*FT_Renderer_GetCBoxFunc)( FT_Renderer renderer,
107 (*FT_Renderer_SetModeFunc)( FT_Renderer renderer,
220 FT_Renderer renderer,
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYLegendWidget.java133 …private void drawSeriesLegendCell(Canvas canvas, XYSeriesRenderer renderer, XYSeriesFormatter form… in drawSeriesLegendCell() argument
137 renderer.drawSeriesLegendIcon( in drawSeriesLegendCell()
159 for(XYSeriesRenderer renderer : plot.getRendererList()) { in doOnDraw()
161 … SeriesAndFormatterList sfl = plot.getSeriesAndFormatterListForRenderer(renderer.getClass()); in doOnDraw()
167 Hashtable<XYRegionFormatter, String> urf = renderer.getUniqueRegionFormatters(); in doOnDraw()
182 for(XYSeriesRenderer renderer : plot.getRendererList()) { in doOnDraw()
183 …t<XYSeries,XYSeriesFormatter> sfl = plot.getSeriesAndFormatterListForRenderer(renderer.getClass()); in doOnDraw()
191 … drawSeriesLegendCell(canvas, renderer, formatter, cellRect, sfl.getSeries(i).getTitle()); in doOnDraw()
/external/webrtc/talk/media/base/
Dvideoengine_unittest.h795 cricket::VideoRenderer* renderer; in AddRemoveRecvStreams() local
796 EXPECT_FALSE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams()
797 EXPECT_FALSE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams()
804 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams()
805 EXPECT_TRUE(renderer == NULL); in AddRemoveRecvStreams()
806 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams()
807 EXPECT_TRUE(NULL == renderer); in AddRemoveRecvStreams()
812 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams()
813 EXPECT_TRUE(&renderer1 == renderer); in AddRemoveRecvStreams()
814 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams()
[all …]
Dcapturerenderadapter.cc83 if (video_renderer == iter->renderer) { in RemoveRenderer()
107 VideoRenderer* video_renderer = iter->renderer; in OnVideoFrame()
119 if (iter->renderer->SetSize(static_cast<int>(frame->GetWidth()), in MaybeSetRenderingSize()
136 if (&video_renderer == iter->renderer) { in IsRendererRegistered()
/external/webrtc/webrtc/test/
Dvideo_renderer.cc28 VideoRenderer* renderer = CreatePlatformRenderer(window_title, width, height); in Create() local
29 if (renderer != NULL) { in Create()
31 return renderer; in Create()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_strings.c58 util_snprintf(st->renderer, sizeof(st->renderer), "Gallium %s on %s", in st_get_string()
62 return (GLubyte *) st->renderer; in st_get_string()

12345678910