Searched refs:state (Results 51 - 75 of 527) sorted by last modified time

1234567891011>>

/frameworks/rs/
H A DrsAllocation.h70 State state; member in struct:android::renderscript::Allocation::Hal
86 const Type * getType() const {return mHal.state.type;}
121 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0;
124 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) != 0;
127 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) != 0;
130 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) != 0;
139 return mHal.state.mipmapControl != RS_ALLOCATION_MIPMAP_NONE;
153 mHal.state.type = t;
H A DrsContext.cpp538 for (uint32_t i = 0; i < mFBOCache.mHal.state.colorTargetsCount; i ++) {
539 if (mFBOCache.mHal.state.colorTargets[i] != NULL) {
540 return mFBOCache.mHal.state.colorTargets[i]->getType()->getDimX();
543 if (mFBOCache.mHal.state.depthTarget != NULL) {
544 return mFBOCache.mHal.state.depthTarget->getType()->getDimX();
550 for (uint32_t i = 0; i < mFBOCache.mHal.state.colorTargetsCount; i ++) {
551 if (mFBOCache.mHal.state.colorTargets[i] != NULL) {
552 return mFBOCache.mHal.state.colorTargets[i]->getType()->getDimY();
555 if (mFBOCache.mHal.state.depthTarget != NULL) {
556 return mFBOCache.mHal.state
[all...]
H A DrsElement.cpp52 delete [] mHal.state.fields;
53 delete [] mHal.state.fieldArraySizes;
54 delete [] mHal.state.fieldNames;
55 delete [] mHal.state.fieldNameLengths;
56 delete [] mHal.state.fieldOffsetBytes;
167 mHal.state.dataType = mComponent.getType();
168 mHal.state.dataKind = mComponent.getKind();
169 mHal.state.vectorSize = mComponent.getVectorSize();
176 mHal.state.elementSizeBytes = getSizeBytes();
187 mHal.state
[all...]
H A DrsElement.h56 State state; member in struct:android::renderscript::Element::Hal
H A DrsFBOCache.cpp28 mHal.state.colorTargetsCount = 1;
29 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount];
30 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount];
35 delete[] mHal.state.colorTargets;
48 if (slot >= mHal.state.colorTargetsCount) {
53 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) {
59 mHal.state.colorTargets[slot] = a;
71 mHal.state.depthTarget = a;
76 for (uint32_t i = 0; i < mHal.state
[all...]
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
H A DrsFont.cpp92 FontState *state = &mRSC->mStateFont; local
105 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2,
119 FontState *state = &mRSC->mStateFont; local
120 uint32_t cacheWidth = state->getCacheTextureType()->getDimX();
121 const uint8_t* cacheBuffer = state->mCacheBuffer;
256 // Let the font state figure out where to put the bitmap
257 FontState *state = &mRSC->mStateFont; local
258 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY);
272 uint32_t cacheWidth = state->getCacheTextureType()->getDimX();
273 uint32_t cacheHeight = state
[all...]
H A DrsMesh.cpp26 mHal.state.primitives = NULL;
27 mHal.state.primitivesCount = 0;
28 mHal.state.indexBuffers = NULL;
29 mHal.state.indexBuffersCount = 0;
30 mHal.state.vertexBuffers = NULL;
31 mHal.state.vertexBuffersCount = 0;
42 mHal.state.primitivesCount = primitivesCount;
43 mHal.state.indexBuffersCount = primitivesCount;
44 mHal.state.primitives = new RsPrimitive[mHal.state
[all...]
H A DrsMesh.h54 State state; member in struct:android::renderscript::Mesh::Hal
69 mHal.state.vertexBuffers[index] = vb;
74 mHal.state.indexBuffers[index] = idx;
75 mHal.state.primitives[index] = prim;
H A DrsPath.cpp32 mHal.state.quality = quality;
33 mHal.state.primitive = pp;
H A DrsPath.h36 State state; member in struct:android::renderscript::Path::__anon1552
H A DrsProgram.cpp30 mHal.state.inputElementsCount++;
33 mHal.state.constantsCount++;
36 mHal.state.texturesCount++;
40 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount];
41 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount];
42 mInputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount];
43 mConstantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount];
44 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount];
46 mHal.state.textures = new Allocation*[mHal.state
[all...]
H A DrsProgram.h57 State state; member in struct:android::renderscript::Program::Hal
H A DrsProgramFragment.cpp47 if (mHal.state.constants[0] == NULL) {
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { argument
63 if ((state->mLast.get() == this) && !mDirty) {
66 state->mLast.set(this);
68 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) {
69 if (!mHal.state.textures[ct]) {
H A DrsProgramRaster.cpp28 mHal.state.pointSprite = pointSprite;
29 mHal.state.cull = cull;
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { argument
47 if (state->mLast.get() == this && !mDirty) {
50 state->mLast.set(this);
85 if (existing->mHal.state.pointSprite != pointSprite) continue;
86 if (existing->mHal.state.cull != cull) continue;
H A DrsProgramRaster.h44 State state; member in struct:android::renderscript::ProgramRaster::Hal
H A DrsProgramStore.cpp31 mHal.state.ditherEnable = ditherEnable;
33 mHal.state.colorRWriteEnable = colorMaskR;
34 mHal.state.colorGWriteEnable = colorMaskG;
35 mHal.state.colorBWriteEnable = colorMaskB;
36 mHal.state.colorAWriteEnable = colorMaskA;
37 mHal.state.blendSrc = srcFunc;
38 mHal.state.blendDst = destFunc;
40 mHal.state.depthWriteEnable = depthMask;
41 mHal.state.depthFunc = depthFunc;
57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { argument
[all...]
H A DrsProgramStore.h56 State state; member in struct:android::renderscript::ProgramStore::Hal
H A DrsProgramVertex.cpp38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument
39 if ((state->mLast.get() == this) && !mDirty) {
44 if (mHal.state.constants[0] == NULL) {
50 rsc, mHal.state.constants[0]));
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 state->mLast.set(this);
73 if (mHal.state.constants[0] == NULL) {
79 rsc, mHal.state.constants[0]));
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
91 if (mHal.state
[all...]
H A DrsProgramVertex.h35 virtual void setup(Context *rsc, ProgramVertexState *state);
H A DrsSampler.cpp37 mHal.state.magFilter = magFilter;
38 mHal.state.minFilter = minFilter;
39 mHal.state.wrapS = wrapS;
40 mHal.state.wrapT = wrapT;
41 mHal.state.wrapR = wrapR;
42 mHal.state.aniso = aniso;
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state
[all...]
H A DrsSampler.h50 State state; member in struct:android::renderscript::Sampler::Hal
H A DrsType.cpp41 if (mHal.state.lodCount) {
42 delete [] mHal.state.lodDimX;
43 delete [] mHal.state.lodDimY;
44 delete [] mHal.state.lodDimZ;
45 delete [] mHal.state.lodOffset;
59 rsAssert(mHal.state.faces);
64 uint32_t oldLODCount = mHal.state.lodCount;
66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1;
67 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1;
68 uint32_t l2z = rsFindHighBit(mHal.state
[all...]
H A DrsType.h54 State state; member in struct:android::renderscript::Type::Hal
66 uint32_t getDimX() const {return mHal.state.dimX;}
67 uint32_t getDimY() const {return mHal.state.dimY;}
68 uint32_t getDimZ() const {return mHal.state.dimZ;}
70 bool getDimFaces() const {return mHal.state.faces;}
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
81 rsAssert(lod < mHal.state
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java371 int state = STATE_GROUP_OR_PROPERTY_NAME;
378 switch (state) {
397 state = STATE_PARAMS; // Start parameter parsing.
408 state = STATE_PARAMS_IN_DQUOTE;
425 state = STATE_PARAMS;
658 // breaks this parser's state machine.

Completed in 143 milliseconds

1234567891011>>