Home
last modified time | relevance | path

Searched refs:gBuf (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp604 void hwcTestSetPixel(GraphicBuffer *gBuf, unsigned char *buf, in hwcTestSetPixel() argument
619 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) { in hwcTestSetPixel()
621 uint32_t yPlaneStride = gBuf->getStride(); in hwcTestSetPixel()
622 uint32_t uPlaneStride = ((gBuf->getStride() / 2) + 0xf) & ~0xf; in hwcTestSetPixel()
625 vPlaneOffset = yPlaneOffset + yPlaneStride * gBuf->getHeight(); in hwcTestSetPixel()
627 + vPlaneStride * (gBuf->getHeight() / 2); in hwcTestSetPixel()
640 if (attrib->format == gBuf->getPixelFormat()) { break; } in hwcTestSetPixel()
644 gBuf->getPixelFormat()); in hwcTestSetPixel()
648 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) in hwcTestSetPixel()
653 void hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) in hwcTestFillColor() argument
[all …]
DhwcStress.cpp430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() local
432 layer->handle = gBuf->handle; in main()
441 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); in main()
442 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); in main()
444 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1; in main()
446 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; in main()
501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() local
503 layer->handle = (native_handle_t *) gBuf->handle; in main()
DhwcTestLib.h122 void hwcTestSetPixel(android::GraphicBuffer *gBuf, unsigned char *buf,
124 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color,
126 void hwcTestFillColorHBlend(android::GraphicBuffer *gBuf,
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
Dlaunchtest.rs21 rs_allocation gBuf;
25 rsSetElementAt_uchar(gBuf, 1, i, x);
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp945 sp<GraphicBuffer> gBuf = layer.source.buffer.buffer; in drawLayers() local
946 bindExternalTextureBufferLocked(layer.source.buffer.textureName, gBuf, in drawLayers()
956 texture.setDimensions(gBuf->getWidth(), gBuf->getHeight()); in drawLayers()