1
0
Fork 0
mutter-performance-source/cogl/driver/gl
Robert Bragg 65196a4a9b cogl: Allow setting ARBfp source on a CoglShader
This makes CoglProgram/Shader automatically detect when the user has
given an ARBfp program by checking for "!!ARBfp1.0" at the beginning of
the user's source.

ARBfp local parameters can be set with cogl_program_uniform_float
assuming you pass a @size of 4 (all ARBfp program.local parameters
are vectors of 4 floats).

This doesn't expose ARBfp environment parameters or double precision
local parameters.
2010-08-09 17:27:02 +01:00
..
cogl-context-driver.c cogl: Introduce private feature flags and check for ARB_fp 2010-06-09 15:19:30 +01:00
cogl-context-driver.h material: Adds backend abstraction for fragment processing 2010-06-09 17:15:59 +01:00
cogl-feature-functions.h cogl: Adds a COGL_FEATURE_SHADERS_ARBFP feature flag 2010-08-09 17:27:02 +01:00
cogl-program.c cogl: Allow setting ARBfp source on a CoglShader 2010-08-09 17:27:02 +01:00
cogl-program.h cogl: Allow setting ARBfp source on a CoglShader 2010-08-09 17:27:02 +01:00
cogl-texture-driver.c Add an internal _cogl_bitmap_new_from_buffer 2010-07-15 17:27:15 +01:00
cogl.c cogl: expose the semantic differences of gl/gles2 npot textures 2010-07-07 13:26:41 +01:00
Makefile.am cogl-shader: unifies the driver/{gl,gles} shader files 2010-08-03 12:41:37 +01:00