Home
last modified time | relevance | path

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

12345678910>>...16

/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.c480 vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, in vl_mc_init() argument
487 assert(renderer); in vl_mc_init()
490 memset(renderer, 0, sizeof(struct vl_mc)); in vl_mc_init()
492 renderer->pipe = pipe; in vl_mc_init()
493 renderer->buffer_width = buffer_width; in vl_mc_init()
494 renderer->buffer_height = buffer_height; in vl_mc_init()
495 renderer->macroblock_size = macroblock_size; in vl_mc_init()
497 if (!init_pipe_state(renderer)) in vl_mc_init()
500 renderer->vs_ref = create_ref_vert_shader(renderer); in vl_mc_init()
501 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/swiftshader/src/D3D8/
DDirect3DDevice8.cpp58 renderer = new sw::Renderer(context, sw::Direct3D, false); in Direct3DDevice8()
163 delete renderer; in ~Direct3DDevice8()
164 renderer = 0; in ~Direct3DDevice8()
385 renderer->clear(rgba, sw::FORMAT_A32B32G32R32F, renderTarget, clearRect, 0xF); in Clear()
938 renderer->draw(drawType, indexOffset, primitiveCount); in DrawIndexedPrimitive()
1038 renderer->draw(drawType, 0, primitiveCount); in DrawIndexedPrimitiveUP()
1069 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitive()
1130 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitiveUP()
1788 renderer->setModelMatrix(C * M); in MultiplyTransform()
1791 renderer->setViewMatrix(C * M); in MultiplyTransform()
[all …]
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp64 renderer = new sw::Renderer(context, sw::Direct3D, false); in Direct3DDevice9()
187 delete renderer; in ~Direct3DDevice9()
188 renderer = 0; in ~Direct3DDevice9()
430 renderer->clear(rgba, sw::FORMAT_A32B32G32R32F, renderTarget[index], clearRect, 0xF); in Clear()
1052 renderer->draw(drawType, indexOffset, primitiveCount, instance == 0); in DrawIndexedPrimitive()
1058 renderer->draw(drawType, indexOffset, primitiveCount); in DrawIndexedPrimitive()
1147 renderer->draw(drawType, 0, primitiveCount); in DrawIndexedPrimitiveUP()
1181 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitive()
1245 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitiveUP()
2242 renderer->setModelMatrix(C * M); in MultiplyTransform()
[all …]
DDirect3DSwapChain9.cpp91 sw::Renderer *renderer = device->renderer; in Present() local
104 for(thread = 0; thread < renderer->getThreadCount(); thread++) in Present()
106 …int64_t drawTime = renderer->getVertexTime(thread) + renderer->getSetupTime(thread) + renderer->ge… in Present()
108 …int vertexPercentage = sw::clamp((int)(100 * renderer->getVertexTime(thread) / frameTime), 0, 100); in Present()
109 … int setupPercentage = sw::clamp((int)(100 * renderer->getSetupTime(thread) / frameTime), 0, 100); in Present()
110 … int pixelPercentage = sw::clamp((int)(100 * renderer->getPixelTime(thread) / frameTime), 0, 100); in Present()
148 renderer->resetTimers(); in Present()
/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/mesa3d/src/hgl/
DGLRendererRoster.cpp94 return item.renderer; in GetRenderer()
165 GLRendererRoster::AddRenderer(BGLRenderer* renderer, in AddRenderer() argument
169 item.renderer = renderer; in AddRenderer()
181 renderer->fOwningRoster = this; in AddRenderer()
182 renderer->fID = fNextID++; in AddRenderer()
207 BGLRenderer* renderer in CreateRenderer() local
209 if (!renderer) { in CreateRenderer()
214 if (AddRenderer(renderer, image, &ref, nodeRef.node) != B_OK) { in CreateRenderer()
215 renderer->Release(); in CreateRenderer()
/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/mesa3d/docs/specs/
DMESA_query_renderer.spec50 There are also cases where more than one renderer may be available per
61 contexts with respect to a specific renderer.
66 int renderer, int attribute,
71 int renderer, int attribute);
114 Bool glXQueryRendererIntegerMESA(Display *dpy, int screen, int renderer,
119 of each renderer attribute are listed in the table below.
121 GLX renderer attribute number description
127 the renderer implementation
129 not the renderer is hardware
132 memory available to the renderer
[all …]
/external/skia/samplecode/
DSamplePdfFileViewer.cpp37 std::unique_ptr<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local
38 if (nullptr == renderer.get()) { in LoadPdf()
43 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf()
44 (int) renderer->MediaBox(0).height()); in LoadPdf()
45 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
/external/skqp/samplecode/
DSamplePdfFileViewer.cpp37 std::unique_ptr<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local
38 if (nullptr == renderer.get()) { in LoadPdf()
43 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf()
44 (int) renderer->MediaBox(0).height()); in LoadPdf()
45 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
/external/skqp/src/atlastext/
DSkAtlasTextContext.cpp12 sk_sp<SkAtlasTextContext> SkAtlasTextContext::Make(sk_sp<SkAtlasTextRenderer> renderer) { in Make() argument
13 return sk_sp<SkAtlasTextContext>(new SkAtlasTextContext(std::move(renderer))); in Make()
16 SkAtlasTextContext::SkAtlasTextContext(sk_sp<SkAtlasTextRenderer> renderer) in SkAtlasTextContext() argument
17 : fInternalContext(SkInternalAtlasTextContext::Make(std::move(renderer))) {} in SkAtlasTextContext()
/external/skia/src/atlastext/
DSkAtlasTextContext.cpp12 sk_sp<SkAtlasTextContext> SkAtlasTextContext::Make(sk_sp<SkAtlasTextRenderer> renderer) { in Make() argument
13 return sk_sp<SkAtlasTextContext>(new SkAtlasTextContext(std::move(renderer))); in Make()
16 SkAtlasTextContext::SkAtlasTextContext(sk_sp<SkAtlasTextRenderer> renderer) in SkAtlasTextContext() argument
17 : fInternalContext(SkInternalAtlasTextContext::Make(std::move(renderer))) {} in SkAtlasTextContext()
/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/freetype/
Dftrender.h89 (*FT_Renderer_RenderFunc)( FT_Renderer renderer,
95 (*FT_Renderer_TransformFunc)( FT_Renderer renderer,
102 (*FT_Renderer_GetCBoxFunc)( FT_Renderer renderer,
108 (*FT_Renderer_SetModeFunc)( FT_Renderer renderer,
221 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 …]
/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/glx/
Dquery_renderer.c80 int renderer, int attribute, in glXQueryRendererIntegerMESA() argument
98 if (renderer != 0) in glXQueryRendererIntegerMESA()
141 int renderer, int attribute) in glXQueryRendererStringMESA() argument
158 if (renderer != 0) in glXQueryRendererStringMESA()
/external/skia/src/gpu/gl/
DGrGLContext.cpp26 const char* renderer = reinterpret_cast<const char*>(rendererUByte); in Make() local
40 args.fRenderer = GrGLGetRendererFromString(renderer); in Make()
42 GrGLGetANGLEInfoFromString(renderer, &args.fANGLEBackend, &args.fANGLEVendor, in Make()
56 GrGLGetDriverInfo(interface->fStandard, args.fVendor, renderer, ver, in Make()

12345678910>>...16