Home
last modified time | relevance | path

Searched refs:texpixel_size (Results 1 – 8 of 8) sorted by relevance

/dports/devel/godot/godot-3.2.3-stable/drivers/gles2/
H A Drasterizer_canvas_gles2.cpp255 Vector2 texpixel_size = r_fill_state.texpixel_size; in prefill_joined_item() local
392 batchtex.tex_pixel_size.to(texpixel_size); in prefill_joined_item()
399 r_fill_state.texpixel_size = texpixel_size; in prefill_joined_item()
465 src_min *= texpixel_size; in prefill_joined_item()
466 src_max *= texpixel_size; in prefill_joined_item()
965 …gs & CANVAS_RECT_REGION) ? Rect2(r->source.position * texpixel_size, r->source.size * texpixel_siz… in render_batches()
1055 Size2 texpixel_size(1.0 / tex->width, 1.0 / tex->height); in render_batches() local
1056 …gs & CANVAS_RECT_REGION) ? Rect2(r->source.position * texpixel_size, r->source.size * texpixel_siz… in render_batches()
1128 Size2 texpixel_size(1.0 / tex->width, 1.0 / tex->height); in render_batches() local
1160 buffer[(0 * 4 * 4) + 2] = source.position.x * texpixel_size.x; in render_batches()
[all …]
H A Drasterizer_canvas_gles2.h285 texpixel_size = Vector2(1, 1); in reset()
292 Vector2 texpixel_size; member
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles2/
H A Drasterizer_canvas_gles2.cpp255 Vector2 texpixel_size = r_fill_state.texpixel_size; in prefill_joined_item() local
392 batchtex.tex_pixel_size.to(texpixel_size); in prefill_joined_item()
399 r_fill_state.texpixel_size = texpixel_size; in prefill_joined_item()
465 src_min *= texpixel_size; in prefill_joined_item()
466 src_max *= texpixel_size; in prefill_joined_item()
965 …gs & CANVAS_RECT_REGION) ? Rect2(r->source.position * texpixel_size, r->source.size * texpixel_siz… in render_batches()
1055 Size2 texpixel_size(1.0 / tex->width, 1.0 / tex->height); in render_batches() local
1056 …gs & CANVAS_RECT_REGION) ? Rect2(r->source.position * texpixel_size, r->source.size * texpixel_siz… in render_batches()
1128 Size2 texpixel_size(1.0 / tex->width, 1.0 / tex->height); in render_batches() local
1160 buffer[(0 * 4 * 4) + 2] = source.position.x * texpixel_size.x; in render_batches()
[all …]
H A Drasterizer_canvas_gles2.h285 texpixel_size = Vector2(1, 1); in reset()
292 Vector2 texpixel_size; member
/dports/devel/godot/godot-3.2.3-stable/drivers/gles3/
H A Drasterizer_canvas_gles3.cpp638 Size2 texpixel_size(1.0 / p_texture->width, 1.0 / p_texture->height); in render_rect_nvidia_workaround() local
657 …VAS_RECT_REGION) ? Rect2(p_rect->source.position * texpixel_size, p_rect->source.size * texpixel_s… in render_rect_nvidia_workaround()
840 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
841 …CANVAS_RECT_REGION) ? Rect2(rect->source.position * texpixel_size, rect->source.size * texpixel_si… in _canvas_item_render_commands()
909 Size2 texpixel_size; in _canvas_item_render_commands() local
913 texpixel_size = Size2(1, 1); in _canvas_item_render_commands()
950 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
973 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
999 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
1051 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles3/
H A Drasterizer_canvas_gles3.cpp638 Size2 texpixel_size(1.0 / p_texture->width, 1.0 / p_texture->height); in render_rect_nvidia_workaround() local
657 …VAS_RECT_REGION) ? Rect2(p_rect->source.position * texpixel_size, p_rect->source.size * texpixel_s… in render_rect_nvidia_workaround()
840 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
841 …CANVAS_RECT_REGION) ? Rect2(rect->source.position * texpixel_size, rect->source.size * texpixel_si… in _canvas_item_render_commands()
909 Size2 texpixel_size; in _canvas_item_render_commands() local
913 texpixel_size = Size2(1, 1); in _canvas_item_render_commands()
950 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
973 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
999 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
1051 Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height); in _canvas_item_render_commands() local
[all …]
/dports/devel/godot2/godot-2.1.6-stable/drivers/gles2/shaders/
H A Dcanvas.glsl188 uniform vec2 texpixel_size;
/dports/devel/godot2-tools/godot-2.1.6-stable/drivers/gles2/shaders/
H A Dcanvas.glsl188 uniform vec2 texpixel_size;