OPENGL to OPENGLIES translator and OPENGLIES emulator

OPENGL to OPENGLIES translator and OPENGLIES emulator

  • CN 101,059,760 B
  • Filed: 04/20/2006
  • Issued: 05/07/2014
  • Est. Priority Date: 04/20/2006
  • Status: Active Grant
First Claim
Patent Images

1. the interpretation method between OpenGL and OpenGL|ES, comprises the following steps:

  • The overall GL state that storage may be changed by the OpenGL|ES function using at translate duration;

    By replacing OpenGL order to translate to obtain OpenGL|ES API with OpenGL|ES order;

    For realizing, OpenGL|ES transmits OpenGL|ES API;

    AndRecover previously stored described overall GL state,Wherein said OpenGL order is for automatically generating the glTexGen order of texture coordinate in OpenGL;

    Wherein said overall GL state is texture coordinate array state;

    Wherein said storing step also comprises storage texture coordinate data;

    Wherein, for the autotext coordinate generating run that uses the glTexGen order in OpenGL, described replacement comprises;

    The information that use provides in described order glTexGen, decision should be translated which texture coordinate element (s, t, r, q) and should be realized which translation algorithm,Realize selected translation algorithm to calculate described texture coordinate element (s, t, r, q),The texture coordinate data that storage generates;

    Wherein said transmission step completes through the following steps;

    GlEnableClientState and the glTexCoordPointer command routing of the texture coordinate data containing storing are to some extent realized to OpenGL|ES;

    AndWherein said recovering step also comprises recovers previously stored described texture coordinate data.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×