| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2011 Google Inc. | 2  * Copyright 2011 Google Inc. | 
| 3  * | 3  * | 
| 4  * Use of this source code is governed by a BSD-style license that can be | 4  * Use of this source code is governed by a BSD-style license that can be | 
| 5  * found in the LICENSE file. | 5  * found in the LICENSE file. | 
| 6  */ | 6  */ | 
| 7 | 7 | 
| 8 #ifndef GrGLGpu_DEFINED | 8 #ifndef GrGLGpu_DEFINED | 
| 9 #define GrGLGpu_DEFINED | 9 #define GrGLGpu_DEFINED | 
| 10 | 10 | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 98     // Thus this is the implementation of the draw call for the corresponding pa
     ssthrough function | 98     // Thus this is the implementation of the draw call for the corresponding pa
     ssthrough function | 
| 99     // on GrGLGpuCommandBuffer. | 99     // on GrGLGpuCommandBuffer. | 
| 100     void draw(const GrPipeline&, | 100     void draw(const GrPipeline&, | 
| 101               const GrPrimitiveProcessor&, | 101               const GrPrimitiveProcessor&, | 
| 102               const GrMesh*, | 102               const GrMesh*, | 
| 103               int meshCount); | 103               int meshCount); | 
| 104 | 104 | 
| 105     // The GrGLGpuCommandBuffer does not buffer up draws before submitting them 
     to the gpu. | 105     // The GrGLGpuCommandBuffer does not buffer up draws before submitting them 
     to the gpu. | 
| 106     // Thus this is the implementation of the clear call for the corresponding p
     assthrough function | 106     // Thus this is the implementation of the clear call for the corresponding p
     assthrough function | 
| 107     // on GrGLGpuCommandBuffer. | 107     // on GrGLGpuCommandBuffer. | 
| 108     void clear(const SkIRect& rect, GrColor color, GrRenderTarget* renderTarget)
     ; | 108     void clear(const GrFixedClip&, GrColor, GrRenderTarget*); | 
| 109 | 109 | 
| 110     // The GrGLGpuCommandBuffer does not buffer up draws before submitting them 
     to the gpu. | 110     // The GrGLGpuCommandBuffer does not buffer up draws before submitting them 
     to the gpu. | 
| 111     // Thus this is the implementation of the clearStencil call for the correspo
     nding passthrough | 111     // Thus this is the implementation of the clearStencil call for the correspo
     nding passthrough | 
| 112     // function on GrGLGpuCommandBuffer. | 112     // function on GrGLGpuCommandBuffer. | 
| 113     void clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* 
     renderTarget); | 113     void clearStencilClip(const GrFixedClip&, bool insideStencilMask, GrRenderTa
     rget*); | 
| 114 | 114 | 
| 115     const GrGLContext* glContextForTesting() const override { | 115     const GrGLContext* glContextForTesting() const override { | 
| 116         return &this->glContext(); | 116         return &this->glContext(); | 
| 117     } | 117     } | 
| 118 | 118 | 
| 119     void clearStencil(GrRenderTarget*) override; | 119     void clearStencil(GrRenderTarget*) override; | 
| 120 | 120 | 
| 121     GrGpuCommandBuffer* createCommandBuffer( | 121     GrGpuCommandBuffer* createCommandBuffer( | 
| 122             GrRenderTarget* target, | 122             GrRenderTarget* target, | 
| 123             const GrGpuCommandBuffer::LoadAndStoreInfo& colorInfo, | 123             const GrGpuCommandBuffer::LoadAndStoreInfo& colorInfo, | 
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 635     bool fPLSHasBeenUsed; | 635     bool fPLSHasBeenUsed; | 
| 636 | 636 | 
| 637     float fHWMinSampleShading; | 637     float fHWMinSampleShading; | 
| 638 | 638 | 
| 639     typedef GrGpu INHERITED; | 639     typedef GrGpu INHERITED; | 
| 640     friend class GrGLPathRendering; // For accessing setTextureUnit. | 640     friend class GrGLPathRendering; // For accessing setTextureUnit. | 
| 641     friend class gr_instanced::GLInstancedRendering; // For accessing flushGLSta
     te. | 641     friend class gr_instanced::GLInstancedRendering; // For accessing flushGLSta
     te. | 
| 642 }; | 642 }; | 
| 643 | 643 | 
| 644 #endif | 644 #endif | 
| OLD | NEW | 
|---|