wined3d: Create a wined3d internal event query interface.
commita0d1a55650a6070a239a5df4cac6be01e809fcf2
authorStefan Dösinger <stefan@codeweavers.com>
Wed, 3 Mar 2010 21:45:34 +0000 (3 22:45 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 5 Mar 2010 11:39:07 +0000 (5 12:39 +0100)
tree82e32dfdb5dcbd1709dbe1afbc2f912dd70487ca
parentc09df80620fe33f7f0de6eb7f19d20792f2c4774
wined3d: Create a wined3d internal event query interface.

The newly created wined3d_event_query_test will be available for
wined3d-internal use, primarily for synchronizing buffer updates when
using GL_APPLE_flush_buffer_range.

The wined3d_event_query interface will contain most of the functionality:
* Selecting the proper GL extension
* Context handling
* Thread handling

The IWineD3DEventQuery COM interface will use the internal interface
and implement event query faking on top of it (to enable games that
require event queries able to run on drivers that don't implement the
GL extension).
dlls/wined3d/query.c
dlls/wined3d/wined3d_private.h