~sil2100/nux/precise_sru-1

« back to all changes in this revision

Viewing changes to NuxGraphics/RenderingPipeGLSL.cpp

  • Committer: Didier Roche
  • Date: 2012-02-03 07:31:02 UTC
  • mfrom: (159.3.33)
  • Revision ID: didier.roche@canonical.com-20120203073102-2dhbgqyn99885shx
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2165
2165
    {
2166
2166
      prevFBO->Activate(true);
2167
2167
      SetViewport(0, 0, previous_width, previous_height);
 
2168
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2168
2169
    }
2169
2170
    else
2170
2171
    {
2171
2172
      SetViewport(0, 0, previous_width, previous_height);
 
2173
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2172
2174
    }
2173
2175
 
2174
2176
    return _offscreen_color_rt0;
2214
2216
    {
2215
2217
      prevFBO->Activate(true);
2216
2218
      SetViewport(0, 0, previous_width, previous_height);
 
2219
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2217
2220
    }
2218
2221
    else
2219
2222
    {
2220
2223
      SetViewport(0, 0, previous_width, previous_height);
 
2224
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2221
2225
    }
2222
2226
 
2223
2227
    return _offscreen_color_rt1;
2263
2267
    {
2264
2268
      prevFBO->Activate(true);
2265
2269
      SetViewport(0, 0, previous_width, previous_height);
 
2270
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2266
2271
    }
2267
2272
    else
2268
2273
    {
2269
2274
      SetViewport(0, 0, previous_width, previous_height);
 
2275
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2270
2276
    }
2271
2277
 
2272
2278
    return _offscreen_color_rt1;
2313
2319
    {
2314
2320
      prevFBO->Activate(true);
2315
2321
      SetViewport(0, 0, previous_width, previous_height);
 
2322
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2316
2323
    }
2317
2324
    else
2318
2325
    {
2319
2326
      SetViewport(0, 0, previous_width, previous_height);
 
2327
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2320
2328
    }
2321
2329
 
2322
2330
    return _offscreen_color_rt1;
2383
2391
    {
2384
2392
      prevFBO->Activate(true);
2385
2393
      SetViewport(0, 0, previous_width, previous_height);
 
2394
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2386
2395
    }
2387
2396
    else
2388
2397
    {
2389
2398
      SetViewport(0, 0, previous_width, previous_height);
 
2399
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2390
2400
    }
2391
2401
    return _offscreen_color_rt3;
2392
2402
  }
2447
2457
    {
2448
2458
      prevFBO->Activate(true);
2449
2459
      SetViewport(0, 0, previous_width, previous_height);
 
2460
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2450
2461
    }
2451
2462
    else
2452
2463
    {
2453
2464
      SetViewport(0, 0, previous_width, previous_height);
 
2465
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2454
2466
    }
2455
2467
 
2456
2468
    return _offscreen_color_rt0;
2512
2524
    {
2513
2525
      prevFBO->Activate(true);
2514
2526
      SetViewport(0, 0, previous_width, previous_height);
 
2527
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2515
2528
    }
2516
2529
    else
2517
2530
    {
2518
2531
      SetViewport(0, 0, previous_width, previous_height);
 
2532
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2519
2533
    }
2520
2534
  }
2521
2535
 
2552
2566
    {
2553
2567
      prevFBO->Activate(true);
2554
2568
      SetViewport(0, 0, previous_width, previous_height);
 
2569
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2555
2570
    }
2556
2571
    else
2557
2572
    {
2558
2573
      SetViewport(0, 0, previous_width, previous_height);
 
2574
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2559
2575
    }
2560
2576
 
2561
2577
    return _offscreen_color_rt0;
2594
2610
    {
2595
2611
      prevFBO->Activate(true);
2596
2612
      SetViewport(0, 0, previous_width, previous_height);
 
2613
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2597
2614
    }
2598
2615
    else
2599
2616
    {
2600
2617
      SetViewport(0, 0, previous_width, previous_height);
 
2618
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2601
2619
    }
2602
2620
  }
2603
2621
 
2754
2772
    {
2755
2773
      prevFBO->Activate(true);
2756
2774
      SetViewport(0, 0, previous_width, previous_height);
 
2775
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2757
2776
    }
2758
2777
    else
2759
2778
    {
2760
2779
      SetViewport(0, 0, previous_width, previous_height);
 
2780
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2761
2781
    }
2762
2782
    return _offscreen_color_rt0;
2763
2783
  }
2809
2829
    {
2810
2830
      prevFBO->Activate(true);
2811
2831
      SetViewport(0, 0, previous_width, previous_height);
 
2832
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2812
2833
    }
2813
2834
    else
2814
2835
    {
2815
2836
      SetViewport(0, 0, previous_width, previous_height);
 
2837
      SetOrthographicProjectionMatrix(previous_width, previous_height);
2816
2838
    }
2817
2839
  }
2818
2840