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/spu/replicate/ Changes by: [email protected].(none) 05/12/17 23:12:41 Log message: Changes to improve sharing of display lists between contexts. - Keep track of a "shareCtx" associated with each context, so that when we replicate contexts we can also replicate their shared contexts - Attach a display list manager to every context (instead of attaching one to the entire SPU). Contexts that share display lists will share the same display list manager; contexts that do not will have their own, independent display list managers. This will allow contexts that have different display list contents to replicate those contents correctly when a new viewer attaches. - Maintain a list of context IDs in their order of creation. When we replicate contexts, they have to be replicated in order, to guarantee that display list sharing occurs correctly. For example, assume context A is created, then context B is created that shares display lists with context A. If, during replication, context B is created first, it will attempt to share display lists with a nonexistent context, which will fail. Then when context A is created next, the two contexts will not share display lists. By recreating them in order, sharing works as expected. Modified files: cr/spu/replicate/: replicatespu.h replicatespu_context.c replicatespu_init.c replicatespu_redirect.c Revision Changes Path 1.18 +4 -2 cr/spu/replicate/replicatespu.h 1.28 +29 -14 cr/spu/replicate/replicatespu_context.c 1.11 +1 -0 cr/spu/replicate/replicatespu_init.c 1.25 +27 -11 cr/spu/replicate/replicatespu_redirect.c ------------------------------------------------------- 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