Lines Matching refs: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 status_t GLConsumer::setDefaultMaxBufferCount(int bufferCount) {
152 status_t GLConsumer::setDefaultBufferSize(uint32_t w, uint32_t h)
160 status_t GLConsumer::updateTexImage() {
166 ST_LOGE("updateTexImage: GLConsumer is abandoned!");
208 status_t GLConsumer::releaseTexImage() {
214 ST_LOGE("releaseTexImage: GLConsumer is abandoned!");
230 // Update the GLConsumer state.
276 sp<GraphicBuffer> GLConsumer::getDebugTexImageBuffer() {
301 status_t GLConsumer::acquireBufferLocked(BufferQueue::BufferItem *item,
336 status_t GLConsumer::releaseBufferLocked(int buf,
349 status_t GLConsumer::updateAndReleaseLocked(const BufferQueue::BufferItem& item)
354 ST_LOGE("updateAndRelease: GLConsumer is not attached to an OpenGL "
416 // Update the GLConsumer state.
431 status_t GLConsumer::bindTextureImageLocked() {
469 status_t GLConsumer::checkAndUpdateEglStateLocked(bool contextCheck) {
499 void GLConsumer
511 status_t GLConsumer::detachFromContext() {
517 ST_LOGE("detachFromContext: abandoned GLConsumer");
522 ST_LOGE("detachFromContext: GLConsumer is not attached to a "
551 // GLConsumer gets attached to a new OpenGL ES context (and thus gets a
568 status_t GLConsumer::attachToContext(uint32_t tex) {
574 ST_LOGE("attachToContext: abandoned GLConsumer");
579 ST_LOGE("attachToContext: GLConsumer is already attached to a "
603 // the GLConsumer was detached from the old context, so we need to
619 status_t GLConsumer::bindUnslottedBufferLocked(EGLDisplay dpy) {
652 status_t GLConsumer::syncForReleaseLocked(EGLDisplay dpy) {
716 bool GLConsumer::isExternalFormat(uint32_t format)
735 uint32_t GLConsumer::getCurrentTextureTarget() const {
739 void GLConsumer::getTransformMatrix(float mtx[16]) {
744 void GLConsumer::setFilteringEnabled(bool enabled) {
747 ST_LOGE("setFilteringEnabled: GLConsumer is abandoned!");
762 void GLConsumer::computeCurrentTransformMatrixLocked() {
859 // coordinate of 0, so GLConsumer must behave the same way. We don't
865 nsecs_t GLConsumer::getTimestamp() {
871 nsecs_t GLConsumer::getFrameNumber() {
877 EGLImageKHR GLConsumer::createImage(EGLDisplay dpy,
907 sp<GraphicBuffer> GLConsumer::getCurrentBuffer() const {
912 Rect GLConsumer::getCurrentCrop() const {
948 uint32_t GLConsumer::getCurrentTransform() const {
953 uint32_t GLConsumer::getCurrentScalingMode() const {
958 sp<Fence> GLConsumer::getCurrentFence() const {
963 status_t GLConsumer::doGLFenceWait() const {
968 status_t GLConsumer::doGLFenceWaitLocked() const {
1017 "GLConsumer::doGLFenceWaitLocked");
1028 void GLConsumer::freeBufferLocked(int slotIndex) {
1042 void GLConsumer::abandonLocked() {
1048 void GLConsumer::setName(const String8& name) {
1054 status_t GLConsumer::setDefaultBufferFormat(uint32_t defaultFormat) {
1059 status_t GLConsumer::setConsumerUsageBits(uint32_t usage) {
1065 status_t GLConsumer::setTransformHint(uint32_t hint) {
1070 void GLConsumer::dumpLocked(String8& result, const char* prefix) const