projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve resize flash operation, fixup xv grab/ungrab, fixup label updates
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bcbitmap.C
diff --git
a/cinelerra-5.1/guicast/bcbitmap.C
b/cinelerra-5.1/guicast/bcbitmap.C
index 231ce559a8039a7b652d1dbc459e6d7db5fdffdd..e8ce7622d34acba22777a51193a0c7b1a78ca0e9 100644
(file)
--- a/
cinelerra-5.1/guicast/bcbitmap.C
+++ b/
cinelerra-5.1/guicast/bcbitmap.C
@@
-335,8
+335,6
@@
int BC_Bitmap::initialize(BC_WindowBase *parent_window,
else
this->avail_lock->reset();
this->buffers = 0;
else
this->avail_lock->reset();
this->buffers = 0;
- this->last_pixmap_used = 0;
- this->last_pixmap = 0;
this->active_bfr = 0;
this->buffer_count = 0;
this->active_bfr = 0;
this->buffer_count = 0;
@@
-459,12
+457,7
@@
int BC_Bitmap::allocate_data()
int BC_Bitmap::delete_data()
{
//printf("BC_Bitmap::delete_data 1\n");
int BC_Bitmap::delete_data()
{
//printf("BC_Bitmap::delete_data 1\n");
- if( last_pixmap_used && xv_portid >= 0 )
- XvStopVideo(top_level->display, xv_portid, last_pixmap);
update_buffers(0);
update_buffers(0);
- if( xv_portid >= 0 )
- XvUngrabPort(top_level->display, xv_portid, CurrentTime);
- last_pixmap_used = 0;
active_bfr = 0;
buffer_count = 0;
max_buffer_count = 0;
active_bfr = 0;
buffer_count = 0;
max_buffer_count = 0;
@@
-593,8
+586,6
@@
int BC_Bitmap::write_drawable(Drawable &pixmap, GC &gc,
avail.append(bfr);
active_bfr = 0;
avail_lock->unlock();
avail.append(bfr);
active_bfr = 0;
avail_lock->unlock();
- last_pixmap = pixmap;
- last_pixmap_used = 1;
if( !dont_wait && !shm_reply )
XSync(top_level->display, False);
return 0;
if( !dont_wait && !shm_reply )
XSync(top_level->display, False);
return 0;