OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gBuf
(Results
1 - 3
of
3
) sorted by null
/frameworks/native/opengl/tests/hwc/
hwcTestLib.cpp
604
void hwcTestSetPixel(GraphicBuffer *
gBuf
, unsigned char *buf,
621
if (
gBuf
->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) {
623
uint32_t yPlaneStride =
gBuf
->getStride();
624
uint32_t uPlaneStride = ((
gBuf
->getStride() / 2) + 0xf) & ~0xf;
627
vPlaneOffset = yPlaneOffset + yPlaneStride *
gBuf
->getHeight();
629
+ vPlaneStride * (
gBuf
->getHeight() / 2);
642
if (attrib->format ==
gBuf
->getPixelFormat()) { break; }
646
gBuf
->getPixelFormat());
650
memmove(buf + ((
gBuf
->getStride() * attrib->bytes) * y)
655
void hwcTestFillColor(GraphicBuffer *
gBuf
, ColorFract color, float alpha
[
all
...]
hwcTestLib.h
125
void hwcTestSetPixel(android::GraphicBuffer *
gBuf
, unsigned char *buf,
127
void hwcTestFillColor(android::GraphicBuffer *
gBuf
, ColorFract color,
129
void hwcTestFillColorHBlend(android::GraphicBuffer *
gBuf
,
hwcStress.cpp
430
sp<GraphicBuffer>
gBuf
= selectedFrames[n1][idx];
432
layer->handle =
gBuf
->handle;
441
layer->sourceCrop.left = testRandMod(
gBuf
->getWidth());
442
layer->sourceCrop.top = testRandMod(
gBuf
->getHeight());
444
+ testRandMod(
gBuf
->getWidth() - layer->sourceCrop.left) + 1;
446
+ testRandMod(
gBuf
->getHeight() - layer->sourceCrop.top) + 1;
501
sp<GraphicBuffer>
gBuf
= selectedFrames[n1][idx];
503
layer->handle = (native_handle_t *)
gBuf
->handle;
Completed in 50 milliseconds