e70d7294e2
Although batching supported both ninepatch modes (fixed and scaling) when using ninepatch stretch mode, the ninepatch tiling modes (in GLES3) could only run through the shader. The shader only supported one of the ninepatch modes. This PR uses the hack method of #if defined in the shader to prevent the use of a conditional. The define is set at startup according to the project setting. |
||
---|---|---|
.. | ||
shaders | ||
rasterizer_canvas_base_gles3.cpp | ||
rasterizer_canvas_base_gles3.h | ||
rasterizer_canvas_gles3.cpp | ||
rasterizer_canvas_gles3.h | ||
rasterizer_gles3.cpp | ||
rasterizer_gles3.h | ||
rasterizer_scene_gles3.cpp | ||
rasterizer_scene_gles3.h | ||
rasterizer_storage_gles3.cpp | ||
rasterizer_storage_gles3.h | ||
SCsub | ||
shader_compiler_gles3.cpp | ||
shader_compiler_gles3.h | ||
shader_gles3.cpp | ||
shader_gles3.h |