/frameworks/native/libs/gui/ |
H A D | BufferQueue.cpp | 249 ST_LOGE("requestBuffer: slot %d is not owned by the client (state=%d)", 306 const int state = mSlots[i].mBufferState; local 307 if (state == BufferSlot::DEQUEUED) { 311 if (state == BufferSlot::FREE) { 513 "(state=%d)", buf, mSlots[buf].mBufferState); 609 ST_LOGE("cancelBuffer: slot %d is not owned by the client (state=%d)", 738 const char * operator()(int state) const { 739 switch (state) { 753 "state=%-8s, crop=[%d,%d,%d,%d], " 876 // The buffer can now only be released if its in the acquired state 1047 BufferSlot::BufferState state = mSlots[i].mBufferState; local [all...] |
H A D | ISurfaceComposer.cpp | 72 const Vector<ComposerState>& state, 79 Vector<ComposerState>::const_iterator b(state.begin()); 80 Vector<ComposerState>::const_iterator e(state.end()); 81 data.writeInt32(state.size()); 250 Vector<ComposerState> state; local 251 state.setCapacity(count); 254 state.add(s); 265 setTransactionState(state, displays, flags); 71 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
|
H A D | LayerState.cpp | 55 return state.write(output); 60 return state.read(input);
|
H A D | SurfaceComposerClient.cpp | 100 if (lhs.state.surface < rhs.state.surface) return -1; 101 if (lhs.state.surface > rhs.state.surface) return 1; 226 s.state.surface = id; 235 return &(out[index].state);
|
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 165 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) argument 178 if (cmp(curr, item, state) > 0) { 202 } while (j>=0 && (cmp(curr, temp, state) > 0));
|
/frameworks/native/opengl/libagl/ |
H A D | Android.mk | 11 state.cpp \
|
H A D | array.cpp | 22 #include "state.h" 466 // state of v[2] and v[3]. 1054 if (c->rasterizer.state.texture[i].enable) 1082 uint32_t enables = c->rasterizer.state.enables; 1184 if (c->rasterizer.state.texture[i].enable) { 1207 enables = c->rasterizer.state.enables; 1370 const uint32_t enables = c->rasterizer.state.enables; 1430 const uint32_t enables = c->rasterizer.state.enables;
|
H A D | egl.cpp | 45 #include "state.h" 594 if (depth.data != gl->rasterizer.state.buffers.depth.data) 686 if (depth.data != gl->rasterizer.state.buffers.depth.data) 762 if (depth.data != gl->rasterizer.state.buffers.depth.data)
|
H A D | matrix.cpp | 23 #include "state.h" 98 const uint32_t enables = c->rasterizer.state.enables; 676 y = c->rasterizer.state.buffers.color.height - (y + h); 696 GLint H = c->rasterizer.state.buffers.color.height;
|
H A D | primitives.cpp | 214 const uint32_t enables = c->rasterizer.state.enables; 397 if (!(c->rasterizer.state.texture[i].enable)) 438 const uint32_t enables = c->rasterizer.state.enables; 462 const uint32_t enables = c->rasterizer.state.enables; 486 if (!c->rasterizer.state.texture[i].enable) 491 if (c->rasterizer.state.texture[i].s_wrap == GGL_CLAMP) { 496 if (c->rasterizer.state.texture[i].t_wrap == GGL_CLAMP) { 548 const uint32_t enables = c->rasterizer.state.enables; 618 const uint32_t enables = c->rasterizer.state.enables; 634 const uint32_t enables = c->rasterizer.state [all...] |
H A D | state.cpp | 1 /* libs/opengles/state.cpp 22 #include "state.h" 370 int index = c->rasterizer.state.buffers.color.format; 376 int index = c->rasterizer.state.buffers.color.format; 382 int index = c->rasterizer.state.buffers.color.format; 388 int index = c->rasterizer.state.buffers.color.format; 410 params[0] = c->rasterizer.state.buffers.depth.format ? 0 : 16;
|
H A D | texture.cpp | 22 #include "state.h" 104 if (c->rasterizer.state.texture[i].enable) 126 if (c->rasterizer.state.texture[i].enable) { 154 if (c->rasterizer.state.texture[i].enable) { 584 const uint32_t enables = c->rasterizer.state.enables; 696 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 703 if (!c->rasterizer.state.texture[i].enable) 740 const uint32_t enables = c->rasterizer.state.enables; 775 if (ggl_likely(c->rasterizer.state.enabled_tmu == 1)) { 800 const GGLSurface& cbSurface = c->rasterizer.state [all...] |
H A D | vertex.cpp | 23 #include "state.h" 137 perspective(c, v, c->rasterizer.state.enables);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 190 disp.state = egl_display_t::INITIALIZED; 286 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) { 292 disp.state = egl_display_t::TERMINATED; 412 // we don't want to get into a state where we can't wake up. 414 "Invalid hibernation state, unable to awaken\n");
|
H A D | egl_display.h | 114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { } 116 EGLint state; member in struct:android::egl_display_t::DisplayImpl 151 // EGLDisplay is entering or leaving a long-term idle state.
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 132 GLTraceContext::GLTraceContext(int id, int version, GLTraceState *state, argument 136 mState(state),
|
H A D | gltrace_context.h | 54 GLTraceState *mState; /* parent GL Trace state (for per process GL Trace State Info) */ 69 GLTraceContext(int id, int version, GLTraceState *state, BufferedOutputStream *stream); 86 /** Per process trace state. */
|
H A D | gltrace_eglapi.cpp | 44 GLTraceState *state = (GLTraceState *)arg; local 45 TCPStream *stream = state->getStream(); 94 state->setCollectFbOnEglSwap(collectFbOnEglSwap); 95 state->setCollectFbOnGlDraw(collectFbOnGlDraw); 96 state->setCollectTextureDataOnGlTexImage(collectTextureData); 121 // initialize tracing state 133 // update trace state for new EGL context 142 // setup per context state
|
/frameworks/native/services/surfaceflinger/ |
H A D | Barrier.h | 29 inline Barrier() : state(CLOSED) { } 33 state = OPENED; 38 state = CLOSED; 42 while (state == CLOSED) { 50 volatile int state; member in class:android::Barrier
|
H A D | SurfaceFlinger.cpp | 524 // initialize our drawing state 1098 // (ie: in drawing state but not in current state) 1104 // in drawing state but not in current state 1119 const DisplayDeviceState& state(curr[j]); 1121 if (state.surface->asBinder() != draw[i].surface->asBinder()) { 1124 // from the drawing state, so that it get re-added 1135 if (state.layerStack != draw[i].layerStack) { 1136 disp->setLayerStack(state 1675 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument [all...] |
H A D | SurfaceFlinger.h | 194 virtual void setTransactionState(const Vector<ComposerState>& state,
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_allocation.c | 9 return alloc->mHal.state.dimensionX; 15 return alloc->mHal.state.dimensionY; 21 return alloc->mHal.state.dimensionZ; 27 return alloc->mHal.state.hasMipmaps; 33 return alloc->mHal.state.hasFaces; 40 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; 48 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; 57 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; 59 const uint32_t dimY = alloc->mHal.state.dimensionY; 70 Type_t *type = (Type_t *)alloc->mHal.state [all...] |
H A D | rs_element.c | 14 return element->mHal.state.fieldsCount; 20 if (element == NULL || index >= element->mHal.state.fieldsCount) { 24 rs_element returnElem = {element->mHal.state.fields[index]}; 31 if (element == NULL || index >= element->mHal.state.fieldsCount) { 34 return element->mHal.state.fieldNameLengths[index]; 40 if (element == NULL || index >= element->mHal.state.fieldsCount || 45 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index]; 52 const char *nameSource = element->mHal.state.fieldNames[index]; 62 if (element == NULL || index >= element->mHal.state.fieldsCount) { 65 return element->mHal.state [all...] |
H A D | rs_mesh.c | 14 return mesh->mHal.state.vertexBuffersCount; 23 return mesh->mHal.state.primitivesCount; 29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) { 33 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]}; 40 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 44 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; 51 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 54 return mesh->mHal.state.primitives[index];
|
H A D | rs_program.c | 14 return prog->mHal.state.depthFunc; 23 return prog->mHal.state.depthWriteEnable; 32 return prog->mHal.state.colorRWriteEnable; 41 return prog->mHal.state.colorGWriteEnable; 50 return prog->mHal.state.colorBWriteEnable; 59 return prog->mHal.state.colorAWriteEnable; 68 return prog->mHal.state.blendSrc; 77 return prog->mHal.state.blendDst; 86 return prog->mHal.state.ditherEnable; 98 return prog->mHal.state [all...] |