Reduce glGets for stencil bits.
Clean up GL vs Gr rect conventions for viewport and scissor.

Review URL: http://codereview.appspot.com/4185056/

git-svn-id: http://skia.googlecode.com/svn/trunk@813 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrContext.cpp b/gpu/src/GrContext.cpp
index 0423483..7ce8f35 100644
--- a/gpu/src/GrContext.cpp
+++ b/gpu/src/GrContext.cpp
@@ -242,9 +242,11 @@
 

 ///////////////////////////////////////////////////////////////////////////////

 

-GrRenderTarget* GrContext::createPlatformRenderTarget(intptr_t platformRenderTarget,

-                                                      int width, int height) {

-    return fGpu->createPlatformRenderTarget(platformRenderTarget,

+GrRenderTarget* GrContext::createPlatformRenderTarget(

+                                                intptr_t platformRenderTarget,

+                                                int stencilBits,

+                                                int width, int height) {

+    return fGpu->createPlatformRenderTarget(platformRenderTarget, stencilBits,

                                             width, height);

 }