HomeSort by relevance Sort by last modified time
    Searched refs:GraphicBuffer (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/view/
GraphicBuffer.aidl 19 parcelable GraphicBuffer;
IAssetAtlas.aidl 19 import android.view.GraphicBuffer;
41 GraphicBuffer getBuffer();
GraphicBuffer.java 26 * Simple wrapper for the native GraphicBuffer class.
31 public class GraphicBuffer implements 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, int nativeObject) {
220 * @return True if this <code>GraphicBuffer</code> is in a destroyed state
    [all...]
  /frameworks/base/core/jni/
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);
android_view_GraphicBuffer.cpp 17 #define LOG_TAG "GraphicBuffer"
29 #include <ui/GraphicBuffer.h>
58 #define LOCK_CANVAS_USAGE GraphicBuffer::USAGE_SW_READ_OFTEN | GraphicBuffer::USAGE_SW_WRITE_OFTEN
101 GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) {
104 sp<GraphicBuffer> buffer;
108 // GraphicBuffer lifecycle
117 GB_LOGW("createGraphicBufferAlloc() failed in GraphicBuffer.create()");
122 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error));
124 GB_LOGW("createGraphicBuffer() failed in GraphicBuffer.create()")
    [all...]
  /frameworks/native/include/ui/
GraphicBuffer.h 37 // GraphicBuffer
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();
    [all...]
  /frameworks/native/libs/gui/
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));
37 status_t err = graphicBuffer->initCheck();
39 if (err != 0 || graphicBuffer->handle == 0) {
41 GraphicBuffer::dumpAllocationsToSystemLog();
45 w, h, strerror(-err), graphicBuffer->handle);
48 return graphicBuffer;
    [all...]
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();
58 result = reply.read(*graphicBuffer);
64 return graphicBuffer;
78 * GraphicBuffer until it is destroyed (that is, until
82 sp<GraphicBuffer> buffer
    [all...]
  /frameworks/base/libs/hwui/
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/native/include/gui/
GraphicBufferAlloc.h 30 class GraphicBuffer;
36 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
ConsumerBase.h 22 #include <ui/GraphicBuffer.h>
111 // initialized this will release the reference to the GraphicBuffer in that
164 const sp<GraphicBuffer> graphicBuffer,
167 // returns true iff the slot still has the graphicBuffer in it.
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)
    [all...]
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,
GLConsumer.h 27 #include <ui/GraphicBuffer.h>
166 sp<GraphicBuffer> getCurrentBuffer() const;
245 const sp<GraphicBuffer> graphicBuffer,
249 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) {
250 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
274 // createImage creates a new EGLImage from a GraphicBuffer.
276 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop)
    [all...]
CpuConsumer.h 22 #include <ui/GraphicBuffer.h>
121 sp<GraphicBuffer> mGraphicBuffer;
  /frameworks/webview/chromium/plat_support/
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;
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/
GraphicBuffer.cpp 17 #define LOG_TAG "GraphicBuffer"
26 #include <ui/GraphicBuffer.h>
37 GraphicBuffer::GraphicBuffer()
48 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h,
62 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h,
77 GraphicBuffer::GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership
    [all...]
  /frameworks/rs/
rsGrallocConsumer.h 22 #include <ui/GraphicBuffer.h>
63 sp<GraphicBuffer> mGraphicBuffer;
  /frameworks/av/include/media/stagefright/
MediaBuffer.h 29 class GraphicBuffer;
53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
72 sp<GraphicBuffer> graphicBuffer() const;
105 sp<GraphicBuffer> mGraphicBuffer;
SurfaceMediaSource.h 33 class GraphicBuffer;
150 sp<GraphicBuffer> mGraphicBuffer;
177 Vector<sp<GraphicBuffer> > mCurrentBuffers;
  /frameworks/native/services/surfaceflinger/DisplayHardware/
FramebufferSurface.h 63 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence);
75 sp<GraphicBuffer> mCurrentBuffer;
  /frameworks/native/opengl/tests/gralloc/
gralloc.cpp 25 #include <ui/GraphicBuffer.h>
49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888,
  /frameworks/native/services/surfaceflinger/
SurfaceFlingerConsumer.h 36 virtual bool reject(const sp<GraphicBuffer>& buf,
  /frameworks/av/include/media/
IHDCP.h 20 #include <ui/GraphicBuffer.h>
84 const sp<GraphicBuffer> &graphicBuffer,
  /frameworks/av/media/libmediaplayerservice/
HDCP.h 40 const sp<GraphicBuffer> &graphicBuffer,

Completed in 1978 milliseconds

1 2 3 4