Changes between Version 229 and Version 230 of AndroidPort


Ignore:
Timestamp:
Feb 11, 2012, 7:31:45 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v229 v230  
    105105
    106106I think the best approach is to extend graphics/!ShaderProgram.cpp to support GLSL shaders (it was designed with that in mind, but I don't know if it'll actually work without some interface changes); then move all the renderer's existing fixed-function texture-environment setup code into ShaderProgramFFP.cpp and implement GLSL-based equivalents, so that most of the rest of the renderer code doesn't have to care whether it's using FFP or GLSL (it just uses the CShaderProgram interface). Also, change all immediate-mode drawing (glVertex3f etc) to vertex arrays. I think that should deal with the most serious problems, and the code would all be shared between GLES and desktop GL modes (no need for forking or #ifdefs etc) and can be tested with desktop GL. Then there's probably just lots of little issues remaining, which can be addressed as they occur.
    107 
    108 See [wiki:GLESPort].
    109107
    110108=== Other dependencies ===
     
    418416$ make install
    419417}}}
     418=== Porting graphics ===
     419See [wiki:GLESPort].
     420
     421=== Porting sound ===
     422Audio can be disabled for now.
     423
    420424=== Building the game ===
    421425The native library (i.e. the actual game) is built using the standard Premake build system as follows.