HomeSort by relevance Sort by last modified time
    Searched refs:GraphicBuffer (Results 26 - 50 of 279) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/native/libs/ui/
GraphicBuffer.cpp 17 #define LOG_TAG "GraphicBuffer"
19 #include <ui/GraphicBuffer.h>
43 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) {
44 return static_cast<GraphicBuffer *>(anwb);
47 GraphicBuffer::GraphicBuffer()
62 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight,
64 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName
    [all...]
  /frameworks/base/graphics/java/android/graphics/
GraphicBuffer.java 23 * Simple wrapper for the native GraphicBuffer class.
28 public class GraphicBuffer implements Parcelable {
29 // Note: keep usage flags in sync with GraphicBuffer.h and gralloc.h
62 // If set to true, this GraphicBuffer instance cannot be used anymore
66 * Creates new <code>GraphicBuffer</code> instance. This method will return null
74 * @return A <code>GraphicBuffer</code> instance or null
76 public static GraphicBuffer create(int width, int height, int format, int usage) {
79 return new GraphicBuffer(width, height, format, usage, nativeObject);
87 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) {
99 public static GraphicBuffer createFromExisting(int width, int height
    [all...]
  /frameworks/native/services/surfaceflinger/tests/hwc2/
Hwc2TestPixelComparator.h 19 #include <ui/GraphicBuffer.h>
33 void CompareBuffers(android::sp<android::GraphicBuffer>& resultBuffer,
34 android::sp<android::GraphicBuffer>& expectedBuffer);
  /frameworks/base/core/java/android/view/
IRecentsAnimationController.aidl 21 import android.graphics.GraphicBuffer;
  /frameworks/base/native/webview/plat_support/
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/services/surfaceflinger/DisplayHardware/
HWComposerBufferCache.cpp 29 const sp<GraphicBuffer>& buffer,
30 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer)
  /frameworks/native/services/surfaceflinger/
LayerProtoHelper.h 19 #include <ui/GraphicBuffer.h>
36 static void writeToProto(const sp<GraphicBuffer>& buffer, ActiveBufferProto* activeBufferProto);
BufferLayerConsumer.h 25 #include <ui/GraphicBuffer.h>
63 virtual bool reject(const sp<GraphicBuffer>& buf, const BufferItem& item) = 0;
157 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
197 PendingRelease() : isPending(false), currentTexture(-1), graphicBuffer() {}
201 sp<GraphicBuffer> graphicBuffer;
226 Image(sp<GraphicBuffer> graphicBuffer, RE::RenderEngine& engine);
235 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer;
    [all...]
  /external/drm_hwcomposer/
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/base/core/jni/
android_hardware_HardwareBuffer.cpp 33 #include <ui/GraphicBuffer.h>
62 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer)
65 sp<GraphicBuffer> buffer;
85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers,
111 static inline GraphicBuffer* GraphicBufferWrapper_to_GraphicBuffer(
118 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject);
124 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject);
130 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject);
137 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject)
    [all...]
  /frameworks/base/libs/hwui/pipeline/skia/
