Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(551)

Unified Diff: src/gpu/gl/GrGLTexture.h

Issue 6258068: Move texture descriptor into GrTexture (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed code review issues Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTexture.cpp ('k') | src/gpu/gl/GrGLTexture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLTexture.h
===================================================================
--- src/gpu/gl/GrGLTexture.h (revision 4110)
+++ src/gpu/gl/GrGLTexture.h (working copy)
@@ -58,10 +58,7 @@
void invalidate() { memset(this, 0xff, sizeof(TexParams)); }
};
- struct Desc {
- int fWidth;
- int fHeight;
- GrPixelConfig fConfig;
+ struct Desc : public GrTextureDesc {
GrGLuint fTextureID;
bool fOwnsID;
Orientation fOrientation;
« no previous file with comments | « src/gpu/GrTexture.cpp ('k') | src/gpu/gl/GrGLTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b