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

Unified Diff: src/gpu/GrStencilAttachment.cpp

Issue 1083133002: Rename GrStencilBuffer to GrStencilAttachment (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Align data member Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrStencilAttachment.h ('k') | src/gpu/GrStencilBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrStencilAttachment.cpp
diff --git a/src/gpu/GrStencilBuffer.cpp b/src/gpu/GrStencilAttachment.cpp
similarity index 64%
rename from src/gpu/GrStencilBuffer.cpp
rename to src/gpu/GrStencilAttachment.cpp
index 3f2b28f50195663605246a3b98e2a88d3fb4dd56..9b07070b0f73cb4192843fe4e4be9a9aef4c2fcb 100644
--- a/src/gpu/GrStencilBuffer.cpp
+++ b/src/gpu/GrStencilAttachment.cpp
@@ -6,11 +6,11 @@
* found in the LICENSE file.
*/
-#include "GrStencilBuffer.h"
+#include "GrStencilAttachment.h"
#include "GrResourceKey.h"
-void GrStencilBuffer::ComputeSharedStencilBufferKey(int width, int height, int sampleCnt,
- GrUniqueKey* key) {
+void GrStencilAttachment::ComputeSharedStencilAttachmentKey(int width, int height, int sampleCnt,
+ GrUniqueKey* key) {
static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
GrUniqueKey::Builder builder(key, kDomain, 3);
builder[0] = width;
« no previous file with comments | « src/gpu/GrStencilAttachment.h ('k') | src/gpu/GrStencilBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698