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

Side by Side Diff: src/gpu/GrRenderTarget.cpp

Issue 1717393002: Add "sample locations" feature to GrProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_getmultisamp
Patch Set: vk stubs Created 4 years, 9 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/GrProgramDesc.h ('k') | src/gpu/GrRenderTargetPriv.h » ('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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrRenderTarget.h" 10 #include "GrRenderTarget.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // we're not acctually adding one. 98 // we're not acctually adding one.
99 return true; 99 return true;
100 } 100 }
101 fRenderTarget->fStencilAttachment = stencil; 101 fRenderTarget->fStencilAttachment = stencil;
102 if (!fRenderTarget->completeStencilAttachment()) { 102 if (!fRenderTarget->completeStencilAttachment()) {
103 SkSafeSetNull(fRenderTarget->fStencilAttachment); 103 SkSafeSetNull(fRenderTarget->fStencilAttachment);
104 return false; 104 return false;
105 } 105 }
106 return true; 106 return true;
107 } 107 }
108
109 const GrGpu::MultisampleSpecs&
110 GrRenderTargetPriv::getMultisampleSpecs(const GrStencilSettings& stencil) const {
111 return fRenderTarget->getGpu()->getMultisampleSpecs(fRenderTarget, stencil);
112 }
OLDNEW
« no previous file with comments | « src/gpu/GrProgramDesc.h ('k') | src/gpu/GrRenderTargetPriv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698