Lines Matching defs:GLConsumer

17 #define LOG_TAG "GLConsumer"
32 #include <gui/GLConsumer.h>
49 // Macros for including the GLConsumer name in log messages
92 Mutex GLConsumer::sStaticInitLock;
93 sp<GraphicBuffer> GLConsumer::sReleasedTexImageBuffer;
119 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex,
138 ST_LOGV("GLConsumer");
146 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t texTarget,
165 ST_LOGV("GLConsumer");
173 status_t GLConsumer::setDefaultMaxBufferCount(int bufferCount) {
179 status_t GLConsumer::setDefaultBufferSize(uint32_t w, uint32_t h)
187 status_t GLConsumer::updateTexImage() {
193 ST_LOGE("updateTexImage: GLConsumer is abandoned!");
235 status_t GLConsumer::releaseTexImage() {
241 ST_LOGE("releaseTexImage: GLConsumer is abandoned!");
257 // Update the GLConsumer state.
309 sp<GraphicBuffer> GLConsumer::getDebugTexImageBuffer() {
334 status_t GLConsumer::acquireBufferLocked(BufferQueue::BufferItem *item,
352 status_t GLConsumer::releaseBufferLocked(int buf,
365 status_t GLConsumer::updateAndReleaseLocked(const BufferQueue::BufferItem& item)
372 ST_LOGE("updateAndRelease: GLConsumer is not attached to an OpenGL "
431 // Update the GLConsumer state.
446 status_t GLConsumer::bindTextureImageLocked() {
498 status_t GLConsumer::checkAndUpdateEglStateLocked(bool contextCheck) {
528 void GLConsumer::setReleaseFence(const sp<Fence>& fence) {
540 status_t GLConsumer::detachFromContext() {
546 ST_LOGE("detachFromContext: abandoned GLConsumer");
551 ST_LOGE("detachFromContext: GLConsumer is not attached to a "
585 status_t GLConsumer::attachToContext(uint32_t tex) {
591 ST_LOGE("attachToContext: abandoned GLConsumer");
596 ST_LOGE("attachToContext: GLConsumer is already attached to a "
638 status_t GLConsumer::syncForReleaseLocked(EGLDisplay dpy) {
702 bool GLConsumer::isExternalFormat(uint32_t format)
721 uint32_t GLConsumer::getCurrentTextureTarget() const {
725 void GLConsumer::getTransformMatrix(float mtx[16]) {
730 void GLConsumer::setFilteringEnabled(bool enabled) {
733 ST_LOGE("setFilteringEnabled: GLConsumer is abandoned!");
748 void GLConsumer::computeCurrentTransformMatrixLocked() {
846 // coordinate of 0, so GLConsumer must behave the same way. We don't
852 nsecs_t GLConsumer::getTimestamp() {
858 nsecs_t GLConsumer::getFrameNumber() {
864 sp<GraphicBuffer> GLConsumer::getCurrentBuffer() const {
870 Rect GLConsumer::getCurrentCrop() const {
906 uint32_t GLConsumer::getCurrentTransform() const {
911 uint32_t GLConsumer::getCurrentScalingMode() const {
916 sp<Fence> GLConsumer::getCurrentFence() const {
921 status_t GLConsumer::doGLFenceWait() const {
926 status_t GLConsumer::doGLFenceWaitLocked() const {
975 "GLConsumer::doGLFenceWaitLocked");
986 void GLConsumer::freeBufferLocked(int slotIndex) {
995 void GLConsumer::abandonLocked() {
1001 void GLConsumer::setName(const String8& name) {
1007 status_t GLConsumer::setDefaultBufferFormat(uint32_t defaultFormat) {
1012 status_t GLConsumer::setConsumerUsageBits(uint32_t usage) {
1018 status_t GLConsumer::setTransformHint(uint32_t hint) {
1023 void GLConsumer::dumpLocked(String8& result, const char* prefix) const
1057 GLConsumer::EglImage::EglImage(sp<GraphicBuffer> graphicBuffer) :
1063 GLConsumer::EglImage::~EglImage() {
1072 status_t GLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay,
1109 void GLConsumer::EglImage::bindToTextureTarget(uint32_t texTarget) {
1113 EGLImageKHR GLConsumer::EglImage::createImage(EGLDisplay dpy,