Giuppe

Results 33 comments of Giuppe

I just tested Mode and FlxCaveGenerator on my Ouya (Android 4.4.4) and they work, so it's not a problem with KitKat. However, Mode works on the Nexus S as the...

BunnyMark works OK on the Nexus S with and without `use_tilemap`.

Here is the trace: > I/trace (14325): PlayState.hx:19: [EXT_debug_marker,OES_rgb8_rgba8,OES_depth24,OES_vertex_half_float,OES_texture_float,OES_texture_half_float,OES_element_index_uint,OES_mapbuffer,OES_fragment_precision_high,OES_compressed_ETC1_RGB8_texture,OES_EGL_image,OES_EGL_image_external,OES_required_internalformat,OES_depth_texture,OES_get_program_binary,OES_packed_depth_stencil,OES_standard_derivatives,OES_vertex_array_object,OES_egl_sync,EXT_multi_draw_arrays,EXT_texture_format_BGRA8888,EXT_discard_framebuffer,EXT_shader_texture_lod,IMG_shader_binary,IMG_texture_compression_pvrtc,IMG_texture_npot,IMG_texture_format_BGRA8888,IMG_read_format,IMG_program_binary,IMG_multisampled_render_to_texture]

I executed this code: var color = new FlxColor(); color.setRGB(255,0,0,255); FlxG.camera.bgColor = color; var spr = new FlxSprite(); spr.loadGraphic(AssetPaths.Sprite0001__png, 128, 128); this.add(spr); Sprite0001.png is a 128x128 png. This is the...

I changed the `loadgraphic` line to `spr.makeGraphic(128, 128, FlxColor.BLUE);` and the result is exactly the same.

@Beeblerox yes, this is the OpenFL BunnyMark on the device: ![OpenFL's BunnyMark on Nexus S](https://user-images.githubusercontent.com/294402/45745036-34673100-bc00-11e8-9db7-782c18fbd9ca.png)

Ok, just found: if I force the use of the original OpenFL `texture2D(bitmap, coord)` shader function instead of `flixel_texture2D(bitmap, coord)` it works without problems. @:glFragmentSource(" #pragma header void main(void) {...

Yes, using directly the OpenFL version is not a real fix. I was just pointing that the problem probably lies in that function, somehow.

> trace(GL.getInteger(GL.MAX_VERTEX_UNIFORM_COMPONENTS)); trace(GL.getInteger(GL.MAX_FRAGMENT_UNIFORM_COMPONENTS)); > I/trace ( 2157): PlayState.hx:15: 1453942084 I/trace ( 2157): PlayState.hx:16: 1453941972

New experiment. This works: vec4 flixel_texture2D(sampler2D bitmap, vec2 coord) { vec4 color = texture2D(bitmap, coord); return color; } This won't work: vec4 flixel_texture2D(sampler2D bitmap, vec2 coord) { vec4 color =...