MCPcopy Index your code
hub / github.com/processing/processing / allocateIntBuffer

Method allocateIntBuffer

core/src/processing/opengl/PGL.java:2484–2490  ·  view source on GitHub ↗
(int size)

Source from the content-addressed store, hash-verified

2482
2483
2484 protected static IntBuffer allocateIntBuffer(int size) {
2485 if (USE_DIRECT_BUFFERS) {
2486 return allocateDirectIntBuffer(size);
2487 } else {
2488 return IntBuffer.allocate(size);
2489 }
2490 }
2491
2492
2493 protected static IntBuffer allocateIntBuffer(int[] arr) {

Callers 15

PShaderMethod · 0.95
PGraphicsOpenGLMethod · 0.95
allocatePixelsMethod · 0.95
drawPixelsMethod · 0.95
AsyncPixelReaderMethod · 0.95
disposeMethod · 0.95
loadTextureMethod · 0.95
allocateMethod · 0.95
initAttribMethod · 0.95
expandPolyColorsMethod · 0.95
expandPolyAmbientMethod · 0.95
expandPolySpecularMethod · 0.95

Calls 4

wrapMethod · 0.80
allocateMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected