/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_query_acc.c | 58 pipe_buffer_create(&ctx->screen->base, PIPE_BIND_QUERY_BUFFER, 0, 0x1000); in realloc_query_bo() 92 fd_screen_lock(batch->ctx->screen); 94 fd_screen_unlock(batch->ctx->screen);
|
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
H A D | dd_pipe.h | 51 struct pipe_screen *screen; member 350 dd_screen(struct pipe_screen *screen) in dd_screen() argument 352 return (struct dd_screen*)screen; in dd_screen()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_framebuffer.c | 255 util_sample_locations_flip_y(struct pipe_screen *screen, unsigned fb_height, in util_sample_locations_flip_y() argument 263 screen->get_sample_pixel_grid(screen, samples, &grid_width, &grid_height); in util_sample_locations_flip_y()
|
H A D | u_threaded_context.c | 181 dst->screen->vertex_state_destroy(dst->screen, dst); in tc_drop_vertex_state_references() 700 return tc->options.is_resource_busy(tc->pipe->screen, tbuf->latest, map_usage); in tc_is_buffer_busy() 2053 struct pipe_screen *screen = tc->base.screen; in tc_invalidate_buffer() local 2063 new_buf = screen->resource_create(screen, &tbuf->b); in tc_invalidate_buffer() 2913 pipe->screen->fence_reference(pipe->screen, &fence, NULL); in tc_call_fence_server_sync() 2922 struct pipe_screen *screen in tc_fence_server_sync() local 3035 struct pipe_screen *screen = pipe->screen; tc_call_flush() local 3052 struct pipe_screen *screen = pipe->screen; tc_flush() local 3842 struct pipe_screen *screen = pipe->screen; tc_generate_mipmap() local 4470 struct pipe_screen *screen = pipe->screen;; threaded_context_create() local [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_draw_arrays.c | 54 dst = pipe_buffer_create(pipe->screen, PIPE_BIND_INDEX_BUFFER, in generate_indices() 75 pipe->screen->resource_destroy(pipe->screen, dst); in generate_indices()
|
H A D | svga_pipe_constants.c | 50 struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_set_constant_buffer() 59 buf = svga_user_buffer_create(pipe->screen, in svga_set_constant_buffer()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_hyperz.c | 101 struct r300_screen *r300screen = r300->screen; in r300_hiz_allowed() 159 if (r300->screen->caps.is_r500) { in r300_update_hyperz() 211 if (r300->screen->caps.is_r500) { in r300_update_hyperz()
|
H A D | r300_vs.c | 91 if (r300->screen->caps.has_tcl) { in r300_shader_read_vs_outputs() 199 compiler.Base.is_r500 = r300->screen->caps.is_r500; in r300_translate_vertex_shader() 207 compiler.Base.max_alu_insts = r300->screen->caps.is_r500 ? 1024 : 256; in r300_translate_vertex_shader()
|
H A D | r300_render.c | 208 if (r300->screen->caps.is_r500) in r300_reserve_cs_dwords() 263 if (r300->screen->caps.is_r500) { in r300_emit_states() 264 if (r300->screen->caps.has_tcl) in r300_emit_states() 532 if (draw->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 556 if (draw->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 576 if (draw->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 598 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_elements() 604 if (draw->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements() 684 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_arrays() 1182 if ((!r300->screen in r300_blitter_draw_rectangle() [all...] |
H A D | r300_emit.c | 86 boolean is_r500 = r300->screen->caps.is_r500; in r300_emit_dsa_state() 361 if (r300->screen->caps.is_r500) { in r300_emit_gpu_flush() 410 if (r300->screen->caps.is_r500) { in r300_emit_fb_state() 438 if (r300->screen->caps.is_r500) { in r300_emit_fb_state() 655 if (r300->screen->caps.family == CHIP_RV530) { in r300_emit_query_start() 668 struct r300_capabilities* caps = &r300->screen->caps; in r300_emit_query_end_frag_pipes() 669 uint32_t gb_pipes = r300->screen->info.r300_num_gb_pipes; in r300_emit_query_end_frag_pipes() 752 struct r300_capabilities *caps = &r300->screen->caps; in r300_emit_query_end() 762 if (r300->screen->info.r300_num_z_pipes == 2) in r300_emit_query_end() 837 if (r300->screen in r300_emit_rs_block_state() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_clear.c | 699 si_set_optimal_micro_tile_mode(sctx->screen, tex); in si_fast_clear() 708 p_atomic_inc(&sctx->screen->dirty_tex_counter); in si_fast_clear() 731 if (sctx->screen->debug_flags & DBG(NO_DCC_CLEAR)) in si_fast_clear() 735 if (!gfx11_get_dcc_clear_parameters(sctx->screen, fb->cbufs[i]->format, color, in si_fast_clear() 739 if (!gfx8_get_dcc_clear_parameters(sctx->screen, tex->buffer.b.b.format, in si_fast_clear() 751 if ((eliminate_needed || !sctx->screen->info.has_dcc_constant_encode) && in si_fast_clear() 763 if (level > 0 && (eliminate_needed || !sctx->screen->info.has_dcc_constant_encode)) in si_fast_clear() 767 !sctx->screen->allow_dcc_msaa_clear_to_reg_for_bpp[util_logbase2(tex->surface.bpe)]) in si_fast_clear() 832 if (!si_alloc_separate_cmask(sctx->screen, tex)) in si_fast_clear() 854 if (!si_alloc_separate_cmask(sctx->screen, te in si_fast_clear() 1307 struct pipe_screen *screen = pipe->screen; si_clear_texture() local [all...] |
H A D | radeon_uvd.c | 66 struct pipe_screen *screen; member 327 if (((struct si_screen *)dec->screen)->info.family < CHIP_VEGA10) in get_db_pitch_alignment() 392 (((struct si_screen *)dec->screen)->info.family < CHIP_POLARIS10)) { in calc_dpb_size() 402 (((struct si_screen *)dec->screen)->info.family < CHIP_POLARIS10)) { in calc_dpb_size() 604 if (((struct si_screen *)dec->screen)->info.family == CHIP_CARRIZO) in get_h265_msg() 1055 if (!si_vid_resize_buffer(dec->screen, &dec->cs, buf, new_size)) { in ruvd_decode_bitstream() 1122 ((struct si_screen *)dec->screen)->info.family >= CHIP_POLARIS10) in ruvd_end_frame() 1126 if (((struct si_screen *)dec->screen)->info.family >= CHIP_STONEY) in ruvd_end_frame() 1144 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_end_frame() 1251 if (!sctx->screen in si_common_uvd_create_decoder() [all...] |
H A D | gfx10_query.c | 96 struct si_screen *screen = sctx->screen; in gfx10_alloc_query_buffer() local 98 MAX2(sizeof(struct gfx10_sh_query_buffer_mem), screen->info.min_alloc_size); in gfx10_alloc_query_buffer() 99 qbuf->buf = si_resource(pipe_buffer_create(&screen->b, 0, PIPE_USAGE_STAGING, buf_size)); in gfx10_alloc_query_buffer() 429 struct pipe_query *gfx10_sh_query_create(struct si_screen *screen, enum pipe_query_type query_type, in gfx10_sh_query_create() argument
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_state.c | 216 uint16_t class_3d = nouveau_screen(pipe->screen)->class_3d; in nvc0_rasterizer_state_create() 456 nvc0_screen_tsc_free(nvc0_context(pipe)->screen, nv50_tsc_entry(hwcso)); in nvc0_sampler_state_delete() 482 nvc0_screen_tsc_unlock(nvc0->screen, old); in nvc0_stage_sampler_states_bind() 512 nvc0_screen_tic_free(nvc0_context(pipe)->screen, nv50_tic_entry(view)); in nvc0_sampler_view_destroy() 551 nvc0_screen_tic_unlock(nvc0->screen, old); in nvc0_stage_set_sampler_views() 569 nvc0_screen_tic_unlock(nvc0->screen, old); in nvc0_stage_set_sampler_views() 628 prog, nvc0_context(pipe)->screen->base.device->chipset, in nvc0_sp_state_create() 629 nvc0_context(pipe)->screen->base.disk_shader_cache, in nvc0_sp_state_create() 757 prog->pipe.ir.nir = nir_deserialize(NULL, pipe->screen->get_compiler_options(pipe->screen, PIPE_SHADER_IR_NI in nvc0_cp_state_create() [all...] |
/foundation/multimodalinput/input/service/fingerprint_event_processor/src/ |
H A D | fingerprint_event_processor.cpp | 121 MMI_HILOGD("Smart key screen state is %{public}d", type); in SetScreenState() 142 * This is a poorly designed state machine for handling screen touch errors, SAD :( 144 void FingerprintEventProcessor::ChangeScreenMissTouchFlag(bool screen, bool cancel) in ChangeScreenMissTouchFlag() argument 147 MMI_HILOGD("screenMissTouchFlag_ : %{private}d, screen : %{private}d, cancel : %{private}d", flag, screen, screen); in ChangeScreenMissTouchFlag() 149 if (screen == true) { in ChangeScreenMissTouchFlag() 157 if (screen == false && cancel == true) { in ChangeScreenMissTouchFlag()
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_change_test.cpp | 68 bool ScreenSizeEqual(const sptr<Screen> screen, const sptr<SupportedScreenModes> curInfo) const; 137 bool DisplayChangeTest::ScreenSizeEqual(const sptr<Screen> screen, const sptr<SupportedScreenModes> curInfo) const in ScreenSizeEqual() argument 139 if (screen == nullptr || curInfo == nullptr) { in ScreenSizeEqual() 143 uint32_t sWidth = screen->GetWidth(); in ScreenSizeEqual() 144 uint32_t sHeight = screen->GetHeight(); in ScreenSizeEqual() 235 * @tc.desc: DisplayState not change if screen sets same mode 251 * @tc.desc: Check screen size change as screen mode set if screen sets another mode 278 * @tc.desc: Check display size change as screen mod [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | texture9.c | 50 struct pipe_screen *screen = pParams->device->screen; in NineTexture9_ctor() local 111 pf = d3d9_to_pipe_format_checked(screen, Format, PIPE_TEXTURE_2D, 0, in NineTexture9_ctor() 125 info->screen = screen; in NineTexture9_ctor()
|
H A D | cubetexture9.c | 44 struct pipe_screen *screen = pParams->device->screen; in NineCubeTexture9_ctor() local 70 pf = d3d9_to_pipe_format_checked(screen, Format, PIPE_TEXTURE_CUBE, 0, in NineCubeTexture9_ctor() 84 info->screen = pParams->device->screen; in NineCubeTexture9_ctor()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_job.c | 476 if (vc4->screen->has_syncobj) { in vc4_job_submit() 505 if (vc4->last_emit_seqno - vc4->screen->finished_seqno > 5) { in vc4_job_submit() 506 if (!vc4_wait_seqno(vc4->screen, in vc4_job_submit() 515 if (!vc4_wait_seqno(vc4->screen, vc4->last_emit_seqno, in vc4_job_submit() 548 if (vc4->screen->has_syncobj) { in vc4_job_init() 556 /* If the screen indicated syncobj support, we should in vc4_job_init() 558 * At this point it is too late to pretend the screen in vc4_job_init()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_const.c | 287 ir3_emit_user_consts(ctx->screen, variants[i], constobj, in fd6_build_user_consts() 350 fd6_emit_immediates(struct fd_screen *screen, in fd6_emit_immediates() argument 354 ir3_emit_immediates(screen, v, ring); in fd6_emit_immediates() 358 fd6_emit_link_map(struct fd_screen *screen, in fd6_emit_link_map() argument 363 ir3_emit_link_map(screen, producer, v, ring); in fd6_emit_link_map()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_blit.c | 56 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_pack_blit_cmd() local 59 ((uint32_t *)(screen->pp_buffer->map + pp_reload_program_offset))[0] & 0x1f; in lima_pack_blit_cmd() 60 uint32_t reload_shader_va = screen->pp_buffer->va + pp_reload_program_offset; in lima_pack_blit_cmd() 166 PLBU_CMD_INDICES(screen->pp_buffer->va + pp_shared_index_offset); in lima_pack_blit_cmd()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blt.c | 411 genX(crocus_init_blt)(struct crocus_screen *screen) in crocus_init_blt() argument 414 screen->vtbl.blit_blt = crocus_blit_blt; in crocus_init_blt() 415 screen->vtbl.copy_region_blt = crocus_copy_region_blt; in crocus_init_blt() 417 screen->vtbl.blit_blt = NULL; in crocus_init_blt() 418 screen->vtbl.copy_region_blt = NULL; in crocus_init_blt()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglSwapBuffersTests.cpp | 244 bool checkColor (tcu::TestLog& log, const tcu::TextureLevel& screen, const tcu::Vec4& color) in checkColor() argument 248 for (int y = 0; y < screen.getHeight(); y++) in checkColor() 250 for (int x = 0; x < screen.getWidth(); x++) in checkColor() 252 const tcu::Vec4 pixel(screen.getAccess().getPixel(x, y)); in checkColor() 257 log << TestLog::Message << "Unexpected color values read from screen expected: " << color << TestLog::EndMessage; in checkColor() 258 log << TestLog::Image("Screen", "Screen", screen.getAccess()); in checkColor() 338 // Clear screen to white and check that sceen is white in executeForConfig() 352 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Couldn't reliably read pixels from screen"); in executeForConfig() 356 // Clear screen to black and check that sceen is black in executeForConfig() 370 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Couldn't reliably read pixels from screen"); in executeForConfig() [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_draw_arrays.c | 124 if (softpipe_screen(sp->pipe.screen)->use_llvm) { in softpipe_draw_vbo() 154 if (softpipe_screen(sp->pipe.screen)->use_llvm) { in softpipe_draw_vbo()
|
/third_party/mesa3d/src/gallium/frontends/omx/ |
H A D | vid_dec_common.h | 51 struct vl_screen *screen; \ 157 struct vl_screen *screen; member
|