VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 10:48:04 AM (14 years ago)
Author:
vboxsync
Message:

crOpenGL/wddm: avoid unrolling drawprimitive calls when possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_client.c

    r32328 r33549  
    234234        serverArrays = crStateUseServerArrays();
    235235
    236     if (0 && !serverArrays && !ctx->clientState->client.array.locked && (count>3)
     236    if (!serverArrays && !ctx->clientState->client.array.locked && (count>3)
    237237        && (!elementsBuffer || !elementsBuffer->id))
    238238    {
     
    389389         serverArrays = crStateUseServerArrays();
    390390
    391     if (0 && !serverArrays && !ctx->clientState->client.array.locked && (count>3))
     391    if (!serverArrays && !ctx->clientState->client.array.locked && (count>3))
    392392    {
    393393        crStateLockArraysEXT(first, count);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette