forked from AuroraMiddleware/gtk
gdk: Remove unused GL setting
This commit is contained in:
parent
813e9c95fb
commit
a6553b0e20
@ -145,7 +145,6 @@ gdk_cairo_context_begin_frame (GdkDrawContext *draw_context,
|
||||
sx = sy = 1;
|
||||
cairo_surface_get_device_scale (surface->current_paint.surface, &sx, &sy);
|
||||
cairo_surface_set_device_offset (surface->current_paint.surface, -clip_box.x*sx, -clip_box.y*sy);
|
||||
gdk_cairo_surface_mark_as_direct (surface->current_paint.surface, surface);
|
||||
|
||||
surface->current_paint.surface_needs_composite = TRUE;
|
||||
}
|
||||
|
10
gdk/gdkgl.c
10
gdk/gdkgl.c
@ -26,16 +26,6 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
static cairo_user_data_key_t direct_key;
|
||||
|
||||
void
|
||||
gdk_cairo_surface_mark_as_direct (cairo_surface_t *cairo_surface,
|
||||
GdkSurface *surface)
|
||||
{
|
||||
cairo_surface_set_user_data (cairo_surface, &direct_key,
|
||||
g_object_ref (surface), g_object_unref);
|
||||
}
|
||||
|
||||
static const char *
|
||||
get_vertex_type_name (int type)
|
||||
{
|
||||
|
@ -285,8 +285,6 @@ void gdk_gl_texture_quads (GdkGLContext *paint_context,
|
||||
void gdk_cairo_surface_paint_pixbuf (cairo_surface_t *surface,
|
||||
const GdkPixbuf *pixbuf);
|
||||
|
||||
void gdk_cairo_surface_mark_as_direct (cairo_surface_t *cairo_surface,
|
||||
GdkSurface *surface);
|
||||
cairo_region_t *gdk_cairo_region_from_clip (cairo_t *cr);
|
||||
|
||||
void gdk_cairo_set_drawing_context (cairo_t *cr,
|
||||
|
Loading…
Reference in New Issue
Block a user