Lines Matching refs:state

47     ptr += xoff * alloc->mHal.state.elementSizeBytes;
126 ALOGE("alloc usage %i", alloc->mHal.state.usageFlags);
129 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT) {
145 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) {
146 if (alloc->mHal.state.hasFaces) {
152 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) {
161 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes());
164 if (alloc->mHal.state.usageFlags & ~RS_ALLOCATION_USAGE_SCRIPT) {
199 const uint32_t oldDimX = alloc->mHal.state.dimensionX;
203 uint32_t stride = alloc->mHal.state.elementSizeBytes;
233 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) {
236 if ((alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) &&
237 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) {
241 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) {
272 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes();
276 if (alloc->mHal.state.hasReferences) {
290 uint32_t eSize = alloc->mHal.state.elementSizeBytes;
298 if (alloc->mHal.state.hasReferences) {
324 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes();
334 uint32_t eSize = alloc->mHal.state.elementSizeBytes;
427 uint32_t eSize = alloc->mHal.state.elementSizeBytes;
430 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx);
431 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx);
433 if (alloc->mHal.state.hasReferences) {
447 uint32_t eSize = alloc->mHal.state.elementSizeBytes;
450 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx);
451 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx);
453 if (alloc->mHal.state.hasReferences) {