New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 3 users

Issue metadata

Status: New
Last visit > 30 days ago
Area: ----
Priority: Low
Type: Defect

Sign in to add a comment

Budgeting for GrGlTextureRenderTarget isn't correct

Project Member Reported by, Dec 9 2014 Back to list

Issue description

GrGlTextureRenderTarget derives from both GrGLTexture and GrGLRenderTarget, so we have one flag (GrGpuResource::fFlags) to determine if the resource is wrapped.  GrGlTextureRenderTarget can have an unwrapped render object, and a wrapped texture, and when that happens the resource will report itself wrapped, and as a result, will not use FBOs from GrGLRenderTarget during budgeting.

GrGpuResource::setContentKey, GrGpuResource::setScratchKey and GrGpuResource::setBudgeted may not work correctly.
Project Member

Comment 1 by, Dec 9 2014

Project Member

Comment 2 by, Dec 7 2015

Labels: Hotlist-Fixit
Project Member

Comment 3 by, Jan 10 2016

Any update on this? If you don't plan to work on it, could you reassign or close please?

Sign in to add a comment