**/
virtual GLuint createTextureFromBuffer(struct wl_buffer *buffer) = 0;
- virtual bool setDirectRenderSurface(WaylandSurface *surface) {return false;}
+ virtual bool setDirectRenderSurface(WaylandSurface *) {return false;}
virtual bool postBuffer(struct wl_buffer *) {return false;}
static GraphicsHardwareIntegration *createGraphicsHardwareIntegration(WaylandCompositor *compositor);
void ShmHandler::buffer_created_callback(struct wl_buffer *buffer)
{
ShmBuffer *newBuffer = new ShmBuffer(buffer);
+ Q_UNUSED(newBuffer);
}
void ShmHandler::buffer_damaged_callback(struct wl_buffer *buffer,
int32_t x, int32_t y,
int32_t width, int32_t height)
{
+ Q_UNUSED(buffer);
+ Q_UNUSED(x);
+ Q_UNUSED(y);
+ Q_UNUSED(width);
+ Q_UNUSED(height);
fprintf(stderr,"damage_callback\n");
}