GraphicsContext and clip

Has anybody tested the clip function of GraphicsContext? Its dead slow for me, I built a path of 20 points, then attempted to fill the enclosing box with a mosaic of an image (in total, 768 instances of the image would be drawn), nevertheless, even 100 images make the application non-responsive, the J2D backends starts to burst
[error] java.lang.IllegalStateException: Operation requires resource lock
[error]         at com.sun.prism.impl.ManagedResource.assertLocked(ManagedResource.java:228)
[error]         at com.sun.prism.impl.ManagedResource.getResource(ManagedResource.java:206)
[error]         at com.sun.prism.j2d.J2DTexture.getBufferedImage(J2DTexture.java:101)
[error]         at com.sun.prism.j2d.J2DRTTexture.createAWTGraphics2D(J2DRTTexture.java:104)
[error]         at com.sun.prism.j2d.J2DPrismGraphics.readBack(J2DPrismGraphics.java:1024)
[error]         at com.sun.javafx.sg.prism.NGNode.renderNodeBlendMode(NGNode.java:494)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:402)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
[error]         at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
[error]         at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:633)
[error]         at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:527)
[error]         at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:553)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:408)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
[error]         at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
[error]         at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
[error]         at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
[error]         at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
[error]         at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
[error]         at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:117)
[error]         at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:212)
[error]         at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
[error]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[error]         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
[error]         at com.sun.prism.render.RenderJob.run(RenderJob.java:56)
[error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[error]         at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
[error]         at java.lang.Thread.run(Thread.java:724)
[error] J2D Texture Pool: 25,138,776 used (9.4%), 25,138,776 managed (9.4%), 268,435,456 total
[error] 3063 total resources being managed
[error] 1 permanent resources (0.0%)
[error] 2669 resources locked (87.1%)
[error] 28 resources contain interesting data (0.9%)
[error] 0 resources disappeared (0.0%)
while the ES2Pipeline is unable to deliver even 0.1 fps. My system is:
Processor Information:
    Vendor:  GenuineIntel
    Speed: 1600 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
Network Information:
    Network Speed:  
Operating System Version:
    Ubuntu 13.04 (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.8.0-27-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11303000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release-i386_2013-06-28
Video Card:
    Driver:  ATI Technologies Inc. AMD Radeon HD 6500M/5600/5700 Series
    Driver Version:  4.2.12217 Compatibility Profile Context 12.104
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x1002
    DeviceID:  0x68c1
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1366 x 768
    Desktop Resolution: 1366 x 768
    Primary Display Size: 13.54" x 7.64"  (15.51" diag)
                                            34.4cm x 19.4cm  (39.4cm diag)
    Primary VRAM Not Detected
So has anyone tested this at all?.

Another broken javafx feature I guess.

Similar Messages

  • To save hard drive space, can I put my iMovie projects and clips on an external drive?

    to save hard drive space, can I put my iMovie projects and clips on an external drive?

    Yes.
    To preserve your projects, all moves should be done from within iMovie, (not the Finder).
    First, the external drive must be formatted as Mac OS Extended (journaled). FAT32 will not work. You can reformat using Disk Utility if you need to.
    When importing video from your camera, you can specify your external drive as the target on the import screen.
    For existing projects, you should move using these instructions.
    http://help.apple.com/imovie/#move7d66613
    There is an error in the instructions where it says to drag the project icon to the icon in the Event Library. You should instead look for your hard drive icon in the Project Library.
    You can move events using these instructions.
    http://help.apple.com/imovie/#mov3ac6d42c
    If you want to move Events, and copy photos, copy music, etc for editing on another Mac, you should use the FILE/CONSOLIDATE MEDIA feature after moving the Project as above.
    http://help.apple.com/imovie/#mov3ac6c7c9

  • DVD Player bookmarks and clips.

    I did an erase and install of Leopard on my machine, which previously had Tiger on it. I want to restore my DVD Player bookmarks and clips from my backup. Can anyone Tell me which files I need to restore?
    I found the following thread—which is dated—on this topic http://discussions.apple.com/thread.jspa?messageID=4099333&#4099333 which suggests copying over the DVD Payer folder located in ~/library/application support. When comparing contents of the DVD Payer folder in my backup to to one in my existing Leopard installation, the backup copy has files and a Scripts folder that don't exist in Leopard. I'm afraid of adding files to Leopard that don't belong there. Leopard is running great and I don't want to screw it up.
    Thanks
    Cloudhr

    I just copied the .plist file(s), which was sufficient, because I didn't bookmark with thumbnails.
    You can find the .plist file for a specific DVD when you click on "Disc Info" in DVD Player and then "Reveal": it then shows up in Finder.

  • How to scale and clip a BitmapImage in Flex 4.5

    Here's my problem, I need to scale and clip images into square sized tiles to put into a tile list. Here's how I want it to work:
    1. I want all my tiles to be, say, 300px x 300px.
    2. For each image, I want to scale the shorter side (either width or height) to fit in the tile using the "letterbox" scaleMode (so that it maintains aspect ratio).
    3. Then I want to position the image in the center and clip away anything left over from either both sides or the top and bottom.
    Here's an example to help clarify:
    - I have an image with width=600px and height=1200px. First I want to scale the image to width=300px and height=600px (notice that aspect ratio is maintained), then center the image vertically and clip the image to 300 x 300.
    Is this possible? This is actually a pretty standard way of displaying square thumbnails in many photo-based web sites, but I can't find a way to make it work in flex.
    Any help would be appreciated, thanks!

    You can define any number of risk levels (low, medium, high,
    etc) using a
    case statement
    case (true) of
    (value(member("total")) < 12): member("risk level").text
    = "Low"
    (value(member("total")) < 27) : member("risk level").text
    = "Medium"
    otherwise:member("risk level").text = "High"
    end case
    "Mike Crisp" <[email protected]> wrote in
    message
    news:e4kn47$b2n$[email protected]..
    > Dave
    >
    > Now that I've started tinkering. Any suggestions as to
    how I might work
    the
    > following:
    >
    > If value of member "total".text is between 8 and12
    Member"Risk
    Level".text =
    > "Low Risk"
    >
    > If value of member "total".text is higher than 27
    Member"Risk Level".text
    =
    > "Unaccepable"
    >
    > And so on.....
    >
    > Mike
    >

  • Sequence and clip name keeps changing... Why ? Solutions ?

    The sequence and clip name on a particular project keeps changing. It usually takes the name of of an audio file. Deleting the preferences, opening the timeline in a new project, making it offline and reconnecting it again, et. all doesn't help ? What is causing this ? HELP
    Mac Pro Quad core
    Memory 8GB
    Storage - XSAN
    FCP version 7.0
    OS X version 10.5.8
    Quicktime 10 & 7.66 both installed
    Anyone has a solution for this....
    Jp

    I made the sequence off line and save it as a new project. Then deleted the preferences and opened the project..... reconnected the media. Most of the clips showed the correct clip name and the sequence name also didn't change. But a few audio tracks still had the old problem....
    Thanks for the reply.... haven't updated yet..

  • I want to know how to save photos and clip art to my photo libary.

    I want to save different photos and clip art (non-copyrighted) to my desktop photo library. I do not know how to do this. Can someone help me?

    When you see the image you want, right click on it and say '''Save Image As'''. In the box that pops up, navigate to the folder you want to save it as, and click '''Save'''

  • Videos and clips on webpages start and stop

    Why do videos and clips from various web pages stop and start and stutter? I am connected vis wifi but it is a brand new Belkin router N600?

    Hi George,
    Which exact iMac/ What size Videos? What speed Connection? Which Graphic Card do you have? How Much RAM & free space on the Disk?
    So we know more about it...
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Hardware> and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: eMac
    Model Identifier: PowerMac6,4
    Processor Name: PowerPC G4 (1.2)
    Processor Speed: 1.42 GHz
    Number Of CPUs: 1
    L2 Cache (per CPU): 512 KB
    Memory: 2 GB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.9.2f1
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware>Graphics/Displays and report like this...
    NVIDIA GeForce 7800GT:
      Chipset Model:          GeForce 7800GT
      Type:          Display
      Bus:          PCI
      Slot:          SLOT-1
      VRAM (Total):          256 MB
      Vendor:          nVIDIA (0x10de)
      Device ID:          0x0092
      Revision ID:          0x00a1
      ROM Revision:          2152.2
      Displays:
    VGA Display:
      Resolution:          1920 x 1080 @ 60 Hz
      Depth:          32-bit Color
      Core Image:          Supported
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Quartz Extreme:          Supported

  • Web Agent and Clip Board set up for multi user environment

    Hi
    Our environment is
    Database: 0racle8.1.5 on Sun Solaris
    Currently we are not using OAS but a portal server and Apache
    Intermedia Web Agent and Clip Board are working fine.
    The questions are
    1. if there are multiple users (content managers) who would be adding /modifying content in the database, the how can I go about with Clip board.
    2.The requirement is these people should be able to search documents on the basis of keywords. So how do we integrate Intermedia query capabilities on this clip board interface.
    3. For production level how do we go about implementing.
    Should we continue to have the ctxsys user and use that itself.
    Thank you for any solutions

    I have NO idea if these "exact problems" pertain to Macs, since I think most of these discussions are about Windows... but, some reading (not all PPro, but I put all the links I have saved, just for general information)
    -see #3 http://forums.adobe.com/thread/771151
    -you may NOT "map" your My Documents folder to a network drive
    -you MUST give all users administrator accounts to use Premiere
    -and especially Encore dual layer http://forums.adobe.com/thread/969395
    -#5 Server 2008 is UNsupported http://forums.adobe.com/thread/851602
    -a work around, of sorts http://forums.adobe.com/thread/957523
    -and not on a "domain" http://forums.adobe.com/thread/858977
    -also PreEl see #5 http://forums.adobe.com/thread/1017199
    -more PreEl problem http://forums.adobe.com/thread/975117
    The solution... some day... may be at this link
    Adobe Anywhere http://www.adobe.com/products/adobeanywhere.html

  • How can I separate audio and clips?

    How can I separate audio and clips?

    I guess you mean "audio and video clips".
    Then select the clip including both audio and video (while in the timeline) and press cmd-L: this unlinks the stereo pair from its video. If you want to work on each audio channel separately press alt-L while the stereo pair is selected.
    Piero

  • Imovie timeline is not showing transtions and clips

    Imovie timeline is not displaying transtions and clips so I can edit etc.

    Hi
    Error -50 paramErr  Error in user parameter list
    Can there be any external hard disks - if so How is/are it/they formatted ?
    Must be Mac OS Extended (hfs) if used for Video.
    UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
    • free space on internal boot hard disk? How much ?
    Video codec
    • streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
    Pictures
    • in what format ? .jpg, .bmp, .tif, else ?
    Audio
    • from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
    The "com.apple.iMovie.plist" file
    Many users has not observed that there are TWO libraries.
    • Library - at root level
    • Library - in user/account folder - THIS IS THE ONE to look into
    from Luke Burns
    I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
    I don't know why that could cause that big of a problem, but it did..
    Klaus1
    You need more free space on your hard drive.
    from: jonorparkerjon
    After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
    Where do Your material come from
    • Camera
    • External hard disk
    • USB-memory
    And all are connected so that iMovie can find it ?
    from Karsten S
    Shorter clips than 1,5 sec might be one of the culptrits
    Bengt cont.
    Set-Up might differ
    • Mac OS - most probably X.7 or more
    • iMovie version - more than iM'11 v. 9.0.4
    Action taken
    • Finalizing project - I never do as I never understood the gain to do so
    • Share as HD to iDVD - never give any gain but if it works the resulting DVD is less quality than if SD-quality was shared
    fps - set
    • I only use PAL (25fps)
    Yours Bengt W

  • I am having problems using mov files imported into a project. I get the message "Not rendered" in the Canvas and clip won't play. Can anyone help?

    I am having problems using mov files imported into a project. I get the message "Not rendered" in the Canvas and clip won't play. Can anyone help?

    When clips won't play without rendering in the Timeline, it usually means that the clip's specs don't match the Sequence settings.
    A .mov file could be made from any number of codecs; the QuickTime Movie designation is merely a container for video files of all kinds.  Since FCE only works with the QuickTime DV codec and the Apple Intermediate Codec (AIC) natively, if your mov files aren't one of those two, you need to convert them PRIOR to importing into your FCE project.
    -DH

  • Draw inside disabled, and clipping mask workaround loses information

    I want to use my compound paths, with styles, fills and strokes applied to "draw inside", but that command is greyed out when I select them.
    However, if I "cheat" and instead use the compound paths as clipping masks first, I accomplish something which looks exactly the same way in the layer palette as when I do manage to "draw inside" an object.
    The trouble is that all my styles, fills and strokes get killed using that workaround, and I have to reapply them.
    Am I missing a step somewhere, or doing this in the wrong order?
    Any advice will be appreciated.
    Also, any word on why "draw inside" is disabled for compound paths?
    PS. Another problem using my poor workaround is that when the compound path becomes invisible, I can't find a way to drag appearances to it or apply swatches, even when I select it in the layer palette. I have to redo all styles, gradients, etc. manually, which is not efficient, nor desirable, at all.

    Monika Gause wrote:
    eobet wrote:
    So, if I understand this correctly, two people replying here can draw inside compound paths, and two people can't. Is this a design premium feature, or why does there seem to be a difference?
    Has nothing to do with Design Premium.
    Maybe you'd like to show us your art. There might be other ways to achieve what you need to do.
    Well my problem is that I can't do either of these:
    Now, the stroke aligned to the outside, I apparently can never get around unless I choose to outline the path on that stroke, which means I loose flexibility (or add steps to my workflow).
    And drawing on the inside... I guess I could make a clipping mask manually, but then I loose that really nice gradient I spent a lot of time to position just right... (either way, more steps in my workflow).
    Actually, the whole point of my question is completely lost if I have to outline any path, because the reason I want to work with compound shapes and clipping masks at all, is that I want to easily be able to move one of the sub-shapes which creates the final outline, without having to redo neither the gradient fill or stroke.
    And yeah, thinking again, my workflow is completely wrecked either way, since compound paths don't allow aligned strokes.

  • No sound in I my Phone. no ring tone or soungs and clips sound. I already reseat the setting but nothing has changed

    No sound in I my Phone. No ring tone or soungs and clips sound. I already reset the setting but nothing has changed. The sound only active with headphone?

    Make sure the Ring/Silent switch isn't showing a red bar or dot.
    If that isn't it, try disconnecting the headphones and adjusting the the volume.
    If the iPhone says headphones when you adjust the volume, there could be something in the headphone jack.
    You can try disconnecting and reconnecting the headphones 5-6times or restoring the iPhone.

  • Captivate 8 Audio delay and clipping

    So I have started recording audio directly into Cap 8 slides just as I have done in previous versions.  But this time I am noticing that the audio seems to be "delayed" at the start and "clipped" at the end.  So if I record something that is 2 seconds,  It doesn't start until about .5 seconds in and the end of the audio which is silence has been clipped for me.  Even if I go in and put in a 1 second of silence on the end of the audio and save it when I come back it it is gone.
    Does anyone know what is happening?  Thanks!

    While I can't explain the delayed start, Captivate seems to have always "helpfully" removed silence at the beginning or the end of a clip.
    When recording, it's helpful to record a couple of seconds of "room noise" or "white noise" before speaking. This gives you a bit of waveform to play with. You are then able to select some of it and paste it elsewhere. Perhaps at the end to pad it out.
    Cheers... Rick

  • FX5200-T 128 pink dots and clipping problems

    Hi all;
    Installed a new MSI FX5200-T 128 in a Celeron 2.2 with 256mb.  
    The user is complaining of pink dots in normal Windows progs, and clipping in Need For Speed Underground, even at low res (640x480).
    Tried new Nvidia drivers, then back to originals, no improvement.  As this is a brand new card I'm wondering whether to send it back or is it more likely something that can be tweaked out with software adjustment?
    Thanks!
    flipch

    As mentioned earlier, have tried the latest drivers and also tried another card.  The other card (FX5600) has a huge fan on it.
    The PC only has 256mb of DDRAM.  Would another 256 potentially help with these problems?
    Quote
    Originally posted by cgrossi
    try installing the latest nvidia drivers. if it does not work, make sure the graphic card is seated correct to the agp slot.i recommend u to remove it and spread some WD 40 on the contacts and clean with a white dry piece of cloth. if it does not solve the problem, it is probably a heat issue. i have your card and i added a fan on it. i can overclock it with a good clock;.

Maybe you are looking for

  • ComboBox size in JTable

    How do you set the size of a combobox inside a JTable cell. I have used setPreferredWidth but the ccombo box is still huge. I have done searches and not found any answers. Thanks

  • Create view failing

    Hi , I have created public dblink and want to create view by dblink,but i am getting below error,please help me how to create such view ORA-22992 cannot use LOB locators selected from remote tables. i have created db public dblink "emp_db_link" and u

  • Missing photos after upgrade from iPhoto 08 to 11

    I just updated iPhoto from '08 (v7.1.5) to '11 (v9.5) and I opened a copy of my old '08 library.  Unfortunately iPhoto '11 does not show any events or photos from this library.  If I view the contents of the library in Finder I see that it still cont

  • Why 2 comments check boxes in inspector?

    Hello Does anybody know why are there two comment check boxes in inspector? I can't figure it out. The reason I'd like to know is because I'd like people to comment on My homepage, and not on each individual blog (because I'm not getting many comment

  • Wireless linking of two Routers

    Hi, could somebody be so kind and point me in the right direction.  We have two Linksys routers, WRT54G (Router1) and BEFW11S4 (Router2) Router1 is connected to the DSL Modem and PC's connect to it wirelessly, all fine. Now, we have a shed that's rou