/frameworks/base/core/java/android/view/ |
H A D | GraphicBuffer.aidl | 19 parcelable GraphicBuffer;
|
H A D | IAssetAtlas.aidl | 19 import android.view.GraphicBuffer; 41 GraphicBuffer getBuffer();
|
H A D | GraphicBuffer.java | 26 * Simple wrapper for the native GraphicBuffer class. 31 public class GraphicBuffer implements Parcelable { class in inherits:Parcelable 32 // Note: keep usage flags in sync with GraphicBuffer.h and gralloc.h 65 // If set to true, this GraphicBuffer instance cannot be used anymore 69 * Creates new <code>GraphicBuffer</code> instance. This method will return null 77 * @return A <code>GraphicBuffer</code> instance or null 79 public static GraphicBuffer create(int width, int height, int format, int usage) { 82 return new GraphicBuffer(width, height, format, usage, nativeObject); 90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { method in class:GraphicBuffer 220 * @return True if this <code>GraphicBuffer</cod [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.h | 17 #include <ui/GraphicBuffer.h> 24 // object must be an instance of android.view.GraphicBuffer 25 extern sp<GraphicBuffer> graphicBufferForJavaObject(JNIEnv* env, jobject obj);
|
/frameworks/native/libs/gui/ |
H A D | GraphicBufferAlloc.cpp | 20 #include <ui/GraphicBuffer.h> 34 sp<GraphicBuffer> GraphicBufferAlloc::createGraphicBuffer(uint32_t w, uint32_t h, 36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage)); 41 GraphicBuffer::dumpAllocationsToSystemLog();
|
H A D | IGraphicBufferAlloc.cpp | 25 #include <ui/GraphicBuffer.h> 45 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, 54 sp<GraphicBuffer> graphicBuffer; 57 graphicBuffer = new GraphicBuffer(); 78 * GraphicBuffer until it is destroyed (that is, until 82 sp<GraphicBuffer> buffer; 84 BufferReference(const sp<GraphicBuffer>& buffer) : buffer(buffer) { } 96 sp<GraphicBuffer> result = 102 // buffer stays alive until the GraphicBuffer object on
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 37 // GraphicBuffer 40 class GraphicBuffer class in namespace:android 41 : public ANativeObjectBase< ANativeWindowBuffer, GraphicBuffer, RefBase >, 42 public Flattenable<GraphicBuffer> 44 friend class Flattenable<GraphicBuffer>; 72 GraphicBuffer(); 75 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage); 78 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, 82 GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership); 121 ~GraphicBuffer(); [all...] |
/frameworks/base/libs/hwui/ |
H A D | Image.h | 26 #include <ui/GraphicBuffer.h> 32 * A simple wrapper that creates an EGLImage and a texture for a GraphicBuffer. 41 Image(sp<GraphicBuffer> buffer);
|
/frameworks/webview/chromium/plat_support/ |
H A D | graphic_buffer_impl.cpp | 17 // Provides the implementation of the GraphicBuffer interface in 27 : mBuffer(new android::GraphicBuffer(w, h, PIXEL_FORMAT_RGBA_8888, 28 android::GraphicBuffer::USAGE_HW_TEXTURE | 29 android::GraphicBuffer::USAGE_SW_READ_OFTEN | 30 android::GraphicBuffer::USAGE_SW_WRITE_OFTEN)) { 81 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN; 84 usage = android::GraphicBuffer::USAGE_SW_WRITE_OFTEN; 87 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN | 88 android::GraphicBuffer::USAGE_SW_WRITE_OFTEN;
|
H A D | graphic_buffer_impl.h | 17 // Provides the implementation of the GraphicBuffer interface in 23 #include <ui/GraphicBuffer.h> 48 sp<android::GraphicBuffer> mBuffer;
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 17 #define LOG_TAG "GraphicBuffer" 26 #include <ui/GraphicBuffer.h> 44 GraphicBuffer::GraphicBuffer() function in class:android::GraphicBuffer 56 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, function in class:android::GraphicBuffer 70 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, function in class:android::GraphicBuffer 85 GraphicBuffer::GraphicBuffer(ANativeWindowBuffe function in class:android::GraphicBuffer [all...] |
/frameworks/native/include/gui/ |
H A D | ConsumerBase.h | 22 #include <ui/GraphicBuffer.h> 114 // initialized this will release the reference to the GraphicBuffer in that 167 const sp<GraphicBuffer> graphicBuffer, 171 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer); 179 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 181 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 188 sp<GraphicBuffer> mGraphicBuffer;
|
H A D | GraphicBufferAlloc.h | 30 class GraphicBuffer; 36 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
H A D | GLConsumer.h | 27 #include <ui/GraphicBuffer.h> 170 sp<GraphicBuffer> getCurrentBuffer() const; 249 const sp<GraphicBuffer> graphicBuffer, 253 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { 286 EglImage(sp<GraphicBuffer> graphicBuffer); 298 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer; } 308 // createImage creates a new EGLImage from a GraphicBuffer. 310 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop); 317 sp<GraphicBuffer> mGraphicBuffer; 331 // initialized this will release the reference to the GraphicBuffer i [all...] |
H A D | BufferSlot.h | 21 #include <ui/GraphicBuffer.h> 47 sp<GraphicBuffer> mGraphicBuffer;
|
H A D | IGraphicBufferAlloc.h | 30 class GraphicBuffer; 37 /* Create a new GraphicBuffer for the client to use. 39 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
H A D | StreamSplitter.h | 30 class GraphicBuffer; 131 BufferTracker(const sp<GraphicBuffer>& buffer); 133 const sp<GraphicBuffer>& getBuffer() const { return mBuffer; } 151 sp<GraphicBuffer> mBuffer; // One instance that holds this native handle 176 // Map of GraphicBuffer IDs (GraphicBuffer::getId()) to buffer tracking
|
H A D | BufferQueueProducer.h | 35 // requestBuffer returns the GraphicBuffer for slot N. 40 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 89 // producer must discard cached GraphicBuffer references for the slot 92 // must discard cached GraphicBuffer references for all slots. 95 // GraphicBuffer handle for the returned slot. 103 virtual status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, 107 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
|
/frameworks/rs/ |
H A D | rsGrallocConsumer.h | 22 #include <ui/GraphicBuffer.h> 63 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaBuffer.h | 31 class GraphicBuffer; 55 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 74 sp<GraphicBuffer> graphicBuffer() const; 107 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.h | 21 #include <ui/GraphicBuffer.h> 56 void setTextureAtlas(const sp<GraphicBuffer>& buffer, int64_t* map, size_t mapSize); 81 sp<GraphicBuffer> mAtlasBuffer;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO_test.cpp | 40 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 64 buf = new GraphicBuffer(anb, false);
|
H A D | BufferQueue_test.cpp | 23 #include <ui/GraphicBuffer.h> 115 sp<GraphicBuffer> buffer; 122 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, 135 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, 152 sp<GraphicBuffer> buf; 223 sp<GraphicBuffer> buffer; 232 sp<GraphicBuffer> safeToClobberBuffer; 237 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, 255 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, 271 sp<GraphicBuffer> buffe [all...] |
/frameworks/native/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 25 #include <ui/GraphicBuffer.h> 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888,
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.h | 37 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 42 virtual status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, 45 const sp<GraphicBuffer>& buffer);
|