Home
last modified time | relevance | path

Searched refs:rsurf (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/egl/drivers/haiku/
Degl_haiku.cpp276 _EGLSurface *rsurf, _EGLContext *ctx) in haiku_make_current() argument
285 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in haiku_make_current()
/external/skia/tests/
DImageTest.cpp598 auto rsurf = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(100, 100)); in DEF_GPUTEST() local
601 REPORTER_ASSERT(reporter, img->isValid(rsurf->getCanvas()->getGrContext())); in DEF_GPUTEST()
605 REPORTER_ASSERT(reporter, !img->isValid(rsurf->getCanvas()->getGrContext())); in DEF_GPUTEST()
607 rsurf->getCanvas()->drawImage(img, 0, 0); in DEF_GPUTEST()
611 REPORTER_ASSERT(reporter, !img->isValid(rsurf->getCanvas()->getGrContext())); in DEF_GPUTEST()
613 rsurf->getCanvas()->drawImage(img, 0, 0); in DEF_GPUTEST()
/external/skqp/tests/
DImageTest.cpp598 auto rsurf = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(100, 100)); in DEF_GPUTEST() local
601 REPORTER_ASSERT(reporter, img->isValid(rsurf->getCanvas()->getGrContext())); in DEF_GPUTEST()
605 REPORTER_ASSERT(reporter, !img->isValid(rsurf->getCanvas()->getGrContext())); in DEF_GPUTEST()
607 rsurf->getCanvas()->drawImage(img, 0, 0); in DEF_GPUTEST()
611 REPORTER_ASSERT(reporter, !img->isValid(rsurf->getCanvas()->getGrContext())); in DEF_GPUTEST()
613 rsurf->getCanvas()->drawImage(img, 0, 0); in DEF_GPUTEST()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c1179 if (rctx->db_state.rsurf != surf) { in r600_set_framebuffer_state()
1180 rctx->db_state.rsurf = surf; in r600_set_framebuffer_state()
1184 } else if (rctx->db_state.rsurf) { in r600_set_framebuffer_state()
1185 rctx->db_state.rsurf = NULL; in r600_set_framebuffer_state()
1547 if (a->rsurf && a->rsurf->db_htile_surface) { in r600_emit_db_state()
1548 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; in r600_emit_db_state()
1552 radeon_set_context_reg(cs, R_028D24_DB_HTILE_SURFACE, a->rsurf->db_htile_surface); in r600_emit_db_state()
1553 radeon_set_context_reg(cs, R_028014_DB_HTILE_DATA_BASE, a->rsurf->db_htile_data_base); in r600_emit_db_state()
1597 if (rctx->db_state.rsurf && rctx->db_state.rsurf->db_htile_surface) { in r600_emit_db_misc_state()
Devergreen_state.c1518 if (rctx->db_state.rsurf != surf) { in evergreen_set_framebuffer_state()
1519 rctx->db_state.rsurf = surf; in evergreen_set_framebuffer_state()
1523 } else if (rctx->db_state.rsurf) { in evergreen_set_framebuffer_state()
1524 rctx->db_state.rsurf = NULL; in evergreen_set_framebuffer_state()
2042 if (a->rsurf && a->rsurf->db_htile_surface) { in evergreen_emit_db_state()
2043 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; in evergreen_emit_db_state()
2047 radeon_set_context_reg(cs, R_028ABC_DB_HTILE_SURFACE, a->rsurf->db_htile_surface); in evergreen_emit_db_state()
2048 radeon_set_context_reg(cs, R_028AC8_DB_PRELOAD_CONTROL, a->rsurf->db_preload_control); in evergreen_emit_db_state()
2049 radeon_set_context_reg(cs, R_028014_DB_HTILE_DATA_BASE, a->rsurf->db_htile_data_base); in evergreen_emit_db_state()
Dr600_pipe.h132 struct r600_surface *rsurf; member
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1478 _EGLSurface *rsurf, _EGLContext *ctx) in dri2_make_current() argument
1493 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) { in dri2_make_current()
1503 rdraw = (rsurf) ? dri2_dpy->vtbl->get_dri_drawable(rsurf) : NULL; in dri2_make_current()
1534 tmp_rsurf == rsurf); in dri2_make_current()
1537 _eglPutSurface(rsurf); in dri2_make_current()