Closed Bug 780213 Opened 12 years ago Closed 12 years ago

bogus INVALID_VALUE in DeleteTextures (esp. on Adreno)

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 17

People

(Reporter: vlad, Unassigned)

Details

Attachments

(1 file)

Adreno doesn't like glDeleteTextures with len == 0, even though it's supposed to be a no-op.  Instead, the driver spews to the android console and it generates a GL error.  Let's not do that.
Attachment #648765 - Flags: review?(snorp)
Comment on attachment 648765 [details] [diff] [review]
don't try to delete when len == 0

Review of attachment 648765 [details] [diff] [review]:
-----------------------------------------------------------------

::: mobile/android/base/gfx/TextureReaper.java
@@ +6,4 @@
>  package org.mozilla.gecko.gfx;
>  
>  import android.opengl.GLES20;
> +import android.util.Log;

Not using this
Attachment #648765 - Flags: review?(snorp) → review+
https://hg.mozilla.org/mozilla-central/rev/aa100b9efcca
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: