/external/libchrome/ui/gfx/geometry/mojo/ |
D | geometry_struct_traits.h | 24 struct StructTraits<gfx::mojom::InsetsDataView, gfx::Insets> { 25 static int top(const gfx::Insets& p) { return p.top(); } 26 static int left(const gfx::Insets& p) { return p.left(); } 27 static int bottom(const gfx::Insets& p) { return p.bottom(); } 28 static int right(const gfx::Insets& p) { return p.right(); } 29 static bool Read(gfx::mojom::InsetsDataView data, gfx::Insets* out) { 36 struct StructTraits<gfx::mojom::InsetsFDataView, gfx::InsetsF> { 37 static float top(const gfx::InsetsF& p) { return p.top(); } 38 static float left(const gfx::InsetsF& p) { return p.left(); } 39 static float bottom(const gfx::InsetsF& p) { return p.bottom(); } [all …]
|
D | geometry.typemap | 5 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/scroll_offset.h", 14 "//ui/gfx/geometry/insets.h", 15 "//ui/gfx/geometry/vector2d.h", [all …]
|
D | geometry_struct_traits_unittest.cc | 13 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/libchrome/ui/gfx/range/mojo/ |
D | range_struct_traits.h | 15 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) {
|
D | range.typemap | 5 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",
|
D | range_struct_traits_unittest.cc | 12 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()
|
D | range_traits_test_service.mojom | 5 module gfx.mojom; 7 import "ui/gfx/range/mojo/range.mojom";
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_fence.c | 42 struct pipe_fence_handle *gfx; member 63 ws->cs_add_fence_dependency(rctx->gfx.cs, fence); in si_add_fence_dependency() 75 ws->fence_reference(&(*rdst)->gfx, NULL); in si_fence_reference() 129 if (rfence->gfx) in si_fence_server_sync() 130 si_add_fence_dependency(rctx, rfence->gfx); in si_fence_server_sync() 163 radeon_add_to_buffer_list(&ctx->b, &ctx->b.gfx, fine->buf, in si_fine_fence_set() 166 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; in si_fine_fence_set() 234 if (!rfence->gfx) in si_fence_finish() 239 rws->fence_reference(&rfence->gfx, NULL); in si_fence_finish() 274 sctx->b.gfx.flush(&sctx->b, timeout ? 0 : PIPE_FLUSH_ASYNC, NULL); in si_fence_finish() [all …]
|
D | si_hw_context.c | 31 si_clear_saved_cs(&scs->gfx); in si_destroy_saved_cs() 39 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; in si_need_cs_space() 52 if (unlikely(!radeon_cs_memory_below_limit(ctx->b.screen, ctx->b.gfx.cs, in si_need_cs_space() 56 ctx->b.gfx.flush(ctx, PIPE_FLUSH_ASYNC, NULL); in si_need_cs_space() 66 ctx->b.gfx.flush(ctx, PIPE_FLUSH_ASYNC, NULL); in si_need_cs_space() 73 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; in si_context_gfx_flush() 124 si_save_cs(ws, cs, &ctx->current_saved_cs->gfx, true); in si_context_gfx_flush() 145 si_check_vm_faults(&ctx->b, &ctx->current_saved_cs->gfx, RING_GFX); in si_context_gfx_flush() 181 radeon_add_to_buffer_list(&ctx->b, &ctx->b.gfx, ctx->current_saved_cs->trace_buf, in si_begin_cs_debug() 281 assert(!ctx->b.gfx.cs->prev_dw); in si_begin_new_cs() [all …]
|
D | si_state_streamout.c | 204 radeon_add_to_buffer_list_check_mem(&sctx->b, &sctx->b.gfx, in si_set_streamout_targets() 234 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_flush_vgt_streamout() 261 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_streamout_begin() 295 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_emit_streamout_begin() 316 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_emit_streamout_end() 337 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_emit_streamout_end() 366 radeon_set_context_reg_seq(sctx->b.gfx.cs, R_028B94_VGT_STRMOUT_CONFIG, 2); in si_emit_streamout_enable() 367 radeon_emit(sctx->b.gfx.cs, in si_emit_streamout_enable() 373 radeon_emit(sctx->b.gfx.cs, in si_emit_streamout_enable()
|
D | si_compute.c | 279 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_initialize_compute() 374 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_switch_compute_shader() 424 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, in si_switch_compute_shader() 448 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, shader->bo, in si_switch_compute_shader() 478 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in setup_scratch_rsrc_user_sgprs() 523 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_setup_user_sgprs_co_v2() 572 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, dispatch_buf, in si_setup_user_sgprs_co_v2() 612 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_upload_compute_input() 655 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, input_buffer, in si_upload_compute_input() 676 struct radeon_winsys_cs *cs = sctx->b.gfx.cs; in si_setup_tgsi_grid() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | gen7_cmd_buffer.c | 51 uint32_t count = cmd_buffer->state.gfx.dynamic.scissor.count; in gen7_cmd_buffer_emit_scissor() 52 const VkRect2D *scissors = cmd_buffer->state.gfx.dynamic.scissor.scissors; in gen7_cmd_buffer_emit_scissor() 116 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_INDEX_BUFFER; in genX() 119 cmd_buffer->state.gfx.gen7.index_buffer = buffer; in genX() 120 cmd_buffer->state.gfx.gen7.index_type = vk_to_gen_index_type[indexType]; in genX() 121 cmd_buffer->state.gfx.gen7.index_offset = offset; in genX() 157 struct anv_pipeline *pipeline = cmd_buffer->state.gfx.base.pipeline; in genX() 158 struct anv_dynamic_state *d = &cmd_buffer->state.gfx.dynamic; in genX() 160 if (cmd_buffer->state.gfx.dirty & (ANV_CMD_DIRTY_PIPELINE | in genX() 178 if (cmd_buffer->state.gfx.dirty & (ANV_CMD_DIRTY_DYNAMIC_BLEND_CONSTANTS | in genX() [all …]
|
D | anv_cmd_buffer.c | 124 state->gfx.dynamic = default_dynamic_state; in anv_cmd_state_init() 140 anv_cmd_pipeline_state_finish(cmd_buffer, &state->gfx.base); in anv_cmd_state_finish() 354 cmd_buffer->state.gfx.base.pipeline = pipeline; in anv_CmdBindPipeline() 355 cmd_buffer->state.gfx.vb_dirty |= pipeline->vb_used; in anv_CmdBindPipeline() 356 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_PIPELINE; in anv_CmdBindPipeline() 361 cmd_buffer->state.gfx.dirty |= pipeline->dynamic_state_mask; in anv_CmdBindPipeline() 362 anv_dynamic_state_copy(&cmd_buffer->state.gfx.dynamic, in anv_CmdBindPipeline() 382 if (cmd_buffer->state.gfx.dynamic.viewport.count < total_count) in anv_CmdSetViewport() 383 cmd_buffer->state.gfx.dynamic.viewport.count = total_count; in anv_CmdSetViewport() 385 memcpy(cmd_buffer->state.gfx.dynamic.viewport.viewports + firstViewport, in anv_CmdSetViewport() [all …]
|
D | gen8_cmd_buffer.c | 39 uint32_t count = cmd_buffer->state.gfx.dynamic.viewport.count; in gen8_cmd_buffer_emit_viewport() 41 cmd_buffer->state.gfx.dynamic.viewport.viewports; in gen8_cmd_buffer_emit_viewport() 83 uint32_t count = cmd_buffer->state.gfx.dynamic.viewport.count; in gen8_cmd_buffer_emit_depth_viewport() 85 cmd_buffer->state.gfx.dynamic.viewport.viewports; in gen8_cmd_buffer_emit_depth_viewport() 223 struct anv_pipeline *pipeline = cmd_buffer->state.gfx.base.pipeline; in want_depth_pma_fix() 333 struct anv_pipeline *pipeline = cmd_buffer->state.gfx.base.pipeline; in want_stencil_pma_fix() 386 struct anv_pipeline *pipeline = cmd_buffer->state.gfx.base.pipeline; in genX() 387 struct anv_dynamic_state *d = &cmd_buffer->state.gfx.dynamic; in genX() 389 if (cmd_buffer->state.gfx.dirty & (ANV_CMD_DIRTY_PIPELINE | in genX() 408 if (cmd_buffer->state.gfx.dirty & (ANV_CMD_DIRTY_PIPELINE | in genX() [all …]
|
/external/libchrome/ui/gfx/geometry/ |
D | point.cc | 20 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()
|
D | size.cc | 22 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()
|
D | insets.cc | 10 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/radeon/ |
D | r600_pipe_common.c | 51 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_gfx_write_event_eop() 83 radeon_add_to_buffer_list(ctx, &ctx->gfx, scratch, in si_gfx_write_event_eop() 112 radeon_add_to_buffer_list(ctx, &ctx->gfx, scratch, in si_gfx_write_event_eop() 125 radeon_add_to_buffer_list(ctx, &ctx->gfx, buf, RADEON_USAGE_WRITE, in si_gfx_write_event_eop() 147 struct radeon_winsys_cs *cs = ctx->gfx.cs; in si_gfx_wait_fence() 185 if (radeon_emitted(ctx->gfx.cs, ctx->initial_gfx_cs_size) && in si_need_dma_space() 187 ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, dst->buf, in si_need_dma_space() 190 ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, src->buf, in si_need_dma_space() 192 ctx->gfx.flush(ctx, PIPE_FLUSH_ASYNC, NULL); in si_need_dma_space() 386 if (radeon_emitted(ctx->gfx.cs, ctx->initial_gfx_cs_size) && in r600_resource_commit() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 56 struct pipe_fence_handle *gfx; member 108 struct radeon_winsys_cs *cs = ctx->gfx.cs; in r600_gfx_write_event_eop() 122 r600_emit_reloc(ctx, &ctx->gfx, buf, RADEON_USAGE_WRITE, in r600_gfx_write_event_eop() 139 struct radeon_winsys_cs *cs = ctx->gfx.cs; in r600_gfx_wait_fence() 266 if (radeon_emitted(ctx->gfx.cs, ctx->initial_gfx_cs_size) && in r600_need_dma_space() 268 ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, dst->buf, in r600_need_dma_space() 271 ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, src->buf, in r600_need_dma_space() 273 ctx->gfx.flush(ctx, PIPE_FLUSH_ASYNC, NULL); in r600_need_dma_space() 356 ws->cs_add_fence_dependency(rctx->gfx.cs, fence); in r600_add_fence_dependency() 389 if (rfence->gfx) in r600_fence_server_sync() [all …]
|
D | r600_hw_context.c | 40 if (!radeon_cs_memory_below_limit(ctx->b.screen, ctx->b.gfx.cs, in r600_need_cs_space() 44 ctx->b.gfx.flush(ctx, PIPE_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, PIPE_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() 340 r600_emit_command_buffer(ctx->b.gfx.cs, &ctx->start_cs_cmd); in r600_begin_new_cs() 421 assert(!ctx->b.gfx.cs->prev_dw); in r600_begin_new_cs() 422 ctx->b.initial_gfx_cs_size = ctx->b.gfx.cs->current.cdw; in r600_begin_new_cs() 427 struct radeon_winsys_cs *cs = rctx->b.gfx.cs; in r600_emit_pfp_sync_me() [all …]
|
D | r600_streamout.c | 157 struct radeon_winsys_cs *cs = rctx->gfx.cs; in r600_flush_vgt_streamout() 183 struct radeon_winsys_cs *cs = rctx->gfx.cs; in r600_emit_streamout_begin() 206 r600_emit_reloc(rctx, &rctx->gfx, r600_resource(t[i]->b.buffer), in r600_emit_streamout_begin() 216 r600_emit_reloc(rctx, &rctx->gfx, r600_resource(t[i]->b.buffer), in r600_emit_streamout_begin() 233 r600_emit_reloc(rctx, &rctx->gfx, t[i]->buf_filled_size, in r600_emit_streamout_begin() 256 struct radeon_winsys_cs *cs = rctx->gfx.cs; in r600_emit_streamout_end() 277 r600_emit_reloc(rctx, &rctx->gfx, t[i]->buf_filled_size, in r600_emit_streamout_end() 318 radeon_set_context_reg(rctx->gfx.cs, strmout_buffer_reg, strmout_buffer_val); in r600_emit_streamout_enable() 319 radeon_set_context_reg(rctx->gfx.cs, strmout_config_reg, strmout_config_val); in r600_emit_streamout_enable()
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | README.md | 1194 module gfx.mojom; 1218 [`gfx::Rect`](https://cs.chromium.org/chromium/src/ui/gfx/geometry/rect.h) which 1220 manually converting between a `gfx::Rect` and the Mojom-generated `RectPtr` at 1227 virtual void FillRect(const gfx::Rect& rect) = 0; 1237 viral concept: if `gfx::mojom::Rect` is mapped to `gfx::Rect` anywhere, the 1246 For now, let's take a look at how to express the mapping from `gfx::mojom::Rect` 1247 to `gfx::Rect`. 1276 In order to define the mapping for `gfx::Rect`, we want the following 1278 `//ui/gfx/geometry/mojo/geometry_struct_traits.h`: 1282 #include "ui/gfx/geometry/rect.h" [all …]
|
/external/libchrome/ui/gfx/range/ |
D | range_unittest.cc | 17 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/syzkaller/pkg/report/testdata/fuchsia/report/ |
D | 5 | 9 RIP: 0x001a1f12 fillrect16 lib/gfx/gfx.c:289
|
/external/libchrome/ |
D | Android.bp | 283 "ui/gfx/geometry/insets.cc", 284 "ui/gfx/geometry/insets_f.cc", 285 "ui/gfx/geometry/point.cc", 286 "ui/gfx/geometry/point_conversions.cc", 287 "ui/gfx/geometry/point_f.cc", 288 "ui/gfx/geometry/rect.cc", 289 "ui/gfx/geometry/rect_f.cc", 290 "ui/gfx/geometry/size.cc", 291 "ui/gfx/geometry/size_conversions.cc", 292 "ui/gfx/geometry/size_f.cc", [all …]
|