Home
last modified time | relevance | path

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

12345678910>>...14

/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/skia/experimental/PdfViewer/
Dpdf_viewer_main.cpp117 const SkPdfRenderer& renderer, in render_page() argument
119 SkRect rect = renderer.MediaBox(page < 0 ? 0 :page); in render_page()
126 renderer.renderPage(page < 0 ? 0 : page, &canvas, rect); in render_page()
129 SkRect rect = renderer.MediaBox(page < 0 ? 0 :page); in render_page()
159 renderer.renderPage(page < 0 ? 0 : page, &canvas, rect); in render_page()
169 page < 0 ? 0 : page, (unsigned int)renderer.bytesUsed()); in render_page()
184 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(inputPath.c_str())); in process_pdf() local
185 if (NULL == renderer.get()) { in process_pdf()
191 SkDebugf("Memory usage after load: %u\n", (unsigned int) renderer->bytesUsed()); in process_pdf()
208 if (!renderer->pages()) { in process_pdf()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DListener.java44 private AudioRenderer renderer; field in Listener
59 public void setRenderer(AudioRenderer renderer){ in setRenderer() argument
60 this.renderer = renderer; in setRenderer()
69 if (renderer != null) in setVolume()
70 renderer.updateListenerParam(this, ListenerParam.Volume); in setVolume()
99 if (renderer != null) in setLocation()
100 renderer.updateListenerParam(this, ListenerParam.Position); in setLocation()
105 if (renderer != null) in setRotation()
106 renderer.updateListenerParam(this, ListenerParam.Rotation); in setRotation()
111 if (renderer != null) in setVelocity()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglContext.java38 import com.jme3.renderer.Renderer;
39 import com.jme3.renderer.lwjgl.LwjglGL1Renderer;
40 import com.jme3.renderer.lwjgl.LwjglRenderer;
62 protected Renderer renderer; field in LwjglContext
115 renderer = new LwjglRenderer(); in initContextFirstTime()
117 renderer = new LwjglGL1Renderer(); in initContextFirstTime()
121 renderer = new LwjglRenderer(); in initContextFirstTime()
123 renderer = new LwjglGL1Renderer(); in initContextFirstTime()
130 if (renderer instanceof LwjglRenderer){ in initContextFirstTime()
131 ((LwjglRenderer)renderer).initialize(); in initContextFirstTime()
[all …]
/external/skia/tools/
DPictureRenderingFlags.cpp104 SkAutoTUnref<sk_tools::PictureRenderer> renderer; local
108 renderer.reset(SkNEW_ARGS(sk_tools::RecordPictureRenderer, RENDERER_ARGS));
132 renderer.reset(SkNEW_ARGS(sk_tools::PlaybackCreationRenderer, RENDERER_ARGS));
135 renderer.reset(SkNEW_ARGS(sk_tools::RecordPictureRenderer, RENDERER_ARGS));
147 SkASSERT(NULL == renderer);
227 renderer.reset(tiledRenderer.detach());
235 if (renderer != NULL) {
239 renderer.reset(SkNEW_ARGS(sk_tools::PipePictureRenderer, RENDERER_ARGS));
243 if (NULL == renderer) {
244 renderer.reset(SkNEW_ARGS(sk_tools::SimplePictureRenderer, RENDERER_ARGS));
[all …]
Drender_pictures_main.cpp148 sk_tools::PictureRenderer& renderer, in render_picture_internal() argument
200 renderer.init(picture, &writePathString, &mismatchPathString, &inputFilename, in render_picture_internal()
203 renderer.setup(); in render_picture_internal()
204 renderer.enableWrites(); in render_picture_internal()
206 bool success = renderer.render(out); in render_picture_internal()
211 renderer.end(); in render_picture_internal()
233 void set(sk_tools::PictureRenderer* renderer, in set() argument
235 fRenderer = renderer; in set()
236 fSavedBbhType = renderer->getBBoxHierarchyType(); in set()
237 renderer->setBBoxHierarchyType(bbhType); in set()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/post/
DHDRRenderer.java38 import com.jme3.renderer.*;
39 import com.jme3.renderer.queue.RenderQueue;
57 private Renderer renderer; field in HDRRenderer
99 public HDRRenderer(AssetManager manager, Renderer renderer){ in HDRRenderer() argument
101 this.renderer = renderer; in HDRRenderer()
103 Collection<Caps> caps = renderer.getCaps(); in HDRRenderer()
257 renderer.deleteFrameBuffer(mainSceneFB); in reshape()
268 renderer.deleteFrameBuffer(msFB); in reshape()
273 Collection<Caps> caps = renderer.getCaps(); in reshape()
293 renderer = rm.getRenderer(); in initialize()
[all …]
DFilter.java37 import com.jme3.renderer.Caps;
38 import com.jme3.renderer.RenderManager;
39 import com.jme3.renderer.Renderer;
40 import com.jme3.renderer.ViewPort;
97 …public void init(Renderer renderer, int width, int height, Format textureFormat, Format depthBuffe… in init() argument
98 Collection<Caps> caps = renderer.getCaps(); in init()
130 …public void init(Renderer renderer, int width, int height, Format textureFormat, Format depthBuffe… in init() argument
131 init(renderer, width, height, textureFormat, depthBufferFormat, 1); in init()
134 …public void init(Renderer renderer, int width, int height, Format textureFormat, Format depthBuffe… in init() argument
135 init(renderer, width, height, textureFormat, depthBufferFormat, numSamples, false); in init()
[all …]
/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/skia/bench/
DnanobenchAndroid.cpp22 this->renderer.proxy->fence(); in setup()
26 SkCanvas* targetCanvas = this->renderer.prepareToDraw(); in beginTiming()
38 this->renderer.finishDrawing(); in endTiming()
42 this->renderer.proxy->fence(); in fence()
50 this->renderer.initialize({bench->getSize().x(), bench->getSize().y()}); in init()
55 return this->renderer.capturePixels(bmp); in capturePixels()
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/
DOGLESContext.java57 import com.jme3.renderer.android.OGLESShaderRenderer;
84 protected OGLESShaderRenderer renderer; field in OGLESContext
200 if (created.get() && renderer != null) { in onSurfaceCreated()
201 renderer.resetGLObjects(); in onSurfaceCreated()
242 renderer = new OGLESShaderRenderer(); in initInThread()
244 renderer.setUseVA(true); in initInThread()
245 renderer.setVerboseLogging(verboseLogging); in initInThread()
247 renderer.initialize(); in initInThread()
271 if (renderer != null) { in deinitInThread()
272 renderer.cleanup(); in deinitInThread()
[all …]
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DScreenshotAppState.java9 import com.jme3.renderer.RenderManager;
10 import com.jme3.renderer.Renderer;
11 import com.jme3.renderer.ViewPort;
12 import com.jme3.renderer.queue.RenderQueue;
29 private Renderer renderer; field in ScreenshotAppState
59 renderer = rm.getRenderer(); in initialize()
65 return super.isInitialized() && renderer != null; in isInitialized()
84 renderer.readFrameBuffer(out, outBuf); in postFrame()
/external/skia/dm/
DDMSrcSinkAndroid.cpp22 SkHwuiRenderer renderer; in draw() local
23 renderer.initialize(src.size()); in draw()
24 SkCanvas* canvas = renderer.prepareToDraw(); in draw()
29 renderer.finishDrawing(); in draw()
30 renderer.proxy->fence(); in draw()
31 renderer.capturePixels(dst); in draw()
/external/skia/samplecode/
DSamplePdfFileViewer.cpp38 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local
39 if (NULL == renderer.get()) { in LoadPdf()
44 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf()
45 (int) renderer->MediaBox(0).height()); in LoadPdf()
46 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
/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/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderManager.java32 package com.jme3.renderer;
40 import com.jme3.renderer.queue.GeometryList;
41 import com.jme3.renderer.queue.RenderQueue;
42 import com.jme3.renderer.queue.RenderQueue.Bucket;
43 import com.jme3.renderer.queue.RenderQueue.ShadowMode;
71 private Renderer renderer; field in RenderManager
101 public RenderManager(Renderer renderer) { in RenderManager() argument
102 this.renderer = renderer; in RenderManager()
556 renderer.setAlphaToCoverage(value); in setAlphaToCoverage()
596 renderer.setWorldMatrix(mat); in setWorldMatrix()
[all …]
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DNiftyJmeDisplay.java42 import com.jme3.renderer.RenderManager;
43 import com.jme3.renderer.Renderer;
44 import com.jme3.renderer.ViewPort;
45 import com.jme3.renderer.queue.RenderQueue;
62 protected Renderer renderer; field in NiftyJmeDisplay
118 this.renderer = rm.getRenderer(); in initialize()
148 return renderer; in getRenderer()
/external/pdfium/third_party/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,
225 FT_Renderer renderer,
/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,

12345678910>>...14