/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_vs_state.c | 44 struct brw_vs_unit_state *vs; local 46 vs = brw_state_batch(brw, AUB_TRACE_VS_STATE, 47 sizeof(*vs), 32, &brw->vs.state_offset); 48 memset(vs, 0, sizeof(*vs)); 51 vs->thread0.grf_reg_count = ALIGN(brw->vs.prog_data->total_grf, 16) / 16 - 1; 52 vs->thread0.kernel_start_pointer = 54 brw->vs [all...] |
H A D | brw_vs_surface_state.c | 64 if (!brw->vs.prog_data->nr_pull_params) { 65 if (brw->vs.const_bo) { 66 drm_intel_bo_unreference(brw->vs.const_bo); 67 brw->vs.const_bo = NULL; 68 brw->vs.surf_offset[SURF_INDEX_VERT_CONST_BUFFER] = 0; 75 drm_intel_bo_unreference(brw->vs.const_bo); 76 brw->vs.const_bo = drm_intel_bo_alloc(intel->bufmgr, "vp_const_buffer", 77 brw->vs.prog_data->nr_pull_params * 4, 80 drm_intel_gem_bo_map_gtt(brw->vs.const_bo); 81 for (i = 0; i < brw->vs [all...] |
H A D | gen6_vs_state.c | 44 unsigned int nr_params = brw->vs.prog_data->nr_params / 4; 57 if (brw->vs.prog_data->nr_params == 0 && !ctx->Transform.ClipPlanesEnabled) { 58 brw->vs.push_const_size = 0; 67 32, &brw->vs.push_const_offset); 69 if (brw->vs.prog_data->uses_new_param_layout) { 70 for (i = 0; i < brw->vs.prog_data->nr_params; i++) { 71 *param = *brw->vs.prog_data->param[i]; 74 params_uploaded += brw->vs.prog_data->nr_params / 4; 96 if (brw->vs.constant_map[i] != -1) { 97 memcpy(param + brw->vs [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_vs_state.c | 44 struct brw_vs_unit_state *vs; local 46 vs = brw_state_batch(brw, AUB_TRACE_VS_STATE, 47 sizeof(*vs), 32, &brw->vs.state_offset); 48 memset(vs, 0, sizeof(*vs)); 51 vs->thread0.grf_reg_count = ALIGN(brw->vs.prog_data->total_grf, 16) / 16 - 1; 52 vs->thread0.kernel_start_pointer = 54 brw->vs [all...] |
H A D | brw_vs_surface_state.c | 64 if (!brw->vs.prog_data->nr_pull_params) { 65 if (brw->vs.const_bo) { 66 drm_intel_bo_unreference(brw->vs.const_bo); 67 brw->vs.const_bo = NULL; 68 brw->vs.surf_offset[SURF_INDEX_VERT_CONST_BUFFER] = 0; 75 drm_intel_bo_unreference(brw->vs.const_bo); 76 brw->vs.const_bo = drm_intel_bo_alloc(intel->bufmgr, "vp_const_buffer", 77 brw->vs.prog_data->nr_pull_params * 4, 80 drm_intel_gem_bo_map_gtt(brw->vs.const_bo); 81 for (i = 0; i < brw->vs [all...] |
H A D | gen6_vs_state.c | 44 unsigned int nr_params = brw->vs.prog_data->nr_params / 4; 57 if (brw->vs.prog_data->nr_params == 0 && !ctx->Transform.ClipPlanesEnabled) { 58 brw->vs.push_const_size = 0; 67 32, &brw->vs.push_const_offset); 69 if (brw->vs.prog_data->uses_new_param_layout) { 70 for (i = 0; i < brw->vs.prog_data->nr_params; i++) { 71 *param = *brw->vs.prog_data->param[i]; 74 params_uploaded += brw->vs.prog_data->nr_params / 4; 96 if (brw->vs.constant_map[i] != -1) { 97 memcpy(param + brw->vs [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
H A D | draw_vs.c | 69 if (size > draw->vs.const_storage_size[slot]) { 70 if (draw->vs.aligned_constant_storage[slot]) { 71 align_free((void *)draw->vs.aligned_constant_storage[slot]); 72 draw->vs.const_storage_size[slot] = 0; 74 draw->vs.aligned_constant_storage[slot] = 76 if (draw->vs.aligned_constant_storage[slot]) { 77 draw->vs.const_storage_size[slot] = size; 81 if (draw->vs.aligned_constant_storage[slot]) { 82 memcpy((void *)draw->vs.aligned_constant_storage[slot], 86 constants = draw->vs 104 struct draw_vertex_shader *vs = NULL; local 233 draw_vs_lookup_variant( struct draw_vertex_shader *vs, const struct draw_vs_variant_key *key ) argument [all...] |
H A D | draw_vs_llvm.c | 87 struct llvm_vertex_shader *vs = CALLOC_STRUCT( llvm_vertex_shader ); local 89 if (vs == NULL) 93 vs->base.state.tokens = tgsi_dup_tokens(state->tokens); 94 if (!vs->base.state.tokens) { 95 FREE(vs); 99 tgsi_scan_shader(state->tokens, &vs->base.info); 101 vs->variant_key_size = 103 vs->base.info.file_max[TGSI_FILE_INPUT]+1, 104 vs->base.info.file_max[TGSI_FILE_SAMPLER]+1); 106 vs [all...] |
H A D | draw_vs_ppc.c | 174 struct draw_ppc_vertex_shader *vs; local 176 vs = CALLOC_STRUCT( draw_ppc_vertex_shader ); 177 if (vs == NULL) 181 vs->base.state.tokens = tgsi_dup_tokens(templ->tokens); 182 if (!vs->base.state.tokens) 185 tgsi_scan_shader(templ->tokens, &vs->base.info); 187 vs->base.draw = draw; 188 vs->base.create_variant = draw_vs_create_variant_generic; 189 vs->base.prepare = vs_ppc_prepare; 190 vs [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs.c | 69 if (size > draw->vs.const_storage_size[slot]) { 70 if (draw->vs.aligned_constant_storage[slot]) { 71 align_free((void *)draw->vs.aligned_constant_storage[slot]); 72 draw->vs.const_storage_size[slot] = 0; 74 draw->vs.aligned_constant_storage[slot] = 76 if (draw->vs.aligned_constant_storage[slot]) { 77 draw->vs.const_storage_size[slot] = size; 81 if (draw->vs.aligned_constant_storage[slot]) { 82 memcpy((void *)draw->vs.aligned_constant_storage[slot], 86 constants = draw->vs 104 struct draw_vertex_shader *vs = NULL; local 233 draw_vs_lookup_variant( struct draw_vertex_shader *vs, const struct draw_vs_variant_key *key ) argument [all...] |
H A D | draw_vs_llvm.c | 87 struct llvm_vertex_shader *vs = CALLOC_STRUCT( llvm_vertex_shader ); local 89 if (vs == NULL) 93 vs->base.state.tokens = tgsi_dup_tokens(state->tokens); 94 if (!vs->base.state.tokens) { 95 FREE(vs); 99 tgsi_scan_shader(state->tokens, &vs->base.info); 101 vs->variant_key_size = 103 vs->base.info.file_max[TGSI_FILE_INPUT]+1, 104 vs->base.info.file_max[TGSI_FILE_SAMPLER]+1); 106 vs [all...] |
H A D | draw_vs_ppc.c | 174 struct draw_ppc_vertex_shader *vs; local 176 vs = CALLOC_STRUCT( draw_ppc_vertex_shader ); 177 if (vs == NULL) 181 vs->base.state.tokens = tgsi_dup_tokens(templ->tokens); 182 if (!vs->base.state.tokens) 185 tgsi_scan_shader(templ->tokens, &vs->base.info); 187 vs->base.draw = draw; 188 vs->base.create_variant = draw_vs_create_variant_generic; 189 vs->base.prepare = vs_ppc_prepare; 190 vs [all...] |
/external/qemu/ui/ |
H A D | vnc-android.c | 215 static inline uint32_t vnc_has_feature(VncState *vs, int feature) { argument 216 return (vs->features & (1 << feature)); 227 static void vnc_disconnect_start(VncState *vs); 228 static void vnc_disconnect_finish(VncState *vs); 230 static void vnc_colordepth(VncState *vs); 273 static void vnc_update(VncState *vs, int x, int y, int w, int h) argument 275 struct VncSurface *s = &vs->guest; 300 VncState *vs = vd->clients; local 301 while (vs != NULL) { 302 vnc_update(vs, 307 vnc_framebuffer_update(VncState *vs, int x, int y, int w, int h, int32_t encoding) argument 351 vnc_resize(VncState *vs) argument 391 VncState *vs = vd->clients; local 399 vnc_write_pixels_copy(VncState *vs, void *pixels, int size) argument 405 vnc_convert_pixel(VncState *vs, uint8_t *buf, uint32_t v) argument 448 vnc_write_pixels_generic(VncState *vs, void *pixels1, int size) argument 481 send_framebuffer_update_raw(VncState *vs, int x, int y, int w, int h) argument 529 send_framebuffer_update_hextile(VncState *vs, int x, int y, int w, int h) argument 550 vnc_zlib_init(VncState *vs) argument 557 vnc_zlib_start(VncState *vs) argument 566 vnc_zlib_stop(VncState *vs, int stream_id) argument 621 send_framebuffer_update_zlib(VncState *vs, int x, int y, int w, int h) argument 646 send_framebuffer_update(VncState *vs, int x, int y, int w, int h) argument 663 vnc_copy(VncState *vs, int src_x, int src_y, int dst_x, int dst_y, int w, int h) argument 677 VncState *vs, *vn; local 714 VncState *vs = opaque; local 826 VncState *vs = opaque; local 851 VncState *vs = opaque; local 861 audio_add(VncState *vs) argument 881 audio_del(VncState *vs) argument 889 vnc_disconnect_start(VncState *vs) argument 898 vnc_disconnect_finish(VncState *vs) argument 932 vnc_client_io_error(VncState *vs, int ret, int last_errno) argument 958 vnc_client_error(VncState *vs) argument 980 vnc_client_write_buf(VncState *vs, const uint8_t *data, size_t datalen) argument 1011 vnc_client_write_plain(VncState *vs) argument 1050 VncState *vs = opaque; local 1062 vnc_read_when(VncState *vs, VncReadEvent *func, size_t expecting) argument 1084 vnc_client_read_buf(VncState *vs, uint8_t *data, size_t datalen) argument 1113 vnc_client_read_plain(VncState *vs) argument 1134 VncState *vs = opaque; local 1168 vnc_write(VncState *vs, const void *data, size_t len) argument 1179 vnc_write_s32(VncState *vs, int32_t value) argument 1184 vnc_write_u32(VncState *vs, uint32_t value) argument 1196 vnc_write_u16(VncState *vs, uint16_t value) argument 1206 vnc_write_u8(VncState *vs, uint8_t value) argument 1211 vnc_flush(VncState *vs) argument 1239 client_cut_text(VncState *vs, size_t len, uint8_t *text) argument 1243 check_pointer_type_change(VncState *vs, int absolute) argument 1257 pointer_event(VncState *vs, int button_mask, int x, int y) argument 1294 reset_keys(VncState *vs) argument 1307 press_key(VncState *vs, int keysym) argument 1313 do_key_event(VncState *vs, int down, int keycode, int sym) argument 1466 key_event(VncState *vs, int down, uint32_t sym) argument 1477 ext_key_event(VncState *vs, int down, uint32_t sym, uint16_t keycode) argument 1487 framebuffer_update_request(VncState *vs, int incremental, int x_position, int y_position, int w, int h) argument 1513 send_ext_key_event_ack(VncState *vs) argument 1523 send_ext_audio_ack(VncState *vs) argument 1533 set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings) argument 1592 set_pixel_conversion(VncState *vs) argument 1625 set_pixel_format(VncState *vs, int bits_per_pixel, int depth, int big_endian_flag, int true_color_flag, int red_max, int green_max, int blue_max, int red_shift, int green_shift, int blue_shift) argument 1660 pixel_format_message(VncState *vs) argument 1696 vnc_colordepth(VncState *vs) argument 1712 protocol_client_msg(VncState *vs, uint8_t *data, size_t len) argument 1848 protocol_client_init(VncState *vs, uint8_t *data, size_t len) argument 1872 start_client_init(VncState *vs) argument 1877 make_challenge(VncState *vs) argument 1887 protocol_client_auth_vnc(VncState *vs, uint8_t *data, size_t len) argument 1937 start_auth_vnc(VncState *vs) argument 1948 protocol_client_auth(VncState *vs, uint8_t *data, size_t len) argument 2006 protocol_version(VncState *vs, uint8_t *version, size_t len) argument 2067 VncState *vs = g_malloc0(sizeof(VncState)); local 2101 VncDisplay *vs = opaque; local 2114 VncDisplay *vs = g_malloc0(sizeof(*vs)); local 2144 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local 2166 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local 2182 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local 2189 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local [all...] |
H A D | vnc.c | 207 static inline uint32_t vnc_has_feature(VncState *vs, int feature) { argument 208 return (vs->features & (1 << feature)); 219 static void vnc_disconnect_start(VncState *vs); 220 static void vnc_disconnect_finish(VncState *vs); 222 static void vnc_colordepth(VncState *vs); 265 static void vnc_update(VncState *vs, int x, int y, int w, int h) argument 267 struct VncSurface *s = &vs->guest; 292 VncState *vs = vd->clients; local 293 while (vs != NULL) { 294 vnc_update(vs, 299 vnc_framebuffer_update(VncState *vs, int x, int y, int w, int h, int32_t encoding) argument 343 vnc_resize(VncState *vs) argument 383 VncState *vs = vd->clients; local 391 vnc_write_pixels_copy(VncState *vs, void *pixels, int size) argument 397 vnc_convert_pixel(VncState *vs, uint8_t *buf, uint32_t v) argument 440 vnc_write_pixels_generic(VncState *vs, void *pixels1, int size) argument 473 send_framebuffer_update_raw(VncState *vs, int x, int y, int w, int h) argument 521 send_framebuffer_update_hextile(VncState *vs, int x, int y, int w, int h) argument 542 vnc_zlib_init(VncState *vs) argument 549 vnc_zlib_start(VncState *vs) argument 558 vnc_zlib_stop(VncState *vs, int stream_id) argument 613 send_framebuffer_update_zlib(VncState *vs, int x, int y, int w, int h) argument 638 send_framebuffer_update(VncState *vs, int x, int y, int w, int h) argument 655 vnc_copy(VncState *vs, int src_x, int src_y, int dst_x, int dst_y, int w, int h) argument 669 VncState *vs, *vn; local 706 VncState *vs = opaque; local 818 VncState *vs = opaque; local 843 VncState *vs = opaque; local 853 audio_add(VncState *vs) argument 873 audio_del(VncState *vs) argument 881 vnc_disconnect_start(VncState *vs) argument 890 vnc_disconnect_finish(VncState *vs) argument 924 vnc_client_io_error(VncState *vs, int ret, int last_errno) argument 950 vnc_client_error(VncState *vs) argument 972 vnc_client_write_buf(VncState *vs, const uint8_t *data, size_t datalen) argument 1003 vnc_client_write_plain(VncState *vs) argument 1043 VncState *vs = opaque; local 1055 vnc_read_when(VncState *vs, VncReadEvent *func, size_t expecting) argument 1077 vnc_client_read_buf(VncState *vs, uint8_t *data, size_t datalen) argument 1106 vnc_client_read_plain(VncState *vs) argument 1127 VncState *vs = opaque; local 1161 vnc_write(VncState *vs, const void *data, size_t len) argument 1172 vnc_write_s32(VncState *vs, int32_t value) argument 1177 vnc_write_u32(VncState *vs, uint32_t value) argument 1189 vnc_write_u16(VncState *vs, uint16_t value) argument 1199 vnc_write_u8(VncState *vs, uint8_t value) argument 1204 vnc_flush(VncState *vs) argument 1232 client_cut_text(VncState *vs, size_t len, uint8_t *text) argument 1236 check_pointer_type_change(VncState *vs, int absolute) argument 1250 pointer_event(VncState *vs, int button_mask, int x, int y) argument 1287 reset_keys(VncState *vs) argument 1300 press_key(VncState *vs, int keysym) argument 1306 do_key_event(VncState *vs, int down, int keycode, int sym) argument 1459 key_event(VncState *vs, int down, uint32_t sym) argument 1470 ext_key_event(VncState *vs, int down, uint32_t sym, uint16_t keycode) argument 1480 framebuffer_update_request(VncState *vs, int incremental, int x_position, int y_position, int w, int h) argument 1506 send_ext_key_event_ack(VncState *vs) argument 1516 send_ext_audio_ack(VncState *vs) argument 1526 set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings) argument 1585 set_pixel_conversion(VncState *vs) argument 1618 set_pixel_format(VncState *vs, int bits_per_pixel, int depth, int big_endian_flag, int true_color_flag, int red_max, int green_max, int blue_max, int red_shift, int green_shift, int blue_shift) argument 1653 pixel_format_message(VncState *vs) argument 1689 vnc_colordepth(VncState *vs) argument 1705 protocol_client_msg(VncState *vs, uint8_t *data, size_t len) argument 1841 protocol_client_init(VncState *vs, uint8_t *data, size_t len) argument 1865 start_client_init(VncState *vs) argument 1870 make_challenge(VncState *vs) argument 1880 protocol_client_auth_vnc(VncState *vs, uint8_t *data, size_t len) argument 1930 start_auth_vnc(VncState *vs) argument 1941 protocol_client_auth(VncState *vs, uint8_t *data, size_t len) argument 1999 protocol_version(VncState *vs, uint8_t *version, size_t len) argument 2060 VncState *vs = g_malloc0(sizeof(VncState)); local 2094 VncDisplay *vs = opaque; local 2109 VncDisplay *vs = g_malloc0(sizeof(*vs)); local 2139 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local 2161 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local 2177 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local 2184 VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; local [all...] |
H A D | vnc-tls.h | 66 int vnc_tls_client_setup(VncState *vs, int x509Creds); 67 void vnc_tls_client_cleanup(VncState *vs); 69 int vnc_tls_validate_certificate(VncState *vs);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | svga_pipe_vs.c | 103 struct svga_vertex_shader *vs = CALLOC_STRUCT(svga_vertex_shader); local 104 if (!vs) 109 vs->base.tokens = tgsi_dup_tokens(substitute_vs(svga->debug.shader_id, 115 tgsi_scan_shader(vs->base.tokens, &vs->base.info); 122 tmp2.tokens = vs->base.tokens; 123 vs->draw_shader = draw_create_vertex_shader(svga->swtnl.draw, &tmp2); 126 vs->base.id = svga->debug.shader_id++; 130 __FUNCTION__, vs->base.id, 131 vs 139 struct svga_vertex_shader *vs = (struct svga_vertex_shader *)shader; local 150 struct svga_vertex_shader *vs = (struct svga_vertex_shader *)shader; local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_vs.c | 103 struct svga_vertex_shader *vs = CALLOC_STRUCT(svga_vertex_shader); local 104 if (!vs) 109 vs->base.tokens = tgsi_dup_tokens(substitute_vs(svga->debug.shader_id, 115 tgsi_scan_shader(vs->base.tokens, &vs->base.info); 122 tmp2.tokens = vs->base.tokens; 123 vs->draw_shader = draw_create_vertex_shader(svga->swtnl.draw, &tmp2); 126 vs->base.id = svga->debug.shader_id++; 130 __FUNCTION__, vs->base.id, 131 vs 139 struct svga_vertex_shader *vs = (struct svga_vertex_shader *)shader; local 150 struct svga_vertex_shader *vs = (struct svga_vertex_shader *)shader; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_vs.h | 60 struct r300_vertex_shader *vs); 63 struct r300_vertex_shader *vs); 66 struct r300_vertex_shader *vs);
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_vs.h | 60 struct r300_vertex_shader *vs); 63 struct r300_vertex_shader *vs); 66 struct r300_vertex_shader *vs);
|
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | agg_shorten_path.h | 23 void shorten_path(VertexSequence& vs, FX_FLOAT s, unsigned closed = 0) argument 26 if(s > 0 && vs.size() > 1) { 28 int n = int(vs.size() - 2); 30 d = vs[n].dist; 34 vs.remove_last(); 38 if(vs.size() < 2) { 39 vs.remove_all(); 41 n = vs.size() - 1; 42 vertex_type& prev = vs[n - 1]; 43 vertex_type& last = vs[ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_vs.c | 83 const struct lp_vertex_shader *vs = (const struct lp_vertex_shader *)_vs; local 85 if (llvmpipe->vs == vs) 89 vs ? vs->draw_data : NULL); 91 llvmpipe->vs = vs; 98 llvmpipe_delete_vs_state(struct pipe_context *pipe, void *vs) argument 103 (struct lp_vertex_shader *)vs;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_vs.c | 83 const struct lp_vertex_shader *vs = (const struct lp_vertex_shader *)_vs; local 85 if (llvmpipe->vs == vs) 89 vs ? vs->draw_data : NULL); 91 llvmpipe->vs = vs; 98 llvmpipe_delete_vs_state(struct pipe_context *pipe, void *vs) argument 103 (struct lp_vertex_shader *)vs;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | r3xx_vertprog_dump.c | 172 struct r300_vertex_program_code * vs = c->code; local 173 unsigned instrcount = vs->length / 4; 182 fprintf(stderr, "%d: op: 0x%08x", i, vs->body.d[offset]); 183 r300_vs_op_dump(vs->body.d[offset]); 186 fprintf(stderr, " src%i: 0x%08x", src, vs->body.d[offset+1+src]); 187 r300_vs_src_dump(vs->body.d[offset+1+src]); 191 fprintf(stderr, "Flow Control Ops: 0x%08x\n",vs->fc_ops); 192 for(i = 0; i < vs->num_fc_ops; i++) { 194 switch((vs->fc_ops >> (i * 2)) & 0x3 ) { 203 vs [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | r3xx_vertprog_dump.c | 172 struct r300_vertex_program_code * vs = c->code; local 173 unsigned instrcount = vs->length / 4; 182 fprintf(stderr, "%d: op: 0x%08x", i, vs->body.d[offset]); 183 r300_vs_op_dump(vs->body.d[offset]); 186 fprintf(stderr, " src%i: 0x%08x", src, vs->body.d[offset+1+src]); 187 r300_vs_src_dump(vs->body.d[offset+1+src]); 191 fprintf(stderr, "Flow Control Ops: 0x%08x\n",vs->fc_ops); 192 for(i = 0; i < vs->num_fc_ops; i++) { 194 switch((vs->fc_ops >> (i * 2)) & 0x3 ) { 203 vs [all...] |
/external/clang/test/SemaCXX/ |
H A D | cxx0x-class.cpp | 3 int vs = 0; variable 14 static const int nci = vs; // expected-error {{in-class initializer for static data member is not a constant expression}}
|