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

Side by Side Diff: src/gpu/gl/GrGLGpu.h

Issue 1137663004: Don't issue texture barriers for RT's with separate storage (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_oreq
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 bool copySurface(GrSurface* dst, 99 bool copySurface(GrSurface* dst,
100 GrSurface* src, 100 GrSurface* src,
101 const SkIRect& srcRect, 101 const SkIRect& srcRect,
102 const SkIPoint& dstPoint) override; 102 const SkIPoint& dstPoint) override;
103 103
104 bool canCopySurface(const GrSurface* dst, 104 bool canCopySurface(const GrSurface* dst,
105 const GrSurface* src, 105 const GrSurface* src,
106 const SkIRect& srcRect, 106 const SkIRect& srcRect,
107 const SkIPoint& dstPoint) override; 107 const SkIPoint& dstPoint) override;
108 108
109 void xferBarrier(GrXferBarrierType) override; 109 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override;
110 110
111 void buildProgramDesc(GrProgramDesc*, 111 void buildProgramDesc(GrProgramDesc*,
112 const GrPrimitiveProcessor&, 112 const GrPrimitiveProcessor&,
113 const GrPipeline&, 113 const GrPipeline&,
114 const GrBatchTracker&) const override; 114 const GrBatchTracker&) const override;
115 115
116 private: 116 private:
117 // GrGpu overrides 117 // GrGpu overrides
118 void onResetContext(uint32_t resetBits) override; 118 void onResetContext(uint32_t resetBits) override;
119 119
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 470
471 // we record what stencil format worked last time to hopefully exit early 471 // we record what stencil format worked last time to hopefully exit early
472 // from our loop that tries stencil formats and calls check fb status. 472 // from our loop that tries stencil formats and calls check fb status.
473 int fLastSuccessfulStencilFmtIdx; 473 int fLastSuccessfulStencilFmtIdx;
474 474
475 typedef GrGpu INHERITED; 475 typedef GrGpu INHERITED;
476 friend class GrGLPathRendering; // For accessing setTextureUnit. 476 friend class GrGLPathRendering; // For accessing setTextureUnit.
477 }; 477 };
478 478
479 #endif 479 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698