/third_party/mesa3d/src/egl/drivers/wgl/ |
H A D | egl_wgl.c | 511 _EGLSurface *rsurf, _EGLContext *ctx) in wgl_make_current() 527 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in wgl_make_current() 541 rdraw = (rsurf) ? wgl_egl_surface(rsurf)->fb : NULL; in wgl_make_current() 558 tmp_rsurf == rsurf); in wgl_make_current() 561 _eglPutSurface(rsurf); in wgl_make_current() 582 dsurf = rsurf = NULL; in wgl_make_current() 585 _eglBindContext(ctx, dsurf, rsurf, &tmp_ctx, &tmp_dsurf, &tmp_rsurf); in wgl_make_current() 510 wgl_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) wgl_make_current() argument
|
/third_party/mesa3d/src/egl/drivers/haiku/ |
H A D | egl_haiku.cpp | 282 _EGLSurface *rsurf, _EGLContext *ctx) in haiku_make_current() 291 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in haiku_make_current() 281 haiku_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) haiku_make_current() argument
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state.c | 1186 if (rctx->db_state.rsurf != surf) { in r600_set_framebuffer_state() 1187 rctx->db_state.rsurf = surf; in r600_set_framebuffer_state() 1191 } else if (rctx->db_state.rsurf) { in r600_set_framebuffer_state() 1192 rctx->db_state.rsurf = NULL; in r600_set_framebuffer_state() 1554 if (a->rsurf && a->rsurf->db_htile_surface) { in r600_emit_db_state() 1555 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; in r600_emit_db_state() 1559 radeon_set_context_reg(cs, R_028D24_DB_HTILE_SURFACE, a->rsurf->db_htile_surface); in r600_emit_db_state() 1560 radeon_set_context_reg(cs, R_028014_DB_HTILE_DATA_BASE, a->rsurf->db_htile_data_base); in r600_emit_db_state() 1604 if (rctx->db_state.rsurf in r600_emit_db_misc_state() [all...] |
H A D | evergreen_state.c | 1533 if (rctx->db_state.rsurf != surf) { in evergreen_set_framebuffer_state() 1534 rctx->db_state.rsurf = surf; in evergreen_set_framebuffer_state() 1538 } else if (rctx->db_state.rsurf) { in evergreen_set_framebuffer_state() 1539 rctx->db_state.rsurf = NULL; in evergreen_set_framebuffer_state() 2050 if (a->rsurf && a->rsurf->db_htile_surface) { in evergreen_emit_db_state() 2051 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; in evergreen_emit_db_state() 2055 radeon_set_context_reg(cs, R_028ABC_DB_HTILE_SURFACE, a->rsurf->db_htile_surface); in evergreen_emit_db_state() 2056 radeon_set_context_reg(cs, R_028AC8_DB_PRELOAD_CONTROL, a->rsurf->db_preload_control); in evergreen_emit_db_state() 2057 radeon_set_context_reg(cs, R_028014_DB_HTILE_DATA_BASE, a->rsurf in evergreen_emit_db_state() [all...] |
H A D | r600_pipe.h | 133 struct r600_surface *rsurf; member
|
/third_party/skia/tests/ |
H A D | ImageTest.cpp | 601 auto rsurf = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(100, 100)); in DEF_GPUTEST() local 604 REPORTER_ASSERT(reporter, img->isValid(rsurf->getCanvas()->recordingContext())); in DEF_GPUTEST() 608 REPORTER_ASSERT(reporter, !img->isValid(rsurf->getCanvas()->recordingContext())); in DEF_GPUTEST() 610 rsurf->getCanvas()->drawImage(img, 0, 0); in DEF_GPUTEST() 614 REPORTER_ASSERT(reporter, !img->isValid(rsurf->getCanvas()->recordingContext())); in DEF_GPUTEST() 616 rsurf->getCanvas()->drawImage(img, 0, 0); in DEF_GPUTEST()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 1784 _EGLSurface *rsurf, _EGLContext *ctx) in dri2_make_current() 1801 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in dri2_make_current() 1804 if (old_ctx == ctx && old_dsurf == dsurf && old_rsurf == rsurf) { in dri2_make_current() 1829 rdraw = (rsurf) ? dri2_dpy->vtbl->get_dri_drawable(rsurf) : NULL; in dri2_make_current() 1846 tmp_rsurf == rsurf); in dri2_make_current() 1849 _eglPutSurface(rsurf); in dri2_make_current() 1875 dsurf = rsurf = NULL; in dri2_make_current() 1878 _eglBindContext(ctx, dsurf, rsurf, &tmp_ctx, &tmp_dsurf, &tmp_rsurf); in dri2_make_current() 1783 dri2_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) dri2_make_current() argument
|