HomeSort by relevance Sort by last modified time
    Searched refs:gScratchBuffer (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebCore/platform/gtk/
WidgetRenderingContext.cpp 45 static GdkPixmap* gScratchBuffer = 0;
48 if (gScratchBuffer)
49 g_object_unref(gScratchBuffer);
50 gScratchBuffer = 0;
97 if (gScratchBuffer)
98 gdk_pixmap_get_size(gScratchBuffer, &scratchWidth, &scratchHeight);
101 if (!gScratchBuffer || scratchWidth < width || scratchHeight < height) {
107 gScratchBuffer = gdk_pixmap_new(0, width, height, gdk_colormap_get_visual(theme->m_colormap)->depth);
108 gdk_drawable_set_colormap(gScratchBuffer, theme->m_colormap);
110 m_target = gScratchBuffer;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cairo/
ContextShadowCairo.cpp 45 static RefPtr<cairo_surface_t> gScratchBuffer;
48 gScratchBuffer.clear();
70 int scratchWidth = gScratchBuffer.get() ? cairo_image_surface_get_width(gScratchBuffer.get()) : 0;
71 int scratchHeight = gScratchBuffer.get() ? cairo_image_surface_get_height(gScratchBuffer.get()) : 0;
74 if (gScratchBuffer.get() && scratchWidth >= width && scratchHeight >= height)
75 return gScratchBuffer.get();
82 gScratchBuffer = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height));
83 return gScratchBuffer.get()
    [all...]

Completed in 50 milliseconds