Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/gpu/GrRODrawState.h

Issue 533883004: Remove GrDrawTarget::AutoRenderTargetRestore. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: pass rt to clearStencilClip Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 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 GrRODrawState_DEFINED 8 #ifndef GrRODrawState_DEFINED
9 #define GrRODrawState_DEFINED 9 #define GrRODrawState_DEFINED
10 10
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 231
232 /////////////////////////////////////////////////////////////////////////// 232 ///////////////////////////////////////////////////////////////////////////
233 /// @name Render Target 233 /// @name Render Target
234 //// 234 ////
235 235
236 /** 236 /**
237 * Retrieves the currently set render-target. 237 * Retrieves the currently set render-target.
238 * 238 *
239 * @return The currently set render target. 239 * @return The currently set render target.
240 */ 240 */
241 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } 241 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); }
242 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); }
243 242
244 /// @} 243 /// @}
245 244
246 /////////////////////////////////////////////////////////////////////////// 245 ///////////////////////////////////////////////////////////////////////////
247 /// @name Stencil 246 /// @name Stencil
248 //// 247 ////
249 248
250 const GrStencilSettings& getStencil() const { return fStencilSettings; } 249 const GrStencilSettings& getStencil() const { return fStencilSettings; }
251 250
252 /// @} 251 /// @}
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 // not need to be compared in op==. 369 // not need to be compared in op==.
371 int fFixedFunctionVertexAttribIndices[kGrFixedFunctionVertexAttribBindingCnt ]; 370 int fFixedFunctionVertexAttribIndices[kGrFixedFunctionVertexAttribBindingCnt ];
372 371
373 private: 372 private:
374 typedef SkRefCnt INHERITED; 373 typedef SkRefCnt INHERITED;
375 }; 374 };
376 375
377 GR_MAKE_BITFIELD_OPS(GrRODrawState::BlendOptFlags); 376 GR_MAKE_BITFIELD_OPS(GrRODrawState::BlendOptFlags);
378 377
379 #endif 378 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | src/gpu/gl/GrGpuGL.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698