Descriptiongpu: Avoid detaching images with glTexSubImage2D
Avoid optimization of using glTexImage2D over glTexSubImage2D when there
are EGLImages attached to the texture, as glTexImage2D will orphan the
EGLImage. Orphaning and reattachment is probably more expensive than the
win of using glTexImage2D over glTexSubImage2D.
BUG=460344
Committed: https://crrev.com/45dc77a1ea86f69cce11e72bf5782310b5cb084b
Cr-Commit-Position: refs/heads/master@{#318141}
Patch Set 1 #
Total comments: 1
Patch Set 2 : review and fix test (no new test yet) #Patch Set 3 : new tests #
Total comments: 5
Patch Set 4 : review #
Messages
Total messages: 18 (4 generated)
|