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

Unified Diff: src/gpu/GrContext.cpp

Issue 12965018: Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrContext.cpp
===================================================================
--- src/gpu/GrContext.cpp (revision 8365)
+++ src/gpu/GrContext.cpp (working copy)
@@ -15,6 +15,7 @@
#include "GrBufferAllocPool.h"
#include "GrGpu.h"
+#include "GrDrawTargetCaps.h"
#include "GrIndexBuffer.h"
#include "GrInOrderDrawBuffer.h"
#include "GrOvalRenderer.h"
@@ -573,7 +574,7 @@
bool GrContext::supportsIndex8PixelConfig(const GrTextureParams* params,
int width, int height) const {
- const GrDrawTarget::Caps* caps = fGpu->caps();
+ const GrDrawTargetCaps* caps = fGpu->caps();
if (!caps->eightBitPaletteSupport()) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698