Tex. R. App. P. 42.2

As amended through January 22, 2020
Rule 42.2 - Voluntary Dismissal in Criminal Cases
(a) At any time before the appellate court's decision, the appellate court may dismiss the appeal upon the appellant's motion. The appellant and his or her attorney must sign the written motion to dismiss and file it in duplicate with the appellate clerk, who must immediately send the duplicate copy to the trial court clerk.
(b) After the court of appeals hands down its opinion, it may not grant an appellant's motion to dismiss the appeal unless the other parties consent. If the other parties consent and the court of appeals grants the appellant's motion to dismiss the appeal, the appellate opinion must be withdrawn and the appeal dismissed. The appellate clerk must send notice of the dismissal to the trial court clerk.

Tex. R. App. P. 42.2