summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--waltham-transmitter/transmitter-plugin/output.c3
-rw-r--r--waltham-transmitter/transmitter-plugin/plugin.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/waltham-transmitter/transmitter-plugin/output.c b/waltham-transmitter/transmitter-plugin/output.c
index f5b1c21..4e2061a 100644
--- a/waltham-transmitter/transmitter-plugin/output.c
+++ b/waltham-transmitter/transmitter-plugin/output.c
@@ -193,7 +193,8 @@ transmitter_output_repaint(struct weston_output *base,
output->renderer->dmafd =
api->get_dma_fd_from_view(&output->base, view);
- if(!output->renderer->dmafd) {
+ //if(!output->renderer->dmafd) {
+ if(output->renderer->dmafd <= 0) {
weston_log("Failed to get dmafd\n");
goto out;
}
diff --git a/waltham-transmitter/transmitter-plugin/plugin.c b/waltham-transmitter/transmitter-plugin/plugin.c
index 3a61011..699c17d 100644
--- a/waltham-transmitter/transmitter-plugin/plugin.c
+++ b/waltham-transmitter/transmitter-plugin/plugin.c
@@ -136,7 +136,7 @@ transmitter_surface_gather_state(struct weston_transmitter_surface *txs)
data_sz = stride * height;
/* fake sending buffer */
- txs->wthp_buf = wthp_blob_factory_create_buffer(remote->display->blob_factory,
+ /*txs->wthp_buf = wthp_blob_factory_create_buffer(remote->display->blob_factory,
data_sz,
data,
surf->width,
@@ -148,7 +148,7 @@ transmitter_surface_gather_state(struct weston_transmitter_surface *txs)
wthp_surface_attach(txs->wthp_surf, txs->wthp_buf, txs->attach_dx, txs->attach_dy);
wthp_surface_damage(txs->wthp_surf, txs->attach_dx, txs->attach_dy, surf->width, surf->height);
- wthp_surface_commit(txs->wthp_surf);
+ wthp_surface_commit(txs->wthp_surf); */
wth_connection_flush(remote->display->connection);
txs->attach_dx = 0;