How to enable edge blending in chromium 1 .9 under windows

"" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
Hi all
I am building a tile-display system under windows xp with chromium. Everything is ok except the edge blending.
According to the doc, I had added
nodes[1].Conf("overlap_blending", "knockout")
in the crserver config but it doesn't work.
Anyone knows how to enable it??
thanks
 
 
Below is the conf file i used:
 
# Chromium configuration produced by configtool.py
import string
import sys
sys.path.append( "../server" )
from mothership import *
MOTHERSHIP_OPTIONS = [
 ("MTU", 500000),
 ("auto_start", 0),
 ("auto_start_apps", 0),
 ("autostart_branches", 0),
 ("autostart_max_nodes_per_thread", 1),
]
DEFAULT_APP = ""
AUTO_START_SERVERS = 0
AUTO_START_APPS = 0
# Look for autostart option
for (name, value) in MOTHERSHIP_OPTIONS:
 if name == "auto_start":
  AUTO_START_SERVERS = value
 elif name == "auto_start_apps":
  AUTO_START_APPS = value
# Get program name
if len(sys.argv) == 1:
 pass
elif len(sys.argv) == 2:
 DEFAULT_APP = sys.argv[1]
else:
 print "Usage: %s <program>" % sys.argv[0] 
 sys.exit(-1)
if DEFAULT_APP == "":
 print "No program to run!"
 sys.exit(-1)

cr = CR()
nodes = range(3)
nodes[0] = CRNetworkNode('localhost')
nodes[0].Conf("overlap_blending", "knockout")
nodes[0].SetPosition(210, 10)
cr.AddNode(nodes[0])
if AUTO_START_SERVERS:
 nodes[0].AutoStart( [ "/bin/sh", "-c", "LD_LIBRARY_PATH=%s MOTHERSHIP=localhost %s/crserver" % (crlibdir, crbindir) ] )
nodes[1] = CRNetworkNode('localhost')
nodes[1].Conf("overlap_blending", "knockout")
nodes[1].SetPosition(210, 80)
cr.AddNode(nodes[1])
if AUTO_START_SERVERS:
 nodes[1].AutoStart( [ "/bin/sh", "-c", "LD_LIBRARY_PATH=%s MOTHERSHIP=localhost %s/crserver" % (crlibdir, crbindir) ] )
nodes[2] = CRApplicationNode('localhost')
nodes[2].Conf("application", DEFAULT_APP)
nodes[2].Conf("start_dir", crbindir)
nodes[2].SetPosition(10, 45)
cr.AddNode(nodes[2])
if AUTO_START_APPS:
 nodes[2].AutoStart( [ "/bin/sh", "-c", "LD_LIBRARY_PATH=%s MOTHERSHIP=localhost %s/crappfaker" % (crlibdir, crbindir) ] )

# network nodes[0]
spus = range(1)
spus[0] = SPU('render')
spus[0].Conf("title", "Chromium Render SPU 0")
spus[0].Conf("window_geometry", [0, 0, 300, 300])
spus[0].Conf("display_string", ":0")
nodes[0].AddSPU(spus[0])
nodes[0].AddTile(0, 0, 300, 300)
# network nodes[1]
spus = range(1)
spus[0] = SPU('render')
spus[0].Conf("title", "Chromium Render SPU 1")
spus[0].Conf("window_geometry", [310, 0, 300, 300])
spus[0].Conf("display_string", ":0")
nodes[1].AddSPU(spus[0])
nodes[1].AddTile(200, 0, 300, 300)
# application nodes[2]
spus = range(1)
spus[0] = SPU('tilesort')
spus[0].Conf("bucket_mode", "Broadcast")
spus[0].AddServer(nodes[0], protocol='tcpip', port=7000)
spus[0].AddServer(nodes[1], protocol='tcpip', port=7001)
nodes[2].AddSPU(spus[0])
 
# Set mothership params
for (name, value) in MOTHERSHIP_OPTIONS:
 cr.Conf(name, value)
cr.Go()

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Chromium-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.