Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js871 var newState = this._canvasStateStack.pop();
872 if (!newState) {
880 CanvasKit.SkMatrix.invert(newState.ctm)
884 this._paint = newState.paint;
886 this._lineDashList = newState.ldl;
887 this._strokeWidth = newState.sw;
888 this._strokeStyle = newState.ss;
889 this._fillStyle = newState.fs;
890 this._shadowOffsetX = newState.sox;
891 this._shadowOffsetY = newState.soy;
[all …]
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js859 var newState = this._canvasStateStack.pop();
860 if (!newState) {
868 CanvasKit.Matrix.invert(newState.ctm)
872 this._paint = newState.paint;
874 this._lineDashList = newState.ldl;
875 this._strokeWidth = newState.sw;
876 this._strokeStyle = newState.ss;
877 this._fillStyle = newState.fs;
878 this._shadowOffsetX = newState.sox;
879 this._shadowOffsetY = newState.soy;
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLLexer.cpp1026 int16_t newState = transitions[mappings[c]][state]; in next() local
1027 if (!newState) { in next()
1030 state = newState; in next()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-common.hh453 HBUINT16 newState; /* Byte offset from beginning of state table member
472 HBUINT16 newState; /* Byte offset from beginning of state table to the new state. */ member
498 int new_state (unsigned int newState) const in new_state()
499 { return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; } in new_state()
613 int newState = new_state (p->newState); in sanitize() local
614 min_state = hb_min (min_state, newState); in sanitize()
615 max_state = hb_max (max_state, newState); in sanitize()
763 !(entry.newState == StateTable<Types, EntryData>::STATE_START_OF_TEXT && in drive()
778 state = machine.new_state (entry.newState); in drive()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-common.hh456 HBUINT16 newState; /* Byte offset from beginning of state table member
475 HBUINT16 newState; /* Byte offset from beginning of state table to the new state. */ member
501 int new_state (unsigned int newState) const in new_state()
502 { return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; } in new_state()
616 int newState = new_state (p->newState); in sanitize() local
617 min_state = hb_min (min_state, newState); in sanitize()
618 max_state = hb_max (max_state, newState); in sanitize()
760 const int next_state = machine.new_state (entry.newState); in drive()
815 next_state == machine.new_state (wouldbe_entry->newState) in drive()
/third_party/harfbuzz/src/
Dhb-aat-layout-common.hh453 HBUINT16 newState; /* Byte offset from beginning of state table member
472 HBUINT16 newState; /* Byte offset from beginning of state table to the new state. */ member
498 int new_state (unsigned int newState) const in new_state()
499 { return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; } in new_state()
613 int newState = new_state (p->newState); in sanitize() local
614 min_state = hb_min (min_state, newState); in sanitize()
615 max_state = hb_max (max_state, newState); in sanitize()
757 const int next_state = machine.new_state (entry.newState); in drive()
812 next_state == machine.new_state (wouldbe_entry->newState) in drive()
/third_party/typescript/src/compiler/
Dbuilder.ts307 const newState = BuilderState.clone(state) as BuilderProgramState; constant
308newState.semanticDiagnosticsPerFile = state.semanticDiagnosticsPerFile && new Map(state.semanticDi…
309 newState.changedFilesSet = new Set(state.changedFilesSet);
310 newState.affectedFiles = state.affectedFiles;
311 newState.affectedFilesIndex = state.affectedFilesIndex;
312 newState.currentChangedFilePath = state.currentChangedFilePath;
313newState.currentAffectedFilesSignatures = state.currentAffectedFilesSignatures && new Map(state.cu…
314newState.currentAffectedFilesExportedModulesMap = state.currentAffectedFilesExportedModulesMap && …
315 newState.seenAffectedFiles = state.seenAffectedFiles && new Set(state.seenAffectedFiles);
316 newState.cleanedDiagnosticsOfLibFiles = state.cleanedDiagnosticsOfLibFiles;
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp343 D3D12_RESOURCE_STATES newState) { in TransitionUsageAndGetResourceBarrier() argument
346 if (mLastState == newState) { in TransitionUsageAndGetResourceBarrier()
372 mLastState = newState; in TransitionUsageAndGetResourceBarrier()
382 if (newState == (newState & kD3D12TextureReadOnlyStates)) { in TransitionUsageAndGetResourceBarrier()
390 } else if (newState == D3D12_RESOURCE_STATE_COPY_DEST) { in TransitionUsageAndGetResourceBarrier()
401 barrier->Transition.StateAfter = newState; in TransitionUsageAndGetResourceBarrier()
415 D3D12_RESOURCE_STATES newState) { in TransitionUsageNow() argument
418 if (TransitionUsageAndGetResourceBarrier(&barrier, newState)) { in TransitionUsageNow()
DTextureD3D12.h42 D3D12_RESOURCE_STATES newState);
66 D3D12_RESOURCE_STATES newState);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DSamplerGL.cpp51 const gl::SamplerState &newState, in SyncSamplerStateMember() argument
57 if ((curState.*getter)() != (newState.*getter)()) in SyncSamplerStateMember()
59 (curState.*setter)((newState.*getter)()); in SyncSamplerStateMember()
60 SetSamplerParameter(functions, sampler, name, (newState.*getter)()); in SyncSamplerStateMember()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DSamplerGL.cpp51 const gl::SamplerState &newState, in SyncSamplerStateMember() argument
57 if ((curState.*getter)() != (newState.*getter)()) in SyncSamplerStateMember()
59 (curState.*setter)((newState.*getter)()); in SyncSamplerStateMember()
60 SetSamplerParameter(functions, sampler, name, (newState.*getter)()); in SyncSamplerStateMember()
/third_party/skia/src/sksl/
DSkSLLexer.cpp516 State newState = get_transition(kMappings[c], state); in next() local
517 if (!newState) { in next()
520 state = newState; in next()
/third_party/vk-gl-cts/framework/common/
DtcuTestHierarchyIterator.hpp161 void setState (State newState) in setState()
163 switch (newState) in setState()
173 m_state = newState; in setState()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java47 private int newState; field in NGramParser.StateEntry
52 newState = theState; in StateEntry()
58 return newState; in getNewState()
/third_party/skia/src/gpu/
DGrDirectContextPriv.h54 const GrBackendSurfaceMutableState* newState = nullptr);
61 const GrBackendSurfaceMutableState* newState = nullptr) {
63 return this->flushSurfaces({&proxy, size}, access, info, newState);
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_keyboard.c296 SDL_Keymod newState; in keyboard_getSetModState() local
319 newState = SDLTest_RandomIntegerInRange(0, allStates); in keyboard_getSetModState()
320 SDL_SetModState(newState); in keyboard_getSetModState()
321 SDLTest_AssertPass("Call to SDL_SetModState(%i)", newState); in keyboard_getSetModState()
324 …SDLTest_AssertCheck(result == newState, "Verify result from call is valid, expected: %i, got: %i",… in keyboard_getSetModState()
Dtestautomation_mouse.c258 int newState; in _changeCursorVisibility() local
269 newState = SDL_ShowCursor(SDL_QUERY); in _changeCursorVisibility()
271 SDLTest_AssertCheck(state == newState, "Validate new state, expected: %i, got: %i", in _changeCursorVisibility()
272 state, newState); in _changeCursorVisibility()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp730 D3D12_RESOURCE_STATES newState) { in TrackAllUsageAndTransitionNow() argument
731 TrackUsageAndTransitionNow(commandContext, newState, GetAllSubresources()); in TrackAllUsageAndTransitionNow()
735 D3D12_RESOURCE_STATES newState, in TrackUsageAndTransitionNow() argument
754 TransitionUsageAndGetResourceBarrier(commandContext, &barriers, newState, range); in TrackUsageAndTransitionNow()
763 D3D12_RESOURCE_STATES newState, in TransitionSubresourceRange() argument
767 if (state->lastState == newState) { in TransitionSubresourceRange()
793 state->lastState = newState; in TransitionSubresourceRange()
804 if (IsSubset(newState, kD3D12PromotableReadOnlyStates)) { in TransitionSubresourceRange()
812 } else if (newState == D3D12_RESOURCE_STATE_COPY_DEST) { in TransitionSubresourceRange()
824 barrier.Transition.StateAfter = newState; in TransitionSubresourceRange()
[all …]
DTextureD3D12.h83 D3D12_RESOURCE_STATES newState,
88 D3D12_RESOURCE_STATES newState);
124 D3D12_RESOURCE_STATES newState,
DBufferD3D12.cpp230 D3D12_RESOURCE_STATES newState = D3D12BufferUsage(newUsage); in TransitionUsageAndGetResourceBarrier() local
235 newState == D3D12_RESOURCE_STATE_UNORDERED_ACCESS; in TransitionUsageAndGetResourceBarrier()
286 if (lastState == newState) { in TransitionUsageAndGetResourceBarrier()
294 barrier->Transition.StateAfter = newState; in TransitionUsageAndGetResourceBarrier()
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioInputStreamOpenSLES.cpp233 Result AudioInputStreamOpenSLES::setRecordState_l(SLuint32 newState) { in setRecordState_l() argument
234 LOGD("AudioInputStreamOpenSLES::%s(%u)", __func__, newState); in setRecordState_l()
241 SLresult slResult = (*mRecordInterface)->SetRecordState(mRecordInterface, newState); in setRecordState_l()
245 __func__, newState, getSLErrStr(slResult)); in setRecordState_l()
/third_party/skia/tests/
DBackendSurfaceMutableStateTest.cpp45 GrBackendSurfaceMutableState newState(VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
47 backendTexCopy.setMutableState(newState); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
88 backendTexImage.setMutableState(newState); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
114 dContext->setBackendTextureState(backendTex, newState, &previousState); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/third_party/typescript/tests/baselines/reference/
DtwiceNestedKeyofIndexInference.js33 const newState: State = set(state, ["a", 'b'], 'why'); // shouldn't be an error
43 var newState = set(state, ["a", 'b'], 'why'); // shouldn't be an error
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm929 AutoObjCPtr<id<MTLRenderPipelineState>> newState =
931 if (!newState)
937 auto re = mRenderPipelineStates[tableIdx].insert(std::make_pair(desc, newState));
1022 id<MTLRenderPipelineState> newState =
1030 return [newState ANGLE_MTL_AUTORELEASE];
1149 AutoObjCPtr<id<MTLComputePipelineState>> newState = createComputePipelineState(context, desc);
1151 auto re = mComputePipelineStates.insert(std::make_pair(desc, newState));
1213 id<MTLComputePipelineState> newState =
1221 return [newState ANGLE_MTL_AUTORELEASE];
1254 AutoObjCPtr<id<MTLDepthStencilState>> newState =
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DTextureResource.h64 void updateResourceState(D3D12_RESOURCE_STATES newState) { in updateResourceState() argument
66 fState->setResourceState(newState); in updateResourceState()

1234