Home
last modified time | relevance | path

Searched refs:gfx (Results 1 – 25 of 184) sorted by relevance

12345678

/external/libmojo/ui/gfx/geometry/mojo/
Dgeometry_struct_traits.h23 struct StructTraits<gfx::mojom::InsetsDataView, gfx::Insets> {
24 static int top(const gfx::Insets& p) { return p.top(); }
25 static int left(const gfx::Insets& p) { return p.left(); }
26 static int bottom(const gfx::Insets& p) { return p.bottom(); }
27 static int right(const gfx::Insets& p) { return p.right(); }
28 static bool Read(gfx::mojom::InsetsDataView data, gfx::Insets* out) {
35 struct StructTraits<gfx::mojom::InsetsFDataView, gfx::InsetsF> {
36 static float top(const gfx::InsetsF& p) { return p.top(); }
37 static float left(const gfx::InsetsF& p) { return p.left(); }
38 static float bottom(const gfx::InsetsF& p) { return p.bottom(); }
[all …]
Dgeometry.typemap5 mojom = "//ui/gfx/geometry/mojo/geometry.mojom"
7 "//ui/gfx/geometry/point.h",
8 "//ui/gfx/geometry/point_f.h",
9 "//ui/gfx/geometry/size.h",
10 "//ui/gfx/geometry/rect.h",
11 "//ui/gfx/geometry/rect_f.h",
12 "//ui/gfx/geometry/safe_integer_conversions.h",
13 "//ui/gfx/geometry/insets.h",
14 "//ui/gfx/geometry/vector2d.h",
15 "//ui/gfx/geometry/vector2d_f.h",
[all …]
Dgeometry_struct_traits_unittest.cc13 namespace gfx { namespace
83 gfx::Point input(x, y); in TEST_F()
85 gfx::Point output; in TEST_F()
94 gfx::PointF input(x, y); in TEST_F()
96 gfx::PointF output; in TEST_F()
105 gfx::Size input(width, height); in TEST_F()
107 gfx::Size output; in TEST_F()
116 gfx::SizeF input(width, height); in TEST_F()
118 gfx::SizeF output; in TEST_F()
129 gfx::Rect input(x, y, width, height); in TEST_F()
[all …]
/external/libmojo/ui/gfx/range/mojo/
Drange_struct_traits.h15 struct StructTraits<gfx::mojom::RangeDataView, gfx::Range> {
16 static uint32_t start(const gfx::Range& r) { return r.start(); }
17 static uint32_t end(const gfx::Range& r) { return r.end(); }
18 static bool Read(gfx::mojom::RangeDataView data, gfx::Range* out) {
26 struct StructTraits<gfx::mojom::RangeFDataView, gfx::RangeF> {
27 static float start(const gfx::RangeF& r) { return r.start(); }
28 static float end(const gfx::RangeF& r) { return r.end(); }
29 static bool Read(gfx::mojom::RangeFDataView data, gfx::RangeF* out) {
Drange.typemap5 mojom = "//ui/gfx/range/mojo/range.mojom"
7 "//ui/gfx/range/range.h",
8 "//ui/gfx/range/range_f.h",
10 traits_headers = [ "//ui/gfx/range/mojo/range_struct_traits.h" ]
12 "//ui/gfx/range/mojo:struct_traits",
15 "gfx.mojom.Range=gfx::Range",
16 "gfx.mojom.RangeF=gfx::RangeF",
Drange_struct_traits_unittest.cc12 namespace gfx { namespace
49 gfx::Range input(start, end); in TEST_F()
51 gfx::Range output; in TEST_F()
60 gfx::RangeF input(start, end); in TEST_F()
62 gfx::RangeF output; in TEST_F()
Drange_traits_test_service.mojom5 module gfx.mojom;
7 import "ui/gfx/range/mojo/range.mojom";
/external/syslinux/com32/gfxboot/
Dgfxboot.c148 } gfx; variable
609 gfx.code_seg = (uint32_t) lowmem >> 4; in gfx_init()
611 for(u = 0; u < sizeof gfx.jmp_table / sizeof *gfx.jmp_table; u++) { in gfx_init()
612 gfx.jmp_table[u] = (gfx.code_seg << 16) + *(uint16_t *) (lowmem + 2 * u); in gfx_init()
616 for(u = 0; u < sizeof gfx.jmp_table / sizeof *gfx.jmp_table; u++) { in gfx_init()
617 printf("%d: 0x%08x\n", u, gfx.jmp_table[u]); in gfx_init()
624 __farcall(gfx.code_seg, gfx.jmp_table[GFX_CB_INIT], &r, &r); in gfx_init()
652 __farcall(gfx.code_seg, gfx.jmp_table[GFX_CB_MENU_INIT], &r, &r); in gfx_menu_init()
666 __farcall(gfx.code_seg, gfx.jmp_table[GFX_CB_DONE], &r, &r); in gfx_done()
685 __farcall(gfx.code_seg, gfx.jmp_table[GFX_CB_INPUT], &r, &r); in gfx_input()
[all …]
/external/libmojo/
DAndroid.bp17 "ui/gfx/geometry/mojo/geometry.mojom",
18 "ui/gfx/range/mojo/range.mojom",
118 "ui/gfx/geometry/mojo/geometry.mojom.h",
119 "ui/gfx/geometry/mojo/geometry.mojom-shared.h",
120 "ui/gfx/geometry/mojo/geometry.mojom-shared-internal.h",
121 "ui/gfx/range/mojo/range.mojom.h",
122 "ui/gfx/range/mojo/range.mojom-shared.h",
123 "ui/gfx/range/mojo/range.mojom-shared-internal.h",
172 "ui/gfx/geometry/mojo/geometry.mojom.cc",
173 "ui/gfx/geometry/mojo/geometry.mojom-shared.cc",
[all …]
/external/libmojo/ui/gfx/range/
Drange_win_unittest.cc10 gfx::Range r(cr, 50); in TEST()
20 gfx::Range r(cr, 40); in TEST()
30 gfx::Range r(cr, 20); in TEST()
39 gfx::Range r(10, 30); in TEST()
46 gfx::Range r(20, 10); in TEST()
54 gfx::Range r(cr, 30); in TEST()
59 gfx::Range r(gfx::Range::InvalidRange()); in TEST()
Drange_mac_unittest.mm6 #include "ui/gfx/range/range.h"
10 gfx::Range r(nsr);
19 gfx::Range r(10, 12);
26 gfx::Range r(20, 10);
34 gfx::Range r(nsr);
39 gfx::Range r(gfx::Range::InvalidRange());
Drange_mac.mm5 #include "ui/gfx/range/range.h"
13 namespace gfx {
38 } // namespace gfx
Drange_unittest.cc17 typedef testing::Types<gfx::Range, gfx::RangeF> RangeTypes;
229 gfx::RangeF range_f(1.2f, 3.9f); in TEST()
230 gfx::Range range = range_f.Floor(); in TEST()
259 gfx::Range range(4, 7); in TEST()
262 range = gfx::Range::InvalidRange(); in TEST()
/external/libmojo/ui/gfx/geometry/
Dpoint.cc20 namespace gfx { namespace
72 return ToCeiledPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToCeiledPoint()
78 return ToCeiledPoint(ScalePoint(gfx::PointF(point), scale, scale)); in ScaleToCeiledPoint()
84 return ToFlooredPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToFlooredPoint()
90 return ToFlooredPoint(ScalePoint(gfx::PointF(point), scale, scale)); in ScaleToFlooredPoint()
96 return ToRoundedPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToRoundedPoint()
102 return ToRoundedPoint(ScalePoint(gfx::PointF(point), scale, scale)); in ScaleToRoundedPoint()
Dsize.cc22 namespace gfx { namespace
82 return ToCeiledSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToCeiledSize()
88 return ToCeiledSize(ScaleSize(gfx::SizeF(size), scale, scale)); in ScaleToCeiledSize()
94 return ToFlooredSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToFlooredSize()
100 return ToFlooredSize(ScaleSize(gfx::SizeF(size), scale, scale)); in ScaleToFlooredSize()
106 return ToRoundedSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToRoundedSize()
112 return ToRoundedSize(ScaleSize(gfx::SizeF(size), scale, scale)); in ScaleToRoundedSize()
Dinsets.cc10 namespace gfx { namespace
17 Insets Insets::Offset(const gfx::Vector2d& vector) const { in Offset()
18 return gfx::Insets(top() + vector.y(), left() + vector.x(), in Offset()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c40 if (!radeon_cs_memory_below_limit(ctx->b.screen, ctx->b.gfx.cs, in r600_need_cs_space()
44 ctx->b.gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL); in r600_need_cs_space()
84 if (!ctx->b.ws->cs_check_space(ctx->b.gfx.cs, num_dw)) { in r600_need_cs_space()
85 ctx->b.gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL); in r600_need_cs_space()
91 struct radeon_winsys_cs *cs = rctx->b.gfx.cs; in r600_flush_emit()
255 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; in r600_context_gfx_flush()
300 r600_emit_command_buffer(ctx->b.gfx.cs, &ctx->start_cs_cmd); in r600_begin_new_cs()
373 assert(!ctx->b.gfx.cs->prev_dw); in r600_begin_new_cs()
374 ctx->b.initial_gfx_cs_size = ctx->b.gfx.cs->current.cdw; in r600_begin_new_cs()
379 struct radeon_winsys_cs *cs = rctx->b.gfx.cs; in r600_emit_pfp_sync_me()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_hw_context.c63 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; in si_need_cs_space()
77 if (unlikely(!radeon_cs_memory_below_limit(ctx->b.screen, ctx->b.gfx.cs, in si_need_cs_space()
81 ctx->b.gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL); in si_need_cs_space()
92 ctx->b.gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL); in si_need_cs_space()
99 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; in si_context_gfx_flush()
237 assert(!ctx->b.gfx.cs->prev_dw); in si_begin_new_cs()
238 ctx->b.initial_gfx_cs_size = ctx->b.gfx.cs->current.cdw; in si_begin_new_cs()
Dsi_compute.c222 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_initialize_compute()
320 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_switch_compute_shader()
370 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_switch_compute_shader()
382 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, shader->bo, in si_switch_compute_shader()
412 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in setup_scratch_rsrc_user_sgprs()
453 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_setup_user_sgprs_co_v2()
502 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, dispatch_buf, in si_setup_user_sgprs_co_v2()
542 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_upload_compute_input()
581 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, input_buffer, in si_upload_compute_input()
599 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_setup_tgsi_grid()
[all …]
Dsi_state_draw.c97 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_derived_tess_state()
416 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_scratch_reloc()
425 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_emit_scratch_reloc()
436 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_rasterizer_prim_state()
466 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_draw_registers()
537 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_draw_packets()
561 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_emit_draw_packets()
598 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_emit_draw_packets()
645 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_emit_draw_packets()
681 &sctx->b, &sctx->b.gfx, params_buf, in si_emit_draw_packets()
[all …]
Dsi_descriptors.c153 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, *out_buf, in si_ce_upload()
180 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, desc->buffer, in si_ce_reinitialize_descriptors()
246 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, desc->buffer, in si_upload_descriptors()
265 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, desc->buffer, in si_descriptors_begin_new_cs()
316 radeon_add_to_buffer_list_check_mem(&sctx->b, &sctx->b.gfx, in si_sampler_view_add_buffer()
326 radeon_add_to_buffer_list_check_mem(&sctx->b, &sctx->b.gfx, in si_sampler_view_add_buffer()
334 radeon_add_to_buffer_list_check_mem(&sctx->b, &sctx->b.gfx, in si_sampler_view_add_buffer()
891 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_buffer_resources_begin_new_cs()
934 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_vertex_buffers_begin_new_cs()
941 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_vertex_buffers_begin_new_cs()
[all …]
Dsi_perfcounter.c438 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_pc_emit_instance()
459 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_pc_emit_shaders()
472 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_pc_emit_select()
565 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_pc_emit_start()
567 radeon_add_to_buffer_list(ctx, &ctx->gfx, buffer, in si_pc_emit_start()
591 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_pc_emit_stop()
613 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_pc_emit_read()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_streamout.c156 struct radeon_winsys_cs *cs = rctx->gfx.cs; in r600_flush_vgt_streamout()
188 struct radeon_winsys_cs *cs = rctx->gfx.cs; in r600_emit_streamout_begin()
220 r600_emit_reloc(rctx, &rctx->gfx, r600_resource(t[i]->b.buffer), in r600_emit_streamout_begin()
230 r600_emit_reloc(rctx, &rctx->gfx, r600_resource(t[i]->b.buffer), in r600_emit_streamout_begin()
248 r600_emit_reloc(rctx, &rctx->gfx, t[i]->buf_filled_size, in r600_emit_streamout_begin()
271 struct radeon_winsys_cs *cs = rctx->gfx.cs; in r600_emit_streamout_end()
292 r600_emit_reloc(rctx, &rctx->gfx, t[i]->buf_filled_size, in r600_emit_streamout_end()
334 radeon_set_context_reg(rctx->gfx.cs, strmout_buffer_reg, strmout_buffer_val); in r600_emit_streamout_enable()
335 radeon_set_context_reg(rctx->gfx.cs, strmout_config_reg, strmout_config_val); in r600_emit_streamout_enable()
Dr600_pipe_common.c52 struct pipe_fence_handle *gfx; member
104 struct radeon_winsys_cs *cs = ctx->gfx.cs; in r600_gfx_write_event_eop()
131 r600_emit_reloc(ctx, &ctx->gfx, buf, RADEON_USAGE_WRITE, in r600_gfx_write_event_eop()
152 struct radeon_winsys_cs *cs = ctx->gfx.cs; in r600_gfx_wait_fence()
258 if (radeon_emitted(ctx->gfx.cs, ctx->initial_gfx_cs_size) && in r600_need_dma_space()
260 ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, dst->buf, in r600_need_dma_space()
263 ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, src->buf, in r600_need_dma_space()
265 ctx->gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL); in r600_need_dma_space()
366 if (!radeon_emitted(rctx->gfx.cs, rctx->initial_gfx_cs_size)) { in r600_flush_from_st()
370 ws->cs_sync_flush(rctx->gfx.cs); in r600_flush_from_st()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c104 struct radv_meta_saved_state gfx; member
126 radv_meta_save_graphics_reset_vport_scissor(&saved_state.gfx, cmd_buffer); in meta_copy_buffer_to_image()
206 radv_meta_restore(&saved_state.gfx, cmd_buffer); in meta_copy_buffer_to_image()
340 radv_meta_save_graphics_reset_vport_scissor(&saved_state.gfx, cmd_buffer); in meta_copy_image()
411 radv_meta_restore(&saved_state.gfx, cmd_buffer); in meta_copy_image()

12345678