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

1 2 3 4 5 6 7 8

  /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, long 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);
  /hardware/intel/img/hwcomposer/merrifield/common/buffers/
GraphicBuffer.cpp 17 #include <GraphicBuffer.h>
22 GraphicBuffer::GraphicBuffer(buffer_handle_t handle)
28 void GraphicBuffer::resetBuffer(buffer_handle_t handle)
34 bool GraphicBuffer::isProtectedUsage(uint32_t usage)
43 bool GraphicBuffer::isProtectedBuffer(GraphicBuffer *buffer)
52 bool GraphicBuffer::isCompressionUsage(uint32_t usage)
61 bool GraphicBuffer::isCompressionBuffer(GraphicBuffer *buffer
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
GraphicBuffer.cpp 17 #include <GraphicBuffer.h>
22 GraphicBuffer::GraphicBuffer(uint32_t handle)
28 void GraphicBuffer::resetBuffer(uint32_t handle)
34 bool GraphicBuffer::isProtectedUsage(uint32_t usage)
43 bool GraphicBuffer::isProtectedBuffer(GraphicBuffer *buffer)
52 bool GraphicBuffer::isCompressionUsage(uint32_t usage)
61 bool GraphicBuffer::isCompressionBuffer(GraphicBuffer *buffer
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
GrallocBufferBase.h 19 #include <GraphicBuffer.h>
24 class GrallocBufferBase : public GraphicBuffer {
  /hardware/intel/img/hwcomposer/merrifield/include/
GraphicBuffer.h 25 class GraphicBuffer : public DataBuffer {
32 GraphicBuffer(buffer_handle_t handle);
33 virtual ~GraphicBuffer() {}
41 static bool isProtectedBuffer(GraphicBuffer *buffer);
44 static bool isCompressionBuffer(GraphicBuffer *buffer);
  /hardware/intel/img/hwcomposer/moorefield_hdmi/include/
GraphicBuffer.h 25 class GraphicBuffer : public DataBuffer {
32 GraphicBuffer(uint32_t handle);
33 virtual ~GraphicBuffer() {}
41 static bool isProtectedBuffer(GraphicBuffer *buffer);
44 static bool isCompressionBuffer(GraphicBuffer *buffer);
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
GrallocBufferBase.h 19 #include <GraphicBuffer.h>
28 class GrallocBufferBase : public GraphicBuffer {
  /frameworks/native/libs/gui/
GraphicBufferAlloc.cpp 20 #include <ui/GraphicBuffer.h>
34 sp<GraphicBuffer> GraphicBufferAlloc::createGraphicBuffer(uint32_t width,
37 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(
39 status_t err = graphicBuffer->initCheck();
41 if (err != 0 || graphicBuffer->handle == 0) {
43 GraphicBuffer::dumpAllocationsToSystemLog();
47 width, height, strerror(-err), graphicBuffer->handle);
50 return graphicBuffer;
    [all...]
IGraphicBufferAlloc.cpp 25 #include <ui/GraphicBuffer.h>
47 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t width,
63 sp<GraphicBuffer> graphicBuffer;
66 graphicBuffer = new GraphicBuffer();
67 result = reply.read(*graphicBuffer);
69 graphicBuffer.clear();
76 return graphicBuffer;
93 // BufferReference just keeps a strong reference to a GraphicBuffer until i
    [all...]
  /external/drm_hwcomposer/
glworker.h 30 #include <ui/GraphicBuffer.h>
46 size_t num_regions, const sp<GraphicBuffer> &framebuffer);
54 sp<GraphicBuffer> strong_framebuffer;
55 wp<GraphicBuffer> weak_framebuffer;
60 CachedFramebuffer(const sp<GraphicBuffer> &gb, AutoEGLDisplayImage &&image,
67 const sp<GraphicBuffer> &framebuffer);
69 const sp<GraphicBuffer> &framebuffer);
drmframebuffer.h 24 #include <ui/GraphicBuffer.h>
41 sp<GraphicBuffer> buffer() {
68 buffer_ = new GraphicBuffer(w, h, PIXEL_FORMAT_RGBA_8888,
102 sp<GraphicBuffer> buffer_;
  /frameworks/native/include/ui/
GraphicBuffer.h 38 // GraphicBuffer
41 class GraphicBuffer
42 : public ANativeObjectBase< ANativeWindowBuffer, GraphicBuffer, RefBase >,
43 public Flattenable<GraphicBuffer>
45 friend class Flattenable<GraphicBuffer>;
73 GraphicBuffer();
76 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
80 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
85 GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership);
137 ~GraphicBuffer();
    [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 width,
GLConsumer.h 27 #include <ui/GraphicBuffer.h>
138 const sp<GraphicBuffer>& buf, const Rect& cropRect,
171 sp<GraphicBuffer> getCurrentBuffer() const;
252 const sp<GraphicBuffer> graphicBuffer,
256 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) {
257 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
264 graphicBuffer(), display(nullptr), fence(nullptr) {}
268 sp<GraphicBuffer> graphicBuffer
    [all...]
IGraphicBufferAlloc.h 24 #include <ui/GraphicBuffer.h>
38 /* Create a new GraphicBuffer for the client to use.
40 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
44 sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
  /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;
  /external/deqp/framework/platform/android/
tcuAndroidInternals.hpp 37 class GraphicBuffer;
96 // ui/GraphicBuffer.h
100 typedef status_t (*initCheckFunc) (android::GraphicBuffer* buffer);
101 typedef status_t (*lockFunc) (android::GraphicBuffer* buffer, deUint32 usage, void** vaddr);
102 typedef status_t (*unlockFunc) (android::GraphicBuffer* buffer);
103 typedef ANativeWindowBuffer* (*getNativeBufferFunc) (const android::GraphicBuffer* buffer);
125 GraphicBufferFunctions graphicBuffer;
133 GraphicBufferFunctions graphicBuffer;
144 class GraphicBuffer
147 // ui/GraphicBuffer.h, hardware/gralloc.
    [all...]
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 17 #define LOG_TAG "GraphicBuffer"
26 #include <ui/GraphicBuffer.h>
44 GraphicBuffer::GraphicBuffer()
56 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight,
71 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight,
86 GraphicBuffer::GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership
    [all...]
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3OutputStreamInterface.h 61 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) = 0;
  /frameworks/native/services/surfaceflinger/DisplayHardware/
FramebufferSurface.h 71 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence,
74 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence);
87 sp<GraphicBuffer> mCurrentBuffer;
99 sp<GraphicBuffer> mPreviousBuffer;

Completed in 362 milliseconds

1 2 3 4 5 6 7 8