Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4295

[bug #26535] user created NSImage not displaying properly

Path csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From Yavor Doganov <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #26535] user created NSImage not displaying properly
Date Fri, 9 Feb 2018 09:01:33 -0500 (EST)
Lines 45
Approved bug-gnustep@gnu.org
Message-ID <mailman.8776.1518184903.27995.bug-gnustep@gnu.org> (permalink)
References <20090511-182829.sv7629.21470@savannah.gnu.org> <20090527-191945.sv431.91803@savannah.gnu.org> <20100501-164649.sv431.2855@savannah.gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1518184904 30384 208.118.235.17 (9 Feb 2018 14:01:44 GMT)
X-Complaints-To action@cs.stanford.edu
To Fred Kiefer <FredKiefer@gmx.de>, Yavor Doganov <yavor@gnu.org>, Scott Christley <schristley@mac.com>, bug-gnustep@gnu.org
Envelope-to bug-gnustep@gnu.org
X-PHP-Originating-Script 1001:sendmail.php
X-Savane-Server savannah.gnu.org:443 [208.118.235.79]
X-Savane-Project gnustep
X-Savane-Tracker bugs
X-Savane-Item-ID 26535
User-Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
X-Apparently-From 46.10.101.102 (Savane authenticated user yavor)
In-Reply-To <20100501-164649.sv431.2855@savannah.gnu.org>
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 208.118.235.79
X-BeenThere bug-gnustep@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNUstep programming environment <bug-gnustep.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnustep/>
List-Post <mailto:bug-gnustep@gnu.org>
List-Help <mailto:bug-gnustep-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.gnustep.bug:4295

Show key headers only | View raw


Follow-up Comment #3, bug #26535 (project gnustep):

I stumbled upon the second issue.  Lynkeos does all of its image processing in
worker threads so basically it doesn't work at all on GNUstep.  I was about to
write a similar test application but fortunately I found this bug.

With the attached *surprisingly* trivial patches drawing in secondary threads
works at least with the cairo backend.  Art and xlib display black rectangles
in Scott's test app but that's a general problem because the same happens with
the non-threaded variants (only file image is displayed).  I haven't tested
the opal backend as I can't build the opal library.

Lynkeos works only with cairo.  There is some flickering when the processed
image is being refreshed.  With art/xlib I get a weird glibc SIGABRT when it
is loading the main XIB file and instantiating objects.

I haven't done the equivalent for the woe32 server as I'm not familiar with
the code and can't test it anyway.

I am not sure at all if this is the right approach and what is the performance
penalty.  There should be some because XInitThreads enables the X locking
mechanism and it must be called unconditionally.

I hope this is one small step forward, though.

(file #43212, file #43213)
    _______________________________________________________

Additional Item Attachment:

File name: gui.patch                      Size:0 KB
File name: back.patch                     Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26535>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Back to gnu.gnustep.bug | Previous | Next | Find similar


Thread

[bug #26535] user created NSImage not displaying properly Yavor Doganov <INVALID.NOREPLY@gnu.org> - 2018-02-09 09:01 -0500

csiph-web