Home
last modified time | relevance | path

Searched refs:kBufferWidth (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DTransferPixelsTest.cpp73 const int kBufferWidth = GrBackendApi::kOpenGL == context->backend() ? 16 : 20; in basic_transfer_test() local
75 const int kBufferWidth = 20; in basic_transfer_test() local
78 size_t rowBytes = kBufferWidth * sizeof(GrColor); in basic_transfer_test()
79 SkAutoTMalloc<GrColor> srcBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
80 SkAutoTMalloc<GrColor> dstBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
82 fill_transfer_data(0, 0, kTextureWidth, kTextureHeight, kBufferWidth, srcBuffer.get()); in basic_transfer_test()
139 kBufferWidth, in basic_transfer_test()
157 fill_transfer_data(kLeft, kTop, kWidth, kHeight, kBufferWidth, srcBuffer.get()); in basic_transfer_test()
162 size_t offset = sizeof(GrColor) * (kTop * kBufferWidth + kLeft); in basic_transfer_test()
175 kBufferWidth, in basic_transfer_test()
/external/skia/tests/
DTransferPixelsTest.cpp73 const int kBufferWidth = GrBackendApi::kOpenGL == context->backend() ? 16 : 20; in basic_transfer_test() local
75 const int kBufferWidth = 20; in basic_transfer_test() local
78 size_t rowBytes = kBufferWidth * sizeof(GrColor); in basic_transfer_test()
79 SkAutoTMalloc<GrColor> srcBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
80 SkAutoTMalloc<GrColor> dstBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
82 fill_transfer_data(0, 0, kTextureWidth, kTextureHeight, kBufferWidth, srcBuffer.get()); in basic_transfer_test()
136 kBufferWidth, in basic_transfer_test()
154 fill_transfer_data(kLeft, kTop, kWidth, kHeight, kBufferWidth, srcBuffer.get()); in basic_transfer_test()
159 size_t offset = sizeof(GrColor) * (kTop * kBufferWidth + kLeft); in basic_transfer_test()
172 kBufferWidth, in basic_transfer_test()