Home
last modified time | relevance | path

Searched refs:workSize (Results 1 – 8 of 8) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DPerturbFilter.java57 public FloatBuffer filter(float sx, float sy, float base, FloatBuffer data, int workSize) { in filter() argument
59 int origSize = (int) Math.ceil(workSize / (2 * this.magnitude + 1)); in filter()
60 int offset = (workSize - origSize) / 2; in filter()
62 …"Found origSize : " + origSize + " and offset: " + offset + " for workSize : " + workSize + " and … in filter()
64 float[] retval = new float[workSize * workSize]; in filter()
65 …float[] perturbx = new FractalSum().setOctaves(8).setScale(5f).getBuffer(sx, sy, base, workSize).a… in filter()
66 …rturby = new FractalSum().setOctaves(8).setScale(5f).getBuffer(sx, sy, base + 1, workSize).array(); in filter()
67 for (int y = 0; y < workSize; y++) { in filter()
68 for (int x = 0; x < workSize; x++) { in filter()
70 float noisex = perturbx[y * workSize + x]; in filter()
[all …]
DHydraulicErodeFilter.java80 public FloatBuffer filter(float sx, float sy, float base, FloatBuffer buffer, int workSize) { in filter() argument
85 float[] wt = new float[workSize * workSize]; in filter()
86 float[] st = new float[workSize * workSize]; in filter()
88 int[] idxrel = { -workSize - 1, -workSize + 1, workSize - 1, workSize + 1 }; in filter()
91 for (int y = 0; y < workSize; y++) { in filter()
92 for (int x = 0; x < workSize; x++) { in filter()
93 int idx = y * workSize + x; in filter()
113 if (idx + idxrel[j] > 0 && idx + idxrel[j] < workSize) { in filter()
DThermalErodeFilter.java55 public FloatBuffer filter(float sx, float sy, float base, FloatBuffer buffer, int workSize) { in filter() argument
57 float[] sa = new float[workSize * workSize]; in filter()
59 int[] idxrel = { -workSize - 1, -workSize + 1, workSize - 1, workSize + 1 }; in filter()
61 for (int y = 0; y < workSize; y++) { in filter()
62 for (int x = 0; x < workSize; x++) { in filter()
63 int idx = y * workSize + x; in filter()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
DFilteredBasis.java96 int workSize = size + 2 * margin; in getBuffer() local
97 FloatBuffer retval = this.basis.getBuffer(sx - margin, sy - margin, base, workSize); in getBuffer()
98 return this.clip(this.doFilter(sx, sy, base, retval, workSize), workSize, size, margin); in getBuffer()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp118 …e, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize) in UBOToSSBOInvertCase() argument
122 , m_workSize (workSize) in UBOToSSBOInvertCase()
238 …e, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize) in CopyInvertSSBOCase() argument
242 , m_workSize (workSize) in CopyInvertSSBOCase()
359 … description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& workSize) in InvertSSBOInPlaceCase() argument
364 , m_workSize (workSize) in InvertSSBOInPlaceCase()
461 … description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& workSize) in WriteToMultipleSSBOCase() argument
466 , m_workSize (workSize) in WriteToMultipleSSBOCase()
587 …const char* name, const char* description, const tcu::IVec3& localSize, const tcu::IVec3& workSize) in SSBOLocalBarrierCase() argument
590 , m_workSize (workSize) in SSBOLocalBarrierCase()
[all …]
Des31fSynchronizationTests.cpp2128 …omicCase (Context& context, const char* name, const char* description, int numCalls, int workSize);
2145 …tomicCase (Context& context, const char* name, const char* description, int numCalls, int workSize) in SSBOConcurrentAtomicCase() argument
2148 , m_workSize (workSize) in SSBOConcurrentAtomicCase()
2361 …terCase (Context& context, const char* name, const char* description, int numCalls, int workSize);
2379 …unterCase (Context& context, const char* name, const char* description, int numCalls, int workSize) in ConcurrentAtomicCounterCase() argument
2382 , m_workSize (workSize) in ConcurrentAtomicCounterCase()
2580 …omicCase (Context& context, const char* name, const char* description, int numCalls, int workSize);
2603 …tomicCase (Context& context, const char* name, const char* description, int numCalls, int workSize) in ConcurrentImageAtomicCase() argument
2606 , m_workSize (workSize) in ConcurrentImageAtomicCase()
2949 …ixedCase (Context& context, const char* name, const char* description, int numCalls, int workSize);
[all …]
/external/skia/tools/skpdiff/
DSkDifferentPixelsMetric_opencl.cpp88 const size_t workSize[] = { baseline->width(), baseline->height() }; in diff() local
90 enqueueErr = clEnqueueNDRangeKernel(fCommandQueue, fKernel, 2, NULL, workSize, in diff()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp604 static float dummyCalculation (float initial, int workSize) in dummyCalculation() argument
609 for (int ndx = 0; ndx < workSize; ++ndx) in dummyCalculation()
623 int workSize = 500; in busyWait() local
631 dummy = dummyCalculation(dummy, workSize); in busyWait()
638 workSize *= 2; in busyWait()
643 dummy = dummyCalculation(dummy, workSize); in busyWait()