2013-09-07 2 views
2

OpenGL 응용 프로그램에서 문제를 디버그하려고하고 있으며 Android OpenGL Tracer를 사용하여 세부적으로보고 싶습니다. 추적자는 처음에 벌금을 작동하는 것 같다 일부 데이터를 수집하지만, 나는 다음과 같은 오류가 추적 파일 열려고하면 이것은 이러한 특정 응용 프로그램에 대한 발생, 그리고 다른 사람을위한OpenGL Tracer에서 "메시지에 필수 입력란이 누락되었습니다."오류가 발생했습니다.

Error parsing OpenGL Trace File

Message was missing required fields. (Lite runtime could not determine which fields were missing).

합니다. 큰 차이점은이 응용 프로그램이 OpenGL ES 3을 사용한다는 것입니다.

추적 프로그램과 OpenGL ES 3.0에 일반적인 문제가 있습니까? 이 오류에 대한 해결 방법이 있습니까?

+0

해결 방법을 찾으셨습니까? ES 2.0에서도 같은 문제가 발생합니다. – Laxsnor

답변

1

방금이 오류가 발생하여 해결책을 찾았습니다. 당신의 AndroidManifest.xml에 다음의 태그 버전을 사용

<uses-feature android:glEsVersion="0x00030000" android:required="true"/> 

내 버전 (기억 메모와)과 같습니다

<!-- Tell the system this app requires OpenGL ES 3.1. --> 
<!-- NOTE: This must be correct for the OpenGL ES Tracer to work properly --> 
<uses-feature android:glEsVersion="0x00030001" android:required="true"/> 

는 참조 용으로 공식 문서 페이지를 참조하십시오 : https://developer.android.com/guide/topics/graphics/opengl.html#manifest

https://developer.android.com/guide/topics/manifest/uses-feature-element.html

ANDROID:GLESVERSION The OpenGL ES version required by the application. The higher 16 bits represent the major number and the lower 16 bits represent the minor number. For example, to specify OpenGL ES version 2.0, you would set the value as "0x00020000", or to specify OpenGL ES 3.2, you would set the value as "0x00030002".

:

이 페이지 값에 대한 자세한 내용이 있습니다

+0

신경 쓰지 마라. 나는 아직도 더 긴 흔적으로 오류를 얻는다. – JeremiahBeardly

관련 문제