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

Unified Diff: src/gpu/vk/GrVkTexture.h

Issue 1925303002: Add mipmap loading to Vulkan. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Some fixups and notes for future work Created 4 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
Index: src/gpu/vk/GrVkTexture.h
diff --git a/src/gpu/vk/GrVkTexture.h b/src/gpu/vk/GrVkTexture.h
index a5e82e866c42d462c0712cf88473a089d0ccb92e..c70d6bf52ae3e40ea33f4e3bdd49a99e27228531 100644
--- a/src/gpu/vk/GrVkTexture.h
+++ b/src/gpu/vk/GrVkTexture.h
@@ -41,7 +41,7 @@ protected:
template<typename ResourceType>
static GrVkTexture* Create(GrVkGpu*, ResourceType, const GrSurfaceDesc&, VkFormat,
- const GrVkImage::Resource* texImpl);
+ uint32_t levels, const GrVkImage::Resource* texImpl);
GrVkGpu* getVkGpu() const;
@@ -55,8 +55,8 @@ private:
GrVkTexture(GrVkGpu*, Wrapped, const GrSurfaceDesc&,
const GrVkImage::Resource*, const GrVkImageView* imageView);
-
- const GrVkImageView* fTextureView;
+ const GrVkImageView* fTextureView;
+ GrBackendObjectOwnership fTextureOwnership;
jvanverth1 2016/04/29 13:44:14 Removed based on offline comments.
typedef GrTexture INHERITED;
};
« src/gpu/vk/GrVkImage.h ('K') | « src/gpu/vk/GrVkImage.h ('k') | src/gpu/vk/GrVkTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698