> States will be applied in drawprim. BltOverride and UnlockRect change states > on their own, and they can put the states the change onto the dirty list so > drawprim will reset them to what the application wants. What about Clear()? Maybe you should also provide the capability of applying a single dirty state [ or a group of them ].