/external/libvterm/src/ |
D | screen.c | 39 static int vterm_screen_set_cell(VTermScreen *screen, VTermPos pos, const VTermScreenCell *cell); 71 static inline ScreenCell *getcell(const VTermScreen *screen, int row, int col) in getcell() argument 73 if(row < 0 || row >= screen->rows) in getcell() 75 if(col < 0 || col >= screen->cols) in getcell() 77 return screen->buffer + (screen->cols * row) + col; in getcell() 80 static ScreenCell *realloc_buffer(VTermScreen *screen, ScreenCell *buffer, int new_rows, int new_co… in realloc_buffer() argument 82 …ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_co… in realloc_buffer() 88 if(buffer && row < screen->rows && col < screen->cols) in realloc_buffer() 89 *new_cell = buffer[row * screen->cols + col]; in realloc_buffer() 92 new_cell->pen = screen->pen; in realloc_buffer() [all …]
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_screen.c | 48 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_name() local 53 trace_dump_arg(ptr, screen); in trace_screen_get_name() 55 result = screen->get_name(screen); in trace_screen_get_name() 69 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_vendor() local 74 trace_dump_arg(ptr, screen); in trace_screen_get_vendor() 76 result = screen->get_vendor(screen); in trace_screen_get_vendor() 91 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_param() local 96 trace_dump_arg(ptr, screen); in trace_screen_get_param() 99 result = screen->get_param(screen, param); in trace_screen_get_param() 114 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_shader_param() local [all …]
|
/external/mesa3d/src/gallium/drivers/identity/ |
D | id_screen.c | 43 struct pipe_screen *screen = id_screen->screen; in identity_screen_destroy() local 45 screen->destroy(screen); in identity_screen_destroy() 54 struct pipe_screen *screen = id_screen->screen; in identity_screen_get_name() local 56 return screen->get_name(screen); in identity_screen_get_name() 63 struct pipe_screen *screen = id_screen->screen; in identity_screen_get_vendor() local 65 return screen->get_vendor(screen); in identity_screen_get_vendor() 73 struct pipe_screen *screen = id_screen->screen; in identity_screen_get_param() local 75 return screen->get_param(screen, in identity_screen_get_param() 84 struct pipe_screen *screen = id_screen->screen; in identity_screen_get_shader_param() local 86 return screen->get_shader_param(screen, shader, in identity_screen_get_shader_param() [all …]
|
/external/mesa3d/src/gallium/targets/egl-static/ |
D | egl_pipe.c | 54 struct pipe_screen *screen; in pipe_i915_create_screen() local 60 screen = i915_screen_create(iws); in pipe_i915_create_screen() 61 if (!screen) in pipe_i915_create_screen() 64 screen = debug_screen_wrap(screen); in pipe_i915_create_screen() 66 return screen; in pipe_i915_create_screen() 76 struct pipe_screen *screen; in pipe_nouveau_create_screen() local 78 screen = nouveau_drm_screen_create(fd); in pipe_nouveau_create_screen() 79 if (!screen) in pipe_nouveau_create_screen() 82 screen = debug_screen_wrap(screen); in pipe_nouveau_create_screen() 84 return screen; in pipe_nouveau_create_screen() [all …]
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_screen.c | 47 struct pipe_screen *screen = glhd_screen->screen; in galahad_screen_destroy() local 49 screen->destroy(screen); in galahad_screen_destroy() 58 struct pipe_screen *screen = glhd_screen->screen; in galahad_screen_get_name() local 60 return screen->get_name(screen); in galahad_screen_get_name() 67 struct pipe_screen *screen = glhd_screen->screen; in galahad_screen_get_vendor() local 69 return screen->get_vendor(screen); in galahad_screen_get_vendor() 77 struct pipe_screen *screen = glhd_screen->screen; in galahad_screen_get_param() local 79 return screen->get_param(screen, in galahad_screen_get_param() 88 struct pipe_screen *screen = glhd_screen->screen; in galahad_screen_get_shader_param() local 90 return screen->get_shader_param(screen, shader, in galahad_screen_get_shader_param() [all …]
|
/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_screen.c | 46 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_destroy() local 48 screen->destroy(screen); in rbug_screen_destroy() 57 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_name() local 59 return screen->get_name(screen); in rbug_screen_get_name() 66 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_vendor() local 68 return screen->get_vendor(screen); in rbug_screen_get_vendor() 76 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_param() local 78 return screen->get_param(screen, in rbug_screen_get_param() 87 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_shader_param() local 89 return screen->get_shader_param(screen, shader, in rbug_screen_get_shader_param() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_screen.c | 263 struct nv50_screen *screen = nv50_screen(pscreen); in nv50_screen_destroy() local 265 if (screen->base.fence.current) { in nv50_screen_destroy() 266 nouveau_fence_wait(screen->base.fence.current); in nv50_screen_destroy() 267 nouveau_fence_ref (NULL, &screen->base.fence.current); in nv50_screen_destroy() 269 if (screen->base.pushbuf) in nv50_screen_destroy() 270 screen->base.pushbuf->user_priv = NULL; in nv50_screen_destroy() 272 if (screen->blitctx) in nv50_screen_destroy() 273 FREE(screen->blitctx); in nv50_screen_destroy() 275 nouveau_bo_ref(NULL, &screen->code); in nv50_screen_destroy() 276 nouveau_bo_ref(NULL, &screen->tls_bo); in nv50_screen_destroy() [all …]
|
D | nv50_context.c | 38 struct nouveau_screen *screen = nouveau_screen(pipe->screen); in nv50_flush() local 41 nouveau_fence_ref(screen->fence.current, (struct nouveau_fence **)fence); in nv50_flush() 43 PUSH_KICK(screen->pushbuf); in nv50_flush() 60 struct nv50_screen *screen = push->user_priv; in nv50_default_kick_notify() local 62 if (screen) { in nv50_default_kick_notify() 63 nouveau_fence_next(&screen->base); in nv50_default_kick_notify() 64 nouveau_fence_update(&screen->base, TRUE); in nv50_default_kick_notify() 65 if (screen->cur_ctx) in nv50_default_kick_notify() 66 screen->cur_ctx->state.flushed = TRUE; in nv50_default_kick_notify() 120 struct nv50_screen *screen = nv50_screen(pscreen); in nv50_create() local [all …]
|
/external/libvncserver/libvncserver/ |
D | main.c | 315 int x = cl->cursorX - cl->screen->cursor->xhot; in rfbScheduleCopyRegion() 316 int y = cl->cursorY - cl->screen->cursor->yhot; in rfbScheduleCopyRegion() 317 int w = cl->screen->cursor->width; in rfbScheduleCopyRegion() 318 int h = cl->screen->cursor->height; in rfbScheduleCopyRegion() 356 void rfbDoCopyRegion(rfbScreenInfoPtr screen,sraRegionPtr copyRegion,int dx,int dy) in rfbDoCopyRegion() argument 360 int j,widthInBytes,bpp=screen->serverFormat.bitsPerPixel/8, in rfbDoCopyRegion() 361 rowstride=screen->paddedWidthInBytes; in rfbDoCopyRegion() 368 out = screen->frameBuffer+rect.x1*bpp+rect.y1*rowstride; in rfbDoCopyRegion() 369 in = screen->frameBuffer+(rect.x1-dx)*bpp+(rect.y1-dy)*rowstride; in rfbDoCopyRegion() 382 rfbScheduleCopyRegion(screen,copyRegion,dx,dy); in rfbDoCopyRegion() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_extensions.c | 70 struct pipe_screen *screen = st->pipe->screen; in st_init_limits() local 75 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS), in st_init_limits() 79 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS), in st_init_limits() 83 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS), in st_init_limits() 90 = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in st_init_limits() 93 = _min(screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT, in st_init_limits() 98 = _min(screen->get_shader_param(screen, PIPE_SHADER_VERTEX, in st_init_limits() 103 = _min(screen->get_param(screen, PIPE_CAP_MAX_COMBINED_SAMPLERS), in st_init_limits() 120 = _clamp(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS), in st_init_limits() 124 = _clamp(screen->get_param(screen, PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS), in st_init_limits() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_fence.c | 34 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence, in nouveau_fence_new() argument 41 (*fence)->screen = screen; in nouveau_fence_new() 86 struct nouveau_screen *screen = fence->screen; in nouveau_fence_emit() local 95 if (screen->fence.tail) in nouveau_fence_emit() 96 screen->fence.tail->next = fence; in nouveau_fence_emit() 98 screen->fence.head = fence; in nouveau_fence_emit() 100 screen->fence.tail = fence; in nouveau_fence_emit() 102 screen->fence.emit(&screen->base, &fence->sequence); in nouveau_fence_emit() 112 struct nouveau_screen *screen = fence->screen; in nouveau_fence_del() local 116 if (fence == screen->fence.head) { in nouveau_fence_del() [all …]
|
D | nouveau_screen.c | 65 nouveau_screen_fence_signalled(struct pipe_screen *screen, in nouveau_screen_fence_signalled() argument 72 nouveau_screen_fence_finish(struct pipe_screen *screen, in nouveau_screen_fence_finish() argument 120 nouveau_screen_init(struct nouveau_screen *screen, struct nouveau_device *dev) in nouveau_screen_init() argument 122 struct pipe_screen *pscreen = &screen->base; in nouveau_screen_init() 143 data, size, &screen->channel); in nouveau_screen_init() 146 screen->device = dev; in nouveau_screen_init() 148 ret = nouveau_client_new(screen->device, &screen->client); in nouveau_screen_init() 151 ret = nouveau_pushbuf_new(screen->client, screen->channel, in nouveau_screen_init() 153 &screen->pushbuf); in nouveau_screen_init() 158 screen->cpu_gpu_time_delta = os_time_get(); in nouveau_screen_init() [all …]
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_screen.c | 49 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_param() local 50 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_param() 134 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_paramf() local 135 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() 158 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_shader_param() local 159 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() 272 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_fence_emit() local 273 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv30_screen_fence_emit() 275 *sequence = ++screen->base.fence.sequence; in nv30_screen_fence_emit() 285 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_fence_update() local [all …]
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_screen.c | 252 struct nvc0_screen *screen = nvc0_screen(pscreen); in nvc0_screen_destroy() local 254 if (screen->base.fence.current) { in nvc0_screen_destroy() 255 nouveau_fence_wait(screen->base.fence.current); in nvc0_screen_destroy() 256 nouveau_fence_ref(NULL, &screen->base.fence.current); in nvc0_screen_destroy() 258 if (screen->base.pushbuf) in nvc0_screen_destroy() 259 screen->base.pushbuf->user_priv = NULL; in nvc0_screen_destroy() 261 if (screen->blitctx) in nvc0_screen_destroy() 262 FREE(screen->blitctx); in nvc0_screen_destroy() 264 nouveau_bo_ref(NULL, &screen->text); in nvc0_screen_destroy() 265 nouveau_bo_ref(NULL, &screen->uniform_bo); in nvc0_screen_destroy() [all …]
|
D | nvc0_context.c | 39 struct nouveau_screen *screen = &nvc0->screen->base; in nvc0_flush() local 42 nouveau_fence_ref(screen->fence.current, (struct nouveau_fence **)fence); in nvc0_flush() 89 if (nvc0->screen->cur_ctx == nvc0) { in nvc0_destroy() 91 nvc0->screen->cur_ctx = NULL; in nvc0_destroy() 108 struct nvc0_screen *screen = push->user_priv; in nvc0_default_kick_notify() local 110 if (screen) { in nvc0_default_kick_notify() 111 nouveau_fence_next(&screen->base); in nvc0_default_kick_notify() 112 nouveau_fence_update(&screen->base, TRUE); in nvc0_default_kick_notify() 113 if (screen->cur_ctx) in nvc0_default_kick_notify() 114 screen->cur_ctx->state.flushed = TRUE; in nvc0_default_kick_notify() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_screen.c | 88 llvmpipe_get_vendor(struct pipe_screen *screen) in llvmpipe_get_vendor() argument 95 llvmpipe_get_name(struct pipe_screen *screen) in llvmpipe_get_name() argument 104 llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) in llvmpipe_get_param() argument 219 llvmpipe_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_shader_cap param) in llvmpipe_get_shader_param() argument 249 llvmpipe_get_paramf(struct pipe_screen *screen, enum pipe_capf param) in llvmpipe_get_paramf() argument 288 struct llvmpipe_screen *screen = llvmpipe_screen(_screen); in llvmpipe_is_format_supported() local 289 struct sw_winsys *winsys = screen->winsys; in llvmpipe_is_format_supported() 365 struct llvmpipe_screen *screen = llvmpipe_screen(_screen); in llvmpipe_flush_frontbuffer() local 366 struct sw_winsys *winsys = screen->winsys; in llvmpipe_flush_frontbuffer() 378 struct llvmpipe_screen *screen = llvmpipe_screen(_screen); in llvmpipe_destroy_screen() local [all …]
|
/external/lldb/test/pexpect-2.4/ |
D | ANSI.py | 11 import screen 18 screen = fsm.memory[0] 19 screen.write_ch(fsm.input_symbol) 33 screen = fsm.memory[0] 34 screen.cursor_back () 39 screen = fsm.memory[0] 40 screen.cursor_back (count) 44 screen = fsm.memory[0] 45 screen.cursor_down () 50 screen = fsm.memory[0] [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | dri_screen.c | 77 dri_fill_in_modes(struct dri_screen *screen, in dri_fill_in_modes() argument 91 struct pipe_screen *p_screen = screen->base.screen; in dri_fill_in_modes() 103 msaa_samples_max = (screen->st_api->feature_mask & ST_API_FEATURE_MS_VISUALS) in dri_fill_in_modes() 129 if (dri_with_format(screen->sPriv)) { in dri_fill_in_modes() 148 screen->d_depth_bits_last = pf_x8z24; in dri_fill_in_modes() 153 screen->sd_depth_bits_last = pf_s8z24; in dri_fill_in_modes() 251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument 280 stvis->depth_stencil_format = (screen->d_depth_bits_last) ? in dri_fill_st_visual() 284 stvis->depth_stencil_format = (screen->sd_depth_bits_last) ? in dri_fill_st_visual() 319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image() local [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_screen.c | 77 dri_fill_in_modes(struct dri_screen *screen, in dri_fill_in_modes() argument 91 struct pipe_screen *p_screen = screen->base.screen; in dri_fill_in_modes() 103 msaa_samples_max = (screen->st_api->feature_mask & ST_API_FEATURE_MS_VISUALS) in dri_fill_in_modes() 129 if (dri_with_format(screen->sPriv)) { in dri_fill_in_modes() 148 screen->d_depth_bits_last = pf_x8z24; in dri_fill_in_modes() 153 screen->sd_depth_bits_last = pf_s8z24; in dri_fill_in_modes() 251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument 280 stvis->depth_stencil_format = (screen->d_depth_bits_last) ? in dri_fill_st_visual() 284 stvis->depth_stencil_format = (screen->sd_depth_bits_last) ? in dri_fill_st_visual() 319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image() local [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri_screen.c | 77 dri_fill_in_modes(struct dri_screen *screen, in dri_fill_in_modes() argument 91 struct pipe_screen *p_screen = screen->base.screen; in dri_fill_in_modes() 103 msaa_samples_max = (screen->st_api->feature_mask & ST_API_FEATURE_MS_VISUALS) in dri_fill_in_modes() 129 if (dri_with_format(screen->sPriv)) { in dri_fill_in_modes() 148 screen->d_depth_bits_last = pf_x8z24; in dri_fill_in_modes() 153 screen->sd_depth_bits_last = pf_s8z24; in dri_fill_in_modes() 251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument 280 stvis->depth_stencil_format = (screen->d_depth_bits_last) ? in dri_fill_st_visual() 284 stvis->depth_stencil_format = (screen->sd_depth_bits_last) ? in dri_fill_st_visual() 319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image() local [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_screen.c | 52 softpipe_get_vendor(struct pipe_screen *screen) in softpipe_get_vendor() argument 59 softpipe_get_name(struct pipe_screen *screen) in softpipe_get_name() argument 66 softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) in softpipe_get_param() argument 178 softpipe_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_shader_cap param) in softpipe_get_shader_param() argument 180 struct softpipe_screen *sp_screen = softpipe_screen(screen); in softpipe_get_shader_param() 206 softpipe_get_paramf(struct pipe_screen *screen, enum pipe_capf param) in softpipe_get_paramf() argument 233 softpipe_get_video_param(struct pipe_screen *screen, in softpipe_get_video_param() argument 239 return vl_profile_supported(screen, profile); in softpipe_get_video_param() 244 return vl_video_buffer_max_size(screen); in softpipe_get_video_param() 264 softpipe_is_format_supported( struct pipe_screen *screen, in softpipe_is_format_supported() argument [all …]
|
/external/mesa3d/src/gallium/drivers/noop/ |
D | noop_pipe.c | 91 static struct pipe_resource *noop_resource_create(struct pipe_screen *screen, in noop_resource_create() argument 103 nresource->base.screen = screen; in noop_resource_create() 114 static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *screen, in noop_resource_from_handle() argument 118 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_resource_from_handle() 124 noop_resource = noop_resource_create(screen, result); in noop_resource_from_handle() 129 static boolean noop_resource_get_handle(struct pipe_screen *screen, in noop_resource_get_handle() argument 136 static void noop_resource_destroy(struct pipe_screen *screen, in noop_resource_destroy() argument 257 static struct pipe_context *noop_create_context(struct pipe_screen *screen, void *priv) in noop_create_context() argument 263 ctx->screen = screen; in noop_create_context() 310 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_param() local [all …]
|
/external/libvncserver/examples/ |
D | rotatetemplate.c | 4 static void FUNCTION(rfbScreenInfoPtr screen) in FUNCTION() argument 6 OUT_T* buffer = (OUT_T*)screen->frameBuffer; in FUNCTION() 7 int i, j, w = screen->width, h = screen->height; in FUNCTION() 18 screen->width = h; in FUNCTION() 19 screen->paddedWidthInBytes = h * OUTBITS / 8; in FUNCTION() 20 screen->height = w; in FUNCTION() 25 iterator = rfbGetClientIterator(screen); in FUNCTION() 31 rfbMarkRectAsModified(screen, 0, 0, screen->width, screen->height); in FUNCTION() 35 void FUNCNAME(rfbScreenInfoPtr screen) { in FUNCNAME() argument 36 if (screen->serverFormat.bitsPerPixel == 32) in FUNCNAME() [all …]
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/cinematic/events/ |
D | GuiTrack.java | 50 protected String screen; field in GuiTrack 56 public GuiTrack(Nifty nifty, String screen) { in GuiTrack() argument 57 this.screen = screen; in GuiTrack() 61 public GuiTrack(Nifty nifty, String screen, float initialDuration) { in GuiTrack() argument 63 this.screen = screen; in GuiTrack() 67 public GuiTrack(Nifty nifty, String screen, LoopMode loopMode) { in GuiTrack() argument 69 this.screen = screen; in GuiTrack() 73 public GuiTrack(Nifty nifty, String screen, float initialDuration, LoopMode loopMode) { in GuiTrack() argument 75 this.screen = screen; in GuiTrack() 81 System.out.println("screen should be "+screen); in onPlay() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglscreen.c | 86 _eglInitScreen(_EGLScreen *screen, _EGLDisplay *dpy, EGLint num_modes) in _eglInitScreen() argument 88 memset(screen, 0, sizeof(_EGLScreen)); in _eglInitScreen() 90 screen->Display = dpy; in _eglInitScreen() 91 screen->NumModes = num_modes; in _eglInitScreen() 92 screen->StepX = 1; in _eglInitScreen() 93 screen->StepY = 1; in _eglInitScreen() 97 screen->Modes = (_EGLMode *) calloc(num_modes, sizeof(*screen->Modes)); in _eglInitScreen() 98 screen->NumModes = (screen->Modes) ? num_modes : 0; in _eglInitScreen() 107 _eglLinkScreen(_EGLScreen *screen) in _eglLinkScreen() argument 112 assert(screen && screen->Display); in _eglLinkScreen() [all …]
|