Home
last modified time | relevance | path

Searched refs:kOffset (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DPrimitiveTopologyTests.cpp106 constexpr static unsigned int kOffset = kRTSize / 8; variable
109 { kRTSize * 1 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
110 { kRTSize * 1 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
111 { kRTSize * 2 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
112 { kRTSize * 2 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
113 { kRTSize * 3 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
114 { kRTSize * 3 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
DBufferZeroInitTests.cpp723 constexpr uint64_t kOffset = 8u; in TEST_P() local
725 EXPECT_LAZY_CLEAR(1u, MapAsyncAndWait(buffer, kMapMode, kOffset, kSize)); in TEST_P()
728 static_cast<const uint32_t*>(buffer.GetConstMappedRange(kOffset)); in TEST_P()
769 constexpr uint64_t kOffset = 8u; in TEST_P() local
771 EXPECT_LAZY_CLEAR(1u, MapAsyncAndWait(buffer, kMapMode, kOffset, kSize)); in TEST_P()
889 constexpr uint64_t kOffset = 0; in TEST_P() local
890 const uint32_t totalBufferSize = requiredBufferSizeForCopy + kOffset; in TEST_P()
893 buffer, kOffset, kTextureBytesPerRowAlignment, kTextureSize.height); in TEST_P()
907 constexpr uint64_t kOffset = 8u; in TEST_P() local
908 const uint32_t totalBufferSize = requiredBufferSizeForCopy + kOffset; in TEST_P()
[all …]
DQueueTests.cpp95 constexpr uint64_t kOffset = 2000; in TEST_P() local
97 queue.WriteBuffer(buffer, kOffset, &value, sizeof(value)); in TEST_P()
99 EXPECT_BUFFER_U32_EQ(value, buffer, kOffset); in TEST_P()
/third_party/skia/gm/
Ddistantclip.cpp29 constexpr SkScalar kOffset = 35000.0f; in onDraw() local
36 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents); in onDraw()
39 SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents); in onDraw()
52 canvas->translate(kExtents / 2, -(kOffset - kExtents / 2)); in onDraw()
Dgm.cpp38 constexpr SkScalar kOffset = 5.0f; in draw_failure_message() local
44 canvas->drawString(failureMsg, kOffset, bounds.height() + kOffset, font, textPaint); in draw_failure_message()
Dcompositor_quads.cpp454 static constexpr SkScalar kOffset = 15.f; in onDraw() local
460 canvas->translate(kOffset + kBannerWidth, kOffset); in onDraw()
487 canvas->translate(kOffset, kGap + 0.5f * kRowCount * kTileHeight); in onDraw()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp2480 const GLintptr kOffset[2] = { 0, 8 }; in Run() local
2484 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
2486 glMapBufferRange(GL_ARRAY_BUFFER, 0, kOffset[0] + 4 * kStride[0], GL_MAP_WRITE_BIT)); in Run()
2487 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
2488 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
2489 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
2490 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
2493 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
2494 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
2495 *reinterpret_cast<UVec3*>(&ptr[kOffset[0] + 20 + i * kStride[0]]) = UVec3(1, 2, 3); in Run()
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Ddecoration_validation_test.cc62 kOffset, enumerator
110 case DecorationKind::kOffset: in createDecorations()
160 TestParams{DecorationKind::kOffset, false},
195 TestParams{DecorationKind::kOffset, false},
244 TestParams{DecorationKind::kOffset, false},
283 TestParams{DecorationKind::kOffset, false},
333 TestParams{DecorationKind::kOffset, false},
381 TestParams{DecorationKind::kOffset, false},
431 TestParams{DecorationKind::kOffset, false},
477 TestParams{DecorationKind::kOffset, false},
[all …]
Dresolver_validation.cc1571 return check_arg_is_constexpr(sem::ParameterUsage::kOffset, -8, 7) && in ValidateTextureIntrinsicFunction()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp1694 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local
1718 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1725 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P()
1726 y < (kDestSize - kOffset); in TEST_P()
1743 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1813 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local
1838 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1845 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P()
1846 y < (kDestSize - kOffset); in TEST_P()
1866 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
DAtomicCounterBufferTest.cpp256 constexpr GLintptr kOffset = 20; in TEST_P() local
268 glBindBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, atomicCounterBuffer, kOffset, in TEST_P()
269 sizeof(bufferData) - kOffset); in TEST_P()
DSimpleOperationTest.cpp395 int kOffset = 3315; in TEST_P() local
396 std::vector<Vector3> vertices(kOffset); in TEST_P()
410 reinterpret_cast<const void *>(kOffset * sizeof(vertices[0]))); in TEST_P()
DVertexAttributeTest.cpp2487 const GLintptr kOffset = static_cast<GLintptr>(kFloatStride * kFloatOffset); in TEST_P() local
2489 reinterpret_cast<const GLvoid *>(kOffset)); in TEST_P()
2533 const GLuint kOffset = static_cast<GLuint>(kFloatStride * kFloatOffset); in TEST_P() local
2538 glVertexAttribFormat(mTestAttrib, 1, GL_FLOAT, GL_FALSE, kOffset); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp3004 const GLintptr kOffset[2] = { 0, 8 }; in Run() local
3013 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
3016 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
3017 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
3018 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
3019 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
3023 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
3024 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
3028 memcpy(&ptr[kOffset[0] + 20 + i * kStride[0]], u.c, 3 * sizeof(double)); in Run()
3029 *reinterpret_cast<IVec2*>(&ptr[kOffset[0] + 44 + i * kStride[0]]) = IVec2(1, 2); in Run()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DBootAnimationTest.cpp138 constexpr unsigned int kOffset = 7; in checkMaskColor() local
144 ((iterationCount - maskSlot + kOffset) / kColorsInARow) % kPossibleColors; in checkMaskColor()
/third_party/skia/third_party/externals/tint/src/sem/
Dparameter_usage.h43 kOffset, enumerator
Dparameter_usage.cc50 case ParameterUsage::kOffset: in str()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_bad_pixels.cpp1038 static const int32 kOffset [kNumSets] [kSetSize] [2] = in FixClusteredPixel() local
1069 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1) in FixClusteredPixel()
1080 dng_point offset (kOffset [set] [entry] [0], in FixClusteredPixel()
1081 kOffset [set] [entry] [1]); in FixClusteredPixel()
1547 static const int32 kOffset [kNumSets] [kSetSize] [2] = in FixClusteredRect() local
1648 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1) in FixClusteredRect()
1659 dng_point offset (kOffset [set] [entry] [0], in FixClusteredRect()
1660 kOffset [set] [entry] [1]); in FixClusteredRect()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dfont_data.h45 kOffset = 2 enumerator
/third_party/node/deps/v8/src/wasm/
Djump-table-assembler.cc166 int kOffset = ENABLE_CONTROL_FLOW_INTEGRITY_BOOL ? 3 : 2;
168 ldr_pcrel(kTmpReg, kOffset); // 1 instruction
/third_party/skia/src/codec/
DSkJpegCodec.cpp53 constexpr size_t kOffset = 6; in is_orientation_marker() local
54 return SkParseEncodedOrigin(marker->data + kOffset, marker->data_length - kOffset, in is_orientation_marker()
/third_party/skia/src/gpu/v1/
DDevice.cpp390 static const SkScalar kOffset = 0.063f; // Just greater than 1/16. in drawPoints() local
391 matrixProvider = postTranslateMatrixProvider.init(*matrixProvider, kOffset, kOffset); in drawPoints()
/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table.inl1822 /* usage */ ParameterUsage::kOffset,
1852 /* usage */ ParameterUsage::kOffset,
1882 /* usage */ ParameterUsage::kOffset,
1912 /* usage */ ParameterUsage::kOffset,
1972 /* usage */ ParameterUsage::kOffset,
2002 /* usage */ ParameterUsage::kOffset,
2032 /* usage */ ParameterUsage::kOffset,
2062 /* usage */ ParameterUsage::kOffset,
2092 /* usage */ ParameterUsage::kOffset,
2122 /* usage */ ParameterUsage::kOffset,
[all …]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc1190 out << (intrinsic->Signature().IndexOf(sem::ParameterUsage::kOffset) < 0 in EmitTextureCall()
1243 Usage::kDdy, Usage::kSampleIndex, Usage::kOffset, in EmitTextureCall()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc1106 if (auto* offset = arg(Usage::kOffset)) { in EmitTextureCall()

12