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

Unified Diff: include/gpu/SkGr.h

Issue 1249543003: Creating functions for uploading a mipmapped texture. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: No longer exposing SkMipMap and SkCachedData. Created 5 years, 4 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: include/gpu/SkGr.h
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
index 4de61afffbc67fdca2dc70032818faad6c9a2c32..afb7d1f738a07742f4c237c2b2ba0640e416c99d 100644
--- a/include/gpu/SkGr.h
+++ b/include/gpu/SkGr.h
@@ -19,10 +19,11 @@
// skia headers
#include "SkBitmap.h"
+#include "SkClipStack.h"
+#include "SkMipMapLevel.h"
#include "SkPath.h"
#include "SkPoint.h"
#include "SkRegion.h"
-#include "SkClipStack.h"
////////////////////////////////////////////////////////////////////////////////
// Sk to Gr Type conversions
@@ -72,6 +73,8 @@ bool GrIsBitmapInCache(const GrContext*, const SkBitmap&, const GrTextureParams*
GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*);
+GrTexture* GrMipMapTexture(GrContext&, const SkBitmap&, SkDiscardableFactoryProc);
+
////////////////////////////////////////////////////////////////////////////////
// Converts a SkPaint to a GrPaint, ignoring the SkPaint's shader.
« no previous file with comments | « include/gpu/GrTextureProvider.h ('k') | src/core/SkMipMap.h » ('j') | src/gpu/GrGpu.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698