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

Unified Diff: src/core/SkMipMapLevel.cpp

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
« no previous file with comments | « src/core/SkMipMap.cpp ('k') | src/gpu/GrGpu.h » ('j') | src/gpu/GrGpu.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkMipMapLevel.cpp
diff --git a/src/ports/SkFontMgr_fontconfig_factory.cpp b/src/core/SkMipMapLevel.cpp
similarity index 50%
copy from src/ports/SkFontMgr_fontconfig_factory.cpp
copy to src/core/SkMipMapLevel.cpp
index b959acbbe2c2f064c7e4f54b218c69c8d32a9935..95151161a11e5f8fe4ccea0f0a9acb9e6f106639 100644
--- a/src/ports/SkFontMgr_fontconfig_factory.cpp
+++ b/src/core/SkMipMapLevel.cpp
@@ -5,9 +5,10 @@
* found in the LICENSE file.
*/
-#include "SkFontMgr.h"
-#include "SkFontMgr_fontconfig.h"
-SkFontMgr* SkFontMgr::Factory() {
- return SkFontMgr_New_FontConfig(NULL);
+#include "SkMipMapLevel.h"
+
+SkMipMapLevel::SkMipMapLevel(const void* texels, size_t rowBytes)
+ : fTexels( texels ), fRowBytes( rowBytes )
+{
}
« no previous file with comments | « src/core/SkMipMap.cpp ('k') | src/gpu/GrGpu.h » ('j') | src/gpu/GrGpu.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698