Searched defs:dimX (Results 1 - 20 of 20) sorted by relevance

/frameworks/rs/driver/
H A DrsdAllocation.h56 uint32_t dimX; member in struct:DrvAllocation::LodState
H A DrsdAllocation.cpp237 drv->lod[0].dimX = type->getDimX();
240 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes();
249 uint32_t tx = drv->lod[0].dimX;
253 drv->lod[lod].dimX = tx;
382 const uint32_t dimX = newType->getDimX(); local
384 if (dimX > oldDimX) {
387 0, stride * (dimX - oldDimX));
414 RSD_CALL_GL(glReadPixels, 0, 0, drv->lod[0].dimX, drv->lod[0].dimY,
771 uint32_t w = drv->lod[lod + 1].dimX;
790 uint32_t w = drv->lod[lod + 1].dimX;
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdAllocation.h56 uint32_t dimX; member in struct:DrvAllocation::LodState
H A DrsdAllocation.cpp72 drv->lod[0].dimX = type->getDimX();
75 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes();
84 uint32_t tx = drv->lod[0].dimX;
88 drv->lod[lod].dimX = tx;
200 const uint32_t dimX = newType->getDimX(); local
202 if (dimX > oldDimX) {
205 0, stride * (dimX - oldDimX));
464 uint32_t w = drv->lod[lod + 1].dimX;
483 uint32_t w = drv->lod[lod + 1].dimX;
502 uint32_t w = drv->lod[lod + 1].dimX;
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java242 * @param dimX ignored.
244 public synchronized void resize(int dimX) { argument
H A DAllocation.java949 * @param dimX The new size of the allocation.
951 public synchronized void resize(int dimX) { argument
955 mRS.nAllocationResize1D(getID(mRS), dimX);
975 * @param dimX The new size of the allocation.
978 public void resize(int dimX, int dimY) { argument
987 mRS.nAllocationResize2D(getID(mRS), dimX, dimY);
H A DRenderScript.java430 native void rsnAllocationResize1D(int con, int id, int dimX); argument
431 synchronized void nAllocationResize1D(int id, int dimX) { argument
433 rsnAllocationResize1D(mContext, id, dimX);
435 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); argument
436 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { argument
438 rsnAllocationResize2D(mContext, id, dimX, dimY);
/frameworks/rs/
H A DrsType.h44 uint32_t dimX; member in struct:android::renderscript::Type::Hal::State
66 uint32_t getDimX() const {return mHal.state.dimX;}
106 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
107 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
110 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
114 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces);
H A DrsType.cpp66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1;
88 uint32_t tx = mHal.state.dimX;
149 mHal.state.dimX,
167 stream->addU32(mHal.state.dimX);
219 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
229 if (t->getDimX() != dimX) continue;
245 nt->mHal.state.dimX = dimX;
258 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const {
259 return getTypeRef(rsc, mElement.get(), dimX,
218 getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool dimLOD, bool dimFaces) argument
263 cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const argument
307 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces) argument
[all...]
H A Drs_hal.h62 uint32_t dimX; member in struct:android::renderscript::__anon1554
H A DrsAllocation.cpp420 void Allocation::resize1D(Context *rsc, uint32_t dimX) { argument
422 if (dimX == oldDimX) {
426 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX);
427 if (dimX < oldDimX) {
428 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX);
436 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { argument
540 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { argument
542 a->resize1D(rsc, dimX);
545 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_ argument
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocationAdapter.java242 * @param dimX ignored.
244 public synchronized void resize(int dimX) { argument
H A DRenderScript.java336 native void rsnAllocationResize1D(int con, int id, int dimX); argument
337 synchronized void nAllocationResize1D(int id, int dimX) { argument
339 rsnAllocationResize1D(mContext, id, dimX);
341 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); argument
342 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { argument
344 rsnAllocationResize2D(mContext, id, dimX, dimY);
/frameworks/support/renderscript/v8/rs_support/
H A DrsType.h44 uint32_t dimX; member in struct:android::renderscript::Type::Hal::State
66 uint32_t getDimX() const {return mHal.state.dimX;}
106 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
107 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
110 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
114 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces);
H A DrsType.cpp66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1;
88 uint32_t tx = mHal.state.dimX;
149 mHal.state.dimX,
167 stream->addU32(mHal.state.dimX);
219 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
229 if (t->getDimX() != dimX) continue;
245 nt->mHal.state.dimX = dimX;
258 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const {
259 return getTypeRef(rsc, mElement.get(), dimX,
218 getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool dimLOD, bool dimFaces) argument
263 cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const argument
307 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces) argument
[all...]
H A Drs_hal.h62 uint32_t dimX; member in struct:android::renderscript::__anon1583
H A DrsAllocation.cpp398 void Allocation::resize1D(Context *rsc, uint32_t dimX) { argument
400 if (dimX == oldDimX) {
404 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX);
405 if (dimX < oldDimX) {
406 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX);
414 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { argument
478 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { argument
480 a->resize1D(rsc, dimX);
483 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_ argument
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h209 uint32_t dimX; member in struct:Type::__anon1215::__anon1216
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp590 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument
592 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i)", con, (RsAllocation)alloc, dimX);
593 rsAllocationResize1D(con, (RsAllocation)alloc, dimX);
597 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) argument
599 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i), sizeY(%i)", con, (RsAllocation)alloc, dimX, dimY);
600 rsAllocationResize2D(con, (RsAllocation)alloc, dimX, dimY);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp766 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument
768 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i)", con, (RsAllocation)alloc, dimX);
769 rsAllocationResize1D(con, (RsAllocation)alloc, dimX);
773 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) argument
775 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i), sizeY(%i)", con, (RsAllocation)alloc, dimX, dimY);
776 rsAllocationResize2D(con, (RsAllocation)alloc, dimX, dimY);

Completed in 263 milliseconds