User Tag List

Results 1 to 6 of 6

Thread: New static array module

  1. #1
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    New static array module

    I've had a couple versions of the static array library floating around already (and maybe under different names). In a nutshell, it gives you pre-allocated C arrays that look like Lua tables, but are safe from garbage collection.

    This new release is a major upgrade of the original library, and adds support for n-dimensional array indexing (the array is still inherently linear, this is a convenience layer on top of that). There's also some other conveniences added, like cloning.

    http://hocuspocus.taloncrossing.com/rii/xlua-array.zip

    This module is also documented now: http://jaquadro.homedns.org/~xlua/in...?ext_array.htm
    My apologies if it looks overly pedantic, but that's better than no documentation at all!

    In the future, I plan on interfacing this module with other modules like XLua Surfaces and XLuaGL, where the low level nature of the static array would be an excellent match for managing pixel buffers.

    And while I haven't added it in this release, I would also like to add some basic import/export capabilities of the data, since I've received a few requests for that in the past.

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: New static array module

    unfff vbos here i come

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: New static array module

    thanks

  4. #4
    No Products Registered

    Join Date
    Sep 2006
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: New static array module

    Any word or progress on the integration of these static arrays for XLuaGL?

  5. #5
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: New static array module

    As soon as Friday passes I will have considerably more time to devote to fixing up my extensions.

  6. #6
    No Products Registered

    Join Date
    Sep 2006
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: New static array module

    Excellent news. Definitely looking forward to it

Similar Threads

  1. Static Text is, er, not so static.
    By alxmrg in forum Hardware Accelerated Runtime
    Replies: 6
    Last Post: 9th March 2010, 12:16 AM
  2. Extension development, static array, crash.
    By Mark_Pay in forum Extension Development
    Replies: 3
    Last Post: 8th September 2008, 03:20 PM
  3. Static position
    By ayejes in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th March 2008, 07:36 PM
  4. Static variables
    By kornelijepetak in forum Extension Development
    Replies: 15
    Last Post: 14th November 2007, 11:11 AM
  5. Static
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th October 2007, 09:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •