Searched defs:buffers (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/include/ui/
H A DFramebufferNativeWindow.h75 sp<NativeBuffer> buffers[2]; member in class:android::FramebufferNativeWindow
/frameworks/base/opengl/libagl/
H A DBufferObjectManager.cpp85 void EGLBufferObjectManager::deleteBuffers(GLsizei n, const GLuint* buffers) argument
89 const GLuint t = *buffers++;
H A Darray.cpp1447 // buffers
1530 void glDeleteBuffers(GLsizei n, const GLuint* buffers) argument
1539 GLuint name = buffers[i];
1541 // unbind bound deleted buffers...
1576 c->bufferObjectManager->deleteBuffers(n, buffers);
1577 c->bufferObjectManager->recycleTokens(n, buffers);
1580 void glGenBuffers(GLsizei n, GLuint* buffers) argument
1587 c->bufferObjectManager->getToken(n, buffers);
/frameworks/base/libs/surfaceflinger_client/
H A DISurface.cpp100 virtual status_t registerBuffers(const BufferHeap& buffers) argument
104 data.writeInt32(buffers.w);
105 data.writeInt32(buffers.h);
106 data.writeInt32(buffers.hor_stride);
107 data.writeInt32(buffers.ver_stride);
108 data.writeInt32(buffers.format);
109 data.writeInt32(buffers.transform);
110 data.writeInt32(buffers.flags);
111 data.writeStrongBinder(buffers.heap->asBinder());
/frameworks/base/include/private/media/
H A DAudioTrackShared.h62 void* buffers; member in struct:android::audio_track_cblk_t
/frameworks/base/include/private/surfaceflinger/
H A DSharedBufferStack.h35 * These classes manage a stack of buffers in shared memory.
38 * SharedBufferStack: represents a stack of buffers
106 volatile int32_t available; // number of dequeue-able buffers
107 volatile int32_t queued; // number of buffers waiting for post
121 BufferData buffers[NUM_BUFFER_MAX]; // 1024 bytes member in class:android::SharedBufferStack
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp185 Vector<Buffer> *buffers) {
186 buffers->clear();
202 buffers->push(buffer);
308 // allocating all input and output buffers.
311 "all input and output buffers are allocated.");
313 // Now allocate buffers.
332 "after all input and output buffers were allocated.");
368 "Not all output buffers have been returned to us by the time "
395 "Not all input buffers have been returned to us by the "
402 "Not all output buffers hav
182 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument
[all...]
/frameworks/base/services/surfaceflinger/
H A DLayerBuffer.cpp170 status_t LayerBuffer::registerBuffers(const ISurface::BufferHeap& buffers) argument
176 sp<BufferSource> source = new BufferSource(*this, buffers);
232 const ISurface::BufferHeap& buffers)
236 return owner->registerBuffers(buffers);
267 LayerBuffer::Buffer::Buffer(const ISurface::BufferHeap& buffers, argument
269 : mBufferHeap(buffers), mSupportsCopybit(false)
274 src.crop.r = buffers.w;
275 src.crop.b = buffers.h;
277 src.img.w = buffers.hor_stride ?: buffers
231 registerBuffers( const ISurface::BufferHeap& buffers) argument
330 BufferSource(LayerBuffer& layer, const ISurface::BufferHeap& buffers) argument
401 ISurface::BufferHeap buffers; local
[all...]
H A DLayer.cpp98 // we need to free the buffers associated with this surface
380 // all buffers need reallocation
413 * buffers used for software rendering, but h/w composition
416 * buffers used for h/w rendering and h/w composition
419 * buffers used with h/w rendering and either NPOT or no egl_image_ext
431 // request EGLImage for all buffers
450 // all buffers need reallocation
464 if (lcblk) { // all buffers need reallocation
512 // all buffers need reallocation
633 // signal an event if we have more buffers waitin
814 BufferData const * const buffers = mBufferData; local
823 BufferData* const buffers = mBufferData; local
834 BufferData* const buffers = mBufferData; local
843 BufferData* const buffers = mBufferData; local
[all...]
H A DLayerBase.cpp627 const ISurface::BufferHeap& buffers)
626 registerBuffers( const ISurface::BufferHeap& buffers) argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp337 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
343 GLuint *buffers = (GLuint *) 0; local
346 _env->ThrowNew(IAEClass, "buffers == null");
360 buffers = buffers_base + offset;
364 (GLuint *)buffers
374 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
380 GLuint *buffers = (GLuint *) 0; local
382 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining);
389 (GLuint *)buffers
394 releasePointer(_env, _array, buffers, JNI_FALS
417 GLuint *buffers = (GLuint *) 0; local
458 GLuint *buffers = (GLuint *) 0; local
[all...]
H A Dandroid_opengl_GLES20.cpp517 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
523 GLuint *buffers = (GLuint *) 0; local
526 _env->ThrowNew(IAEClass, "buffers == null");
540 buffers = buffers_base + offset;
544 (GLuint *)buffers
554 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
560 GLuint *buffers = (GLuint *) 0; local
562 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining);
569 (GLuint *)buffers
574 releasePointer(_env, _array, buffers, JNI_FALS
937 GLuint *buffers = (GLuint *) 0; local
978 GLuint *buffers = (GLuint *) 0; local
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp3877 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
3883 GLuint *buffers = (GLuint *) 0; local
3886 _env->ThrowNew(IAEClass, "buffers == null");
3900 buffers = buffers_base + offset;
3904 (GLuint *)buffers
3914 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
3920 GLuint *buffers = (GLuint *) 0; local
3922 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining);
3929 (GLuint *)buffers
3934 releasePointer(_env, _array, buffers, JNI_FALS
3957 GLuint *buffers = (GLuint *) 0; local
3998 GLuint *buffers = (GLuint *) 0; local
[all...]
/frameworks/base/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp295 virtual status_t registerBuffers(const BufferHeap& buffers);
316 status_t MSurface::registerBuffers(const BufferHeap& buffers) { argument
/frameworks/base/media/libstagefright/
H A DOMXCodec.cpp373 // The AVC encoder advertises the size of output buffers
411 // These output buffers contain no video data, just some
418 // These input buffers contain meta data (for instance,
1595 CODEC_LOGI("allocating %lu buffers of size %lu on %s port",
1693 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
1695 while (i < buffers->size() && (*buffers)[i].mBuffer != buffer) {
1699 CHECK(i < buffers->size());
1700 if (!(*buffers)[i].mOwnedByComponent) {
1706 BufferInfo *info = &buffers
1743 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2178 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument
2191 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2316 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2325 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2559 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2571 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
3122 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java227 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
231 int[] buffers,
235 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
239 java.nio.IntBuffer buffers
251 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
255 int[] buffers,
259 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
263 java.nio.IntBuffer buffers
229 glDeleteBuffers( int n, int[] buffers, int offset ) argument
253 glGenBuffers( int n, int[] buffers, int offset ) argument
H A DGLErrorWrapper.java991 public void glDeleteBuffers(int n, int[] buffers, int offset) { argument
993 mgl11.glDeleteBuffers(n, buffers, offset);
997 public void glDeleteBuffers(int n, IntBuffer buffers) { argument
999 mgl11.glDeleteBuffers(n, buffers);
1009 public void glGenBuffers(int n, int[] buffers, int offset) { argument
1011 mgl11.glGenBuffers(n, buffers, offset);
1015 public void glGenBuffers(int n, IntBuffer buffers) { argument
1017 mgl11.glGenBuffers(n, buffers);
H A DGLLogWrapper.java2812 public void glDeleteBuffers(int n, int[] buffers, int offset) { argument
2815 arg("buffers", buffers.toString());
2818 mgl11.glDeleteBuffers(n, buffers, offset);
2822 public void glDeleteBuffers(int n, IntBuffer buffers) { argument
2825 arg("buffers", buffers.toString());
2827 mgl11.glDeleteBuffers(n, buffers);
2831 public void glGenBuffers(int n, int[] buffers, int offset) { argument
2834 arg("buffers", buffer
2841 glGenBuffers(int n, IntBuffer buffers) argument
[all...]
H A DGLES20.java555 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
559 int[] buffers,
563 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
567 java.nio.IntBuffer buffers
738 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
742 int[] buffers,
746 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
750 java.nio.IntBuffer buffers
557 glDeleteBuffers( int n, int[] buffers, int offset ) argument
740 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java204 int[] buffers,
210 java.nio.IntBuffer buffers
222 int[] buffers,
228 java.nio.IntBuffer buffers
202 glDeleteBuffers( int n, int[] buffers, int offset ) argument
220 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1238 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
1242 int[] buffers,
1246 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
1250 java.nio.IntBuffer buffers
1262 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
1266 int[] buffers,
1270 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
1274 java.nio.IntBuffer buffers
1240 glDeleteBuffers( int n, int[] buffers, int offset ) argument
1264 glGenBuffers( int n, int[] buffers, int offset ) argument

Completed in 881 milliseconds