Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 1682) sorted by relevance

12345678910>>...68

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c41 struct translate *translate; member
118 if (!emit->translate || in draw_pt_emit_prepare()
119 translate_key_compare(&emit->translate->key, &hw_key) != 0) { in draw_pt_emit_prepare()
121 emit->translate = translate_cache_find(emit->cache, &hw_key); in draw_pt_emit_prepare()
123 emit->translate->set_buffer(emit->translate, 2, &emit->zero4[0], 0, ~0); in draw_pt_emit_prepare()
144 struct translate *translate = emit->translate; in draw_pt_emit() local
162 (ushort)translate->key.output_stride, in draw_pt_emit()
171 translate->set_buffer(translate, in draw_pt_emit()
177 translate->set_buffer(translate, in draw_pt_emit()
184 translate->run(translate, in draw_pt_emit()
[all …]
Ddraw_pt_fetch.c41 struct translate *translate; member
138 if (!fetch->translate || in draw_pt_fetch_prepare()
139 translate_key_compare(&fetch->translate->key, &key) != 0) in draw_pt_fetch_prepare()
142 fetch->translate = translate_cache_find(fetch->cache, &key); in draw_pt_fetch_prepare()
154 struct translate *translate = fetch->translate; in draw_pt_fetch_run() local
158 translate->set_buffer(translate, in draw_pt_fetch_run()
166 translate->run_elts( translate, in draw_pt_fetch_run()
182 struct translate *translate = fetch->translate; in draw_pt_fetch_run_linear() local
186 translate->set_buffer(translate, in draw_pt_fetch_run_linear()
194 translate->run( translate, in draw_pt_fetch_run_linear()
Ddraw_pt_fetch_emit.c79 struct translate *translate; member
153 if (!feme->translate || in fetch_emit_prepare()
154 translate_key_compare(&feme->translate->key, &key) != 0) in fetch_emit_prepare()
157 feme->translate = translate_cache_find(feme->cache, in fetch_emit_prepare()
160 feme->translate->set_buffer(feme->translate, in fetch_emit_prepare()
170 feme->translate->set_buffer(feme->translate, in fetch_emit_prepare()
206 (ushort)feme->translate->key.output_stride, in fetch_emit_run()
217 feme->translate->run_elts( feme->translate, in fetch_emit_run()
265 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear()
275 feme->translate->run( feme->translate, in fetch_emit_run_linear()
[all …]
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c51 struct translate *(*create_fn)(const struct translate_key *key) = 0; in main()
198 struct translate* translate[2]; in main() local
233 translate[0] = create_fn(&key); in main()
234 if (!translate[0]) in main()
240 translate[1] = create_fn(&key); in main()
241 if(!translate[1]) in main()
244 translate[1] = translate_generic_create(&key); in main()
245 if(!translate[1]) in main()
263 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1); in main()
264 translate[0]->run_elts(translate[0], elts, count, 0, 0, buffer[1]); in main()
[all …]
/external/skia/gm/
Dtextblobtransforms.cpp70 canvas->translate(20, 20); in onDraw()
80 canvas->translate(xOffset, 2 * yOffset); in onDraw()
82 canvas->translate(-xOffset, 0); in onDraw()
84 canvas->translate(2 * xOffset, 0); in onDraw()
86 canvas->translate(-xOffset, -yOffset); in onDraw()
88 canvas->translate(0, 2 * yOffset); in onDraw()
92 canvas->translate(4 * xOffset, -yOffset); in onDraw()
96 canvas->translate(0, -yOffset); in onDraw()
102 canvas->translate(-xOffset, yOffset); in onDraw()
108 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
[all …]
Dskbug_257.cpp84 SkScalar translate = 225364.0f; variable
85 canvas->translate(0, -translate);
88 SkRect rect = SkRect::MakeLTRB(8, 8 + translate, size - 8,
89 size - 8 + translate);
93 canvas->translate(size, 0);
100 canvas->translate(-size, size);
102 SkPoint points[8] = {{size / 2, 8 + translate},
103 {size / 2, 8 + translate + delta},
104 {8, size / 2 + translate},
105 {8, size / 2 + translate + delta},
[all …]
Dp3.cpp92 canvas->translate(0,20); in compare_pixel()
119 canvas->translate(0,80);
136 canvas->translate(0,80);
151 canvas->translate(0,80);
169 canvas->translate(0,80);
191 canvas->translate(0,80);
211 canvas->translate(180, 0);
219 canvas->translate(0,80);
240 canvas->translate(180, 0);
248 canvas->translate(0,80);
[all …]
Ddashing.cpp44 canvas->translate(0, SkIntToScalar(20)); in show_zero_len_dash()
72 canvas->translate(SkIntToScalar(20), SkIntToScalar(20)); in onDraw()
73 canvas->translate(0, SK_ScalarHalf); in onDraw()
86 canvas->translate(0, SkIntToScalar(20)); in onDraw()
92 canvas->translate(0, SkIntToScalar(20)); in onDraw()
94 canvas->translate(0, SkIntToScalar(20)); in onDraw()
250 canvas->translate(2, 0); in onDraw()
256 canvas->translate(112, 0); in onDraw()
262 canvas->translate(222, 0); in onDraw()
268 canvas->translate(332, 0); in onDraw()
[all …]
Dthinconcavepaths.cpp145 canvas->translate(0, 25);
148 canvas->translate(50, 0);
152 canvas->translate(0, 25);
155 canvas->translate(40, 0);
159 canvas->translate(0, 30);
162 canvas->translate(70, 0);
166 canvas->translate(0, 30);
169 canvas->translate(30, 0);
174 canvas->translate(0, 30);
177 canvas->translate(80, 0);
[all …]
Dconcavepaths.cpp16 canvas->translate(0, 0); in test_concave()
28 canvas->translate(100, 0); in test_reverse_concave()
41 canvas->translate(200, 0); in test_bowtie()
54 canvas->translate(300, 0); in test_fake_bowtie()
70 canvas->translate(400, 0); in test_intruding_vertex()
87 canvas->translate(400, 100); in test_inversion_repeat_vertex()
103 canvas->translate(0, 100); in test_fish()
119 canvas->translate(100, 100); in test_fast_forward()
134 canvas->translate(200, 100); in test_hole()
144 canvas->translate(300, 100); in test_star()
[all …]
/external/skqp/gm/
Dtextblobtransforms.cpp70 canvas->translate(20, 20); in onDraw()
80 canvas->translate(xOffset, 2 * yOffset); in onDraw()
82 canvas->translate(-xOffset, 0); in onDraw()
84 canvas->translate(2 * xOffset, 0); in onDraw()
86 canvas->translate(-xOffset, -yOffset); in onDraw()
88 canvas->translate(0, 2 * yOffset); in onDraw()
92 canvas->translate(4 * xOffset, -yOffset); in onDraw()
96 canvas->translate(0, -yOffset); in onDraw()
102 canvas->translate(-xOffset, yOffset); in onDraw()
108 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
[all …]
Dskbug_257.cpp84 SkScalar translate = 225364.0f; variable
85 canvas->translate(0, -translate);
88 SkRect rect = SkRect::MakeLTRB(8, 8 + translate, size - 8,
89 size - 8 + translate);
93 canvas->translate(size, 0);
100 canvas->translate(-size, size);
102 SkPoint points[8] = {{size / 2, 8 + translate},
103 {size / 2, 8 + translate + delta},
104 {8, size / 2 + translate},
105 {8, size / 2 + translate + delta},
[all …]
Dp3.cpp92 canvas->translate(0,20); in compare_pixel()
119 canvas->translate(0,80);
136 canvas->translate(0,80);
151 canvas->translate(0,80);
169 canvas->translate(0,80);
191 canvas->translate(0,80);
209 canvas->translate(180, 0);
217 canvas->translate(0,80);
238 canvas->translate(180, 0);
246 canvas->translate(0,80);
[all …]
Ddashing.cpp44 canvas->translate(0, SkIntToScalar(20)); in show_zero_len_dash()
72 canvas->translate(SkIntToScalar(20), SkIntToScalar(20)); in onDraw()
73 canvas->translate(0, SK_ScalarHalf); in onDraw()
86 canvas->translate(0, SkIntToScalar(20)); in onDraw()
92 canvas->translate(0, SkIntToScalar(20)); in onDraw()
94 canvas->translate(0, SkIntToScalar(20)); in onDraw()
250 canvas->translate(2, 0); in onDraw()
256 canvas->translate(112, 0); in onDraw()
262 canvas->translate(222, 0); in onDraw()
268 canvas->translate(332, 0); in onDraw()
[all …]
Dthinconcavepaths.cpp145 canvas->translate(0, 25);
148 canvas->translate(50, 0);
152 canvas->translate(0, 25);
155 canvas->translate(40, 0);
159 canvas->translate(0, 30);
162 canvas->translate(70, 0);
166 canvas->translate(0, 30);
169 canvas->translate(30, 0);
174 canvas->translate(0, 30);
177 canvas->translate(80, 0);
[all …]
Dconcavepaths.cpp16 canvas->translate(0, 0); in test_concave()
28 canvas->translate(100, 0); in test_reverse_concave()
41 canvas->translate(200, 0); in test_bowtie()
54 canvas->translate(300, 0); in test_fake_bowtie()
70 canvas->translate(400, 0); in test_intruding_vertex()
87 canvas->translate(400, 100); in test_inversion_repeat_vertex()
103 canvas->translate(0, 100); in test_fish()
119 canvas->translate(100, 100); in test_fast_forward()
134 canvas->translate(200, 100); in test_hole()
144 canvas->translate(300, 100); in test_star()
[all …]
/external/icu/icu4c/source/test/testdata/
Dra.txt12 * @translate yes
18 * @translate yes
26 * @translate yes
32 * @translate yes
38 * @translate yes
44 * @translate yes
50 * @translate yes
56 * @translate yes
63 * @translate yes
69 * @translate yes
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_cache.c57 struct translate *state = (struct translate*)cso_hash_iter_data(iter); in delete_translates()
90 struct translate * translate_cache_find(struct translate_cache *cache, in translate_cache_find()
94 struct translate *translate = (struct translate*) in translate_cache_find() local
99 if (!translate) { in translate_cache_find()
101 translate = translate_create(key); in translate_cache_find()
102 cso_hash_insert(cache->hash, hash_key, translate); in translate_cache_find()
105 return translate; in translate_cache_find()
Dtranslate.h79 struct translate;
82 typedef void (PIPE_CDECL *run_elts_func)(struct translate *,
89 typedef void (PIPE_CDECL *run_elts16_func)(struct translate *,
96 typedef void (PIPE_CDECL *run_elts8_func)(struct translate *,
103 typedef void (PIPE_CDECL *run_func)(struct translate *,
110 struct translate { struct
113 void (*release)( struct translate * ); argument
115 void (*set_buffer)( struct translate *, argument
129 struct translate *translate_create( const struct translate_key *key ); argument
162 struct translate *translate_sse2_create( const struct translate_key *key );
[all …]
Dtranslate.c37 struct translate *translate_create( const struct translate_key *key ) in translate_create()
39 struct translate *translate = NULL; in translate_create() local
42 translate = translate_sse2_create( key ); in translate_create()
43 if (translate) in translate_create()
44 return translate; in translate_create()
46 (void)translate; in translate_create()
/external/skia/samplecode/
DSampleAARects.cpp57 canvas->translate(SkIntToScalar(10), SkIntToScalar(10)); in onDrawContent()
87 canvas->translate(dx, 0); in onDrawContent()
94 canvas->translate(dx, 0); in onDrawContent()
101 canvas->translate(dx, 0); in onDrawContent()
108 canvas->translate(dx, 0); in onDrawContent()
111 canvas->translate(.33f, .67f); in onDrawContent()
118 canvas->translate(dx, 0); in onDrawContent()
123 canvas->translate(20.0f / sqrtf(2.f), in onDrawContent()
131 canvas->translate(dx, 0); in onDrawContent()
141 canvas->translate(dx, 0); in onDrawContent()
[all …]
DSampleAndroidShadows.cpp217 canvas->translate(200, 90); in onDrawContent()
223 canvas->translate(250, 0); in onDrawContent()
229 canvas->translate(-250, 110); in onDrawContent()
235 canvas->translate(250, 0); in onDrawContent()
241 canvas->translate(-250, 110); in onDrawContent()
247 canvas->translate(250, 0); in onDrawContent()
253 canvas->translate(250, -180); in onDrawContent()
259 canvas->translate(150, 0); in onDrawContent()
265 canvas->translate(200, 0); in onDrawContent()
277 canvas->translate(-725, 240); in onDrawContent()
[all …]
/external/skqp/samplecode/
DSampleAARects.cpp57 canvas->translate(SkIntToScalar(10), SkIntToScalar(10)); in onDrawContent()
87 canvas->translate(dx, 0); in onDrawContent()
94 canvas->translate(dx, 0); in onDrawContent()
101 canvas->translate(dx, 0); in onDrawContent()
108 canvas->translate(dx, 0); in onDrawContent()
111 canvas->translate(.33f, .67f); in onDrawContent()
118 canvas->translate(dx, 0); in onDrawContent()
123 canvas->translate(20.0f / sqrtf(2.f), in onDrawContent()
131 canvas->translate(dx, 0); in onDrawContent()
141 canvas->translate(dx, 0); in onDrawContent()
[all …]
DSampleAndroidShadows.cpp217 canvas->translate(200, 90); in onDrawContent()
223 canvas->translate(250, 0); in onDrawContent()
229 canvas->translate(-250, 110); in onDrawContent()
235 canvas->translate(250, 0); in onDrawContent()
241 canvas->translate(-250, 110); in onDrawContent()
247 canvas->translate(250, 0); in onDrawContent()
253 canvas->translate(250, -180); in onDrawContent()
259 canvas->translate(150, 0); in onDrawContent()
265 canvas->translate(200, 0); in onDrawContent()
277 canvas->translate(-725, 240); in onDrawContent()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c406 float fx = viewport->scale[0] * -1.0f + viewport->translate[0]; in emit_viewport()
407 float fy = flip * viewport->scale[1] * -1.0f + viewport->translate[1]; in emit_viewport()
430 prescale.translate[0] = 0; in emit_viewport()
431 prescale.translate[1] = 0; in emit_viewport()
432 prescale.translate[2] = 0; in emit_viewport()
433 prescale.translate[3] = 0; in emit_viewport()
447 prescale.translate[0] += -fw; in emit_viewport()
449 fx = viewport->scale[0] * 1.0f + viewport->translate[0]; in emit_viewport()
455 prescale.translate[1] = fh + fy * 2.0f; in emit_viewport()
459 prescale.translate[1] = fh - 1.0f + fy * 2.0f; in emit_viewport()
[all …]

12345678910>>...68