remove unnecessary comp work in wl pixmap functionality
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 4 Feb 2015 00:43:26 +0000 (19:43 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 4 Feb 2015 00:44:06 +0000 (19:44 -0500)
these are all basically no-ops anyway

src/bin/e_pixmap.c

index fec0564b8e17ffe9115d7c8b30edaddb0fb82f41..16b2e97ece5bd7d3a2d23aa697d72b3a9f98184f 100644 (file)
@@ -71,8 +71,6 @@ _e_pixmap_clear(E_Pixmap *cp, Eina_Bool cache)
 #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
         if (cp->resource)
           {
-             _e_pixmap_resource_free(cp->resource);
-             cp->resource = NULL;
              e_pixmap_image_clear(cp, cache);
           }
 #endif
@@ -405,7 +403,6 @@ e_pixmap_refresh(E_Pixmap *cp)
            if (cp->client)
              {
                 cd = (E_Comp_X_Client_Data*)cp->client->comp_data;
-                e_comp_object_native_surface_set(cp->client->frame, 0);
              }
            success = !!pixmap;
            if (!success) break;
@@ -445,7 +442,6 @@ e_pixmap_refresh(E_Pixmap *cp)
              if (cp->client)
                {
                   cd = (E_Comp_Wl_Client_Data *)cp->client->comp_data;
-                  e_comp_object_native_surface_set(cp->client->frame, 0);
                   res = cd->pending.buffer;
                   /* pw = cp->client->client.w; */
                   /* ph = cp->client->client.h; */