SkiaVulkanReadback.h 35 virtual CopyResult copyGraphicBufferInto(GraphicBuffer* graphicBuffer,
  /frameworks/native/libs/ui/tests/
GraphicBuffer_test.cpp 20 #include <ui/GraphicBuffer.h>
32 constexpr uint64_t kTestUsage = GraphicBuffer::USAGE_SW_WRITE_OFTEN;
39 sp<GraphicBuffer> buffer(
40 new GraphicBuffer(kTestWidth, kTestHeight, kTestFormat, kTestLayerCount, kTestUsage));
42 // Currently a newly allocated GraphicBuffer is in legacy mode, i.e. not associated with
  /frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
MockGraphicBufferProducer.h 33 MOCK_METHOD2(requestBuffer, status_t(int, sp<GraphicBuffer>*));
40 MOCK_METHOD2(detachNextBuffer, status_t(sp<GraphicBuffer>*, sp<Fence>*));
41 MOCK_METHOD2(attachBuffer, status_t(int*, const sp<GraphicBuffer>&));
55 MOCK_METHOD3(getLastQueuedBuffer, status_t(sp<GraphicBuffer>*, sp<Fence>*, float[16]));
  /hardware/qcom/display/msm8909/gpu_tonemapper/
EGLImageWrapper.cpp 23 #include <ui/GraphicBuffer.h>
115 int flags = android::GraphicBuffer::USAGE_HW_TEXTURE |
116 android::GraphicBuffer::USAGE_SW_READ_NEVER |
117 android::GraphicBuffer::USAGE_SW_WRITE_NEVER;
120 flags |= android::GraphicBuffer::USAGE_PROTECTED;
123 android::sp<android::GraphicBuffer> graphicBuffer =
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format,
131 result = new EGLImageBuffer(graphicBuffer);
  /hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
EGLImageWrapper.cpp 23 #include <ui/GraphicBuffer.h>
115 int flags = android::GraphicBuffer::USAGE_HW_TEXTURE |
116 android::GraphicBuffer::USAGE_SW_READ_NEVER |
117 android::GraphicBuffer::USAGE_SW_WRITE_NEVER;
120 flags |= android::GraphicBuffer::USAGE_PROTECTED;
123 android::sp<android::GraphicBuffer> graphicBuffer =
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format,
131 result = new EGLImageBuffer(graphicBuffer);
  /hardware/qcom/display/msm8998/gpu_tonemapper/
EGLImageWrapper.cpp 23 #include <ui/GraphicBuffer.h>
115 int flags = android::GraphicBuffer::USAGE_HW_TEXTURE |
116 android::GraphicBuffer::USAGE_SW_READ_NEVER |
117 android::GraphicBuffer::USAGE_SW_WRITE_NEVER;
120 flags |= android::GraphicBuffer::USAGE_PROTECTED;
123 android::sp<android::GraphicBuffer> graphicBuffer =
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format,
131 result = new EGLImageBuffer(graphicBuffer);
  /frameworks/base/libs/hwui/tests/common/scenes/
HwBitmapInCompositeShader.cpp 36 uint32_t usage = GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_SW_READ_NEVER |
39 sp<GraphicBuffer> buffer = new GraphicBuffer(400, 200, PIXEL_FORMAT_RGBA_8888, usage);
42 buffer->lock(GraphicBuffer::USAGE_SW_WRITE_RARELY, ((void**)&pixels));
  /external/deqp/modules/egl/
teglAndroidUtil.cpp 62 using tcu::Android::internal::GraphicBuffer;
84 GraphicBuffer& getGraphicBuffer (void) { return m_graphicBuffer; }
87 GraphicBuffer m_graphicBuffer;
93 GraphicBuffer::USAGE_SW_READ_OFTEN |
94 GraphicBuffer::USAGE_SW_WRITE_RARELY |
95 GraphicBuffer::USAGE_HW_TEXTURE |
96 GraphicBuffer::USAGE_HW_RENDER)
142 GraphicBuffer& graphicBuffer = buffer->getGraphicBuffer();
153 checkStatus(graphicBuffer.lock(GraphicBuffer::USAGE_SW_WRITE_RARELY, &bufferData))
    [all...]
  /frameworks/native/libs/gui/include/gui/
ConsumerBase.h 36 class GraphicBuffer;
148 // initialized this will release the reference to the GraphicBuffer in that
201 const sp<GraphicBuffer> graphicBuffer,
204 // returns true iff the slot still has the graphicBuffer in it.
205 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer);
213 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
215 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence)
    [all...]
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
  /packages/services/Car/evs/app/
RenderPixelCopy.cpp 65 sp<android::GraphicBuffer> tgt = new android::GraphicBuffer(
66 tgtBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE,
85 sp<android::GraphicBuffer> src = new android::GraphicBuffer(
86 srcBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE,
  /frameworks/av/media/libstagefright/filters/
GraphicBufferListener.h 45 sp<GraphicBuffer> getBuffer(BufferItem item);
65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
  /frameworks/av/media/libstagefright/include/media/stagefright/
FrameRenderTracker.h 27 #include <ui/GraphicBuffer.h>
60 RenderedFrameInfo(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer,
65 mGraphicBuffer(graphicBuffer),
82 sp<GraphicBuffer> mGraphicBuffer;
98 // called when |graphicBuffer| corresponding to |mediaTimeUs| is
101 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence);
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3BufferManager.h 22 #include <ui/GraphicBuffer.h>
125 status_t getBufferForStream(int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd);
202 sp<GraphicBuffer> graphicBuffer;
204 explicit GraphicBufferEntry(const sp<GraphicBuffer>& gb = 0, int fd = -1) :
205 graphicBuffer(gb),
  /frameworks/base/core/jni/android/graphics/
GraphicBuffer.cpp 17 #define LOG_TAG "GraphicBuffer"
24 #include "GraphicBuffer.h"
33 #include <ui/GraphicBuffer.h>
54 #define LOCK_CANVAS_USAGE (GraphicBuffer::USAGE_SW_READ_OFTEN | GraphicBuffer::USAGE_SW_WRITE_OFTEN)
95 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) {
96 LOG_ALWAYS_FATAL_IF(buffer == nullptr, "creating a null GraphicBuffer");
98 const sp<GraphicBuffer>& get() const {
104 sp<GraphicBuffer> const buffer;
108 // GraphicBuffer lifecycl
    [all...]

Completed in 1592 milliseconds

12 3 4 5 6 7 8 91011>>