Don't compute vertex transformation on GPU side. submit/tizen/20131122.082948
authorZhigang Gong <zhigang.gong@intel.com>
Wed, 16 Oct 2013 09:43:56 +0000 (17:43 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 22 Nov 2013 02:03:08 +0000 (10:03 +0800)
This patch is to avoid a regression introduced by commit:
commit 05ad89f91241b386f72f5b9bac3ebe62faff1d1b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Feb 3 16:51:35 2013 +0000

    gl: Replace manual vertex transformation with VS computation of texcoords

After fix that regression, we can revert this patch.
This patch can fix the rendering problem in IE Fish Tank Benchmark.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Change-Id: I345e26cb1493167684e04c0a2e8da06bef696243

src/cairo-gl-spans-compositor.c

index 4317ccd..f285bac 100644 (file)
@@ -462,7 +462,7 @@ _cairo_gl_span_renderer_init (cairo_abstract_span_renderer_t        *_r,
     status = _cairo_gl_composite_set_source (&r->setup, source,
                                             &composite->source_sample_area,
                                             &composite->unbounded,
-                                            TRUE);
+                                            FALSE);
     if (unlikely (status))
         goto FAIL;
 
@@ -474,7 +474,7 @@ _cairo_gl_span_renderer_init (cairo_abstract_span_renderer_t        *_r,
                                               &composite->mask_pattern.base,
                                               &composite->mask_sample_area,
                                               &composite->unbounded,
-                                              TRUE);
+                                              FALSE);
        if (unlikely (status))
            goto FAIL;
     }