/frameworks/rs/ |
rsFileA3D.h | 35 FileA3D(Context *rsc); 70 void appendToFile(Context *rsc, ObjectBase *obj); 75 virtual void serialize(Context *rsc, OStream *stream) const {
|
rsMesh.h | 62 virtual void serialize(Context *rsc, OStream *stream) const; 64 static Mesh *createFromStream(Context *rsc, IStream *stream); 86 void computeBBox(Context *rsc);
|
rsElement.cpp | 24 Element::Element(Context *rsc) : ObjectBase(rsc) { 107 void Element::serialize(Context *rsc, OStream *stream) const { 119 mFields[ct].e->serialize(rsc, stream); 123 Element *Element::createFromStream(Context *rsc, IStream *stream) { 138 return (Element *)Element::create(rsc, 154 subElems[ct] = Element::createFromStream(rsc, stream); 157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, 230 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, 235 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) [all...] |
rsType.cpp | 30 Type::Type(Context *rsc) : ObjectBase(rsc) { 164 void Type::serialize(Context *rsc, OStream *stream) const { 169 mElement->serialize(rsc, stream); 179 Type *Type::createFromStream(Context *rsc, IStream *stream) { 189 Element *elem = Element::createFromStream(rsc, stream); 201 Type *type = Type::getType(rsc, elem, &p, sizeof(p)); 225 ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e, 229 TypeState * stc = &rsc->mStateType; 252 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0) [all...] |
rsFont.h | 69 virtual void serialize(Context *rsc, OStream *stream) const { 75 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 119 Font(Context *rsc); 143 void init(Context *rsc); 144 void deinit(Context *rsc);
|
rsClosure.h | 42 virtual void serialize(Context *rsc, OStream *stream) const {}
|
rsFont.cpp | 36 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { 296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 298 rsc->mStateFont.checkInit(); 299 Vector<Font*> &activeFonts = rsc->mStateFont.mActiveFonts; 308 Font *newFont = new Font(rsc); 312 rsc->mStateFont.precacheLatin(newFont); 398 void FontState::init(Context *rsc) { 399 mRSC = rsc; 813 void FontState::deinit(Context *rsc) { [all...] |
rsContext.h | 65 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \ 71 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \ 385 void LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr);
|
/frameworks/rs/driver/ |
rsdShaderCache.cpp | 41 void RsdShaderCache::updateUniformArrayData(const Context *rsc, 60 if (rsc->props.mLogShaders) { 93 bool RsdShaderCache::setup(const Context *rsc) { 98 if (!link(rsc)) { 103 mFragment->setup(rsc, this); 107 mVertex->setup(rsc, this); 114 bool RsdShaderCache::link(const Context *rsc) { 119 uint32_t vID = vtx->getStateBasedShaderID(rsc); 120 uint32_t fID = frag->getStateBasedShaderID(rsc); 134 rsdGLCheckError(rsc, "RsdShaderCache::link (hit)") [all...] |
rsdMeshObj.cpp | 32 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) { 71 bool RsdMeshObj::init(const Context *rsc) { 73 updateGLPrimitives(rsc); 128 void RsdMeshObj::renderPrimitiveRange(const Context *rsc, uint32_t primIndex, 131 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid mesh or parameters"); 139 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT); 159 va.setup(rsc); 165 rsdAllocationSyncAll(rsc, idxAlloc, RS_ALLOCATION_USAGE_SCRIPT); 181 rsdGLCheckError(rsc, "Mesh::renderPrimitiveRange"); 184 void RsdMeshObj::updateGLPrimitives(const Context *rsc) { [all...] |
rsdAllocation.cpp | 103 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, 122 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { 133 rsdGLCheckError(rsc, "Upload2DTexture 1 "); 160 rsdGLCheckError(rsc, "Upload2DTexture"); 164 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { 190 Upload2DTexture(rsc, alloc, isFirstUpload); 198 rsdGLCheckError(rsc, "UploadToTexture"); 202 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { 216 rsc->dumpDebug(); 223 rsdGLCheckError(rsc, "AllocateRenderTarget") [all...] |
rsdProgramStore.cpp | 40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { 114 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend src mode."); 144 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend dst mode."); 156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { 171 if (rsc->mUserSurfaceConfig.depthMin > 0) { 185 if (rsc->mUserSurfaceConfig.stencilMin > 0) { 199 void rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) {
|
rsdShader.h | 91 void setupUserConstants(const android::renderscript::Context *rsc, 96 void setupTextures(const android::renderscript::Context *rsc, RsdShaderCache *sc); 97 void setupSampler(const android::renderscript::Context *rsc, 127 void setUniform(const android::renderscript::Context *rsc,
|
rsdBcc.cpp | 38 bool rsdScriptInit(const Context *rsc, 45 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 57 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, 59 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 69 void rsdScriptInvokeForEach(const Context *rsc, 79 rsdScriptInvokeForEachMulti(rsc, s, slot, nullptr, 0, aout, usr, usrLen, 84 rsdScriptInvokeForEachMulti(rsc, s, slot, ains, 1, aout, usr, usrLen, 89 void rsdScriptInvokeForEachMulti(const Context *rsc, 181 void rsdScriptUpdateCachedObject(const Context *rsc,
|
rsdBcc.h | 26 bool rsdInitIntrinsic(const android::renderscript::Context *rsc, 37 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc, 46 void rsdScriptInvokeReduce(const android::renderscript::Context *rsc, 54 void rsdScriptInvokeForEachMulti(const android::renderscript::Context *rsc, 109 void rsdScriptUpdateCachedObject(const android::renderscript::Context *rsc,
|
rsdShader.cpp | 102 uint32_t RsdShader::getStateBasedShaderID(const Context *rsc) { 113 loadShader(rsc); 230 bool RsdShader::loadShader(const Context *rsc) { 238 if (rsc->props.mLogShaders) { 257 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 267 if (rsc->props.mLogShaders) { 357 void RsdShader::setUniform(const Context *rsc, const Element *field, const float *fd, 386 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { 387 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 412 rsc->setError(RS_ERROR_BAD_VALUE, "Allocation not compatible with sampler") [all...] |
rsdShaderCache.h | 55 bool setup(const android::renderscript::Context *rsc); 69 bool link(const android::renderscript::Context *rsc); 152 void updateUniformArrayData(const android::renderscript::Context *rsc,
|
rsdVertexArray.h | 52 void setup(const android::renderscript::Context *rsc) const;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropView.java | 98 Resources rsc = context.getResources(); local 99 mShadow = (NinePatchDrawable) rsc.getDrawable(R.drawable.geometry_shadow); 100 mCropIndicator = rsc.getDrawable(R.drawable.camera_crop); 101 mIndicatorSize = (int) rsc.getDimension(R.dimen.crop_indicator_size); 102 mShadowMargin = (int) rsc.getDimension(R.dimen.shadow_margin); 103 mMargin = (int) rsc.getDimension(R.dimen.preview_margin); 104 mMinSideSize = (int) rsc.getDimension(R.dimen.crop_min_side); 105 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); 106 mOverlayShadowColor = (int) rsc.getColor(R.color.crop_shadow_color); 107 mOverlayWPShadowColor = (int) rsc.getColor(R.color.crop_shadow_wp_color) [all...] |
/development/build/ |
build_android_stubs.mk | 75 rm -rf $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.tmp 81 mkdir -p $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.tmp 82 $(hide) unzip -qo $(PRIVATE_FRAMEWORK_RES_PACKAGE) -d $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.tmp 85 $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.java-source-list 89 --import-resource $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.tmp \ 91 @$(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.java-source-list \ 92 || ( rm -f $@ ; $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.tmp ; exit 41 ) 93 $(hide) rm -rf $(PRIVATE_INTERMEDIATES_DIR)/jack-rsc.tmp
|
/build/core/ |
host_dalvik_static_java_library.mk | 43 PRIVATE_JACK_INTERMEDIATES_DIR := $(intermediates.COMMON)/jack-rsc
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
tcompat.s | 40 rsc r0,r1
|
/external/libunwind/src/ia64/ |
getcontext.S | 55 mov.m rRSC = ar.rsc // M2, 12 cyc. 110 mov.m ar.rsc = rTMP // put RSE into lazy mode // M2, ? cycles 164 mov.m ar.rsc = rRSC // restore RSE mode // M2
|
Ginstall_cursor.S | 64 mov.m r10 = ar.rsc // (ar.rsc: ~ 12 cycle latency) 142 and r11 = 0x1c, r10 // clear all but rsc.be and rsc.pl 242 mov.m ar.rsc = r11 // put RSE into enforced lazy mode 262 mov.m ar.rsc = r11 // 14 cycles latency to loadrs 289 mov.m ar.rsc = r10 // restore original ar.rsc 299 .next: mov.m ar.rsc = r10 // restore original ar.rsc [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCrop.java | 81 Resources rsc = context.getResources(); local 82 mCropIndicator = rsc.getDrawable(R.drawable.camera_crop); 83 mIndicatorSize = (int) rsc.getDimension(R.dimen.crop_indicator_size); 84 mMinSideSize = (int) rsc.getDimension(R.dimen.crop_min_side); 85 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance);
|