- * Get the number of supported program binary formats
- * @return The number of supported program binary formats
- */
- GLint CachedNumberOfProgramBinaryFormats() const
- {
- return mProgramBinaryFormats.size();
- }
-
- /**
- * Get a supported program binary format
- * @param[in] formatIndex The index of the format to return (default: 0)
- * @return A supported program binary format
- */
- GLint CachedProgramBinaryFormat( const unsigned int formatIndex = 0 ) const
- {
- DALI_ASSERT_ALWAYS( formatIndex < mProgramBinaryFormats.size() && "formatIndex out of bounds");
-
- return mProgramBinaryFormats[ formatIndex ];
- }
-
- /**
- * @return current program
- */
- const Program* GetCurrentProgram() const
- {
- return mCurrentProgram;
- }
-
- /**
- * Set current program
- * @param [in] program that is in use
- */
- void SetCurrentProgram( Program* program )
- {
- mCurrentProgram = program;
- }
-
- /**
- * Reset the program matrices
- */
- void ResetProgramMatrices();
-
- /**
- * Get a cached program
- * @param [in] hash value
- * @return pointer to the program
- */
- Program* GetCachedProgram( std::size_t hash ) const;
-
- /**
- * Cache a program
- * @param [in] hash value
- * @param [in] pointer to the program
- */
- void CacheProgram( std::size_t hash, Program* pointer );
-
- /**