Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 509c4c1573fde151e7bb11bb97ad423f5f342c8e..a2c636d2aad7fdd01089205075510de9e73c8765 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -105,6 +105,8 @@ |
void notifyIndexBufferDelete(GrGLuint id) { |
fHWGeometryState.notifyIndexBufferDelete(id); |
} |
+ void notifyTextureDelete(GrGLTexture* texture); |
+ void notifyRenderTargetDelete(GrRenderTarget* renderTarget); |
// These functions should be used to generate and delete GL path names. They have their own |
// allocator that runs on the client side, so they are much faster than going through GenPaths. |
@@ -462,8 +464,8 @@ |
GrDrawState::DrawFace fHWDrawFace; |
TriState fHWWriteToColor; |
TriState fHWDitherEnabled; |
- uint64_t fHWBoundRenderTargetInstanceID; |
- SkTArray<uint64_t, true> fHWBoundTextureInstanceIDs; |
+ GrRenderTarget* fHWBoundRenderTarget; |
+ SkTArray<GrTexture*, true> fHWBoundTextures; |
struct PathTexGenData { |
GrGLenum fMode; |