CVS Update: cr (branch: trunk)
Robert Ellison <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/chromium Module name: cr Repository: cr/util/ Changes by: [email protected].(none) 05/12/17 23:30:35 Log message: Changes to allow crservers to handle contexts that share display lists. - The old mapping mechanism used to allow the crserver to provide multiple "independent" display list namespaces is gone. (It was flawed in that each namespace was only 100,000 IDs long, and would break if any context used a display list ID larger than 100,000; and that it only allowed separate clients to have separate spaces, not separate contexts within a client). In its place is a "translation" mechanism. The crserver maintains every display list created by any client/context, and maintains those display lists in its own internal namespace. It also maintains a translator for every context that maps that context's known display list IDs (which are arbitrary) to the master set of display list IDs. Two contexts that share display lists simply share the same translator. - For convenience (so it can be passed to a crHashtableWalk), crStateDestroyContext() now syntactically takes a void* parameter instead of a CRContext * parameter; semantics are the same. Modified files: cr/crserverlib/: server_context.c server_lists.c server_main.c server_special server_stream.c cr/include/: cr_glstate.h cr_server.h cr/state_tracker/: state_init.c cr/util/: Makefile Added files: cr/include/: cr_translator.h cr/util/: translator.c Revision Changes Path 1.18 +34 -7 cr/crserverlib/server_context.c 1.13 +71 -73 cr/crserverlib/server_lists.c 1.27 +4 -1 cr/crserverlib/server_main.c 1.12 +1 -0 cr/crserverlib/server_special 1.30 +1 -0 cr/crserverlib/server_stream.c 1.40 +1 -1 cr/include/cr_glstate.h 1.29 +7 -0 cr/include/cr_server.h 1.22 +2 -1 cr/state_tracker/state_init.c 1.53 +1 -0 cr/util/Makefile ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click