Ignore:
Timestamp:
05/28/13 16:48:29 (12 years ago)
Author:
epyon
Message:
  • context bugfixes, force apply state at creation and apply render state
  • window creates context
  • index buffer
  • vertex arrays (simulation of GL 3 functionality)
  • bugfixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/gl/gl_context.hh

    r37 r44  
    2020        {
    2121        public:
    22                 void clear( const clear_state& cs );
    23                 const ivec4& get_viewport();
    24                 void set_viewport( const ivec4& viewport );
    25 
     22                gl_context();
     23                virtual void clear( const clear_state& cs );
     24                virtual const ivec4& get_viewport();
     25                virtual void set_viewport( const ivec4& viewport );
     26                virtual void apply_render_state( const render_state& state );
    2627        private:
    2728                void force_apply_render_state( const render_state& state );
    2829                void force_apply_stencil_face( int face, const stencil_test_face& stencil );
    29                 void apply_render_state( const render_state& state );
    3030                void apply_stencil_test( const stencil_test& stencil );
    3131                void apply_stencil_face( int face, stencil_test_face& stencil, const stencil_test_face& new_stencil );
Note: See TracChangeset for help on using the changeset viewer.