Home
last modified time | relevance | path

Searched refs:kRenderSize (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DProcessorTest.cpp541 static constexpr int kRenderSize = 256; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
544 {kRenderSize, kRenderSize}, SkSurfaceProps()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
551 std::vector<GrColor> inputPixels1 = make_input_pixels(kRenderSize, kRenderSize, 0.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
553 make_input_pixels(kRenderSize, kRenderSize, 1 * kInputDelta); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
555 make_input_pixels(kRenderSize, kRenderSize, 2 * kInputDelta); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
557 make_input_texture(context, kRenderSize, kRenderSize, inputPixels1.data()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
559 make_input_texture(context, kRenderSize, kRenderSize, inputPixels2.data()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
561 make_input_texture(context, kRenderSize, kRenderSize, inputPixels3.data()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
570 std::vector<GrColor> readData1(kRenderSize * kRenderSize); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
571 std::vector<GrColor> readData2(kRenderSize * kRenderSize); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/external/skqp/tests/
DProcessorTest.cpp441 static constexpr int kRenderSize = 256; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
443 format, SkBackingFit::kExact, kRenderSize, kRenderSize, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
458 auto inputTexture1 = make_input_texture(proxyProvider, kRenderSize, kRenderSize, 0.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
459 auto inputTexture2 = make_input_texture(proxyProvider, kRenderSize, kRenderSize, kInputDelta); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
460 auto inputTexture3 = make_input_texture(proxyProvider, kRenderSize, kRenderSize, 2*kInputDelta); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
469 std::unique_ptr<GrColor[]> readData1(new GrColor[kRenderSize * kRenderSize]); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
470 std::unique_ptr<GrColor[]> readData2(new GrColor[kRenderSize * kRenderSize]); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
471 std::unique_ptr<GrColor[]> readData3(new GrColor[kRenderSize * kRenderSize]); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
523 static constexpr int kMaxAcceptableFailedPixels = 2 * kRenderSize; // ~0.7% of the image in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
532 for (int y = 0; y < kRenderSize; ++y) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/external/angle/src/tests/gl_tests/
DStateChangeTest.cpp2139 constexpr size_t kRenderSize = kWindowSize * kWindowSize; in TEST_P() local
2140 std::array<GLColor, kRenderSize> pixelBufs[kRepeat]; in TEST_P()
2164 std::array<GLColor, kRenderSize> pixelAllBlack{0}; in TEST_P()