/frameworks/native/include/ui/ |
D | GraphicBuffer.h | 40 class GraphicBuffer 41 : public ANativeObjectBase< ANativeWindowBuffer, GraphicBuffer, RefBase >, 42 public Flattenable<GraphicBuffer> 44 friend class Flattenable<GraphicBuffer>; 70 GraphicBuffer(); 73 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage); 76 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, 80 GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership); 113 ~GraphicBuffer(); 133 friend class LightRefBase<GraphicBuffer>; [all …]
|
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 37 GraphicBuffer::GraphicBuffer() in GraphicBuffer() function in android::GraphicBuffer 48 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, in GraphicBuffer() function in android::GraphicBuffer 62 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, in GraphicBuffer() function in android::GraphicBuffer 77 GraphicBuffer::GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership) in GraphicBuffer() function in android::GraphicBuffer 90 GraphicBuffer::~GraphicBuffer() in ~GraphicBuffer() 97 void GraphicBuffer::free_handle() in free_handle() 110 status_t GraphicBuffer::initCheck() const { in initCheck() 114 void GraphicBuffer::dumpAllocationsToSystemLog() in dumpAllocationsToSystemLog() 119 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer() 122 const_cast<GraphicBuffer*>(this)); in getNativeBuffer() [all …]
|
/frameworks/webview/chromium/plat_support/ |
D | graphic_buffer_impl.cpp | 27 : mBuffer(new android::GraphicBuffer(w, h, PIXEL_FORMAT_RGBA_8888, in GraphicBufferImpl() 28 android::GraphicBuffer::USAGE_HW_TEXTURE | in GraphicBufferImpl() 29 android::GraphicBuffer::USAGE_SW_READ_OFTEN | in GraphicBufferImpl() 30 android::GraphicBuffer::USAGE_SW_WRITE_OFTEN)) { in GraphicBufferImpl() 81 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN; in Map() 84 usage = android::GraphicBuffer::USAGE_SW_WRITE_OFTEN; in Map() 87 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN | in Map() 88 android::GraphicBuffer::USAGE_SW_WRITE_OFTEN; in Map()
|
/frameworks/base/core/java/android/view/ |
D | GraphicBuffer.java | 31 public class GraphicBuffer implements Parcelable { class 79 public static GraphicBuffer create(int width, int height, int format, int usage) { in create() 82 return new GraphicBuffer(width, height, format, usage, nativeObject); in create() 90 private GraphicBuffer(int width, int height, int format, int usage, int nativeObject) { in GraphicBuffer() method in GraphicBuffer 267 public static final Parcelable.Creator<GraphicBuffer> CREATOR = 268 new Parcelable.Creator<GraphicBuffer>() { 269 public GraphicBuffer createFromParcel(Parcel in) { 276 return new GraphicBuffer(width, height, format, usage, nativeObject); 281 public GraphicBuffer[] newArray(int size) { 282 return new GraphicBuffer[size];
|
D | IAssetAtlas.aidl | 19 import android.view.GraphicBuffer; 41 GraphicBuffer getBuffer(); in getBuffer()
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 166 sp<GraphicBuffer> getCurrentBuffer() const; 245 const sp<GraphicBuffer> graphicBuffer, 249 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked() 276 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop); 310 static sp<GraphicBuffer> getDebugTexImageBuffer(); 316 static const uint32_t DEFAULT_USAGE_FLAGS = GraphicBuffer::USAGE_HW_TEXTURE; 321 sp<GraphicBuffer> mCurrentTextureBuf; 442 static sp<GraphicBuffer> sReleasedTexImageBuffer;
|
D | ConsumerBase.h | 164 const sp<GraphicBuffer> graphicBuffer, 168 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer); 176 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 178 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 185 sp<GraphicBuffer> mGraphicBuffer;
|
D | GraphicBufferAlloc.h | 30 class GraphicBuffer; variable 36 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
D | IGraphicBufferAlloc.h | 30 class GraphicBuffer; variable 39 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
D | Surface.h | 160 sp<GraphicBuffer> buffer; 251 sp<GraphicBuffer> mLockedBuffer; 252 sp<GraphicBuffer> mPostedBuffer;
|
D | IGraphicBufferConsumer.h | 34 class GraphicBuffer; variable 57 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferAlloc.cpp | 45 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, in createGraphicBuffer() 54 sp<GraphicBuffer> graphicBuffer; in createGraphicBuffer() 57 graphicBuffer = new GraphicBuffer(); in createGraphicBuffer() 82 sp<GraphicBuffer> buffer; in onTransact() 84 BufferReference(const sp<GraphicBuffer>& buffer) : buffer(buffer) { } in onTransact() 96 sp<GraphicBuffer> result = in onTransact()
|
D | GraphicBufferAlloc.cpp | 34 sp<GraphicBuffer> GraphicBufferAlloc::createGraphicBuffer(uint32_t w, uint32_t h, in createGraphicBuffer() 36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage)); in createGraphicBuffer() 41 GraphicBuffer::dumpAllocationsToSystemLog(); in createGraphicBuffer()
|
D | ConsumerBase.cpp | 198 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFence() 204 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFenceLocked() 233 int slot, const sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() 256 const sp<GraphicBuffer> graphicBuffer) { in stillTracking()
|
/frameworks/base/core/jni/ |
D | android_view_GraphicBuffer.cpp | 58 #define LOCK_CANVAS_USAGE GraphicBuffer::USAGE_SW_READ_OFTEN | GraphicBuffer::USAGE_SW_WRITE_OFTEN 101 GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) { in GraphicBufferWrapper() 104 sp<GraphicBuffer> buffer; 122 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error)); in android_view_GraphiceBuffer_create() 169 sp<GraphicBuffer> buffer(wrapper->buffer); in android_view_GraphicBuffer_lockCanvas() 250 sp<GraphicBuffer> buffer = new GraphicBuffer(); in android_view_GraphiceBuffer_read() 262 sp<GraphicBuffer> graphicBufferForJavaObject(JNIEnv* env, jobject obj) { in graphicBufferForJavaObject() 267 sp<GraphicBuffer> buffer(wrapper->buffer); in graphicBufferForJavaObject()
|
/frameworks/av/include/media/stagefright/ |
D | MediaBuffer.h | 29 class GraphicBuffer; variable 53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 72 sp<GraphicBuffer> graphicBuffer() const; 105 sp<GraphicBuffer> mGraphicBuffer;
|
D | SurfaceMediaSource.h | 33 class GraphicBuffer; variable 150 sp<GraphicBuffer> mGraphicBuffer; 177 Vector<sp<GraphicBuffer> > mCurrentBuffers;
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcColorEquiv.cpp | 125 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 126 GraphicBuffer::USAGE_SW_WRITE_RARELY; 313 sp<GraphicBuffer> refFrame; in main() 314 refFrame = new GraphicBuffer(refWidth, refHeight, in main() 327 sp<GraphicBuffer> equivFrame; in main() 328 equivFrame = new GraphicBuffer(equivWidth, equivHeight, in main()
|
D | hwcTestLib.h | 123 void hwcTestSetPixel(android::GraphicBuffer *gBuf, unsigned char *buf, 125 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color, 127 void hwcTestFillColorHBlend(android::GraphicBuffer *gBuf,
|
D | hwcStress.cpp | 193 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 194 GraphicBuffer::USAGE_SW_WRITE_RARELY; 199 static vector <vector <sp<GraphicBuffer> > > frames; 420 vector <vector <sp<GraphicBuffer> > > selectedFrames; in main() 430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() 501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() 596 frames[row][col] = new GraphicBuffer(w, h, format, texUsage); in initFrames()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.h | 63 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence); 75 sp<GraphicBuffer> mCurrentBuffer;
|
D | HWComposer.h | 48 class GraphicBuffer; variable 131 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 138 const sp<GraphicBuffer>& buf); 167 virtual void setBuffer(const sp<GraphicBuffer>& buffer) = 0; 305 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
|
/frameworks/base/services/java/com/android/server/ |
D | AssetAtlasService.java | 36 import android.view.GraphicBuffer; 99 private static final int GRAPHIC_BUFFER_USAGE = GraphicBuffer.USAGE_SW_READ_NEVER | 100 GraphicBuffer.USAGE_SW_WRITE_NEVER | GraphicBuffer.USAGE_HW_TEXTURE; 113 private GraphicBuffer mBuffer; 226 mBuffer = GraphicBuffer.create(config.width, config.height, in run() 250 private boolean renderAtlas(GraphicBuffer buffer, Atlas atlas, int packCount) { in renderAtlas() 370 private static native boolean nUploadAtlas(GraphicBuffer buffer, int bitmap); in nUploadAtlas() 378 public GraphicBuffer getBuffer() throws RemoteException { in getBuffer()
|
/frameworks/native/opengl/tests/gralloc/ |
D | gralloc.cpp | 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888, in main()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.h | 147 sp<GraphicBuffer> mGraphicBuffer; 212 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|