/dports/graphics/cogl/cogl-1.22.8/tests/conform/ |
H A D | test-texture-3d.c | 8 #define TEX_DEPTH 16 macro 24 uint8_t *data = g_malloc (TEX_IMAGE_STRIDE * TEX_DEPTH); in create_texture_3d() 29 for (z = 0; z < TEX_DEPTH; z++) in create_texture_3d() 53 TEX_WIDTH, TEX_HEIGHT, TEX_DEPTH, in create_texture_3d() 99 v = verts = g_new (Vert, 4 * TEX_DEPTH); in draw_frame() 100 for (i = 0; i < TEX_DEPTH; i++) in draw_frame() 102 float r = (i + 0.5f) / TEX_DEPTH; in draw_frame() 149 6 * TEX_DEPTH, in draw_frame() 155 TEX_DEPTH), in draw_frame() 156 6 * TEX_DEPTH); in draw_frame() [all …]
|
/dports/x11-wm/muffin/muffin-4.8.0/cogl/tests/conform/ |
H A D | test-texture-3d.c | 8 #define TEX_DEPTH 16 macro 24 uint8_t *data = malloc (TEX_IMAGE_STRIDE * TEX_DEPTH); in create_texture_3d() 29 for (z = 0; z < TEX_DEPTH; z++) in create_texture_3d() 53 TEX_WIDTH, TEX_HEIGHT, TEX_DEPTH, in create_texture_3d() 99 v = verts = g_new (Vert, 4 * TEX_DEPTH); in draw_frame() 100 for (i = 0; i < TEX_DEPTH; i++) in draw_frame() 102 float r = (i + 0.5f) / TEX_DEPTH; in draw_frame() 149 6 * TEX_DEPTH, in draw_frame() 155 TEX_DEPTH), in draw_frame() 156 6 * TEX_DEPTH); in draw_frame() [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_clear_texture/ |
H A D | 3d.c | 35 #define TEX_DEPTH 4 macro 56 GLubyte tex_data[TEX_WIDTH * TEX_HEIGHT * TEX_DEPTH * 3]; in create_texture() 63 for (i = 0; i < TEX_WIDTH * TEX_HEIGHT * TEX_DEPTH; i++) in create_texture() 71 TEX_WIDTH, TEX_HEIGHT, TEX_DEPTH, in create_texture() 209 for (i = 0; i < TEX_DEPTH; i++) { in piglit_display() 212 i / (TEX_DEPTH - 1.0f)); in piglit_display()
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/texturing/ |
H A D | array-depth-roundtrip.c | 52 #define TEX_DEPTH (NUM_TILES_ACROSS * NUM_TILES_DOWN) macro 116 GL_DEPTH_COMPONENT, TEX_WIDTH, TEX_HEIGHT, TEX_DEPTH, in piglit_init() 149 for (zoffset = 0; zoffset < TEX_DEPTH; ++zoffset) { in piglit_display() 154 depth_value = zoffset / (float) (TEX_DEPTH - 1); in piglit_display() 194 depth_value = zoffset / (float) (TEX_DEPTH - 1); in piglit_display()
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/gl-3.2/layered-rendering/ |
H A D | clear-color-all-types.c | 67 #define TEX_DEPTH 4 macro 167 level_height(level), TEX_DEPTH, in init_texture() 288 num_layers = TEX_DEPTH; in piglit_init() 307 num_layers = 6 * TEX_DEPTH; in piglit_init()
|
/dports/games/bloodfrontier/bloodfrontier/src/engine/ |
H A D | texture.h | 346 TEX_DEPTH, enumerator
|
H A D | texture.cpp | 1058 {"z", TEX_DEPTH}, 1321 int i = findtextype(s, t.type==TEX_DIFFUSE ? (1<<TEX_SPEC) : (1<<TEX_DEPTH)); in texcombine() 1369 case TEX_DEPTH: mergedepth(ts, as); break; in texcombine()
|
H A D | shader.cpp | 288 case TEX_DEPTH: if(t.combined<0) UNIFORMTEX("depthmap", tmu++); break; in allocenvparams()
|
/dports/games/tesseract-data/tesseract/src/engine/ |
H A D | texture.cpp | 1901 {"z", TEX_DEPTH}, 2126 case TEX_NORMAL: return TEX_DEPTH; in cancombine() 2136 …case TEX_NORMAL: return texmask&(1<<TEX_DEPTH) ? TEX_DEPTH : (texmask&(1<<TEX_GLOW) ? -1 : TEX_SPE… in cancombine() 2187 case TEX_DEPTH: mergedepth(ts, cs); break; in load()
|
H A D | texture.h | 595 TEX_DEPTH, enumerator
|
/dports/games/tesseract/tesseract/src/engine/ |
H A D | texture.cpp | 1901 {"z", TEX_DEPTH}, 2126 case TEX_NORMAL: return TEX_DEPTH; in cancombine() 2136 …case TEX_NORMAL: return texmask&(1<<TEX_DEPTH) ? TEX_DEPTH : (texmask&(1<<TEX_GLOW) ? -1 : TEX_SPE… in cancombine() 2187 case TEX_DEPTH: mergedepth(ts, cs); break; in load()
|
H A D | texture.h | 595 TEX_DEPTH, enumerator
|
/dports/games/sauerbraten/sauerbraten/src/engine/ |
H A D | texture.h | 573 TEX_DEPTH, enumerator
|
H A D | texture.cpp | 2082 {"z", TEX_DEPTH}, 2290 …sk&(1<<TEX_SPEC) ? 1<<TEX_SPEC : 1<<TEX_ALPHA) : (s.texmask&(1<<TEX_DEPTH) ? 1<<TEX_DEPTH : 1<<TEX… in texcombine() 2319 case TEX_DEPTH: mergedepth(ts, as); break; in texcombine()
|
H A D | shader.cpp | 373 case TEX_DEPTH: if(t.combined<0) UNIFORMTEX("depthmap", tmu++); break; in allocparams()
|
/dports/games/redeclipse/base-2.0.0/src/engine/ |
H A D | texture.cpp | 2379 {"z", TEX_DEPTH}, 2660 case TEX_NORMAL: return TEX_DEPTH; in cancombine() 2670 …case TEX_NORMAL: return texmask&(1<<TEX_DEPTH) ? TEX_DEPTH : (texmask&(1<<TEX_GLOW) ? -1 : TEX_SPE… in cancombine() 2731 case TEX_DEPTH: mergedepth(ts, cs); break; in load()
|
H A D | texture.h | 629 TEX_DEPTH, enumerator
|
/dports/games/redeclipse16/base-1.6.0/src/engine/ |
H A D | texture.h | 629 TEX_DEPTH, enumerator
|
H A D | texture.cpp | 2084 {"z", TEX_DEPTH}, 2347 int i = findtextype(s, t.type==TEX_DIFFUSE ? (1<<TEX_SPEC) : (1<<TEX_DEPTH)); in texcombine() 2378 case TEX_DEPTH: mergedepth(ts, as); break; in texcombine()
|
H A D | shader.cpp | 372 case TEX_DEPTH: if(t.combined<0) UNIFORMTEX("depthmap", tmu++); break; in allocparams()
|