Search:

Type: Posts; User: as32b

Search: Search took 0.00 seconds.

  1. Let me simplify by asking a glReadPixel question:

    When I state the following:

    IntBuffer pixels = IntBuffer.wrap(p);
    gl.glReadPixels(x, 0, w, y + h, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE, pixels);
    ...I'm wrapping the end parameter 'pixels' into...
  2. Replies
    0
    Views
    1,955

    Obtain a pixel color value from an android?

    Anyone ever succeeded?
  3. Replies
    0
    Views
    2,785

    glReadPixels just returns 0s in Android.

    If I print ib I get a value like "[I@4373fab8" and if I print b I get a value like "[I@43740a50."

    But if I print pb from inside the loop I get 0. For every pixel. Zero. (The screen meanwhile is...
Results 1 to 3 of 3