OpenGL and GGI
Heya. Is it possible to do an accelerated 2D driver under OpenGL? Should be, I can't see why not. Any driver to look for ideas? It'd be cool to have an accelerated X that runs under OpenGL... ... As an answer to some of the X versus FB stuff G'day, eh? :) - Teunis
ggiResources
Hi all! I have some questions regarding this functions in the ggi/ggi.h: /* Resource functions */ #define ggiResourceAcquire(res, actype) \ (((res) == NULL) ? 0 : ggiResourceFastAcquire((res), (actype))) #define ggiResourceRelease(res) \ (((res) == NULL) ? 0 : ggiResourceFastRelease((res))) #define ggiResourceMustAcquire(res) ((res) != NULL) int ggiResourceFastAcquire(ggi_resource_t res, uint32 actype); int ggiResourceFastRelease(ggi_resource_t res); There's _no_ manuals available, and I know really _nothing_ about this functions. I want to know: 1. What do they do? 2. Which resources are they regarding to? 3. How should they handled? Is anyone here, who can help me? Christoph Egger E-Mail: [EMAIL PROTECTED]
Re: ggiResources
[EMAIL PROTECTED] (Christoph Egger) writes: Hi, I have some questions regarding this functions in the ggi/ggi.h: /* Resource functions */ #define ggiResourceAcquire(res, actype) \ (((res) == NULL) ? 0 : ggiResourceFastAcquire((res), (actype))) #define ggiResourceRelease(res) \ (((res) == NULL) ? 0 : ggiResourceFastRelease((res))) #define ggiResourceMustAcquire(res) ((res) != NULL) int ggiResourceFastAcquire(ggi_resource_t res, uint32 actype); int ggiResourceFastRelease(ggi_resource_t res); There's _no_ manuals available, and I know really _nothing_ about this functions. Huh? There's a manpage complete with an example showing how to use them with DirectBuffers. I want to know: 1. What do they do? User-wise; acquire and release various resources. Implementation-wise; just about anything, check the source. 2. Which resources are they regarding to? Anything, but currently they are only used for DirectBuffers. 3. How should they handled? See the ggiResourceAcquire man-page. //Marcus -- ---+ Marcus Sundberg| http://www.stacken.kth.se/~mackan Royal Institute of Technology | Phone: +46 707 295404 Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]
Re: default shared lib extensions
Andreas Beck [EMAIL PROTECTED] writes: Is there a way to have it determine the correct extension, or add a command-line to configure to change this? Sure. It is already prepared in the configure.in script. The DLLEXT variable has to be set according to the OS detected. This can be done like this: if test "$ac_cv_header_windows_h" != "yes"; then DLLEXT=dll fi Not really nice, I'd like to be able to have whatever headers I want on my system without things breaking. Better to do: case "${target}" in *-*-mingw* | *-*-cygwin*) DLLEXT="dll" I've written a GGI_DLLEXT macro which does just this, please verify that it works correctly when compiling with mingw32/cygwin. //Marcus -- ---+ Marcus Sundberg| http://www.stacken.kth.se/~mackan Royal Institute of Technology | Phone: +46 707 295404 Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]
genkgi.so
I have a question on compiling/installing. I didn't install kgi because my chipset is not supported (chipstech 65xxx), and I didn't know how to compile it for my hardware. As a result, every ggi application exits with a "genkgi.so library not found" error (the app runs ok, but the error is there). As a result, I can't use ggi apps in the mailcap for netscape: it will get the error, pop up a window and will not execute the application... What should I do? -- Cesar Augusto Rorato Crusius o__ o__ o__ o__ o__ Stanford University ,/'_ ,/'_ ,/'_ ,/'_ ,/'_ e-mail:[EMAIL PROTECTED](_)\(_) (_)\(_) (_)\(_) (_)\(_) (_)\(_) www.stanford.edu/~crusius HE WHO SACRIFICES FUNCTIONALITY FOR EASE OF USE LOSES BOTH AND DESERVES NEITHER
Re: ggiResources
On 27 Feb 2000, Marcus Sundberg wrote: [EMAIL PROTECTED] (Christoph Egger) writes: Hi, I have some questions regarding this functions in the ggi/ggi.h: /* Resource functions */ #define ggiResourceAcquire(res, actype) \ (((res) == NULL) ? 0 : ggiResourceFastAcquire((res), (actype))) #define ggiResourceRelease(res) \ (((res) == NULL) ? 0 : ggiResourceFastRelease((res))) #define ggiResourceMustAcquire(res) ((res) != NULL) int ggiResourceFastAcquire(ggi_resource_t res, uint32 actype); int ggiResourceFastRelease(ggi_resource_t res); There's _no_ manuals available, and I know really _nothing_ about this functions. Huh? There's a manpage complete with an example showing how to use them with DirectBuffers. Ah... yes! Sorry, It was my fault. Because of a typo-error I made, the man-command didn't found the ggiResourceAcquire man-page. :-( I want to know: 1. What do they do? User-wise; acquire and release various resources. Implementation-wise; just about anything, check the source. 2. Which resources are they regarding to? Anything, but currently they are only used for DirectBuffers. Could they used for z-buffer, alpha-buffer, etc ? If no, are there another ways to use the z-buffers, alpha-buffer, etc ? 3. How should they handled? See the ggiResourceAcquire man-page. Done. That point is now clear for me. TNX. Christoph Egger E-Mail: [EMAIL PROTECTED]
Re: default shared lib extensions
if test "$ac_cv_header_windows_h" != "yes"; then DLLEXT=dll fi Not really nice, I'd like to be able to have whatever headers I want on my system without things breaking. Better to do: case "${target}" in *-*-mingw* | *-*-cygwin*) DLLEXT="dll" Right you are. I should have stressed the "can" more ... :-). CU, ANdy -- = Andreas Beck| Email : [EMAIL PROTECTED] =