/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glBindVertexBuffer.cpp | 1 /* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */ 4 (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) { 13 (GLsizei)stride 3 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
|
H A D | common.cpp | 23 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 25 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 28 GLsizei stride, const GLvoid *pointer, GLsizei count); 30 GLsizei stride, const GLvoid *pointer, GLsizei count); 32 GLsizei stride, const GLvoid *pointer, GLsizei count); 34 GLsizei stride, const GLvoid *pointer, GLsizei count); 36 GLsizei stride, const GLvoid *pointer, GLsizei count); 40 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 46 GLsizei stride, cons 39 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 45 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/native/include/android/ |
H A D | native_window.h | 47 int32_t stride; member in struct:ANativeWindow_Buffer
|
H A D | bitmap.h | 46 uint32_t stride; member in struct:__anon1165
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 13 uint32_t stride = 1025; local 18 printf("stride must be greater than or equal to 1024\n"); 21 stride = (uint32_t) tempStride; 40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t)); 48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems); 52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t)); 56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); 60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct + (i * numElems)) * 2) { 61 printf("Mismatch at location %d, %d: %u\n", i, ct, *(buf+(stride*i)+ct)); 67 printf("Test successful with %u stride!\ [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | FillBuffer.cpp | 25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument 29 int yuvTexStrideY = stride; 54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, argument 57 int yuvTexStrideY = stride; 78 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) { 82 off_t offset = (y * stride + x) * PIXEL_SIZE;
|
H A D | SurfaceTextureFBO.h | 59 void fillRGBA8BufferSolid(uint8_t* buf, int w, int h, int stride, argument 64 off_t offset = (y * stride + x) * PIXEL_SIZE;
|
H A D | SurfaceTextureGL_test.cpp | 229 int stride = buf->getStride(); local 230 int yuvTexStrideY = stride; 246 img[y*stride + x] = value; 266 img[y*stride + x] = value;
|
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 41 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 44 GLsizei stride, const GLvoid *pointer, GLsizei count); 46 GLsizei stride, const GLvoid *pointer, GLsizei count); 48 GLsizei stride, const GLvoid *pointer, GLsizei count); 50 GLsizei stride, const GLvoid *pointer, GLsizei count); 52 GLsizei stride, const GLvoid *pointer, GLsizei count); 55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument 57 glColorPointer(size, type, stride, ptr); 59 void glNormalPointerBounds(GLenum type, GLsizei stride, argument 63 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 67 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 72 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdVertexArray.h | 40 uint32_t stride; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
|
H A D | rsdMeshObj.cpp | 102 uint32_t stride = elem->mHal.state.elementSizeBytes; local 114 mAttribs[userNum].stride = stride;
|
H A D | rsdVertexArray.cpp | 48 stride = 0; 54 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument 62 this->stride = stride; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%p", 77 mAttribs[idx].stride, 114 mAttribs[ct].stride,
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1.java | 91 * pixel (x,y) is at pIn + pixelSize * x + stride * y; 98 int pixelSize, int stride, Buffer out); 104 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 110 int width, int height, int pixelSize, int stride); 97 encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out) argument 109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
|
H A D | ETC1Util.java | 84 int stride = pixelSize * width; 85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height) 87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); 189 * @param stride the width of a line of the image in bytes 192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ argument 196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
|
/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 51 uint32_t stride; member in struct:android::CpuConsumer::LockedBuffer 59 // contains the Y channel, and stride is the Y channel stride. For other
|
/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 34 int32_t stride; member in struct:egl_native_pixmap_t
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 94 int usage, buffer_handle_t* handle, int32_t* stride) 105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); 122 rec.s = *stride; 125 rec.size = h * stride[0] * bpp; 93 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
|
H A D | FramebufferNativeWindow.cpp | 80 int stride; local 127 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.h | 36 * VertexArray handles the stride automatically. 43 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) { } argument 76 // return stride in bytes 79 // return stride in floats
|
/frameworks/native/opengl/libagl/ |
H A D | mipmap.cpp | 52 int stride = w; local 53 int bs = base->stride; 74 dst[x + y*stride] = rgb; 94 dst[x + y*stride] = (r<<11)|(g<<6)|(b<<1)|a; 121 dst[x + y*stride] = rgba; 140 stride *= skip; 149 dst[x + y*stride + c] = (p00 + p10 + p01 + p11) >> 2; 172 dst[x + y*stride] = rgba;
|
/frameworks/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 146 double signalEnergy(T *start, T *end, unsigned stride) argument 150 for (T *p = start; p < end; p += stride) { 153 unsigned count = (end - start + stride - 1) / stride;
|
/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 349 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, argument 351 const bool useStride = stride != width && Extensions::getInstance().hasUnpackRowLength(); 352 if ((stride == width) || useStride) { 354 glPixelStorei(GL_UNPACK_ROW_LENGTH, stride); 368 // if the stride doesn't match the width 378 pSrc += stride * bpp;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 248 // offset and stride to select the correct data portion. 253 // stride: The delta of one element to the next in bytes. 262 int stride, 277 int stride, 414 int stride; member in struct:android::filterfw::ShaderProgram::VertexAttrib
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 128 int stride, 135 int stride, 142 int stride, 149 int stride, 125 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 132 glMatrixIndexPointerOES( int size, int type, int stride, int offset ) argument 139 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 146 glWeightPointerOES( int size, int type, int stride, int offset ) argument
|
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 172 void * Allocation::getPointer(size_t *stride) { argument 186 RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, 0, 0, stride); 281 const void *data, size_t stride) { 285 w * h * mType->getElement()->getSizeBytes(), stride)); 288 void Allocation::copy2DStridedFrom(const void* data, size_t stride) { argument 289 copy2DStridedFrom(0, 0, mCurrentDimX, mCurrentDimY, data, stride); 293 void *data, size_t stride) { 297 w * h * mType->getElement()->getSizeBytes(), stride)); 300 void Allocation::copy2DStridedTo(void* data, size_t stride) { argument 301 copy2DStridedTo(0, 0, mCurrentDimX, mCurrentDimY, data, stride); 280 copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data, size_t stride) argument 292 copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, void *data, size_t stride) argument [all...] |