gdi: Update for WGL state tracker interface changes.
This commit is contained in:
parent
4e5ed05b02
commit
86962d6f6e
|
@ -234,9 +234,9 @@ gdi_llvmpipe_context_create(struct pipe_screen *screen)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdi_llvmpipe_flush_frontbuffer(struct pipe_screen *screen,
|
gdi_llvmpipe_present(struct pipe_screen *screen,
|
||||||
struct pipe_surface *surface,
|
struct pipe_surface *surface,
|
||||||
HDC hDC)
|
HDC hDC)
|
||||||
{
|
{
|
||||||
struct llvmpipe_texture *texture;
|
struct llvmpipe_texture *texture;
|
||||||
struct gdi_llvmpipe_displaytarget *gdt;
|
struct gdi_llvmpipe_displaytarget *gdt;
|
||||||
|
@ -254,7 +254,11 @@ gdi_llvmpipe_flush_frontbuffer(struct pipe_screen *screen,
|
||||||
static const struct stw_winsys stw_winsys = {
|
static const struct stw_winsys stw_winsys = {
|
||||||
&gdi_llvmpipe_screen_create,
|
&gdi_llvmpipe_screen_create,
|
||||||
&gdi_llvmpipe_context_create,
|
&gdi_llvmpipe_context_create,
|
||||||
&gdi_llvmpipe_flush_frontbuffer
|
&gdi_llvmpipe_present,
|
||||||
|
NULL, /* get_adapter_luid */
|
||||||
|
NULL, /* shared_surface_open */
|
||||||
|
NULL, /* shared_surface_close */
|
||||||
|
NULL /* compose */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -269,9 +269,9 @@ gdi_softpipe_context_create(struct pipe_screen *screen)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen,
|
gdi_softpipe_present(struct pipe_screen *screen,
|
||||||
struct pipe_surface *surface,
|
struct pipe_surface *surface,
|
||||||
HDC hDC)
|
HDC hDC)
|
||||||
{
|
{
|
||||||
struct softpipe_texture *texture;
|
struct softpipe_texture *texture;
|
||||||
struct gdi_softpipe_buffer *buffer;
|
struct gdi_softpipe_buffer *buffer;
|
||||||
|
@ -304,7 +304,11 @@ gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen,
|
||||||
static const struct stw_winsys stw_winsys = {
|
static const struct stw_winsys stw_winsys = {
|
||||||
&gdi_softpipe_screen_create,
|
&gdi_softpipe_screen_create,
|
||||||
&gdi_softpipe_context_create,
|
&gdi_softpipe_context_create,
|
||||||
&gdi_softpipe_flush_frontbuffer
|
&gdi_softpipe_present,
|
||||||
|
NULL, /* get_adapter_luid */
|
||||||
|
NULL, /* shared_surface_open */
|
||||||
|
NULL, /* shared_surface_close */
|
||||||
|
NULL /* compose */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue