Sponsored Content
Full Discussion: 3d effects in rhel6
Operating Systems Linux Red Hat 3d effects in rhel6 Post 302534346 by Corona688 on Monday 27th of June 2011 03:36:06 PM
Old 06-27-2011
You agreed not to bump posts when you registered here.

crashing doesn't mean it's not installed, crashing means it's not working right. What if you try to UNinstall it? Or just configure your system to not use the ATI drivers.

Last edited by Corona688; 06-27-2011 at 04:45 PM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Effects of grep -o when it's not available

I'm on a Solaris box that doesn't have -o as an option for grep (trying to return match only). Is there any way to get this functionality without the -o option? I've tried both sed and awk doing something like: echo "this is a test" | awk '/test/' or echo "this is a test | sed '/test/p'... (8 Replies)
Discussion started by: earnstaf
8 Replies

2. Cybersecurity

Effects on data size during encrypted transfer

Hi There, I wonder if any one can help me. I want to transfer a file from one site to another over an encrypted link. I want to know if there will be any imcrease in the data that will travel on the link? For example, I want to transfer a 1 GB file from one site to another, using an encrypted... (4 Replies)
Discussion started by: ahmerin
4 Replies

3. Windows & DOS: Issues & Discussions

Sound Effects Dolby,SRS in Linux

Hello all. Can anyone tell me if there is any alternative to Window$ Media Player for LINUX(Linux Mint). What am searching for is a player with sound processing capabilities.(Bass,Equaliser,SRS,Dolby,etc..) Thanks. (1 Reply)
Discussion started by: coolatt
1 Replies

4. Red Hat

3D effects on RHEL6 OC

Hello, I just installed RHEL6 OC on my T61p. It's great! Just for fun I'd like to use some fancy cool Desktop effects. I tried to enable 3D Desktop effects from OC Welcome Center but it gave me error message: Accelerated 3D graphics is not available. Desktop effects require hardware 3D support.... (7 Replies)
Discussion started by: susja
7 Replies

5. Red Hat

Effects of /etc/fstab file!

Hi Folks! I accidentally overwrote in /etc/fstab file. Can you guys please tell me, what impact it would have created, when I restarted the machine(RHEL6). I executed this command : # blkid /dev/vda5 > /etc/fstab (17 Replies)
Discussion started by: nixhead
17 Replies

6. Ubuntu

Ubuntu encryption and its effects

How will Full Disk encryption effect how open-source software is compiled and run using ubuntu 14.04. Are there alternatives that are recommended? Thank you :). (0 Replies)
Discussion started by: cmccabe
0 Replies

7. What is on Your Mind?

Remove filter effects from downloaded videos?

Does anyone know a way to remove filter effects from videos downloaded from YouTube or elsewhere, preferably with software that runs in Windows 7? Thank you in anticipation. (1 Reply)
Discussion started by: quadphonic
1 Replies
Tk_GetGC(3tk)						       Tk Library Procedures						     Tk_GetGC(3tk)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_GetGC, Tk_FreeGC - maintain database of read-only graphics contexts SYNOPSIS
#include <tk.h> GC Tk_GetGC(tkwin, valueMask, valuePtr) Tk_FreeGC(display, gc) ARGUMENTS
Tk_Window tkwin (in) Token for window in which the graphics context will be used. unsigned long valueMask (in) Mask of bits (such as GCForeground or GCStipple) indicating which fields of *valuePtr are valid. XGCValues *valuePtr (in) Pointer to structure describing the desired values for the graphics context. Display *display (in) Display for which gc was allocated. GC gc (in) X identifier for graphics context that is no longer needed. Must have been allocated by Tk_GetGC. _________________________________________________________________ DESCRIPTION
Tk_GetGC and Tk_FreeGC manage a collection of graphics contexts being used by an application. The procedures allow graphics contexts to be shared, thereby avoiding the server overhead that would be incurred if a separate GC were created for each use. Tk_GetGC takes arguments describing the desired graphics context and returns an X identifier for a GC that fits the description. The graphics context that is returned will have default values in all of the fields not specified explicitly by valueMask and valuePtr. Tk_GetGC maintains a database of all the graphics contexts it has created. Whenever possible, a call to Tk_GetGC will return an existing graphics context rather than creating a new one. This approach can substantially reduce server overhead, so Tk_GetGC should generally be used in preference to the Xlib procedure XCreateGC, which creates a new graphics context on each call. Since the return values of Tk_GetGC are shared, callers should never modify the graphics contexts returned by Tk_GetGC. If a graphics con- text must be modified dynamically, then it should be created by calling XCreateGC instead of Tk_GetGC. When a graphics context is no longer needed, Tk_FreeGC should be called to release it. There should be exactly one call to Tk_FreeGC for each call to Tk_GetGC. When a graphics context is no longer in use anywhere (i.e. it has been freed as many times as it has been gotten) Tk_FreeGC will release it to the X server and delete it from the database. KEYWORDS
graphics context Tk Tk_GetGC(3tk)
All times are GMT -4. The time now is 07:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy